[PATCH v2 23/46] fork: Use clone if arch does not have the fork syscall

Markos Chandras markos.chandras at gmail.com
Tue Nov 27 09:37:29 UTC 2012


On 27 November 2012 08:50, Vineet Gupta <Vineet.Gupta1 at synopsys.com> wrote:
> On Monday 26 November 2012 07:54 PM, Markos Chandras wrote:
>> From: Markos Chandras <markos.chandras at imgtec.com>
>>
>> Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
>> ---
>>  libc/sysdeps/linux/common/fork.c  | 17 ++++++++++++++++-
>>  libc/sysdeps/linux/common/stubs.c |  2 +-
>>  2 files changed, 17 insertions(+), 2 deletions(-)
>>
>> diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
>> index 14e00a2..7322581 100644
>> --- a/libc/sysdeps/linux/common/fork.c
>> +++ b/libc/sysdeps/linux/common/fork.c
>> @@ -9,10 +9,25 @@
>>
>>  #include <sys/syscall.h>
>>  #include <unistd.h>
>> +#include <unistd.h>
>
> nit - copy/paste error ?
>

Oh yes good catch.

-- 
Regards,
Markos


More information about the uClibc mailing list