changeset 6999:5cbbf1c5aefb

* stdlib-safer.h: New file from coreutils, required by stdlib--.h.
author Eric Blake <ebb9@byu.net>
date Fri, 21 Jul 2006 13:06:05 +0000
parents f2050dcbeb52
children d6a8f3b8565f
files lib/ChangeLog lib/stdlib-safer.h
diffstat 2 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-21  Eric Blake  <ebb9@byu.net>
+
+	* stdlib-safer.h: New file from coreutils, required by
+	stdlib--.h.
+
 2006-07-19  Derek R. Price  <derek@ximbiot.com>
 
 	* getaddrinfo.h: Don't define unimplemented AI_* flags.
new file mode 100644
--- /dev/null
+++ b/lib/stdlib-safer.h
@@ -0,0 +1,21 @@
+/* Invoke stdlib.h functions, but avoid some glitches.
+
+   Copyright (C) 2005 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
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
+/* Written by Paul Eggert.  */
+
+int mkstemp_safer (char *);