Files
emacs/lib
Paul Eggert 47d7532e09 File synchronization fixes.
* admin/CPP-DEFINES (BSD_SYSTEM, HAVE_FSYNC): Remove.
* admin/merge-gnulib (GNULIB_MODULES): Add fsync, fdatasync.
* configure.ac (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed.
(fsync): Remove check; now done by gnulib.
* lib/fdatasync.c, lib/fsync.c, m4/fdatasync.m4, m4/fsync.m4:
New files, from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib-src/Makefile.in (LIB_FDATASYNC): New macro.
(emacsclient${EXEEXT}): Use it.
* lib-src/emacsclient.c (main): Use fdatasync, not fsync, since we don't
care about metadata.  Keep trying if interrupted.
* lib-src/movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
fsync is available everywhere (or there is a substitute).  Don't
report an error if fsync returns EINVAL.
* nt/inc/ms-w32.h (fdatasync): New macro, suggested by Eli Zaretskii.
* src/Makefile.in (LIB_FDATASYNC): New macro.
(LIBES): Use it.
* src/conf_post.h (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed.
* src/fileio.c (Fwrite_region, write_region_inhibit_fsync):
Don't worry about HAVE_FSYNC, since a substitute fsync is
available if the system lacks one.
(Fwrite_regin): Retry fsync if interrupted.

Fixes: debbugs:13944
2013-03-13 11:42:22 -07:00
..
2013-01-01 09:11:05 +00:00
2011-04-08 14:53:30 -07:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-08 15:37:17 -08:00
2013-02-08 15:37:17 -08:00
2013-01-02 08:37:04 -08:00
2012-11-03 11:54:17 -07:00
2013-01-01 09:11:05 +00:00
2011-01-08 17:20:28 -08:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-03-13 11:42:22 -07:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-03-13 11:42:22 -07:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-09 18:19:44 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-03-13 11:42:22 -07:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-02-11 15:37:18 -08:00
2011-02-21 15:22:34 -08:00
2011-01-08 22:57:07 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2012-08-02 17:42:11 -07:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-16 09:45:39 -08:00
2013-01-03 18:17:49 -08:00
2013-02-11 15:15:46 -08:00
2013-01-09 00:25:11 -08:00
2013-01-01 09:11:05 +00:00
2013-02-11 15:37:18 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-02-08 15:37:17 -08:00
2013-01-02 08:37:04 -08:00
2013-02-08 15:37:17 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2012-08-02 17:42:11 -07:00
2013-01-01 09:11:05 +00:00
2012-08-02 17:42:11 -07:00
2013-01-01 09:11:05 +00:00
2012-11-30 10:25:59 -08:00
2013-03-12 17:38:42 -07:00
2013-02-11 15:15:46 -08:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-01 09:11:05 +00:00
2013-01-02 08:37:04 -08:00