Mercurial > hg > xemacs-beta
view src/s/sunos4-1-3.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 |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ #include "sunos4-1.h" #if 0 /* XEmacs: FSF 19.31 removes this. Let's just comment it out. */ /* TERMIOS is broken under SunOS?? Someone says: This causes failure in process_send_signal (tcgetattr loses) and may also cause hanging at Emacs startup when parent is not a job control shell. */ /* murray@chemical-eng.edinburgh.ac.uk says this works, and avoids the problem of spurious ^M in subprocess output. */ #undef HAVE_TERMIOS #endif /* 0 */ #if 0 /* XEmacs: FSF 19.31 mistakenly reenables this. */ /* jik@gza.com says this works now. */ /* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */ #undef SYSTEM_MALLOC #endif /* 0 */ /* barrie@calvin.demon.co.uk says memmove is missing. */ #ifndef SYSTEM_MALLOC #define MEMMOVE_MISSING #endif