add mkostemp

Eric Blake eblake@redhat.com
Mon Jul 19 18:04:00 GMT 2010


On 07/19/2010 10:45 AM, Corinna Vinschen wrote:
>> Okay to commit, along with a corresponding patch to doc/new-features.sgml
>> and a cygwin-specific patch to newlib's stdlib.h?
> 
> Yep.  Thanks for the patch.  I CCed the newlib list.  The change to
> newlib's stdlib.h is preapproved (#ifndef __STRICT_ANSI__ just like
> mkstemp et al).

For the record, here's the (pre-approved) patches for newlib and cygwin
documentation that I'm pushing in tandem with the original cygwin patch.
 It also fixes a couple of minor problems I noticed while in the area -
cygwin's cat has been binary-only for some time now, and newlib's
stdlib.h was not robust to a user file that used #define warning prior
to including the system header.

> 
> Btw., would you mind to enhance newlib's libc/stdio/mktemp.c in the same
> manner (_ELIX_LEVEL >= 4)?

The mkostemp[s] additions are guarded by the same levels as mkstemps,
since all three interfaces are equally non-portable.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch38
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20100719/9519cf2c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch46
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20100719/9519cf2c/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20100719/9519cf2c/attachment.sig>


More information about the Cygwin-patches mailing list