* sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
authorAndreas Schwab <schwab@suse.de>
Mon, 18 Jan 1999 01:45:33 +0000 (01:45 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 18 Jan 1999 01:45:33 +0000 (01:45 +0000)
fork syscall.
1999-01-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
fork syscall.

ChangeLog
sysdeps/unix/sysv/linux/m68k/vfork.S

index 34a753c..13eca58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
+       fork syscall.
+
 1999-01-17  Ulrich Drepper  <drepper@cygnus.com>
 
        * wctype/wcfuncs.c: Declare __ctype32_b.
index e5761f9..d5b321d 100644 (file)
@@ -57,6 +57,7 @@ ENTRY (__vfork)
 
        movel   #SYS_ify (fork), %d0
        trap    #0
+       tstl    %d0
        jmi     SYSCALL_ERROR_LABEL
        rts