From deb9688ae12018dac6f669caf26ceceeebc5c992 Mon Sep 17 00:00:00 2001
From: Dmitrij Tejblum
Date: Sat, 12 Sep 1998 22:03:20 +0000
Subject: In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork
an alias to fork. It is difficult to do real vfork in libc_r, since almost
every operation with file descriptsor changes _thread_fd_table and friends.
popen(3) works much better with this change.
---
lib/libc/alpha/sys/Ovfork.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'lib/libc/alpha')
diff --git a/lib/libc/alpha/sys/Ovfork.S b/lib/libc/alpha/sys/Ovfork.S
index aaec3bf5710e..d8dd3e8fe2b6 100644
--- a/lib/libc/alpha/sys/Ovfork.S
+++ b/lib/libc/alpha/sys/Ovfork.S
@@ -29,7 +29,7 @@
#include "SYS.h"
-SYSCALL(vfork)
+PSYSCALL(vfork)
cmovne a4, zero, v0 /* a4 (rv[1]) != 0, child */
RET
-END(vfork)
+PEND(vfork)
--
cgit v1.2.3