Mercurial > hg > xemacs-beta
diff src/dumper.c @ 3964:a4917b3c97cc
[xemacs-hg @ 2007-05-19 18:04:18 by vins]
Don't close file descriptors that are already closed.
author | vins |
---|---|
date | Sat, 19 May 2007 18:04:19 +0000 |
parents | d674024a8674 |
children | 1ce0622a56a3 |
line wrap: on
line diff
--- a/src/dumper.c Sat May 19 17:21:30 2007 +0000 +++ b/src/dumper.c Sat May 19 18:04:19 2007 +0000 @@ -2182,7 +2182,8 @@ pdump_dump_root_lisp_objects (); retry_fclose (pdump_out); - retry_close (pdump_fd); + /* pdump_fd is already closed by the preceding call to fclose. + retry_close (pdump_fd); */ free (pdump_buf);