changeset 53715:811d720ddd2b

(mkdir, rmdir): Also check synch_process_termsig.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 26 Jan 2004 23:40:08 +0000
parents 77ad9650fc55
children 819ff51d5753
files src/sysdep.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Mon Jan 26 23:39:50 2004 +0000
+++ b/src/sysdep.c	Mon Jan 26 23:40:08 2004 +0000
@@ -3741,7 +3741,8 @@
       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 @@
       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 */