For the curious: Setup.exe char-> String patch

Robert Collins robert.collins@itdomain.com.au
Fri Feb 1 13:58:00 GMT 2002


This is what I'm preparing to commit. I'm mailing it here as a preview,
because doing the changelog is going to take.... some time. (160Kb diff
to wade through).

The cstr_oneuse() is designed to allow efficient (via caching, not
implemented yet) leak-safe char * usage of a string. An equivalent
wcstr_oneuse() can be implemented to expose a wide char variant. (The
underlying encoding of the string class will eventually be UTF-8/UTF-16
or something similar).

I haven't implemented substrings yet, which is why the large number of
.cstr_oneuse() calls and a few non-converted routines.

Anyway, it's all working for me: ].

Cheers,
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Strings.patch.bz2
Type: application/octet-stream
Size: 33586 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020201/31453295/attachment.obj>


More information about the Cygwin-patches mailing list