Mercurial > hg > xemacs-beta
comparison src/process-unix.c @ 365:30d2cfa1092a r21-1-12
Import from CVS: tag r21-1-12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:00:12 +0200 |
parents | 7347b34c275b |
children | 1d62742628b6 |
comparison
equal
deleted
inserted
replaced
364:63c3368d1275 | 365:30d2cfa1092a |
---|---|
952 #endif | 952 #endif |
953 } | 953 } |
954 | 954 |
955 if (pid < 0) | 955 if (pid < 0) |
956 { | 956 { |
957 int save_errno = errno; | |
957 close_descriptor_pair (forkin, forkout); | 958 close_descriptor_pair (forkin, forkout); |
959 errno = save_errno; | |
958 report_file_error ("Doing fork", Qnil); | 960 report_file_error ("Doing fork", Qnil); |
959 } | 961 } |
960 | 962 |
961 /* #### dmoore - why is this commented out, otherwise we leave | 963 /* #### dmoore - why is this commented out, otherwise we leave |
962 subtty = forkin, but then we close forkin just below. */ | 964 subtty = forkin, but then we close forkin just below. */ |