mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
DJGPP spicific: NULL pointer fix
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-02-21 Guerrero, Juan Manuel <st001906@hrz1.hrz.tu-darmstadt.de>
|
||||
|
||||
* src/getargs.c [AS_FILE_NAME] [__DJGPP__]: New macro STRLWR.
|
||||
Check that no NULL pointer is passed to strlwr.
|
||||
|
||||
2002-02-14 Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
Remove the support for C++ namespace cleanliness; it was
|
||||
|
||||
@@ -165,7 +165,8 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
|
||||
#ifdef MSDOS
|
||||
# if defined (__DJGPP__)
|
||||
/* Windows 9X and successors are case sensitive. */
|
||||
# define AS_FILE_NAME(File) ((pathconf ((File), _PC_NAME_MAX) > 12) ? (File) : (strlwr (File), (File)))
|
||||
# define STRLWR(String) ((String) ? (strlwr (String), (String)) : (String))
|
||||
# define AS_FILE_NAME(File) ((pathconf ((File), _PC_NAME_MAX) > 12) ? (File) : STRLWR (File))
|
||||
# else
|
||||
# define AS_FILE_NAME(File) (strlwr (File), (File))
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user