This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: add mkstemps
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jeff Johnston on 7/2/2009 2:08 PM:
> Thanks Eric. If you could change the ELIX levels for the added mk
> functions to be 4 instead of 2, I'm fine with
> the patch.
Both patches checked in, with that modification.
>
> Here's the latest draft of both patches:
>
> 2009-07-01 Eric Blake <ebb9@byu.net>
>
> Add mkdtemp, mkstemps.
> * libc/stdio/mktemp.c: Fix documentation.
> (_gettemp): Add domkdir and length parameters. Check for
> insufficient 'X' suffix. Drop cygwin-specific code.
> (_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients.
> (_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions.
> * libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp)
> (mkstemps): Declare them.
>
> Add fpurge.
> * libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
> * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
> Build it.
> * libc/stdio/Makefile.in: Regenerated.
> * libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
> * libc/stdio/stdio.tex: Build documentation.
>
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----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
iEYEARECAAYFAkpN84QACgkQ84KuGfSFAYCoPACeLkEKtlQIC0aoYp03UV46yURI
410AoIuzAHd8uDeF4PnTX1+BiIf45Ex+
=/BKc
-----END PGP SIGNATURE-----