1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00
emacs/lib-src
Paul Eggert e0fdb69430 Fix some minor races in hosts lacking mkostemp.
Gnulib's emulation of mkostemp doesn't have races that Emacs's does.
* configure.ac (mkostemp): Remove check for this function;
gnulib does the check now.
(mkstemp): Remove check for this no-longer-used function.
* lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h:
* m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4:
New files, copied from Gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* admin/merge-gnulib (GNULIB_MODULES): Add mkostemp.
* lib-src/movemail.c (main):
* lib-src/update-game-score.c (write_scores):
Use mkostemp (which now works on all platforms, due to changes
in the portability layer) rather than mktemp (which has a race)
or mkstemp (which we no longer bother with).
* src/callproc.c (create_temp_file):
* src/filelock.c (create_lock_file):
Assume mkostemp, since it's now provided by Gnulib.

Fixes: debbugs:15015
2013-08-04 09:56:56 -07:00
..
.gitignore Don't ignore files that are no longer generated 2011-02-13 19:35:05 +01:00
ChangeLog Fix some minor races in hosts lacking mkostemp. 2013-08-04 09:56:56 -07:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ebrowse.c Port to C89. 2013-07-10 16:23:57 -07:00
emacsclient.c Port to C89. 2013-07-10 16:23:57 -07:00
etags.c Prefer plain 'static' to 'static inline'. 2013-07-01 17:33:04 -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 Port to C89. 2013-07-10 16:23:57 -07:00
Makefile.in Use a @configure_input@ comment at the start of generated Makefiles 2013-07-23 18:57:17 -04:00
makefile.w32-in Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
movemail.c Fix some minor races in hosts lacking mkostemp. 2013-08-04 09:56:56 -07:00
ntlib.c Added nt/gnulib.mk and removed kludges from ms-w32.h and ntlib.h. 2013-03-31 17:04:49 +03:00
ntlib.h Finished with lib-src compilation, except emacsclientw and emacsclient.res. 2013-03-30 20:00:51 +03:00
pop.c Port --enable-gcc-warnings to clang. 2013-05-17 22:32:17 -07: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 Fix some minor races in hosts lacking mkostemp. 2013-08-04 09:56:56 -07: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.