changeset 14664:cc7810c91628

New modules 'vfscanf', 'vscanf'. * modules/vfscanf: New file. * modules/vscanf: New file. * m4/stdio_h.m4 (gl_STDIO_H): Don't set GNULIB_VFSCANF, GNULIB_VSCANF here. * doc/posix-functions/vfscanf.texi: Mention module 'vfscanf'. * doc/posix-functions/vscanf.texi: Mention module 'vscanf'.
author Bruno Haible <bruno@clisp.org>
date Sat, 30 Apr 2011 14:53:35 +0200
parents d426501f792a
children 3ef0721f611e
files ChangeLog doc/posix-functions/vfscanf.texi doc/posix-functions/vscanf.texi m4/stdio_h.m4 modules/vfscanf modules/vscanf
diffstat 6 files changed, 57 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-04-30  Bruno Haible  <bruno@clisp.org>
+
+	New modules 'vfscanf', 'vscanf'.
+	* modules/vfscanf: New file.
+	* modules/vscanf: New file.
+	* m4/stdio_h.m4 (gl_STDIO_H): Don't set GNULIB_VFSCANF, GNULIB_VSCANF
+	here.
+	* doc/posix-functions/vfscanf.texi: Mention module 'vfscanf'.
+	* doc/posix-functions/vscanf.texi: Mention module 'vscanf'.
+
 2011-04-30  Bruno Haible  <bruno@clisp.org>
 
 	passfd: Add comments.
--- a/doc/posix-functions/vfscanf.texi
+++ b/doc/posix-functions/vfscanf.texi
@@ -4,9 +4,9 @@
 
 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/vfscanf.html}
 
-Gnulib module: stdio, nonblocking
+Gnulib module: vfscanf, nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{vfscanf}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
--- a/doc/posix-functions/vscanf.texi
+++ b/doc/posix-functions/vscanf.texi
@@ -4,9 +4,9 @@
 
 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/vscanf.html}
 
-Gnulib module: stdio, nonblocking
+Gnulib module: vscanf, nonblocking
 
-Portability problems fixed by Gnulib module @code{stdio}, together with module @code{nonblocking}:
+Portability problems fixed by Gnulib module @code{vscanf}, together with module @code{nonblocking}:
 @itemize
 @item
 When reading from a non-blocking pipe whose buffer is empty, this function
--- a/m4/stdio_h.m4
+++ b/m4/stdio_h.m4
@@ -1,4 +1,4 @@
-# stdio_h.m4 serial 36
+# stdio_h.m4 serial 37
 dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -14,8 +14,6 @@
   dnl <stdio.h> likely needs them.
   GNULIB_FSCANF=1
   GNULIB_SCANF=1
-  GNULIB_VFSCANF=1
-  GNULIB_VSCANF=1
   GNULIB_FGETC=1
   GNULIB_GETC=1
   GNULIB_GETCHAR=1
new file mode 100644
--- /dev/null
+++ b/modules/vfscanf
@@ -0,0 +1,21 @@
+Description:
+vfscanf() function: parse formatted text from a stream
+
+Files:
+
+Depends-on:
+stdio
+
+configure.ac:
+gl_STDIO_MODULE_INDICATOR([vfscanf])
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
new file mode 100644
--- /dev/null
+++ b/modules/vscanf
@@ -0,0 +1,21 @@
+Description:
+vscanf() function: parse formatted text from standard input
+
+Files:
+
+Depends-on:
+stdio
+
+configure.ac:
+gl_STDIO_MODULE_INDICATOR([vscanf])
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible