projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freopen-safer: new module
[gnulib.git]
/
lib
/
stdio--.h
diff --git
a/lib/stdio--.h
b/lib/stdio--.h
index
ed90dda
..
d10dd72
100644
(file)
--- a/
lib/stdio--.h
+++ b/
lib/stdio--.h
@@
-25,6
+25,11
@@
# define fopen fopen_safer
#endif
+#if GNULIB_FREOPEN_SAFER
+# undef freopen
+# define freopen freopen_safer
+#endif
+
#if GNULIB_TMPFILE_SAFER
# undef tmpfile
# define tmpfile tmpfile_safer