This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: add mkostemp


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

Attachment: cygwin.patch38
Description: Text document

Attachment: newlib.patch46
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]