Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/stdlib



In article <tkrr57yc9uf.fsf%gco-w12f-177-176.sm.sony.co.jp@localhost>,
 <tsugutomo.enami%jp.sony.com@localhost> wrote:
>Christos Zoulas <christos%NetBSD.org@localhost> writes:
>
>> Module Name: src
>> Committed By:        christos
>> Date:                Fri May 13 23:11:00 UTC 2011
>>
>> Modified Files:
>>      src/lib/libc/stdlib: jemalloc.c malloc.c
>>
>> Log Message:
>> don't let readlink trash errno.;
>>
>>
>> To generate a diff of this commit:
>> cvs rdiff -u -r1.22 -r1.23 src/lib/libc/stdlib/jemalloc.c
>> cvs rdiff -u -r1.52 -r1.53 src/lib/libc/stdlib/malloc.c
>
>- Is the existing guard in malloc_init() of malloc.c insufficient?

No that works; I undid it.

>- In the malloc_init_hard() of jemalloc.c, there are another calls may
>set errno.  Especially, the code explicitly handles an error from
>sysctl(3).

I widened the scope, thanks.

christos



Home | Main Index | Thread Index | Old Index