changeset 15450:87442e903a7a

close: No longer depend on module 'fclose'. * modules/close (Depends-on): Remove fclose.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Jul 2011 12:37:25 +0200
parents 411d56b204ad
children 276662233d21
files ChangeLog NEWS modules/close
diffstat 3 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-24  Bruno Haible  <bruno@clisp.org>
+
+	close: No longer depend on module 'fclose'.
+	* modules/close (Depends-on): Remove fclose.
+	* NEWS: Mention the change.
+
 2011-07-24  Bruno Haible  <bruno@clisp.org>
 
 	fsusage: Enable large volume support on AIX >= 5.2.
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,12 @@
 
 Date        Modules         Changes
 
+2011-07-24  close           This module no longer pulls in the 'fclose' module.
+                            If your code creates a socket descriptor using
+                            socket() or accept(), then a FILE stream referring
+                            to it using fdopen(), then in order to close this
+                            stream, you need the 'fclose' module.
+
 2011-07-12  arg-nonnull     Renamed to snippet/arg-nonnull.
             c++defs         Renamed to snippet/c++defs.
             link-warning    Renamed to snippet/link-warning.
--- a/modules/close
+++ b/modules/close
@@ -8,7 +8,6 @@
 Depends-on:
 unistd
 fd-hook         [test $REPLACE_CLOSE = 1]
-fclose
 
 configure.ac:
 gl_FUNC_CLOSE