[uClibc-cvs] uClibc/libc/sysdeps/linux/common vfork.c,NONE,1.1 Makefile,1.80,1.81
Erik Andersen
andersen at codepoet.org
Wed Mar 5 10:28:59 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv6161/libc/sysdeps/linux/common
Modified Files:
Makefile
Added Files:
vfork.c
Log Message:
Default to using fork() for vfork() when no arch specific
implementation of vfork is present.
--- NEW FILE: vfork.c ---
/* Trivial implementation for arches that lack vfork */
#include <unistd.h>
#include <sys/types.h>
pid_t vfork(void)
{
return fork();
}
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/Makefile,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- Makefile 3 Mar 2003 20:58:02 -0000 1.80
+++ Makefile 5 Mar 2003 10:28:53 -0000 1.81
@@ -25,7 +25,7 @@
cmsg_nxthdr.c longjmp.c open64.c ftruncate64.c mmap64.c \
truncate64.c getrlimit64.c setrlimit64.c creat64.c \
llseek.c pread_write.c _exit.c sync.c getdirname.c \
- sendfile64.c xstatconv.c getdents.c getdents64.c
+ sendfile64.c xstatconv.c getdents.c getdents64.c vfork.c
ifneq ($(strip $(EXCLUDE_BRK)),y)
CSRC+=sbrk.c
endif
More information about the uClibc-cvs
mailing list