Fw: [PATCH]: (newlib) Allow wcschr(x, L'\0')
Bob Cassels
bcassels@ABINITIO.COM
Sat Mar 15 04:30:00 GMT 2003
----- Forwarded by Bob Cassels/AbInitio on 03/14/03 11:29 PM -----
Bob Cassels <bcassels@abinitio.com>
Sent by: cygwin-patches-owner@cygwin.com
03/14/03 02:46 PM
To
cygwin-patches@cygwin.com
cc
Subject
[PATCH]: (newlib) Allow wcschr(x, L'\0')
This simple patch for newlib allows using wcschr to find pointers to null
characters, rather than returning NULL. I hope it's simple enough to not
require paperwork.
2003-03-14 Bob Cassels <bcassels@abinitio.com>
* libc/string/wcschr.c: (wcschr): Look for character first, then
for
end of string, so you can do wcschr(x, '\0').
ForwardSourceID:NT00007C62
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wcschr-patch.txt
URL: <http://sourceware.org/pipermail/newlib/attachments/20030315/34c97572/attachment.txt>
More information about the Newlib
mailing list