]> git.eshelyaron.com Git - emacs.git/commitdiff
(mkdir, rmdir): Also check synch_process_termsig.
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 26 Jan 2004 23:40:08 +0000 (23:40 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 26 Jan 2004 23:40:08 +0000 (23:40 +0000)
src/sysdep.c

index 441b36290e1afdcaed352bd7f4e581f1121c4eb5..64fdbe8f8c9923405f5f8b28a921184ab70df2ad 100644 (file)
@@ -3741,7 +3741,8 @@ mkdir (dpath, dmode)
       wait_for_termination (cpid);
     }
 
-  if (synch_process_death != 0 || synch_process_retcode != 0)
+  if (synch_process_death != 0 || synch_process_retcode != 0
+      || synch_process_termsig != 0)
     {
       errno = EIO;             /* We don't know why, but */
       return -1;               /* /bin/mkdir failed */
@@ -3787,7 +3788,8 @@ rmdir (dpath)
       wait_for_termination (cpid);
     }
 
-  if (synch_process_death != 0 || synch_process_retcode != 0)
+  if (synch_process_death != 0 || synch_process_retcode != 0
+      || synch_process_termsig != 0)
     {
       errno = EIO;             /* We don't know why, but */
       return -1;               /* /bin/rmdir failed */