same-inode: make SAME_INODE tri-state, to port to mingw
[gnulib.git] / NEWS
diff --git a/NEWS b/NEWS
index c9fc80e..87fc884 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,20 +6,373 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2009-09-23  same-inode      The macro SAME_INODE is now tri-state, adding -1
+                            for unknown.
+
+2009-09-16  canonicalize-lgpl
+                            The include file is changed from "canonicalize.h"
+                            to <stdlib.h>.
+
+2009-09-04  link-follow     The macro LINK_FOLLOWS_SYMLINK is now tri-state,
+                            rather than only defined to 1.
+
+2009-09-03  openat          The include files are standardized to POSIX 2008.
+                            For openat, include <fcntl.h>; for
+                            fchmodat, fstatat, and mkdirat, include
+                            <sys/stat.h>; for fchownat and unlinkat,
+                            include <unistd.h>.  For all other
+                            functions provided by this module,
+                            continue to include "openat.h".
+
+2009-08-30  striconveh      The functions mem_cd_iconveh and str_cd_iconveh
+                            now take an 'iconveh_t *' argument instead of three
+                            iconv_t arguments.
+
+2009-08-23  tempname        The gen_tempname function takes an additional
+                            'flags' argument. You can safely pass 0.
+
+2009-08-12  getopt          This module is deprecated. Please choose among
+                            getopt-posix and getopt-gnu. getopt-gnu provides
+                            "long options" and "options with optional
+                            arguments", getopt-posix doesn't.
+
+2009-06-25  fpurge          The include file is changed from "fpurge.h" to
+                            <stdio.h>.
+
+2009-04-26  modules/uniconv/u8-conv-from-enc
+            modules/uniconv/u16-conv-from-enc
+            modules/uniconv/u32-conv-from-enc
+                            The calling convention of the functions
+                            u*_conv_from_encoding is changed.
+
+2009-04-26  modules/uniconv/u8-conv-to-enc
+            modules/uniconv/u16-conv-to-enc
+            modules/uniconv/u32-conv-to-enc
+                            The calling convention of the functions
+                            u*_conv_to_encoding is changed.
+
+2009-04-24  maintainer-makefile
+                            The maint.mk file was copied from
+                            coreutils, and the old
+                            coverage/gettext/indent rules were
+                            re-added.  If you used 'make syntax-check'
+                            this will add several new checks.  If some
+                            new check is annoying, add the name of the
+                            checks to 'local-checks-to-skip' in your
+                            cfg.mk.
+
+2009-04-01  visibility      Renamed to lib-symbol-visibility.
+
+2009-04-01  ld-version-script  Renamed to lib-symbol-versions.
+
+2009-03-20  close           The substituted variable LIB_CLOSE is removed.
+
+2009-03-05  filevercmp      Move hidden files up in ordering.
+
+2009-01-22  c-strtod        This function no longer calls xalloc_die(). If
+            c-strtold       you want to exit the program in case of out-of-
+                            memory, the calling function needs to arrange
+                            for it, like this:
+                                errno = 0;
+                                val = c_strtod (...);
+                                if (val == 0 && errno == ENOMEM)
+                                  xalloc_die ();
+
+2009-01-17  relocatable-prog  In the Makefile.am or Makefile.in, you now also
+                            need to set RELOCATABLE_STRIP = :.
+
+2008-12-22  getaddrinfo     When using this module, you now need to link with
+            canon-host      $(GETADDRINFO_LIB).
+
+2008-12-21  mbiter          The header files "mbiter.h", "mbuiter.h",
+            mbuiter         "mbfile.h" can now be included without checking
+            mbfile          HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
+                            longer be defined by these modules in a year. If
+                            you want to continue to use it, you need to invoke
+                            AC_FUNC_MBRTOWC yourself.
+
+2008-11-11  warnings        This module subsumes the file m4/warning.m4 which
+                            was removed.
+
+2008-10-20  lstat           The include file is changed from "lstat.h" to
+                            <sys/stat.h>.
+
+2008-10-20  getaddrinfo     The include file is changed from "getaddrinfo.h"
+                            to <netdb.h>.
+
+2008-10-19  isnanf          The include file is changed from "isnanf.h" to
+                            <math.h>.
+            isnand          The include file is changed from "isnand.h" to
+                            <math.h>.
+            isnanl          The include file is changed from "isnanl.h" to
+                            <math.h>.
+
+2008-10-18  lchmod          The include file is changed from "lchmod.h" to
+                            <sys/stat.h>.
+
+2008-10-18  dirfd           The include file is changed from "dirfd.h" to
+                            <dirent.h>.
+
+2008-10-18  euidaccess      The include file is changed from "euidaccess.h"
+                            to <unistd.h>.
+
+2008-10-18  getdomainname   The include file is changed from "getdomainname.h"
+                            to <unistd.h>.
+
+2008-09-28  sockets         When using this module, you now need to link with
+                            $(LIBSOCKET).
+
+2008-09-24  sys_select      The limitation on `select', introduced 2008-09-23,
+                            was removed.  sys_select now includes a select
+                            wrapper for Winsock.  The wrapper expects socket
+                            and file descriptors to be compatible as arranged
+                            by the sys_socket on MinGW.
+
+2008-09-23  sys_socket      Under Windows (MinGW), the module now adds
+                            wrappers around Winsock functions, so that
+                            socket descriptors are now compatible with
+                            file descriptors.  In general, this change
+                            will simply improve your code's portability
+                            between POSIX platforms and Windows.  In
+                            particular, you will be able to use ioctl and
+                            close instead of ioctlsocket and closesocket,
+                            and test errno instead of WSAGetLastError ().
+                            On the other hand, you have to audit your code to
+                            remove usage of these Winsock-specific functions.
+
+                            This change does not remove the need to call
+                            the gl_sockets_startup function from the sockets
+                            gnulib module.  Also, for now select is disabled
+                            when you include the sys_socket module; while
+                            the functionality will be restored soon, for
+                            efficiency it is suggested to use the poll system
+                            poll system call and gnulib module instead.
+
+2008-09-13  EOVERFLOW       The module is removed. Use module errno instead.
+
+2008-09-01  filename        The module does not define the function
+                            concatenated_filename any more. To get an
+                            equivalent function, use function
+                            xconcatenated_filename from module
+                            'xconcat-filename'.
+
+2008-08-31  havelib         On Solaris, when searching for 64-bit mode
+                            libraries the directory $prefix/lib is now ignored.
+                            Instead the directory $prefix/lib/64 is searched.
+                            You may need to create a symbolic link for
+                            $prefix/lib/64 if you have 64-bit libraries
+                            installed in $prefix/lib.
+
+2008-08-19  strverscmp      The include file is changed from "strverscmp.h"
+                            to <string.h>.
+
+2008-08-14  lock            The include file is changed from "lock.h"
+                            to "glthread/lock.h".
+            tls             The include file is changed from "tls.h"
+                            to "glthread/tls.h".
+
+2008-07-17  c-stack         The module now requires the addition of
+                            $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
+                            since it may depend on linking with libsigsegv.
+
+2008-07-07  isnanf-nolibm   The include file is changed from "isnanf.h"
+                            to "isnanf-nolibm.h".
+            isnand-nolibm   The include file is changed from "isnand.h"
+                            to "isnand-nolibm.h".
+
+2008-06-10  execute         The execute function takes an additional termsigp
+                            argument. Passing termsigp = NULL is ok.
+            wait-process    The wait_subprocess function takes an additional
+                            termsigp argument. Passing termsigp = NULL is ok.
+
+2008-05-10  linebreak       The module is split into several modules unilbrk/*.
+                            The include file is changed from "linebreak.h" to
+                            "unilbrk.h". Two functions are renamed:
+                            mbs_possible_linebreaks -> ulc_possible_linebreaks
+                            mbs_width_linebreaks -> ulc_width_linebreaks
+
+2008-04-28  rpmatch         The include file is now <stdlib.h>.
+
+2008-04-28  inet_ntop       The include file is changed from "inet_ntop.h"
+                            to <arpa/inet.h>.
+
+2008-04-28  inet_pton       The include file is changed from "inet_pton.h"
+                            to <arpa/inet.h>.
+
+2008-03-06  freadahead      The return value's computation has changed. It
+                            now increases by 1 after ungetc.
+
+2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
+                            isnand-nolibm. The include file is changed from
+                            "isnan.h" to "isnand.h". The function that it
+                            defines is changed from isnan() to isnand().
+
+2008-01-14  strcasestr      This module now replaces worst-case inefficient
+                            implementations; clients that use controlled
+                            needles and thus do not care about worst-case
+                            efficiency should use the new strcasestr-simple
+                            module instead for smaller code size.
+
+2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
+                            supplies an <alloca.h>.  Gnulib-using code is now
+                            expected to include <alloca.h> unconditionally.
+                            Non-gnulib-using code can continue to include
+                            <alloca.h> only if HAVE_ALLOCA_H is defined.
+
+2008-01-08  memmem          This module now replaces worst-case inefficient
+                            implementations; clients that use controlled
+                            needles and thus do not care about worst-case
+                            efficiency should use the new memmem-simple
+                            module instead for smaller code size.
+
+2007-12-24  setenv          The include file is changed from "setenv.h" to
+                            <stdlib.h>. Also, the unsetenv function is no
+                            longer declared in this module; use the 'unsetenv'
+                            module if you need it.
+
+2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
+                            to <unistd.h>.
+
+2007-12-03  strcase         The include file is changed from <string.h> to
+                            <strings.h>.
+
+2007-10-07  most modules    The license for most modules has changed from
+                            GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
+                            A few modules are still under LGPLv2+; see the
+                            module description for the applicable license.
+
+2007-09-01  linebreak       "linebreak.h" no longer declares the functions
+                            locale_charset, uc_width, u{8,16,32}_width. Use
+                            "uniwidth.h" to get these functions declared.
+
+2007-08-28  areadlink-with-size
+                            Renamed from mreadlink-with-size.
+                            Function renamed: mreadlink_with_size ->
+                            areadlink_with_size.
+
+2007-08-22  getdelim, getline
+                            The include file is changed from "getdelim.h"
+                            and "getline.h" to the POSIX 200x <stdio.h>.
+
+2007-08-18  idcache         Now provides prototypes in "idcache.h".
+
+2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
+                            Use the new xstrtol_fatal function instead.
+
+2007-08-04  human           The function human_options no longer reports an
+                            error to standard error; that is now the
+                            caller's responsibility.  It returns an
+                            error code of type enum strtol_error
+                            instead of the integer option value, and stores
+                            the option value via a new int * argument.
+            xstrtol         The first two arguments of STRTOL_FATAL_ERROR
+                            are now an option name and option argument
+                            instead of an option argument and a type string,
+                            STRTOL_FAIL_WARN is removed.
+
+2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
+
+2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
+                            gnulib-tool --local-dir to override this.
+
+2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
+                            <wchar.h>.
+
+2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
+                            (There is also a new module gpl-3.0.)
+
+2007-06-16  lchown          The include file is changed from "lchown.h" to
+                            <unistd.h>.
+
+2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
+                            was remamed to "xmalloca.h". The function was
+                            renamed:
+                              xallocsa -> xmalloca
+
+2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
+                            was remamed to "malloca.h". The function-like
+                            macros were renamed:
+                              allocsa -> malloca
+                              freesa -> freea
+
+2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
+                            conflict with the glibc-2.6-introduced function
+                            that has a different signature.
+
+2007-05-01  sigprocmask     The module now depends on signal, so replace
+                              #include "sigprocmask.h"
+                            with
+                              #include <signal.h>
+
+2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
+                            You can replace all its uses with 1, i.e. assume
+                            'long double' as a type exists.
+
+2007-04-01  arcfour         Renamed to crypto/arcfour.
+            arctwo          Renamed to crypto/arctwo.
+            des             Renamed to crypto/des.
+            gc              Renamed to crypto/gc.
+            gc-arcfour      Renamed to crypto/gc-arcfour.
+            gc-arctwo       Renamed to crypto/gc-arctwo.
+            gc-des          Renamed to crypto/gc-des.
+            gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
+            gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
+            gc-md2          Renamed to crypto/gc-md2.
+            gc-md4          Renamed to crypto/gc-md4.
+            gc-md5          Renamed to crypto/gc-md5.
+            gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
+            gc-random       Renamed to crypto/gc-random.
+            gc-rijndael     Renamed to crypto/gc-rijndael.
+            gc-sha1         Renamed to crypto/gc-sha1.
+            hmac-md5        Renamed to crypto/hmac-md5.
+            hmac-sha1       Renamed to crypto/hmac-sha1.
+            md2             Renamed to crypto/md2.
+            md4             Renamed to crypto/md4.
+            md5             Renamed to crypto/md5.
+            rijndael        Renamed to crypto/rijndael.
+            sha1            Renamed to crypto/sha1.
+
+2007-03-27  vasprintf       The module now depends on stdio, so replace
+                               #include "vasprintf.h"
+                            with
+                               #include <stdio.h>
+
+2007-03-24  tsearch         The include file is changed from "tsearch.h" to
+                            <search.h>.
+
+2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
+                            to "unistr.h".
+            utf8-ucs4-unsafe  The include file is changed from
+                            "utf8-ucs4-unsafe.h" to "unistr.h".
+            utf16-ucs4      The include file is changed from "utf16-ucs4.h"
+                            to "unistr.h".
+            utf16-ucs4-unsafe  The include file is changed from
+                            "utf16-ucs4-unsafe.h" to "unistr.h".
+            ucs4-utf8       The include file is changed from "ucs4-utf8.h"
+                            to "unistr.h".
+            ucs4-utf16      The include file is changed from "ucs4-utf16.h"
+                            to "unistr.h".
+
+2007-03-19  iconvme         The module is removed. Use module striconv instead:
+                            iconv_string -> str_iconv
+                            iconv_alloc -> str_cd_iconv (with reversed
+                                           arguments)
+
 2007-03-15  list            The functions gl_list_create_empty and
-                            gl_list_create now take an extra fourth argument.
-                            You can pass NULL.
+            array-list      gl_list_create now take an extra fourth argument.
+            carray-list     You can pass NULL.
+            linked-list
+            linkedhash-list
+            avltree-list
+            rbtree-list
+            avltreehash-list
+            rbtreehash-list
 
 2007-03-15  oset            The function gl_oset_create_empty now takes a
             array-oset      third argument. You can pass NULL.
             avltree-oset
             rbtree-oset
 
-2007-03-13  vasprintf       The module now depends on stdio, so replace
-                               #include "vasprintf.h"
-                            with
-                               #include <stdio.h>
-
 2007-03-12  des             The types and functions in lib/des.h have been
             gc-des          renamed:
 
@@ -42,6 +395,13 @@ Date        Modules         Changes
                             xreadlink-with-size. The function was renamed:
                             xreadlink -> xreadlink_with_size.
 
+2007-02-18  exit            The modules now depend on stdlib, so replace
+            mkdtemp           #include "exit.h"
+            mkstemp           #include "mkdtemp.h"
+                              #include "mkstemp.h"
+                            with
+                              #include <stdlib.h>
+
 2007-01-26  strdup          The module now depends on string, so replace
                               #include "strdup.h"
                             with