Mercurial > vim
annotate src/Make_morph.mak @ 18201:2ec4ed3f5e12 v8.1.2095
patch 8.1.2095: leaking memory when getting item from dict
Commit: https://github.com/vim/vim/commit/a893194d91a2942d4d54085d746ed137a9251b69
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 28 17:25:10 2019 +0200
patch 8.1.2095: leaking memory when getting item from dict
Problem: Leaking memory when getting item from dict.
Solution: Also free the key when not evaluating.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Sep 2019 17:30:03 +0200 |
parents | e2be5a6485f5 |
children | fe5afdc03bd2 |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for VIM, using MorphOS SDK (gcc 2.95.3) | |
3 # | |
4 | |
5 CFLAGS = -c \ | |
6 -pipe \ | |
7 -O2 \ | |
8 -Wall \ | |
9 \ | |
10 -DNO_ARP \ | |
11 -DUSE_TMPNAM \ | |
12 \ | |
13 -I proto \ | |
14 \ | |
15 -noixemul | |
16 | |
17 PRG = Vim | |
18 LIBS = -noixemul -s | |
19 CC = gcc | |
20 LD = gcc | |
21 OBJDUMP = objdump | |
22 RM = rm | |
23 | |
24 .c.o: | |
25 ${CC} ${CFLAGS} $< -o $@ | |
26 | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
27 SRC = arabic.c \ |
17744
4a3dca734d36
patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
28 arglist.c \ |
15634
746b95fd25ad
patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents:
15330
diff
changeset
|
29 autocmd.c \ |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
30 blowfish.c \ |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
31 buffer.c \ |
18199
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18174
diff
changeset
|
32 bufwrite.c \ |
16632
30de89c1d090
patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
33 change.c \ |
7 | 34 charset.c \ |
17779
87a8760babec
patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17744
diff
changeset
|
35 cmdexpand.c \ |
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17576
diff
changeset
|
36 cmdhist.c \ |
6126 | 37 crypt.c \ |
38 crypt_zip.c \ | |
16381
1dcbaa780b8e
patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
16142
diff
changeset
|
39 debugger.c \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
40 dict.c \ |
7 | 41 diff.c \ |
42 digraph.c \ | |
18124
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
43 drawline.c \ |
2a806e3c39f6
patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
44 drawscreen.c \ |
7 | 45 edit.c \ |
46 eval.c \ | |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17966
diff
changeset
|
47 evalbuffer.c \ |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9564
diff
changeset
|
48 evalfunc.c \ |
17873
d50a5faa75bd
patch 8.1.1933: the eval.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17861
diff
changeset
|
49 evalvars.c \ |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17966
diff
changeset
|
50 evalwindow.c \ |
7 | 51 ex_cmds.c \ |
52 ex_cmds2.c \ | |
53 ex_docmd.c \ | |
54 ex_eval.c \ | |
55 ex_getln.c \ | |
56 fileio.c \ | |
17966
46f95606b9ec
patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17873
diff
changeset
|
57 filepath.c \ |
15814
99ebf78686a9
patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents:
15699
diff
changeset
|
58 findfile.c \ |
7 | 59 fold.c \ |
60 getchar.c \ | |
440 | 61 hardcopy.c \ |
800 | 62 hashtab.c \ |
17389
635d7f5010b8
patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents:
17377
diff
changeset
|
63 highlight.c \ |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
15634
diff
changeset
|
64 indent.c \ |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
15850
diff
changeset
|
65 insexpand.c \ |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6126
diff
changeset
|
66 json.c \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
67 list.c \ |
7 | 68 main.c \ |
17576
97a750e8707f
patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents:
17536
diff
changeset
|
69 map.c \ |
7 | 70 mark.c \ |
71 mbyte.c \ | |
72 memfile.c \ | |
73 memline.c \ | |
74 menu.c \ | |
75 message.c \ | |
76 misc1.c \ | |
77 misc2.c \ | |
18135
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
18124
diff
changeset
|
78 mouse.c \ |
7 | 79 move.c \ |
80 normal.c \ | |
81 ops.c \ | |
82 option.c \ | |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18010
diff
changeset
|
83 optionstr.c \ |
7 | 84 os_amiga.c \ |
18174
1ec6539cef68
patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents:
18172
diff
changeset
|
85 popupmenu.c \ |
17370
ba06a1c42274
patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16632
diff
changeset
|
86 profiler.c \ |
7 | 87 quickfix.c \ |
88 regexp.c \ | |
18164
f57481564f2c
patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18135
diff
changeset
|
89 register.c \ |
17861
0a5c615cd949
patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17779
diff
changeset
|
90 scriptfile.c \ |
7 | 91 screen.c \ |
92 search.c \ | |
17536
e00d12c085a5
patch 8.1.1766: code for writing session file is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17458
diff
changeset
|
93 session.c \ |
2192
40edf1be1cd8
Add blowfish and sha256 source files to more Makefiles.
Bram Moolenaar <bram@vim.org>
parents:
800
diff
changeset
|
94 sha256.c \ |
15330
a6330a49e036
patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents:
9583
diff
changeset
|
95 sign.c \ |
222 | 96 spell.c \ |
9583
b0c7061d6439
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents:
9571
diff
changeset
|
97 spellfile.c \ |
18172
6e53d83e021d
patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
18164
diff
changeset
|
98 spellsuggest.c \ |
7 | 99 syntax.c \ |
100 tag.c \ | |
101 term.c \ | |
17377
cb008de2a6ec
patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17370
diff
changeset
|
102 testing.c \ |
cb008de2a6ec
patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17370
diff
changeset
|
103 textprop.c \ |
7 | 104 ui.c \ |
105 undo.c \ | |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16381
diff
changeset
|
106 usercmd.c \ |
9564
b6a459b326f3
commit https://github.com/vim/vim/commit/6583c44857368f28c802dabe10ac7b7b0c266f50
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
107 userfunc.c \ |
7 | 108 version.c \ |
17458
cfdef48743ed
patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17389
diff
changeset
|
109 viminfo.c \ |
7 | 110 window.c \ |
111 | |
112 OBJ = $(SRC:.c=.o) | |
113 | |
114 $(PRG): $(OBJ) | |
115 ${LD} -o $(PRG) $(OBJ) $(LIBS) | |
116 | |
117 dump: $(PRG) | |
118 $(OBJDUMP) --reloc --disassemble-all $(PRG) > $(PRG).s | |
119 | |
120 clean: | |
121 $(RM) -fv $(OBJ) $(PRG) $(PRG).s |