Mercurial > hg > xemacs-beta
annotate src/s/aix3-2-5.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 /* s- file for building Emacs on AIX 3.2.5. */ |
2 | |
3 /* Synched up with: FSF 19.31. */ | |
4 | |
5 #include "aix3-2.h" | |
6 | |
7 /* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g" | |
8 because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because | |
9 "cc -g" crashes. Go figure. --floppy@merlin.mit.edu */ | |
10 #ifndef __GNUC__ | |
11 #undef C_DEBUG_SWITCH | |
12 #undef C_OPTIMIZE_SWITCH | |
13 #define C_DEBUG_SWITCH | |
14 #define C_OPTIMIZE_SWITCH "-O" | |
15 #endif | |
16 | |
17 #define MAIL_USE_LOCKF | |
18 | |
19 /* XEmacs: from dkeller@VNET.IBM.COM */ | |
20 #define BROKEN_SIGIO |