about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-01-18 01:45:33 +0000
committerAndreas Schwab <schwab@suse.de>1999-01-18 01:45:33 +0000
commit37ce12d14c4d55fef2ca8c939f111bae05ac4eb8 (patch)
treedf829a0352fa8f12c9d249f1ec7868dadaf633ab
parentc96f6550f38c01530f498cd98dddcd0b3ed45e28 (diff)
downloadglibc-37ce12d14c4d55fef2ca8c939f111bae05ac4eb8.tar.gz
glibc-37ce12d14c4d55fef2ca8c939f111bae05ac4eb8.tar.xz
glibc-37ce12d14c4d55fef2ca8c939f111bae05ac4eb8.zip
* sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
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.
-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 34a753cac8..13eca58f01 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 e5761f9371..d5b321dff6 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