Some clean-up of memory routines (+ some regression fixes).
commit86a663490f093965f3d5bf171aa84a7d6eef27d6
authorMihail Groza <unlupdestepa@gmail.com>
Mon, 23 Jan 2017 11:21:07 +0000 (23 11:21 +0000)
committerMihail Groza <unlupdestepa@gmail.com>
Mon, 23 Jan 2017 11:21:07 +0000 (23 11:21 +0000)
tree155b9fb7f0f3b74ffd57b06710ae23c24224a3e1
parent69f5c7932aa5439599204d779689666c207bb797
Some clean-up of memory routines (+ some regression fixes).

Support (for an obsoleted version of) dmalloc was removed. Removed no
longer used header file (dmalloc.h), that (beside being obsolete) had a
not too permissive copyright notice (only for non-commercial use) that I
doubt is compatible with GPL.

Moved implementation of mstring related routines to a new file
(mstring.c), the same for the miscelaneous files (misc.c). Made sure the
mstring routines are as permissive as possible (add const to char* where
possible).

Empty (ignoring white-spaces or comment) source files removed (cvar.h,
cvar.c, fileIdList.c).

Fixed a regression in metastate test (usymtab.c incorectly dropped a
lookup call, which was in fact needed).
13 files changed:
src/Headers/cvar.h [deleted file]
src/Headers/dmalloc.h [deleted file]
src/Headers/general.h
src/Headers/mstring.h
src/Makefile.am
src/cvar.c [deleted file]
src/fileIdList.c [deleted file]
src/general.c
src/llerror.c
src/llmain.c
src/misc.c [new file with mode: 0644]
src/mstring.c [new file with mode: 0644]
src/usymtab.c