Mercurial > hg > xemacs-beta
annotate src/s/hpux10-shr.h @ 4499:eb82259f265d
Port write-region-inhibit-sync, allowing avoidance of bad FS performance.
See http://shaver.off.net/diary/2008/05/25/fsyncers-and-curveballs/ for more
details.
2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change,
which can allow much better performace with some stupid
filesystems:
* fileio.c (write_region_inhibit_fsync): New variable.
(Fwrite_region): Use it to skip call to fsync.
(syms_of_fileio): Initialize it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 09 Aug 2008 16:44:46 +0200 |
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 |