* MODULES.html.sh (File stream based Input/Output):
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Jul 2006 06:20:19 +0000 (06:20 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Jul 2006 06:20:19 +0000 (06:20 +0000)
Add fopen-safer, tmpfile-safer; remove stdio-safer.
* modules/getusershell (Depends-on): Change stdio-safer to fopen-safer.
* modules/fopen-safer, modules/tmpfile-safer: New files.
* modules/stdio-safer: Remove.
* m4/stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
(gl_STDIO_SAFER): Remove.

ChangeLog
MODULES.html.sh
m4/ChangeLog
m4/stdio-safer.m4
modules/fopen-safer [new file with mode: 0644]
modules/getusershell
modules/stdio-safer [deleted file]
modules/tmpfile-safer [new file with mode: 0644]

index d73dd7e910d5a8e8c4738181343facac56dbb119..26f9c6c9cee3f3a003b081b997d535395ae7ac19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh (File stream based Input/Output):
+       Add fopen-safer, tmpfile-safer; remove stdio-safer.
+       * modules/getusershell (Depends-on): Change stdio-safer to fopen-safer.
+       * modules/fopen-safer, modules/tmpfile-safer: New files.
+       * modules/stdio-safer: Remove.
+
 2006-07-24  Bruno Haible  <bruno@clisp.org>
 
        * modules/javacomp (Depends-on): Add unistd, javaversion, binary-io,
index 9ba8ed083aa440f0e9a32628c373f7acf424e811..2ba6e96586ca81a3f0fa4215b80ccb34a58c57f0 100755 (executable)
@@ -1932,13 +1932,14 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
-  func_module fpending
-  func_module closeout
   func_module close-stream
-  func_module stdio-safer
-  func_module stdlib-safer
+  func_module closeout
+  func_module fopen-safer
+  func_module fpending
   func_module getpass
   func_module getpass-gnu
+  func_module stdlib-safer
+  func_module tmpfile-safer
   func_end_table
 
   element="Users and groups"
index d60b6bcb9b4b410b9c7eab8821b5a3bc30804aae..5ca96cb391a6ac7911fed2abed23b6c8ae1a58cd 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
+       (gl_STDIO_SAFER): Remove.
+
 2006-07-24  Bruno Haible  <bruno@clisp.org>
 
        * tmpdir.m4: New file, from GNU gettext.
index b51a3c80fedf913a4b3126eef8652de9e2b44629..40be1ad4740c9801badef22cb223450a0bb7f042 100644 (file)
@@ -1,12 +1,17 @@
-#serial 6
+#serial 7
 dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-AC_DEFUN([gl_STDIO_SAFER],
+AC_DEFUN([gl_FOPEN_SAFER],
 [
-  AC_LIBSOURCES([fopen-safer.c, tmpfile-safer.c, stdio-safer.h, stdio--.h])
+  AC_LIBSOURCES([fopen-safer.c, stdio-safer.h, stdio--.h])
   AC_LIBOBJ([fopen-safer])
+])
+
+AC_DEFUN([gl_TMPFILE_SAFER],
+[
+  AC_LIBSOURCES([tmpfile-safer.c, stdio-safer.h, stdio--.h])
   AC_LIBOBJ([tmpfile-safer])
 ])
diff --git a/modules/fopen-safer b/modules/fopen-safer
new file mode 100644 (file)
index 0000000..137332e
--- /dev/null
@@ -0,0 +1,25 @@
+Description:
+fopen function that avoids clobbering std{in,out,err}.
+
+Files:
+lib/stdio--.h
+lib/stdio-safer.h
+lib/fopen-safer.c
+m4/stdio-safer.m4
+
+Depends-on:
+unistd-safer
+
+configure.ac:
+gl_FOPEN_SAFER
+
+Makefile.am:
+
+Include:
+"stdio-safer.h"
+
+License:
+GPL
+
+Maintainer:
+Paul Eggert, Jim Meyering
index 0ebcac04b4cd6743a03c2fe753bd9e210f781264..8b645061521a921f303e5d5e369dd8a066281256 100644 (file)
@@ -6,7 +6,7 @@ lib/getusershell.c
 m4/getusershell.m4
 
 Depends-on:
-stdio-safer
+fopen-safer
 xalloc
 
 configure.ac:
diff --git a/modules/stdio-safer b/modules/stdio-safer
deleted file mode 100644 (file)
index edbb67f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Description:
-File stream functions that avoid clobbering std{in,out,err}.
-
-Files:
-lib/stdio--.h
-lib/stdio-safer.h
-lib/fopen-safer.c
-lib/tmpfile-safer.c
-m4/stdio-safer.m4
-
-Depends-on:
-binary-io
-unistd-safer
-
-configure.ac:
-gl_STDIO_SAFER
-
-Makefile.am:
-
-Include:
-"stdio-safer.h"
-
-License:
-GPL
-
-Maintainer:
-Paul Eggert, Jim Meyering
diff --git a/modules/tmpfile-safer b/modules/tmpfile-safer
new file mode 100644 (file)
index 0000000..c819063
--- /dev/null
@@ -0,0 +1,26 @@
+Description:
+tmpfile function that avoids clobbering std{in,out,err}.
+
+Files:
+lib/stdio--.h
+lib/stdio-safer.h
+lib/tmpfile-safer.c
+m4/stdio-safer.m4
+
+Depends-on:
+binary-io
+unistd-safer
+
+configure.ac:
+gl_TMPFILE_SAFER
+
+Makefile.am:
+
+Include:
+"stdio-safer.h"
+
+License:
+GPL
+
+Maintainer:
+Paul Eggert, Jim Meyering