]> Savannah Git Hosting - gnulib.git/commitdiff
close-stream, closein, closeout: simplify
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 May 2019 15:20:29 +0000 (08:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 May 2019 15:21:08 +0000 (08:21 -0700)
I noticed this opportunity for simplification while drafting a
new, related module that I haven’t had time to finish yet.
* m4/close-stream.m4, m4/closein.m4, m4/closeout.m4: Remove.
* modules/close-stream (Files): Remove m4/close-stream.m4.
(configure.ac): Omit gl_CLOSE_STREAM.
* modules/closein (Files): Remove m4/closein.m4
(configure.ac): Omit gl_CLOSEIN.
* modules/closeout (Files): Remove m4/closeout.m4.
(configure.ac): Omit gl_CLOSEOUT.

ChangeLog
m4/close-stream.m4 [deleted file]
m4/closein.m4 [deleted file]
m4/closeout.m4 [deleted file]
modules/close-stream
modules/closein
modules/closeout

index 5d01569a2e319360fba2246259281d2fa4c4a9eb..1918041f03aa37b1ca783122d5fc6d671cea5b7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2019-05-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       close-stream, closein, closeout: simplify
+       I noticed this opportunity for simplification while drafting a
+       new, related module that I haven’t had time to finish yet.
+       * m4/close-stream.m4, m4/closein.m4, m4/closeout.m4: Remove.
+       * modules/close-stream (Files): Remove m4/close-stream.m4.
+       (configure.ac): Omit gl_CLOSE_STREAM.
+       * modules/closein (Files): Remove m4/closein.m4
+       (configure.ac): Omit gl_CLOSEIN.
+       * modules/closeout (Files): Remove m4/closeout.m4.
+       (configure.ac): Omit gl_CLOSEOUT.
+
 2019-05-12  Bruno Haible  <bruno@clisp.org>
 
        libtool-next-version: New program.
diff --git a/m4/close-stream.m4 b/m4/close-stream.m4
deleted file mode 100644 (file)
index 5d31221..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#serial 4
-dnl Copyright (C) 2006-2007, 2009-2019 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.
-
-dnl Prerequisites of lib/close-stream.c.
-AC_DEFUN([gl_CLOSE_STREAM],
-[
-  :
-])
diff --git a/m4/closein.m4 b/m4/closein.m4
deleted file mode 100644 (file)
index 7e5e26c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# closein.m4 serial 2
-dnl Copyright (C) 2007, 2009-2019 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.
-
-dnl Prerequisites of lib/closein.c.
-AC_DEFUN([gl_CLOSEIN],
-[
-  :
-])
diff --git a/m4/closeout.m4 b/m4/closeout.m4
deleted file mode 100644 (file)
index c02179b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# closeout.m4 serial 6
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2019 Free Software Foundation,
-dnl 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.
-
-dnl Prerequisites of lib/closeout.c.
-AC_DEFUN([gl_CLOSEOUT],
-[
-  :
-])
index dd5522f596db71dd5a9668cdeb0d7ccdec3f3635..78ed207992e2e258269f5bf5eaaea684581beb8e 100644 (file)
@@ -4,14 +4,12 @@ Close a stream, with nicer error checking than fclose's.
 Files:
 lib/close-stream.h
 lib/close-stream.c
-m4/close-stream.m4
 
 Depends-on:
 fpending
 stdbool
 
 configure.ac:
-gl_CLOSE_STREAM
 gl_MODULE_INDICATOR([close-stream])
 
 Makefile.am:
index 5f6e7d77ffd2b56aaf4c7c33cde513d884574166..6eb7b206bb3ee0b93f5372795307902050b61efb 100644 (file)
@@ -4,7 +4,6 @@ Close all standard streams, resetting seekable stdin if needed, and exiting with
 Files:
 lib/closein.h
 lib/closein.c
-m4/closein.m4
 
 Depends-on:
 closeout
@@ -13,7 +12,6 @@ fflush
 stdbool
 
 configure.ac:
-gl_CLOSEIN
 
 Makefile.am:
 lib_SOURCES += closein.c
index 2987121b27576105802cf10eadb758a82ccc42e7..82e91a7febd9aca0b97959ec31b5edbb5946bd67 100644 (file)
@@ -4,7 +4,6 @@ Close standard output and standard error, exiting with a diagnostic on error.
 Files:
 lib/closeout.h
 lib/closeout.c
-m4/closeout.m4
 
 Depends-on:
 close-stream
@@ -15,7 +14,6 @@ exitfail
 stdbool
 
 configure.ac:
-gl_CLOSEOUT
 
 Makefile.am:
 lib_SOURCES += closeout.c