On Tuesday 13 November 2012 06:31:31 Markos Chandras wrote: > +pid_t __libc_fork(void) > +{ > + pid_t pid; > + pid = INLINE_SYSCALL(clone, 4, SIGCHLD, NULL, NULL, NULL);
merge the definition & assignment > + if (pid<0) { if (pid < 0) { > + __set_errno(-pid); > + return -1; > + } although, is this really necessary ? seems to me that INLINE_SYSCAL() already takes care of setting errno correctly ... return INLINE_SYSCALL(clone, 4, SIGCHLD, NULL, NULL, NULL); > +weak_alias(__libc_fork,fork) space after the comma -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc