This is the mail archive of the cygwin-developers mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12/11/2010 01:47 PM, corinna@cygwin.com wrote: > CVSROOT: /cvs/src > Module name: src > Changes by: corinna@sourceware.org 2010-12-11 20:47:01 > > Modified files: > winsup/utils : ChangeLog setfacl.c > > Log message: > * setfacl.c (strchrnul): New function. Should we implement strchrnul in newlib instead? Your implementation works, but the naive byte-wise loop is almost an order of magnitude slower than searching a word at a time using some of the same tricks as strlen(). And several GNU programs, such as tar, would use native strchrnul() if it existed (right now, they get it from gnulib). -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |