aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/m68k/vfork.S1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34a753c..13eca58 100644
--- 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.
diff --git a/sysdeps/unix/sysv/linux/m68k/vfork.S b/sysdeps/unix/sysv/linux/m68k/vfork.S
index e5761f9..d5b321d 100644
--- a/sysdeps/unix/sysv/linux/m68k/vfork.S
+++ b/sysdeps/unix/sysv/linux/m68k/vfork.S
@@ -57,6 +57,7 @@ ENTRY (__vfork)
movel #SYS_ify (fork), %d0
trap #0
+ tstl %d0
jmi SYSCALL_ERROR_LABEL
rts