diff lib/stdio--.h @ 7036:a57aa913b52c

* tmpfile-safer.c: New file. * stdio-safer.h (fopen_safer): Add prototype. * stdio--.h (tmpfile): Make safer.
author Eric Blake <ebb9@byu.net>
date Sun, 23 Jul 2006 12:58:15 +0000 (2006-07-23)
parents 667919f98e58
children e97a4de675a6
line wrap: on
line diff
--- a/lib/stdio--.h
+++ b/lib/stdio--.h
@@ -1,6 +1,6 @@
 /* Like stdio.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
@@ -23,3 +23,6 @@
 
 #undef fopen
 #define fopen fopen_safer
+
+#undef tmpfile
+#define tmpfile tmpfile-safer