Source-Changes archive

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

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

"Perry E. Metzger" <> writes:
> Mindaugas Rasiukevicius <> writes:
>> Modified Files:
>>      src/lib/libc/arch/i386/sys: sbrk.S
>>      src/lib/libc/arch/x86_64/sys: sbrk.S
>> Log Message:
>> Avoid calling a syscall when argument to sbrk(2) is zero.
>> OK by <ad>.
> Looking at your change, I don't get how this will return the old
> break, which is what sbrk(0) does. Am I just being blind?

Never mind, I *am* being blind, it works fine.

Perry E. Metzger      

Home | Main Index | Thread Index | Old Index