Fix tempfile bug on platforms lacking mkostemp and mkstemp.
commitf4b169ce6767c017de7cc7aaa07652b6a71e361f
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Jul 2013 21:44:43 +0000 (30 23:44 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 30 Jul 2013 21:44:43 +0000 (30 23:44 +0200)
tree7ac89c2be0f9f7357e0234e8e56e56924198a277
parent158bc55c6e715be476acacbef2aa8ca9b50c94c6
Fix tempfile bug on platforms lacking mkostemp and mkstemp.

* callproc.c (create_temp_file) [! (HAVE_MKOSTEMP || HAVE_MKSTEMP)]:
Do not assume that emacs_close (INT_MAX) is a no-op.

Fixes: debbugs:14986
src/ChangeLog
src/callproc.c