1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
emacs/lib-src
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
..
.gitignore Don't ignore files that are no longer generated 2011-02-13 19:35:05 +01:00
ChangeLog File synchronization fixes. 2013-03-13 11:42:22 -07:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ebrowse.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
emacsclient.c File synchronization fixes. 2013-03-13 11:42:22 -07:00
etags.c Static checking by Sun C 5.12. 2013-03-13 00:27:34 -07:00
grep-changelog Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
hexl.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
make-docfile.c * make-docfile.c (write_globals): Make it a bit clearer. 2013-01-15 13:26:01 -08:00
Makefile.in File synchronization fixes. 2013-03-13 11:42:22 -07:00
makefile.w32-in Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
movemail.c File synchronization fixes. 2013-03-13 11:42:22 -07:00
ntlib.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ntlib.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
pop.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
pop.h Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
profile.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
rcs2log Add 2013 to more copyright years 2013-01-02 17:35:49 -08:00
README changed Emacs' to GNU Emacs' 2006-03-31 07:25:44 +00:00
test-distrib.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
testfile
update-game-score.c Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.