Fix changes in 2011-05-01T00:04:17Z!larsi@gnus.org for MS-DOS.
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 May 2011 11:25:05 +0000 (14:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 May 2011 11:25:05 +0000 (14:25 +0300)
commit888c9e865f8c9faea62621519da7e42ba1b7adbf
treea7dc81f1b07e8abb02d1463425536425b77c2040
parent75c0d28a6a89e31172e2533ef9638c75af02dada
Fix changes in 2011-05-01T00:04:17Z!larsi@gnus.org for MS-DOS.

 src/callproc.c (call_process_cleanup): Don't close and unlink the
 temporary file if Fcall_process didn't create it in the first
 place.
 (Fcall_process): Don't create tempfile if stdout of the child
 process will be redirected to a file specified with `:file'.
 Don't try to re-open tempfile in that case, and set fd[0] to -1 as
 cue to call_process_cleanup not to close that handle.
src/ChangeLog
src/callproc.c