This is the mail archive of the cygwin-patches@cygwin.com 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] | |
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 at abinitio dot com>
* libc/string/wcschr.c: (wcschr): Look for character first, then
for
end of string, so you can do wcschr(x, '\0').
Attachment:
wcschr-patch.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |