filemode: Remove Cray support.
[gnulib.git] / NEWS
blob7679be06c52518c48c6e53589737e30e88257c43
1 Important general notes
2 -----------------------
4 Date        Modules         Changes
6 2020-08-16  (all)           Automake >= 1.11 and Autoconf >= 2.64 are required.
8 2019-12-11  Support for     These modules are now supported in C++ mode as well.
9             ISO C or POSIX  This means, while the autoconfiguration uses the C
10             functions       compiler, the resulting header files and function
11                             substitutes can be used with a matching C++ compiler
12                             as well.
14 2019-02-14  gnulib-tool     If you use multiple --local-dir options at once:
15                             The first one now has the highest priority, not the
16                             last one.
18 2019-01-04  (all)           The meaning of the 'Link' section in the module
19                             descriptions has been clarified: It overrides the
20                             combined 'Link' sections from the dependencies.
22 2018-10-22  (all)           Automake >= 1.11 and Autoconf >= 2.63 are required.
24 2016-09-05  progname        There is now an alternate module 'getprogname'. It
25                             defines a getprogname() function; use it to obtain
26                             the name of the current program.
27                             Recommended use:
28                             - In a program's main() function, and associated
29                               usage() and help() functions, use 'progname'.
30                             - In library code, or more generally any code that
31                               is not near the main() function, use
32                               'getprogname'.
34 2013-04-24  gettext         If your project uses 'gettextize --intl' it is now
35                             your responsibility to put -I$(top_builddir)/intl
36                             into the Makefile.am for gnulib.
38 2012-06-27  elisp-comp      The module 'elisp-comp' is removed; the script is
39                             not independently useful outside of automake.
41 2012-06-21  gnulib-tool     The option --with-tests is now implied by the
42                             options --create-testdir, --test,
43                             --create-megatestdir, --megatest.
45 2012-01-07  quotearg        In the C locale, the function will no longer use
46                             the grave accent character to begin a quoted
47                             string (`like this').  It will use apostrophes
48                             'like these' or, in Unicode locales, single quotes
49                             ‘like these’.  You may want to adjust any error
50                             messages that hard code the quoting characters.
52 2010-09-04  gnulib-tool     The option '--import' is no longer cumulative; it
53                             now expects the complete list of modules and other
54                             options on the command line. If you want to
55                             augment (not set) the list of modules, use the
56                             new option '--add-import' instead of '--import'.
58 User visible incompatible changes
59 ---------------------------------
61 Date        Modules         Changes
63 2020-12-18  free            This module, obsoleted in 2008, is gone.
65 2020-12-14  findprog-in     The function 'find_in_given_path' now takes a 3rd
66                             argument 'const char *directory'. To maintain the
67                             previous behaviour, insert NULL as additional 3rd
68                             argument.
70 2020-12-11  sh-quote        The argv argument of the 'shell_quote_argv' function
71                             is now of type 'const char * const *'.  You no
72                             longer need to cast read-only strings to 'char *'
73                             when constructing this argument.
74             execute         The prog_argv argument of the 'execute' function
75                             is now of type 'const char * const *'.  You no
76                             longer need to cast read-only strings to 'char *'
77                             when constructing this argument.
78             spawn-pipe      The prog_argv argument of the functions
79                             'create_pipe_out', 'create_pipe_in',
80                             'create_pipe_bidi' is now of type
81                             'const char * const *'.  You no longer need to cast
82                             read-only strings to 'char *' when constructing this
83                             argument.
84             pipe-filter-gi  The prog_argv argument of the
85                             'pipe_filter_gi_create' function is now of type
86                             'const char * const *'.  You no longer need to cast
87                             read-only strings to 'char *' when constructing this
88                             argument.
89             pipe-filter-ii  The prog_argv argument of the
90                             'pipe_filter_ii_execute' function is now of type
91                             'const char * const *'.  You no longer need to cast
92                             read-only strings to 'char *' when constructing this
93                             argument.
94             javaexec        The prog_argv argument of the 'execute_fn' function
95                             type is now of type 'const char * const *'.  Update
96                             the signature of all your implementations of this
97                             type.
98             csharpexec      The prog_argv argument of the 'execute_fn' function
99                             type is now of type 'const char * const *'.  Update
100                             the signature of all your implementations of this
101                             type.
103 2020-12-02  spawn-pipe      The functions 'create_pipe_out', 'create_pipe_in',
104                             'create_pipe_bidi' now take a 4th argument
105                             'const char *directory'. To maintain the previous
106                             behaviour, insert NULL as additional 4th argument.
108 2020-12-02  execute         The function 'execute' now takes a 4th argument
109                             'const char *directory'. To maintain the previous
110                             behaviour, insert NULL as additional 4th argument.
112 2020-10-16  hash            This module deprecates the 'hash_delete' function
113                             using gcc's "deprecated" attribute.  Use the better-
114                             named 'hash_remove' equivalent.
116 2020-08-24  diffseq         If you do not define NOTE_ORDERED to true,
117                             the NOTE_DELETE and NOTE_INSERT actions might
118                             not be done in order, to help cut down worst-case
119                             recursion stack space from O(N) to O(log N).
121 2020-08-01  libtextstyle-optional  You now need to invoke
122                                    gl_LIBTEXTSTYLE_OPTIONAL explicitly, because
123                                    this macro now takes an optional
124                                    MINIMUM-VERSION argument.
126 2020-08-01  libtextstyle    You now need to invoke gl_LIBTEXTSTYLE explicitly,
127                             because this macro now takes an optional
128                             MINIMUM-VERSION argument.
130 2020-06-27  clean-temp      The functions open_temp, fopen_temp now take a
131                             'bool delete_on_close' argument. If in doubt, pass
132                             false.
134 2020-06-27  tempname        The link requirements of these modules are changed
135             mkdtemp         from empty to $(LIB_GETRANDOM).
136             mkstemp
137             mkstemps
138             mkostemp
139             mkostemps
140             tmpfile
141             stdlib-safer
142             tmpfile-safer
143             clean-temp
144             javacomp        $(LIB_GETRANDOM) was added to the link requirements
145                             of this module.
147 2020-05-27  read-file       The functions provided by this module now take an
148                             'int flags' argument to modify the file reading
149                             behavior.  The read_binary_file function has been
150                             removed as it is no longer necessary.
152 2020-04-27  getdate         This deprecated module is removed. Use the module
153                             'parse-datetime' instead. Instead of
154                               #include "getdate.h"
155                             write
156                               #include "parse-datetime.h"
157                             The function get_date is renamed to parse_datetime.
159 2020-04-27  realloc         This deprecated module is removed. Use the module
160                             'realloc-gnu' instead.
162 2020-04-27  calloc          This deprecated module is removed. Use the module
163                             'calloc-gnu' instead.
165 2020-04-27  malloc          This deprecated module is removed. Use the module
166                             'malloc-gnu' instead.
168 2020-04-27  fnmatch-posix   This deprecated module is removed. Use the module
169                             'fnmatch' instead.
171 2020-04-27  pipe            This deprecated module is removed. Use the module
172                             'spawn-pipe' instead. Instead of
173                               #include "pipe.h"
174                             write
175                               #include "spawn-pipe.h"
177 2020-04-27  getopt          This deprecated module is removed. Please choose
178                             among getopt-posix and getopt-gnu. getopt-gnu
179                             provides "long options" and "options with optional
180                             arguments", getopt-posix doesn't.
182 2020-04-27  rename-dest-slash  This deprecated module is removed. Use the
183                                module 'rename' instead.
185 2020-04-27  unictype/bidicategory-*  These deprecated modules are removed. Use
186                                      the modules unictype/bidiclass-* instead.
188 2020-03-28  dosname         On native Windows, OS/2, DOS,
189                             IS_RELATIVE_FILE_NAME("c:") now returns false.
191 2020-03-28  filename        The macro IS_ABSOLUTE_PATH is deprecated. Use
192                             IS_ABSOLUTE_FILE_NAME instead.
193                             The macro IS_PATH_WITH_DIR is deprecated. Use
194                             IS_FILE_NAME_WITH_DIR instead.
196 2020-02-22  fchownat        This module no longer defines the functions
197                             'chownat' and 'lchownat'.  Program that need these
198                             functions should add the module 'chownat' to the
199                             list of imported modules.
201 2020-02-22  fchmodat        This module no longer defines the functions
202                             'chmodat' and 'lchmodat'.  Program that need these
203                             functions should add the module 'chmodat' to the
204                             list of imported modules.
206 2020-02-07  fchmodat        When applied to non-symlinks, these now act like
207             lchmod          chmod (the BSD behavior, which POSIX requires for
208                             fchmodat + AT_SYMLINK_NOFOLLOW), instead of failing
209                             (the GNU/Linux behavior through glibc 2.31).
210                             Future versions of GNU/Linux are planned to act as
211                             per POSIX and BSD.
213 2020-01-15  gc-pbkdf2-sha1  This module is deprecated.  Use gc-pbkdf2 instead.
215 2019-12-12  dfa             Its API now uses ptrdiff_t instead of size_t.
217 2019-12-11  dfa             To call dfamust, one must now call dfaparse
218                             without yet calling dfacomp.  This fixes a bug
219                             introduced on 2018-10-22 that broke dfamust.
221 2019-12-07  xstrtol         This module no longer defines the function
222             xstrtoll        'xstrtol_fatal'.  Program that need this function
223             xstrtoimax      should add the module 'xstrtol-error' to the list
224             xstrtoumax      of imported modules.
226 2019-05-90  verify          verify_true (deprecated 2011-06-15) is removed.
228 2019-03-16  fatal-signal    The function that you pass to at_fatal_signal now
229                             takes the signal as argument.
231 2019-02-02  c-strtod        This and related modules no longer define
232                             the HAVE_C99_STRTOLD macro.  Programs requiring
233                             standard strtold should use the strtold module.
235 2019-01-21  diacrit         This module is deprecated. Please use the module
236                             uninorm/canonical-decomposition instead.
238 2018-10-23  backupfile      backup_file_rename and find_backup_file_name
239                             now take an additional directory file descriptor
240                             argument.  Pass AT_FDCWD to get the old behavior.
242 2018-08-18  getpass         The include file is changed from "getpass.h" to
243             getpass-gnu     <unistd.h>.
245 2018-07-17  hard-locale     m4/hard-locale.m4 and gl_HARD_LOCALE are removed.
247 2018-07-05  renameat2       This module is renamed to 'renameatu' and all
248                             its include files and functions are renamed
249                             accordingly.
251 2017-12-30  chdir-safer     This module is removed.  It was deprecated
252                             on 2006-07-17.
254 2017-11-24  posixtm         Previously, callers had to specify either
255                             PDS_LEADING_YEAR or PDS_TRAILING_YEAR (but
256                             not both).  Now, callers should specify
257                             only PDS_TRAILING_YEAR; leading years are
258                             requested by not specifying PDS_TRAILING_YEAR.
260 2017-08-14  fcntl-h         This module now defaults O_CLOEXEC to a nonzero
261                             value instead of to 0, as the 'open' and
262                             'openat' modules now emulate O_CLOEXEC.
264 2017-07-23  strftime        This module is renamed to 'nstrftime'.
266 2017-05-19  closeout        close_stdout longer closes stderr when addresses
267                             are being sanitized, as the sanitizer outputs to
268                             stderr afterwards.
270 2017-02-16  binary-io       On MS-DOS and OS/2, set_binary_mode now fails
271                             on ttys, and sets errno == EINVAL.
273 2017-01-20  parse-datetime  The parse_datetime2 function now takes two
274                             more arguments TZ and TZSTRING, for the
275                             time zone and its name.
277 2017-01-16  host-cpu-c-abi  On ARM platforms, HOST_CPU_C_ABI is now set to
278                             'arm' or 'armhf' instead of 'armel'.
280 2017-01-15  localeinfo      Change case_folded_counterparts's first arg's type
281                             from wchar_t to wint_t, so it now accepts WEOF.
283 2016-12-17  getlogin        The link requirements of these modules are changed
284             getlogin_r      from empty to $(LIB_GETLOGIN).
286 2016-12-13  dfa             Remove DFA_CASE_FOLD flag. Now based on RE_ICASE.
288 2016-11-17  unistr/u32-strmblen   The function u32_strmblen can now return -1.
289 2016-11-17  unistr/u32-strmbtouc  The function u32_strmbtouc can now return -1.
291 2016-08-17  stdbool         This no longer supports _Bool for C++.
292                             Programs intended to be portable to C++
293                             compilers should use plain 'bool' instead.
295 2016-04-12  intprops        The following macros were removed:
296                             TYPE_TWOS_COMPLEMENT  TYPE_ONES_COMPLEMENT
297                             TYPE_SIGNED_MAGNITUDE
299 2015-09-25  c-ctype         The following macros were removed:
300                             C_CTYPE_CONSECUTIVE_DIGITS
301                             C_CTYPE_CONSECUTIVE_LOWERCASE
302                             C_CTYPE_CONSECUTIVE_UPPERCASE
304 2015-09-22  savewd          SAVEWD_CHDIR_READABLE constant removed.
306 2015-07-24  fprintftime     Exported functions' time zone arguments are now of
307             strftime        type timezone_t (with NULL denoting UTC) instead of
308                             type int (with nonzero denoting UTC).  These
309                             modules now depend on time_rz.
311 2015-04-24  acl             This module no longer defines file_has_acl.
312                             Use the new file-has-acl module for that.
313                             Using only the latter module makes for fewer
314                             link-time dependencies on GNU/Linux.
316 2015-04-15  acl             If your project only uses the file_has_acl()
317                             detection routine, then the requirements are
318                             potentially reduced by using $LIB_HAS_ACL rather
319                             than $LIB_ACL.
321 2015-04-03  hash            hash_insert0 function removed (deprecated in 2011).
323 2014-10-29  obstack         The obstack functions are no longer limited to
324                             int sizes; size values are now of type size_t.
325                             This changes both the ABI and the API.
326                             obstack_blank no longer accepts a negative size to
327                             shrink the current object; callers must now use
328                             obstack_blank_fast with a "negative" (actually,
329                             large positive) size for that.
331 2014-02-23  diffseq         The members too_expensive, lo_minimal and hi_minimal
332                             were removed from public structures, and the
333                             find_minimal argument was removed from diag
334                             and compareseq.
336 2014-02-11  savedir         The savedir and streamsavedir functions have a
337                             new argument specifying how to sort the result.
338                             The fdsavedir function is removed.
340 2013-05-04  gnulib-tool     CVS checkout of gnulib are no longer supported.
342 2013-02-08  careadlinkat    This module no longer provides the careadlinkatcwd
343                             function.
345 2012-06-26  getopt-posix    This module no longer guarantees that option
346                             processing is resettable.  If your code uses
347                             'optreset' or 'optind = 0;', rewrite it to make
348                             only one pass over the argument array.
350 2012-02-24  streq           This module no longer provides the STREQ macro.
351                             Use STREQ_OPT instead.
353 2012-01-10  ignore-value    This module no longer provides the ignore_ptr
354                             function.  It was deprecated a year ago, but existed
355                             so briefly before then that it never came into use.
356                             Now, the ignore_value function does its job.
358 2011-11-18  hash            This module deprecates the hash_insert0 function
359                             using gcc's "deprecated" attribute.  Use the better-
360                             named hash_insert_if_absent equivalent.
362 2011-11-04  openat          This module no longer provides the mkdirat()
363                             function. If you need this function, you now need
364                             to request the 'mkdirat' module.
366 2011-11-04  openat          This module no longer provides the fstatat()
367                             function. If you need this function, you now need
368                             to request the 'fstatat' module.
370 2011-11-03  openat          This module no longer provides the unlinkat()
371                             function. If you need this function, you now need
372                             to request the 'unlinkat' module.
374 2011-11-02  openat          This module no longer provides the fchmodat()
375                             function. If you need this function, you now need
376                             to request the 'fchmodat' module.
378 2011-11-01  alignof         This module no longer provides the alignof() macro.
379                             Use either alignof_slot() or alignof_type() instead.
381 2011-11-01  openat          This module no longer provides the fchownat()
382                             function. If you need this function, you now need
383                             to request the 'fchownat' module.
385 2011-10-03  poll            The link requirements of this module are changed
386                             from empty to $(LIB_POLL).
388 2011-09-25  sys_stat        This module no longer provides the fstat()
389                             function. If you need this function, you now need
390                             to request the 'fstat' module.
392 2011-09-23  signal          This module is renamed to 'signal-h'.
394 2011-09-22  select          The link requirements of this module are changed
395                             from $(LIBSOCKET) to $(LIB_SELECT).
397 2011-09-12  fchdir          This module no longer overrides the functions
398                             opendir() and closedir(), unless the modules
399                             'opendir' and 'closedir' are in use, respectively.
400                             If you use opendir(), please use module 'opendir'.
401                             If you use closedir(), please use module 'closedir'.
403 2011-08-04  pathmax         The header file "pathmax.h" no longer defines
404                             PATH_MAX on GNU/Hurd. Please use one of the methods
405                             listed in pathmax.h to ensure your package is
406                             portable to GNU/Hurd.
408 2011-07-24  close           This module no longer pulls in the 'fclose' module.
409                             If your code creates a socket descriptor using
410                             socket() or accept(), then a FILE stream referring
411                             to it using fdopen(), then in order to close this
412                             stream, you need the 'fclose' module.
414 2011-07-12  arg-nonnull     Renamed to snippet/arg-nonnull.
415             c++defs         Renamed to snippet/c++defs.
416             link-warning    Renamed to snippet/link-warning.
417             unused-parameter Renamed to snippet/unused-parameter.
418             warn-on-use     Renamed to snippet/warn-on-use.
420 2011-06-15  verify          verify_true (V) is deprecated; please use
421                             verify_expr (V, 1) instead.
423 2011-06-05  ansi-c++-opt    When a C++ compiler is not found, the variable CXX
424                             is now set to "no", not to ":".
426 2011-05-11  group-member    The include file is changed from "group-member.h"
427                             to <unistd.h>.
429 2011-05-02  exit            The module is removed.  It was deprecated
430                             on 2010-03-05.  Use 'stdlib' directly instead.
432 2011-04-27  mgetgroups      The 'xgetgroups' function has been split into
433                             a new 'xgetgroups' module.
435 2011-04-27  save-cwd        This module pulls in fewer dependencies by
436                             default; to retain robust handling of directories
437                             with an absolute name longer than PATH_MAX, you
438                             must now explicitly include the 'getcwd' module.
440 2011-04-19  close-hook      This module has been renamed to 'fd-hook' and
441                             generalized.
443 2011-03-08  regex-quote     The last argument is no longer an 'int cflags'
444                             but instead a pointer to a previously constructed
445                             'struct regex_quote_spec'.
447 2011-02-25  dirname         These modules no longer put #defines for the
448             dirname-lgpl    following symbols into <config.h>: ISSLASH,
449             backupfile      FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX,
450             lstat           FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR,
451             openat          FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE.
452             remove          Applications that need ISSLASH can include the new
453             rmdir           header dosname.h.
454             savewd
455             stat
456             unlink
458 2011-02-14  getloadavg      This module no longer #defines C_GETLOADAVG or
459                             HAVE_GETLOADAVG, as the application no longer needs
460                             to worry about how getloadavg is defined.  It no
461                             longer defines the obsolete symbol NLIST_NAME_UNION
462                             (which should have been internal to the module
463                             anyway).  Also, support for setgid use has been
464                             removed, as nobody seems to be using it; thus
465                             GETLOADAVG_PRIVILEGED is no longer #defined and
466                             KMEM_GROUP and NEED_SETGID are no longer
467                             substituted for.
469 2011-02-08  stdlib          Unless the random_r module is also used, this
470                             module no longer guarantees that the following are
471                             defined: struct random_data, RAND_MAX, random_r,
472                             srandom_r, initstate_r, setstate_r.
474 2011-02-08  wctype-h        This module no longer provides the iswblank()
475                             function. If you need this function, you now need
476                             to request the 'iswblank' module.
478 2011-02-07  wctype          This module is renamed to wctype-h.
480 2011-01-18  multiarch       This no longer #defines AA_APPLE_UNIVERSAL_BUILD;
481                             instead, use the shell var APPLE_UNIVERSAL_BUILD.
483 2010-12-10  pipe            This module is renamed to spawn-pipe. The include
484                             file is renamed to "spawn-pipe.h".
486 2010-10-05  getdate         This module is deprecated. Please use the new
487                             parse-datetime module for the replacement
488                             function parse_datetime(), or help us write
489                             getdate-posix for getdate(). Also, the header
490                             "getdate.h" has been renamed "parse-datetime.h",
491                             and doc/getdate.texi to doc/parse-datetime.texi.
493 2010-09-29  sys_wait        This module no longer provides the waitpid()
494                             function. If you need this function, you now need
495                             to request the 'waitpid' module.
497 2010-09-17  utimens         The function gl_futimens is removed, and its
498                             signature has been migrated to fdutimens.  Callers
499                             of gl_futimens should change function name, and
500                             callers of fdutimens should swap parameter order.
502 2010-09-17  fdutimensat     This function has a new signature: the fd now comes
503                             first instead of the dir/name pair, and a new
504                             atflag parameter is added at the end.  Old code
505                             should rearrange parameters, and pass 0 for atflag.
507 2010-09-13  regex           The module is not guaranteeing anymore support for
508                             64-bit regoff_t on 64-bit systems.  The size of
509                             regoff_t will always be 32-bit unless the program
510                             is being configured --with-included-regex.  This
511                             may change again in the future once glibc provides
512                             this feature as well.
514 2010-09-12  savedir         The fdsavedir function is now deprecated.
516 2010-09-10  fcntl-h         This module now defaults O_CLOEXEC to 0, and
517                             it defaults O_EXEC and O_SEARCH to O_RDONLY.
518                             Use "#if O_CLOEXEC" instead of "#ifdef O_CLOEXEC".
520 2010-08-28  realloc         This module is deprecated. Use 'realloc-gnu'
521                             instead. It will be removed 2012-01-01.
523 2010-08-28  calloc          This module is deprecated. Use 'calloc-gnu'
524                             instead. It will be removed 2012-01-01.
526 2010-08-28  malloc          This module is deprecated. Use 'malloc-gnu'
527                             instead. It will be removed 2012-01-01.
529 2010-08-14  memxfrm         This module is renamed to amemxfrm. The include
530                             file is renamed to "amemxfrm.h". The function is
531                             renamed to amemxfrm.
533 2010-08-09  symlinkat       This module now only provides symlinkat; use the
534                             new module 'readlinkat' if needed.
536 2010-07-31  ansi-c++-opt    If Autoconf >= 2.66 is used, the 'configure'
537                             option is now called --disable-c++ rather than
538                             --disable-cxx.
540 2010-04-02  maintainer-makefile
541                             The macro _prohibit_regexp has been revamped into
542                             a new macro _sc_search_regexp; custom syntax
543                             checks in your cfg.mk will need to be rewritten.
545 2010-03-28  lib-ignore      This module now provides a variable
546                             IGNORE_UNUSED_LIBRARIES_CFLAGS that you should
547                             add to LDFLAGS (when linking C programs only) or
548                             CFLAGS yourself. It is no longer added to LDFLAGS
549                             automatically.
551 2010-03-18  pty             This module now only declares the pty.h header.
552                             Use the new modules 'forkpty' or 'openpty' to
553                             get the functions that were previously provided.
555 2010-03-05  exit            This module is deprecated, use 'stdlib' directly
556                             instead.  It will be removed 2011-01-01.
558 2009-12-13  sublist         The module does not define functions any more that
559                             call xalloc_die() in out-of-memory situations. Use
560                             module 'xsublist' and include file "gl_xsublist.h"
561                             instead.
563 2009-12-13  list            The module does not define functions any more that
564                             call xalloc_die() in out-of-memory situations.
565                             Use module 'xlist' and include file "gl_xlist.h"
566                             instead.
568 2009-12-13  oset            The module does not define functions any more that
569                             call xalloc_die() in out-of-memory situations.
570                             Use module 'xoset' and include file "gl_xoset.h"
571                             instead.
573 2009-12-10  *               Most source code files have been converted to
574                             indentation by spaces (rather than tabs). Patches
575                             of gnulib source code needs to be updated.
577 2009-12-09  link-warning    The Makefile rules that use $(LINK_WARNING_H) now
578                             must contain an explicit dependency on
579                             $(LINK_WARNING_H).
581 2009-11-12  getgroups       These functions now use a signature of gid_t,
582             getugroups      rather than GETGROUPS_T.  This probably has no
583                             effect except on very old platforms.
585 2009-11-04  tempname        The gen_tempname function takes an additional
586                             'suffixlen' argument. You can safely pass 0.
588 2009-11-04  nproc           The num_processors function now takes an argument.
590 2009-11-02  inet_pton       The use of this module now requires linking with
591                             $(INET_PTON_LIB).
593 2009-11-02  inet_ntop       The use of this module now requires linking with
594                             $(INET_NTOP_LIB).
596 2009-10-10  utimens         The use of this module now requires linking with
597                             $(LIB_CLOCK_GETTIME).
599 2009-09-16  canonicalize-lgpl
600                             The include file is changed from "canonicalize.h"
601                             to <stdlib.h>.
603 2009-09-04  link-follow     The macro LINK_FOLLOWS_SYMLINK is now tri-state,
604                             rather than only defined to 1.
606 2009-09-03  openat          The include files are standardized to POSIX 2008.
607                             For openat, include <fcntl.h>; for
608                             fchmodat, fstatat, and mkdirat, include
609                             <sys/stat.h>; for fchownat and unlinkat,
610                             include <unistd.h>.  For all other
611                             functions provided by this module,
612                             continue to include "openat.h".
614 2009-08-30  striconveh      The functions mem_cd_iconveh and str_cd_iconveh
615                             now take an 'iconveh_t *' argument instead of three
616                             iconv_t arguments.
618 2009-08-23  tempname        The gen_tempname function takes an additional
619                             'flags' argument. You can safely pass 0.
621 2009-08-12  getopt          This module is deprecated. Please choose among
622                             getopt-posix and getopt-gnu. getopt-gnu provides
623                             "long options" and "options with optional
624                             arguments", getopt-posix doesn't.
626 2009-06-25  fpurge          The include file is changed from "fpurge.h" to
627                             <stdio.h>.
629 2009-04-26  modules/uniconv/u8-conv-from-enc
630             modules/uniconv/u16-conv-from-enc
631             modules/uniconv/u32-conv-from-enc
632                             The calling convention of the functions
633                             u*_conv_from_encoding is changed.
635 2009-04-26  modules/uniconv/u8-conv-to-enc
636             modules/uniconv/u16-conv-to-enc
637             modules/uniconv/u32-conv-to-enc
638                             The calling convention of the functions
639                             u*_conv_to_encoding is changed.
641 2009-04-24  maintainer-makefile
642                             The maint.mk file was copied from
643                             coreutils, and the old
644                             coverage/gettext/indent rules were
645                             re-added.  If you used 'make syntax-check'
646                             this will add several new checks.  If some
647                             new check is annoying, add the name of the
648                             checks to 'local-checks-to-skip' in your
649                             cfg.mk.
651 2009-04-01  visibility      Renamed to lib-symbol-visibility.
653 2009-04-01  ld-version-script  Renamed to lib-symbol-versions.
655 2009-03-20  close           The substituted variable LIB_CLOSE is removed.
657 2009-03-05  filevercmp      Move hidden files up in ordering.
659 2009-01-22  c-strtod        This function no longer calls xalloc_die(). If
660             c-strtold       you want to exit the program in case of out-of-
661                             memory, the calling function needs to arrange
662                             for it, like this:
663                                 errno = 0;
664                                 val = c_strtod (...);
665                                 if (val == 0 && errno == ENOMEM)
666                                   xalloc_die ();
668 2009-01-17  relocatable-prog  In the Makefile.am or Makefile.in, you now also
669                             need to set RELOCATABLE_STRIP = :.
671 2008-12-22  getaddrinfo     When using this module, you now need to link with
672             canon-host      $(GETADDRINFO_LIB).
674 2008-12-21  mbiter          The header files "mbiter.h", "mbuiter.h",
675             mbuiter         "mbfile.h" can now be included without checking
676             mbfile          HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
677                             longer be defined by these modules in a year. If
678                             you want to continue to use it, you need to invoke
679                             AC_FUNC_MBRTOWC yourself.
681 2008-11-11  warnings        This module subsumes the file m4/warning.m4 which
682                             was removed.
684 2008-10-20  lstat           The include file is changed from "lstat.h" to
685                             <sys/stat.h>.
687 2008-10-20  getaddrinfo     The include file is changed from "getaddrinfo.h"
688                             to <netdb.h>.
690 2008-10-19  isnanf          The include file is changed from "isnanf.h" to
691                             <math.h>.
692             isnand          The include file is changed from "isnand.h" to
693                             <math.h>.
694             isnanl          The include file is changed from "isnanl.h" to
695                             <math.h>.
697 2008-10-18  lchmod          The include file is changed from "lchmod.h" to
698                             <sys/stat.h>.
700 2008-10-18  dirfd           The include file is changed from "dirfd.h" to
701                             <dirent.h>.
703 2008-10-18  euidaccess      The include file is changed from "euidaccess.h"
704                             to <unistd.h>.
706 2008-10-18  getdomainname   The include file is changed from "getdomainname.h"
707                             to <unistd.h>.
709 2008-09-28  sockets         When using this module, you now need to link with
710                             $(LIBSOCKET).
712 2008-09-24  sys_select      The limitation on 'select', introduced 2008-09-23,
713                             was removed.  sys_select now includes a select
714                             wrapper for Winsock.  The wrapper expects socket
715                             and file descriptors to be compatible as arranged
716                             by the sys_socket on MinGW.
718 2008-09-23  sys_socket      Under Windows (MinGW), the module now adds
719                             wrappers around Winsock functions, so that
720                             socket descriptors are now compatible with
721                             file descriptors.  In general, this change
722                             will simply improve your code's portability
723                             between POSIX platforms and Windows.  In
724                             particular, you will be able to use ioctl and
725                             close instead of ioctlsocket and closesocket,
726                             and test errno instead of WSAGetLastError ().
727                             On the other hand, you have to audit your code to
728                             remove usage of these Winsock-specific functions.
730                             This change does not remove the need to call
731                             the gl_sockets_startup function from the sockets
732                             gnulib module.  Also, for now select is disabled
733                             when you include the sys_socket module; while
734                             the functionality will be restored soon, for
735                             efficiency it is suggested to use the poll system
736                             poll system call and gnulib module instead.
738 2008-09-13  EOVERFLOW       The module is removed. Use module errno instead.
740 2008-09-01  filename        The module does not define the function
741                             concatenated_filename any more. To get an
742                             equivalent function, use function
743                             xconcatenated_filename from module
744                             'xconcat-filename'.
746 2008-08-31  havelib         On Solaris, when searching for 64-bit mode
747                             libraries the directory $prefix/lib is now ignored.
748                             Instead the directory $prefix/lib/64 is searched.
749                             You may need to create a symbolic link for
750                             $prefix/lib/64 if you have 64-bit libraries
751                             installed in $prefix/lib.
753 2008-08-19  strverscmp      The include file is changed from "strverscmp.h"
754                             to <string.h>.
756 2008-08-14  lock            The include file is changed from "lock.h"
757                             to "glthread/lock.h".
758             tls             The include file is changed from "tls.h"
759                             to "glthread/tls.h".
761 2008-07-17  c-stack         The module now requires the addition of
762                             $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
763                             since it may depend on linking with libsigsegv.
765 2008-07-07  isnanf-nolibm   The include file is changed from "isnanf.h"
766                             to "isnanf-nolibm.h".
767             isnand-nolibm   The include file is changed from "isnand.h"
768                             to "isnand-nolibm.h".
770 2008-06-10  execute         The execute function takes an additional termsigp
771                             argument. Passing termsigp = NULL is ok.
772             wait-process    The wait_subprocess function takes an additional
773                             termsigp argument. Passing termsigp = NULL is ok.
775 2008-05-10  linebreak       The module is split into several modules unilbrk/*.
776                             The include file is changed from "linebreak.h" to
777                             "unilbrk.h". Two functions are renamed:
778                             mbs_possible_linebreaks -> ulc_possible_linebreaks
779                             mbs_width_linebreaks -> ulc_width_linebreaks
781 2008-04-28  rpmatch         The include file is now <stdlib.h>.
783 2008-04-28  inet_ntop       The include file is changed from "inet_ntop.h"
784                             to <arpa/inet.h>.
786 2008-04-28  inet_pton       The include file is changed from "inet_pton.h"
787                             to <arpa/inet.h>.
789 2008-03-06  freadahead      The return value's computation has changed. It
790                             now increases by 1 after ungetc.
792 2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
793                             isnand-nolibm. The include file is changed from
794                             "isnan.h" to "isnand.h". The function that it
795                             defines is changed from isnan() to isnand().
797 2008-01-14  strcasestr      This module now replaces worst-case inefficient
798                             implementations; clients that use controlled
799                             needles and thus do not care about worst-case
800                             efficiency should use the new strcasestr-simple
801                             module instead for smaller code size.
803 2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
804                             supplies an <alloca.h>.  Gnulib-using code is now
805                             expected to include <alloca.h> unconditionally.
806                             Non-gnulib-using code can continue to include
807                             <alloca.h> only if HAVE_ALLOCA_H is defined.
809 2008-01-08  memmem          This module now replaces worst-case inefficient
810                             implementations; clients that use controlled
811                             needles and thus do not care about worst-case
812                             efficiency should use the new memmem-simple
813                             module instead for smaller code size.
815 2007-12-24  setenv          The include file is changed from "setenv.h" to
816                             <stdlib.h>. Also, the unsetenv function is no
817                             longer declared in this module; use the 'unsetenv'
818                             module if you need it.
820 2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
821                             to <unistd.h>.
823 2007-12-03  strcase         The include file is changed from <string.h> to
824                             <strings.h>.
826 2007-10-07  most modules    The license for most modules has changed from
827                             GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
828                             A few modules are still under LGPLv2+; see the
829                             module description for the applicable license.
831 2007-09-01  linebreak       "linebreak.h" no longer declares the functions
832                             locale_charset, uc_width, u{8,16,32}_width. Use
833                             "uniwidth.h" to get these functions declared.
835 2007-08-28  areadlink-with-size
836                             Renamed from mreadlink-with-size.
837                             Function renamed: mreadlink_with_size ->
838                             areadlink_with_size.
840 2007-08-22  getdelim, getline
841                             The include file is changed from "getdelim.h"
842                             and "getline.h" to the POSIX 200x <stdio.h>.
844 2007-08-18  idcache         Now provides prototypes in "idcache.h".
846 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
847                             Use the new xstrtol_fatal function instead.
849 2007-08-04  human           The function human_options no longer reports an
850                             error to standard error; that is now the
851                             caller's responsibility.  It returns an
852                             error code of type enum strtol_error
853                             instead of the integer option value, and stores
854                             the option value via a new int * argument.
855             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
856                             are now an option name and option argument
857                             instead of an option argument and a type string,
858                             STRTOL_FAIL_WARN is removed.
860 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
862 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
863                             gnulib-tool --local-dir to override this.
865 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
866                             <wchar.h>.
868 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
869                             (There is also a new module gpl-3.0.)
871 2007-06-16  lchown          The include file is changed from "lchown.h" to
872                             <unistd.h>.
874 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
875                             was renamed to "xmalloca.h". The function was
876                             renamed:
877                               xallocsa -> xmalloca
879 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
880                             was renamed to "malloca.h". The function-like
881                             macros were renamed:
882                               allocsa -> malloca
883                               freesa -> freea
885 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
886                             conflict with the glibc-2.6-introduced function
887                             that has a different signature.
889 2007-05-01  sigprocmask     The module now depends on signal, so replace
890                               #include "sigprocmask.h"
891                             with
892                               #include <signal.h>
894 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
895                             You can replace all its uses with 1, i.e. assume
896                             'long double' as a type exists.
898 2007-04-01  arcfour         Renamed to crypto/arcfour.
899             arctwo          Renamed to crypto/arctwo.
900             des             Renamed to crypto/des.
901             gc              Renamed to crypto/gc.
902             gc-arcfour      Renamed to crypto/gc-arcfour.
903             gc-arctwo       Renamed to crypto/gc-arctwo.
904             gc-des          Renamed to crypto/gc-des.
905             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
906             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
907             gc-md2          Renamed to crypto/gc-md2.
908             gc-md4          Renamed to crypto/gc-md4.
909             gc-md5          Renamed to crypto/gc-md5.
910             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
911             gc-random       Renamed to crypto/gc-random.
912             gc-rijndael     Renamed to crypto/gc-rijndael.
913             gc-sha1         Renamed to crypto/gc-sha1.
914             hmac-md5        Renamed to crypto/hmac-md5.
915             hmac-sha1       Renamed to crypto/hmac-sha1.
916             md2             Renamed to crypto/md2.
917             md4             Renamed to crypto/md4.
918             md5             Renamed to crypto/md5.
919             rijndael        Renamed to crypto/rijndael.
920             sha1            Renamed to crypto/sha1.
922 2007-03-27  vasprintf       The module now depends on stdio, so replace
923                                #include "vasprintf.h"
924                             with
925                                #include <stdio.h>
927 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
928                             <search.h>.
930 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
931                             to "unistr.h".
932             utf8-ucs4-unsafe  The include file is changed from
933                             "utf8-ucs4-unsafe.h" to "unistr.h".
934             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
935                             to "unistr.h".
936             utf16-ucs4-unsafe  The include file is changed from
937                             "utf16-ucs4-unsafe.h" to "unistr.h".
938             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
939                             to "unistr.h".
940             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
941                             to "unistr.h".
943 2007-03-19  iconvme         The module is removed. Use module striconv instead:
944                             iconv_string -> str_iconv
945                             iconv_alloc -> str_cd_iconv (with reversed
946                                            arguments)
948 2007-03-15  list            The functions gl_list_create_empty and
949             array-list      gl_list_create now take an extra fourth argument.
950             carray-list     You can pass NULL.
951             linked-list
952             linkedhash-list
953             avltree-list
954             rbtree-list
955             avltreehash-list
956             rbtreehash-list
958 2007-03-15  oset            The function gl_oset_create_empty now takes a
959             array-oset      third argument. You can pass NULL.
960             avltree-oset
961             rbtree-oset
963 2007-03-12  des             The types and functions in lib/des.h have been
964             gc-des          renamed:
966                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
967                             des_is_weak_key -> gl_des_is_weak_key,
968                             des_setkey -> gl_des_setkey,
969                             des_makekey -> gl_des_makekey,
970                             des_ecb_crypt -> gl_des_ecb_crypt,
971                             des_ecb_encrypt -> gl_des_ecb_encrypt,
972                             des_ecb_decrypt -> gl_des_ecb_decrypt,
973                             tripledes_set2keys -> gl_3des_set2keys,
974                             tripledes_set3keys -> gl_3des_set3keys,
975                             tripledes_makekey -> gl_3des_makekey,
976                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
978                             Also consider using the "gc-des" buffer instead of
979                             using the "des" module directly.
981 2007-02-28  xreadlink       The module xreadlink was renamed to
982                             xreadlink-with-size. The function was renamed:
983                             xreadlink -> xreadlink_with_size.
985 2007-02-18  exit            The modules now depend on stdlib, so replace
986             mkdtemp           #include "exit.h"
987             mkstemp           #include "mkdtemp.h"
988                               #include "mkstemp.h"
989                             with
990                               #include <stdlib.h>
992 2007-01-26  strdup          The module now depends on string, so replace
993                               #include "strdup.h"
994                             with
995                               #include <string.h>
997 # This is for Emacs.
998 # Local Variables:
999 # coding: utf-8
1000 # indent-tabs-mode: nil
1001 # whitespace-check-buffer-indent: nil
1002 # End: