Re: phk malloc() sometimes forget to set errno

2002-08-10 Thread John Polstra
In article [EMAIL PROTECTED], Andrey A. Chernov [EMAIL PROTECTED] wrote: I doubt about choosed EPERM code. According to intro(2) it refers to some priviledges required for operation, but recursive call is not restricted due to priviledges. What about of other code, like EFAULT? Not EFAULT

Re: phk malloc() sometimes forget to set errno

2002-08-09 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Andrey A. Chernov writes: I found at least one case: Try this patch: Index: malloc.c === RCS file: /home/ncvs/src/lib/libc/stdlib/malloc.c,v retrieving revision 1.70 diff -u -r1.70 malloc.c ---

Re: phk malloc() sometimes forget to set errno

2002-08-09 Thread Andrey A. Chernov
On Fri, Aug 09, 2002 at 09:11:02 +0200, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Andrey A. Chernov writes: I found at least one case: Try this patch: I doubt about choosed EPERM code. According to intro(2) it refers to some priviledges required for operation, but recursive