Mercurial > hg > xemacs-beta
view src/s/hpux11-shr.h @ 3648:3e7493e76dc7
[xemacs-hg @ 2006-11-01 20:25:48 by adrian]
fix for ffap crash on Windows (was: [Bug: 21.5-b27] [CRASH] (file-name-directory "1:"))
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2006-11-01 Adrian Aichner <adrian@xemacs.org>
* sysdep.c (wcslen): Check for NULL pointer.
* sysdep.c (strlwr): Ditto.
* nt.c (mswindows_getdcwd): Ditto (actual cause of reported
crash).
* intl-win32.c (wcscmp): Ditto.
* intl-win32.c (wcslen): Ditto.
* intl-win32.c (wcsncpy): Ditto.
* intl-win32.c (wcscpy): Ditto.
* intl-win32.c (wcsdup): Ditto.
* fileio.c (Ffile_name_directory): Return Qnil when
mswindows_getdcwd returns NULL working directory.
author | adrian |
---|---|
date | Wed, 01 Nov 2006 20:25:50 +0000 |
parents | b2472a1930f2 |
children | aa5ed11f473b |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* For building XEmacs under HPUX 10.0 with dynamic libraries. */ #define ORDINARY_LINK /* XEmacs change */ /* Only support for hp9000s300 currently */ #if !defined(__hp9000s300) #define HPUX_USE_SHLIBS #endif /* !hp9000s300 */ /* XEmacs: */ /* Don't tell the linker to link statically */ #ifdef NOT_C_CODE #define START_FILES #define LINKER "$(CC)" #endif /* THIS IS YMAKEFILE */ /* get call to brk() when rerunning XEmacs */ #define RUN_TIME_REMAP #include "hpux11.h" /* We must turn off -g since it forces -static. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH #endif