Mercurial > hg > xemacs-beta
annotate src/s/hpux10-shr.h @ 4733:a5210e70ffbe
No need to fatal () on startup if $PWD doesn't exist; chdir to "/" instead.
src/ChangeLog addition:
2009-11-08 Aidan Kehoe <kehoea@parhasard.net>
* sysfile.h (DEFAULT_DIRECTORY_FALLBACK):
New #define, "/" on Unix and "C:\\" on Win32 native, a directory
that should "always" be available.
* fileio.c (Fexpand_file_name): Use DEFAULT_DIRECTORY_FALLBACK
here, instead of conditionalising on WIN32_NATIVE.
* editfns.c (get_home_directory):
Use DEFAULT_DIRECTORY_FALLBACK if looking up the home directory
fails, on both Windows and Unix.
* buffer.c (init_initial_directory):
Don't give a fatal error if the current directory doesn't exist,
chdir to DEFAULT_DIRECTORY_FALLBACK instead.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 08 Nov 2009 17:27:26 +0000 |
parents | 3ecd8885ac67 |
children |
rev | line source |
---|---|
428 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
3 /* For building XEmacs under HPUX 10.0 with dynamic libraries. */ | |
4 | |
5 #define ORDINARY_LINK | |
6 | |
7 /* XEmacs change */ | |
8 /* Only support for hp9000s300 currently */ | |
9 #if !defined(__hp9000s300) | |
10 #define HPUX_USE_SHLIBS | |
11 #endif /* !hp9000s300 */ | |
12 | |
13 /* XEmacs: */ | |
14 /* Don't tell the linker to link statically */ | |
15 #ifdef NOT_C_CODE | |
16 #define START_FILES | |
17 #define LINKER "$(CC)" | |
18 #endif /* THIS IS YMAKEFILE */ | |
19 | |
20 /* get call to brk() when rerunning XEmacs */ | |
21 #define RUN_TIME_REMAP | |
22 | |
23 #include "hpux10.h" | |
24 | |
25 /* We must turn off -g since it forces -static. */ | |
26 #ifdef __GNUC__ | |
27 #undef C_DEBUG_SWITCH | |
28 #define C_DEBUG_SWITCH | |
29 #endif |