Fri Jul 3 12:31:00 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
According to Corinna Vinschen on 6/28/2009 4:32 AM:
>> I'm not sure whether the changes are
>> trivial enough for me to do for cygwin (where I don't have copyright on
>> file), so I'm floating this out there to see if anyone else is willing to
>> write the patch.
> Well, if your patch is accepted in newlib, it should be not much of a
> problem to tweak it slightly for inclusion into Cygwin, even if you're
> doing the tweak...
With that vote of confidence, here's the patch (the changes to mktemp.cc,
modulo a changed variable name, mirror newlib):
2009-07-03 Eric Blake <email@example.com>
Add fpurge, mkstemps.
* cygwin.din (fpurge, mkstemps): New exports.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* mktemp.cc (_gettemp): Add parameter.
(mkstemps): New function.
(mkstemp, mkdtemp, mktemp): Adjust clients.
Don't work too hard, make some time for fun as well!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cygwin-patches