Source-Changes archive

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

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



Mindaugas Rasiukevicius <rmind%netbsd.org@localhost> 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?

Perry


Home | Main Index | Thread Index | Old Index