diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-09-20 18:44:04 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-09-20 18:44:04 +0000 |
commit | 6b35600aa75a122b58cf91345c202b741a97a347 (patch) | |
tree | e9f72a54f6c7bdd35202bde5787378b7fede5f84 /lib/stdlib--.h | |
parent | d00ac15a6511b77ab132d4b6694acbb5b9a6f402 (diff) | |
download | gnulib-6b35600aa75a122b58cf91345c202b741a97a347.tar.gz |
[ChangeLog]
* modules/mkstemp (Depends-on): Add extensions, so that
mkstemp is visible on some platforms.
(Makefile.am): Add mkstemp.h to EXTRA_DIST.
[lib/ChangeLog]
* mkstemp.h: New file, since some standard headers
#define mkstemp.
* mkstemp.c: Revamp to put the !_LIBC code together.
Include "mkstemp.h".
Make the _LIBC code resemble glibc original more,
e.g., use K&R style.
* stdlib--.h: Include mkstemp.h.
[m4/ChangeLog]
* mkstemp.m4 (gl_FUNC_MKSTEMP): Require AC_SYS_LARGEFILE.
Check that large offsets work. Modernize Autoconf usages.
Prefer "yes" to mean a good thing rather than a bad.
Don't put "#define mkstemp" in config.h, as this might interfere
with standard system headers that "#define mkstemp mkstemp64".
Diffstat (limited to 'lib/stdlib--.h')
-rw-r--r-- | lib/stdlib--.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib--.h b/lib/stdlib--.h index c12d11de63..b43b3dae6d 100644 --- a/lib/stdlib--.h +++ b/lib/stdlib--.h @@ -1,6 +1,6 @@ /* Like stdlib.h, but redefine some names to avoid glitches. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,5 +21,6 @@ #include <stdlib.h> #include "stdlib-safer.h" +#include "mkstemp.h" #undef mkstemp #define mkstemp mkstemp_safer |