On Tue, Mar 20, 2001 at 01:12:46 -0800, Alfred Perlstein wrote: > > + p += sz; > > + while(sz--) > > + *ri++ = '?'; > > Why didn't you use strlcpy/memcpy as suggested? Choosen method is right. Calling *cpy for just one byte in 99% cases is overhead. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- patch /bin/ls again, for mb supporting. thinker
- Re: patch /bin/ls again, for mb supporting. Alfred Perlstein
- Re: patch /bin/ls again, for mb supporting. Andrey A. Chernov
- Re: patch /bin/ls again, for mb supporting. thinker
- Re: patch /bin/ls again, for mb supporting. thinker
- Re: patch /bin/ls again, for mb support... Andrey A. Chernov
- Re: patch /bin/ls again, for mb supporting. Warner Losh