1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

C code bug fixes

- fix to buildin.c to prevent compiler from optimizing it out
- fix to realpath.c to handle case where 'path' is NULL

- fix to emacs.c (I think from dgk)

- fix to file.c (I think from gsf)
- fix to tail.c (I think from gsf)

- fix to code setting the malloc init hook (for vmalloc)

- changed memcpy to memmove in several places in sfio because src and dst
  might overlap

- fixes to macros like FILE_defined to fix header file issues
- fixes to expr.h to handle macro definition issue
This commit is contained in:
Lefteris Koutsofios 2020-02-12 13:09:47 -05:00
parent 0b36868c8c
commit e8b3274a65
17 changed files with 62 additions and 36 deletions

View file

@ -6,8 +6,6 @@ cat{
#define _FILE_DEFINED 1
#define _FILE_defined 1
#define _FILEDEFED 1
#define __FILE_defined 1
#define ____FILE_defined 1
#ifndef __FILE_TAG
#define __FILE_TAG _sfio_s