close: No longer depend on module 'fclose'.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Jul 2011 10:37:25 +0000 (12:37 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Jul 2011 10:37:25 +0000 (12:37 +0200)
* modules/close (Depends-on): Remove fclose.

ChangeLog
NEWS
modules/close

index 96e21ce..6e9d2a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): If 'struct statvfs64' has a
        larger f_blocks field than 'struct statvfs', define STAT_STATVFS64
diff --git a/NEWS b/NEWS
index 60ae98a..35df925 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,12 @@ User visible incompatible changes
 
 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.
index cbfa080..9f1028b 100644 (file)
@@ -8,7 +8,6 @@ m4/close.m4
 Depends-on:
 unistd
 fd-hook         [test $REPLACE_CLOSE = 1]
-fclose
 
 configure.ac:
 gl_FUNC_CLOSE