posix_spawn-internal: Make better use of 'const'.
[gnulib.git] / NEWS
blobf484881ecb4814815a593cd4eec1b64d05895d3c
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-11  sh-quote        The argv argument of the 'shell_quote_argv' function
64                             is now of type 'const char * const *'.  You no
65                             longer need to cast read-only strings to 'char *'
66                             when constructing this argument.
67             execute         The prog_argv argument of the 'execute' function
68                             is now of type 'const char * const *'.  You no
69                             longer need to cast read-only strings to 'char *'
70                             when constructing this argument.
71             spawn-pipe      The prog_argv argument of the functions
72                             'create_pipe_out', 'create_pipe_in',
73                             'create_pipe_bidi' is now of type
74                             'const char * const *'.  You no longer need to cast
75                             read-only strings to 'char *' when constructing this
76                             argument.
77             pipe-filter-gi  The prog_argv argument of the
78                             'pipe_filter_gi_create' function is now of type
79                             'const char * const *'.  You no longer need to cast
80                             read-only strings to 'char *' when constructing this
81                             argument.
82             pipe-filter-ii  The prog_argv argument of the
83                             'pipe_filter_ii_execute' function is now of type
84                             'const char * const *'.  You no longer need to cast
85                             read-only strings to 'char *' when constructing this
86                             argument.
87             javaexec        The prog_argv argument of the 'execute_fn' function
88                             type is now of type 'const char * const *'.  Update
89                             the signature of all your implementations of this
90                             type.
91             csharpexec      The prog_argv argument of the 'execute_fn' function
92                             type is now of type 'const char * const *'.  Update
93                             the signature of all your implementations of this
94                             type.
96 2020-12-02  spawn-pipe      The functions 'create_pipe_out', 'create_pipe_in',
97                             'create_pipe_bidi' now take a 4th argument
98                             'const char *directory'. To maintain the previous
99                             behaviour, insert NULL as additional 4th argument.
101 2020-12-02  execute         The function 'execute' now takes a 4th argument
102                             'const char *directory'. To maintain the previous
103                             behaviour, insert NULL as additional 4th argument.
105 2020-10-16  hash            This module deprecates the 'hash_delete' function
106                             using gcc's "deprecated" attribute.  Use the better-
107                             named 'hash_remove' equivalent.
109 2020-08-24  diffseq         If you do not define NOTE_ORDERED to true,
110                             the NOTE_DELETE and NOTE_INSERT actions might
111                             not be done in order, to help cut down worst-case
112                             recursion stack space from O(N) to O(log N).
114 2020-08-01  libtextstyle-optional  You now need to invoke
115                                    gl_LIBTEXTSTYLE_OPTIONAL explicitly, because
116                                    this macro now takes an optional
117                                    MINIMUM-VERSION argument.
119 2020-08-01  libtextstyle    You now need to invoke gl_LIBTEXTSTYLE explicitly,
120                             because this macro now takes an optional
121                             MINIMUM-VERSION argument.
123 2020-06-27  clean-temp      The functions open_temp, fopen_temp now take a
124                             'bool delete_on_close' argument. If in doubt, pass
125                             false.
127 2020-06-27  tempname        The link requirements of these modules are changed
128             mkdtemp         from empty to $(LIB_GETRANDOM).
129             mkstemp
130             mkstemps
131             mkostemp
132             mkostemps
133             tmpfile
134             stdlib-safer
135             tmpfile-safer
136             clean-temp
137             javacomp        $(LIB_GETRANDOM) was added to the link requirements
138                             of this module.
140 2020-05-27  read-file       The functions provided by this module now take an
141                             'int flags' argument to modify the file reading
142                             behavior.  The read_binary_file function has been
143                             removed as it is no longer necessary.
145 2020-04-27  getdate         This deprecated module is removed. Use the module
146                             'parse-datetime' instead. Instead of
147                               #include "getdate.h"
148                             write
149                               #include "parse-datetime.h"
150                             The function get_date is renamed to parse_datetime.
152 2020-04-27  realloc         This deprecated module is removed. Use the module
153                             'realloc-gnu' instead.
155 2020-04-27  calloc          This deprecated module is removed. Use the module
156                             'calloc-gnu' instead.
158 2020-04-27  malloc          This deprecated module is removed. Use the module
159                             'malloc-gnu' instead.
161 2020-04-27  fnmatch-posix   This deprecated module is removed. Use the module
162                             'fnmatch' instead.
164 2020-04-27  pipe            This deprecated module is removed. Use the module
165                             'spawn-pipe' instead. Instead of
166                               #include "pipe.h"
167                             write
168                               #include "spawn-pipe.h"
170 2020-04-27  getopt          This deprecated module is removed. Please choose
171                             among getopt-posix and getopt-gnu. getopt-gnu
172                             provides "long options" and "options with optional
173                             arguments", getopt-posix doesn't.
175 2020-04-27  rename-dest-slash  This deprecated module is removed. Use the
176                                module 'rename' instead.
178 2020-04-27  unictype/bidicategory-*  These deprecated modules are removed. Use
179                                      the modules unictype/bidiclass-* instead.
181 2020-03-28  dosname         On native Windows, OS/2, DOS,
182                             IS_RELATIVE_FILE_NAME("c:") now returns false.
184 2020-03-28  filename        The macro IS_ABSOLUTE_PATH is deprecated. Use
185                             IS_ABSOLUTE_FILE_NAME instead.
186                             The macro IS_PATH_WITH_DIR is deprecated. Use
187                             IS_FILE_NAME_WITH_DIR instead.
189 2020-02-22  fchownat        This module no longer defines the functions
190                             'chownat' and 'lchownat'.  Program that need these
191                             functions should add the module 'chownat' to the
192                             list of imported modules.
194 2020-02-22  fchmodat        This module no longer defines the functions
195                             'chmodat' and 'lchmodat'.  Program that need these
196                             functions should add the module 'chmodat' to the
197                             list of imported modules.
199 2020-02-07  fchmodat        When applied to non-symlinks, these now act like
200             lchmod          chmod (the BSD behavior, which POSIX requires for
201                             fchmodat + AT_SYMLINK_NOFOLLOW), instead of failing
202                             (the GNU/Linux behavior through glibc 2.31).
203                             Future versions of GNU/Linux are planned to act as
204                             per POSIX and BSD.
206 2020-01-15  gc-pbkdf2-sha1  This module is deprecated.  Use gc-pbkdf2 instead.
208 2019-12-12  dfa             Its API now uses ptrdiff_t instead of size_t.
210 2019-12-11  dfa             To call dfamust, one must now call dfaparse
211                             without yet calling dfacomp.  This fixes a bug
212                             introduced on 2018-10-22 that broke dfamust.
214 2019-12-07  xstrtol         This module no longer defines the function
215             xstrtoll        'xstrtol_fatal'.  Program that need this function
216             xstrtoimax      should add the module 'xstrtol-error' to the list
217             xstrtoumax      of imported modules.
219 2019-05-90  verify          verify_true (deprecated 2011-06-15) is removed.
221 2019-03-16  fatal-signal    The function that you pass to at_fatal_signal now
222                             takes the signal as argument.
224 2019-02-02  c-strtod        This and related modules no longer define
225                             the HAVE_C99_STRTOLD macro.  Programs requiring
226                             standard strtold should use the strtold module.
228 2019-01-21  diacrit         This module is deprecated. Please use the module
229                             uninorm/canonical-decomposition instead.
231 2018-10-23  backupfile      backup_file_rename and find_backup_file_name
232                             now take an additional directory file descriptor
233                             argument.  Pass AT_FDCWD to get the old behavior.
235 2018-08-18  getpass         The include file is changed from "getpass.h" to
236             getpass-gnu     <unistd.h>.
238 2018-07-17  hard-locale     m4/hard-locale.m4 and gl_HARD_LOCALE are removed.
240 2018-07-05  renameat2       This module is renamed to 'renameatu' and all
241                             its include files and functions are renamed
242                             accordingly.
244 2017-12-30  chdir-safer     This module is removed.  It was deprecated
245                             on 2006-07-17.
247 2017-11-24  posixtm         Previously, callers had to specify either
248                             PDS_LEADING_YEAR or PDS_TRAILING_YEAR (but
249                             not both).  Now, callers should specify
250                             only PDS_TRAILING_YEAR; leading years are
251                             requested by not specifying PDS_TRAILING_YEAR.
253 2017-08-14  fcntl-h         This module now defaults O_CLOEXEC to a nonzero
254                             value instead of to 0, as the 'open' and
255                             'openat' modules now emulate O_CLOEXEC.
257 2017-07-23  strftime        This module is renamed to 'nstrftime'.
259 2017-05-19  closeout        close_stdout longer closes stderr when addresses
260                             are being sanitized, as the sanitizer outputs to
261                             stderr afterwards.
263 2017-02-16  binary-io       On MS-DOS and OS/2, set_binary_mode now fails
264                             on ttys, and sets errno == EINVAL.
266 2017-01-20  parse-datetime  The parse_datetime2 function now takes two
267                             more arguments TZ and TZSTRING, for the
268                             time zone and its name.
270 2017-01-16  host-cpu-c-abi  On ARM platforms, HOST_CPU_C_ABI is now set to
271                             'arm' or 'armhf' instead of 'armel'.
273 2017-01-15  localeinfo      Change case_folded_counterparts's first arg's type
274                             from wchar_t to wint_t, so it now accepts WEOF.
276 2016-12-17  getlogin        The link requirements of these modules are changed
277             getlogin_r      from empty to $(LIB_GETLOGIN).
279 2016-12-13  dfa             Remove DFA_CASE_FOLD flag. Now based on RE_ICASE.
281 2016-11-17  unistr/u32-strmblen   The function u32_strmblen can now return -1.
282 2016-11-17  unistr/u32-strmbtouc  The function u32_strmbtouc can now return -1.
284 2016-08-17  stdbool         This no longer supports _Bool for C++.
285                             Programs intended to be portable to C++
286                             compilers should use plain 'bool' instead.
288 2016-04-12  intprops        The following macros were removed:
289                             TYPE_TWOS_COMPLEMENT  TYPE_ONES_COMPLEMENT
290                             TYPE_SIGNED_MAGNITUDE
292 2015-09-25  c-ctype         The following macros were removed:
293                             C_CTYPE_CONSECUTIVE_DIGITS
294                             C_CTYPE_CONSECUTIVE_LOWERCASE
295                             C_CTYPE_CONSECUTIVE_UPPERCASE
297 2015-09-22  savewd          SAVEWD_CHDIR_READABLE constant removed.
299 2015-07-24  fprintftime     Exported functions' time zone arguments are now of
300             strftime        type timezone_t (with NULL denoting UTC) instead of
301                             type int (with nonzero denoting UTC).  These
302                             modules now depend on time_rz.
304 2015-04-24  acl             This module no longer defines file_has_acl.
305                             Use the new file-has-acl module for that.
306                             Using only the latter module makes for fewer
307                             link-time dependencies on GNU/Linux.
309 2015-04-15  acl             If your project only uses the file_has_acl()
310                             detection routine, then the requirements are
311                             potentially reduced by using $LIB_HAS_ACL rather
312                             than $LIB_ACL.
314 2015-04-03  hash            hash_insert0 function removed (deprecated in 2011).
316 2014-10-29  obstack         The obstack functions are no longer limited to
317                             int sizes; size values are now of type size_t.
318                             This changes both the ABI and the API.
319                             obstack_blank no longer accepts a negative size to
320                             shrink the current object; callers must now use
321                             obstack_blank_fast with a "negative" (actually,
322                             large positive) size for that.
324 2014-02-23  diffseq         The members too_expensive, lo_minimal and hi_minimal
325                             were removed from public structures, and the
326                             find_minimal argument was removed from diag
327                             and compareseq.
329 2014-02-11  savedir         The savedir and streamsavedir functions have a
330                             new argument specifying how to sort the result.
331                             The fdsavedir function is removed.
333 2013-05-04  gnulib-tool     CVS checkout of gnulib are no longer supported.
335 2013-02-08  careadlinkat    This module no longer provides the careadlinkatcwd
336                             function.
338 2012-06-26  getopt-posix    This module no longer guarantees that option
339                             processing is resettable.  If your code uses
340                             'optreset' or 'optind = 0;', rewrite it to make
341                             only one pass over the argument array.
343 2012-02-24  streq           This module no longer provides the STREQ macro.
344                             Use STREQ_OPT instead.
346 2012-01-10  ignore-value    This module no longer provides the ignore_ptr
347                             function.  It was deprecated a year ago, but existed
348                             so briefly before then that it never came into use.
349                             Now, the ignore_value function does its job.
351 2011-11-18  hash            This module deprecates the hash_insert0 function
352                             using gcc's "deprecated" attribute.  Use the better-
353                             named hash_insert_if_absent equivalent.
355 2011-11-04  openat          This module no longer provides the mkdirat()
356                             function. If you need this function, you now need
357                             to request the 'mkdirat' module.
359 2011-11-04  openat          This module no longer provides the fstatat()
360                             function. If you need this function, you now need
361                             to request the 'fstatat' module.
363 2011-11-03  openat          This module no longer provides the unlinkat()
364                             function. If you need this function, you now need
365                             to request the 'unlinkat' module.
367 2011-11-02  openat          This module no longer provides the fchmodat()
368                             function. If you need this function, you now need
369                             to request the 'fchmodat' module.
371 2011-11-01  alignof         This module no longer provides the alignof() macro.
372                             Use either alignof_slot() or alignof_type() instead.
374 2011-11-01  openat          This module no longer provides the fchownat()
375                             function. If you need this function, you now need
376                             to request the 'fchownat' module.
378 2011-10-03  poll            The link requirements of this module are changed
379                             from empty to $(LIB_POLL).
381 2011-09-25  sys_stat        This module no longer provides the fstat()
382                             function. If you need this function, you now need
383                             to request the 'fstat' module.
385 2011-09-23  signal          This module is renamed to 'signal-h'.
387 2011-09-22  select          The link requirements of this module are changed
388                             from $(LIBSOCKET) to $(LIB_SELECT).
390 2011-09-12  fchdir          This module no longer overrides the functions
391                             opendir() and closedir(), unless the modules
392                             'opendir' and 'closedir' are in use, respectively.
393                             If you use opendir(), please use module 'opendir'.
394                             If you use closedir(), please use module 'closedir'.
396 2011-08-04  pathmax         The header file "pathmax.h" no longer defines
397                             PATH_MAX on GNU/Hurd. Please use one of the methods
398                             listed in pathmax.h to ensure your package is
399                             portable to GNU/Hurd.
401 2011-07-24  close           This module no longer pulls in the 'fclose' module.
402                             If your code creates a socket descriptor using
403                             socket() or accept(), then a FILE stream referring
404                             to it using fdopen(), then in order to close this
405                             stream, you need the 'fclose' module.
407 2011-07-12  arg-nonnull     Renamed to snippet/arg-nonnull.
408             c++defs         Renamed to snippet/c++defs.
409             link-warning    Renamed to snippet/link-warning.
410             unused-parameter Renamed to snippet/unused-parameter.
411             warn-on-use     Renamed to snippet/warn-on-use.
413 2011-06-15  verify          verify_true (V) is deprecated; please use
414                             verify_expr (V, 1) instead.
416 2011-06-05  ansi-c++-opt    When a C++ compiler is not found, the variable CXX
417                             is now set to "no", not to ":".
419 2011-05-11  group-member    The include file is changed from "group-member.h"
420                             to <unistd.h>.
422 2011-05-02  exit            The module is removed.  It was deprecated
423                             on 2010-03-05.  Use 'stdlib' directly instead.
425 2011-04-27  mgetgroups      The 'xgetgroups' function has been split into
426                             a new 'xgetgroups' module.
428 2011-04-27  save-cwd        This module pulls in fewer dependencies by
429                             default; to retain robust handling of directories
430                             with an absolute name longer than PATH_MAX, you
431                             must now explicitly include the 'getcwd' module.
433 2011-04-19  close-hook      This module has been renamed to 'fd-hook' and
434                             generalized.
436 2011-03-08  regex-quote     The last argument is no longer an 'int cflags'
437                             but instead a pointer to a previously constructed
438                             'struct regex_quote_spec'.
440 2011-02-25  dirname         These modules no longer put #defines for the
441             dirname-lgpl    following symbols into <config.h>: ISSLASH,
442             backupfile      FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX,
443             lstat           FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR,
444             openat          FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE.
445             remove          Applications that need ISSLASH can include the new
446             rmdir           header dosname.h.
447             savewd
448             stat
449             unlink
451 2011-02-14  getloadavg      This module no longer #defines C_GETLOADAVG or
452                             HAVE_GETLOADAVG, as the application no longer needs
453                             to worry about how getloadavg is defined.  It no
454                             longer defines the obsolete symbol NLIST_NAME_UNION
455                             (which should have been internal to the module
456                             anyway).  Also, support for setgid use has been
457                             removed, as nobody seems to be using it; thus
458                             GETLOADAVG_PRIVILEGED is no longer #defined and
459                             KMEM_GROUP and NEED_SETGID are no longer
460                             substituted for.
462 2011-02-08  stdlib          Unless the random_r module is also used, this
463                             module no longer guarantees that the following are
464                             defined: struct random_data, RAND_MAX, random_r,
465                             srandom_r, initstate_r, setstate_r.
467 2011-02-08  wctype-h        This module no longer provides the iswblank()
468                             function. If you need this function, you now need
469                             to request the 'iswblank' module.
471 2011-02-07  wctype          This module is renamed to wctype-h.
473 2011-01-18  multiarch       This no longer #defines AA_APPLE_UNIVERSAL_BUILD;
474                             instead, use the shell var APPLE_UNIVERSAL_BUILD.
476 2010-12-10  pipe            This module is renamed to spawn-pipe. The include
477                             file is renamed to "spawn-pipe.h".
479 2010-10-05  getdate         This module is deprecated. Please use the new
480                             parse-datetime module for the replacement
481                             function parse_datetime(), or help us write
482                             getdate-posix for getdate(). Also, the header
483                             "getdate.h" has been renamed "parse-datetime.h",
484                             and doc/getdate.texi to doc/parse-datetime.texi.
486 2010-09-29  sys_wait        This module no longer provides the waitpid()
487                             function. If you need this function, you now need
488                             to request the 'waitpid' module.
490 2010-09-17  utimens         The function gl_futimens is removed, and its
491                             signature has been migrated to fdutimens.  Callers
492                             of gl_futimens should change function name, and
493                             callers of fdutimens should swap parameter order.
495 2010-09-17  fdutimensat     This function has a new signature: the fd now comes
496                             first instead of the dir/name pair, and a new
497                             atflag parameter is added at the end.  Old code
498                             should rearrange parameters, and pass 0 for atflag.
500 2010-09-13  regex           The module is not guaranteeing anymore support for
501                             64-bit regoff_t on 64-bit systems.  The size of
502                             regoff_t will always be 32-bit unless the program
503                             is being configured --with-included-regex.  This
504                             may change again in the future once glibc provides
505                             this feature as well.
507 2010-09-12  savedir         The fdsavedir function is now deprecated.
509 2010-09-10  fcntl-h         This module now defaults O_CLOEXEC to 0, and
510                             it defaults O_EXEC and O_SEARCH to O_RDONLY.
511                             Use "#if O_CLOEXEC" instead of "#ifdef O_CLOEXEC".
513 2010-08-28  realloc         This module is deprecated. Use 'realloc-gnu'
514                             instead. It will be removed 2012-01-01.
516 2010-08-28  calloc          This module is deprecated. Use 'calloc-gnu'
517                             instead. It will be removed 2012-01-01.
519 2010-08-28  malloc          This module is deprecated. Use 'malloc-gnu'
520                             instead. It will be removed 2012-01-01.
522 2010-08-14  memxfrm         This module is renamed to amemxfrm. The include
523                             file is renamed to "amemxfrm.h". The function is
524                             renamed to amemxfrm.
526 2010-08-09  symlinkat       This module now only provides symlinkat; use the
527                             new module 'readlinkat' if needed.
529 2010-07-31  ansi-c++-opt    If Autoconf >= 2.66 is used, the 'configure'
530                             option is now called --disable-c++ rather than
531                             --disable-cxx.
533 2010-04-02  maintainer-makefile
534                             The macro _prohibit_regexp has been revamped into
535                             a new macro _sc_search_regexp; custom syntax
536                             checks in your cfg.mk will need to be rewritten.
538 2010-03-28  lib-ignore      This module now provides a variable
539                             IGNORE_UNUSED_LIBRARIES_CFLAGS that you should
540                             add to LDFLAGS (when linking C programs only) or
541                             CFLAGS yourself. It is no longer added to LDFLAGS
542                             automatically.
544 2010-03-18  pty             This module now only declares the pty.h header.
545                             Use the new modules 'forkpty' or 'openpty' to
546                             get the functions that were previously provided.
548 2010-03-05  exit            This module is deprecated, use 'stdlib' directly
549                             instead.  It will be removed 2011-01-01.
551 2009-12-13  sublist         The module does not define functions any more that
552                             call xalloc_die() in out-of-memory situations. Use
553                             module 'xsublist' and include file "gl_xsublist.h"
554                             instead.
556 2009-12-13  list            The module does not define functions any more that
557                             call xalloc_die() in out-of-memory situations.
558                             Use module 'xlist' and include file "gl_xlist.h"
559                             instead.
561 2009-12-13  oset            The module does not define functions any more that
562                             call xalloc_die() in out-of-memory situations.
563                             Use module 'xoset' and include file "gl_xoset.h"
564                             instead.
566 2009-12-10  *               Most source code files have been converted to
567                             indentation by spaces (rather than tabs). Patches
568                             of gnulib source code needs to be updated.
570 2009-12-09  link-warning    The Makefile rules that use $(LINK_WARNING_H) now
571                             must contain an explicit dependency on
572                             $(LINK_WARNING_H).
574 2009-11-12  getgroups       These functions now use a signature of gid_t,
575             getugroups      rather than GETGROUPS_T.  This probably has no
576                             effect except on very old platforms.
578 2009-11-04  tempname        The gen_tempname function takes an additional
579                             'suffixlen' argument. You can safely pass 0.
581 2009-11-04  nproc           The num_processors function now takes an argument.
583 2009-11-02  inet_pton       The use of this module now requires linking with
584                             $(INET_PTON_LIB).
586 2009-11-02  inet_ntop       The use of this module now requires linking with
587                             $(INET_NTOP_LIB).
589 2009-10-10  utimens         The use of this module now requires linking with
590                             $(LIB_CLOCK_GETTIME).
592 2009-09-16  canonicalize-lgpl
593                             The include file is changed from "canonicalize.h"
594                             to <stdlib.h>.
596 2009-09-04  link-follow     The macro LINK_FOLLOWS_SYMLINK is now tri-state,
597                             rather than only defined to 1.
599 2009-09-03  openat          The include files are standardized to POSIX 2008.
600                             For openat, include <fcntl.h>; for
601                             fchmodat, fstatat, and mkdirat, include
602                             <sys/stat.h>; for fchownat and unlinkat,
603                             include <unistd.h>.  For all other
604                             functions provided by this module,
605                             continue to include "openat.h".
607 2009-08-30  striconveh      The functions mem_cd_iconveh and str_cd_iconveh
608                             now take an 'iconveh_t *' argument instead of three
609                             iconv_t arguments.
611 2009-08-23  tempname        The gen_tempname function takes an additional
612                             'flags' argument. You can safely pass 0.
614 2009-08-12  getopt          This module is deprecated. Please choose among
615                             getopt-posix and getopt-gnu. getopt-gnu provides
616                             "long options" and "options with optional
617                             arguments", getopt-posix doesn't.
619 2009-06-25  fpurge          The include file is changed from "fpurge.h" to
620                             <stdio.h>.
622 2009-04-26  modules/uniconv/u8-conv-from-enc
623             modules/uniconv/u16-conv-from-enc
624             modules/uniconv/u32-conv-from-enc
625                             The calling convention of the functions
626                             u*_conv_from_encoding is changed.
628 2009-04-26  modules/uniconv/u8-conv-to-enc
629             modules/uniconv/u16-conv-to-enc
630             modules/uniconv/u32-conv-to-enc
631                             The calling convention of the functions
632                             u*_conv_to_encoding is changed.
634 2009-04-24  maintainer-makefile
635                             The maint.mk file was copied from
636                             coreutils, and the old
637                             coverage/gettext/indent rules were
638                             re-added.  If you used 'make syntax-check'
639                             this will add several new checks.  If some
640                             new check is annoying, add the name of the
641                             checks to 'local-checks-to-skip' in your
642                             cfg.mk.
644 2009-04-01  visibility      Renamed to lib-symbol-visibility.
646 2009-04-01  ld-version-script  Renamed to lib-symbol-versions.
648 2009-03-20  close           The substituted variable LIB_CLOSE is removed.
650 2009-03-05  filevercmp      Move hidden files up in ordering.
652 2009-01-22  c-strtod        This function no longer calls xalloc_die(). If
653             c-strtold       you want to exit the program in case of out-of-
654                             memory, the calling function needs to arrange
655                             for it, like this:
656                                 errno = 0;
657                                 val = c_strtod (...);
658                                 if (val == 0 && errno == ENOMEM)
659                                   xalloc_die ();
661 2009-01-17  relocatable-prog  In the Makefile.am or Makefile.in, you now also
662                             need to set RELOCATABLE_STRIP = :.
664 2008-12-22  getaddrinfo     When using this module, you now need to link with
665             canon-host      $(GETADDRINFO_LIB).
667 2008-12-21  mbiter          The header files "mbiter.h", "mbuiter.h",
668             mbuiter         "mbfile.h" can now be included without checking
669             mbfile          HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
670                             longer be defined by these modules in a year. If
671                             you want to continue to use it, you need to invoke
672                             AC_FUNC_MBRTOWC yourself.
674 2008-11-11  warnings        This module subsumes the file m4/warning.m4 which
675                             was removed.
677 2008-10-20  lstat           The include file is changed from "lstat.h" to
678                             <sys/stat.h>.
680 2008-10-20  getaddrinfo     The include file is changed from "getaddrinfo.h"
681                             to <netdb.h>.
683 2008-10-19  isnanf          The include file is changed from "isnanf.h" to
684                             <math.h>.
685             isnand          The include file is changed from "isnand.h" to
686                             <math.h>.
687             isnanl          The include file is changed from "isnanl.h" to
688                             <math.h>.
690 2008-10-18  lchmod          The include file is changed from "lchmod.h" to
691                             <sys/stat.h>.
693 2008-10-18  dirfd           The include file is changed from "dirfd.h" to
694                             <dirent.h>.
696 2008-10-18  euidaccess      The include file is changed from "euidaccess.h"
697                             to <unistd.h>.
699 2008-10-18  getdomainname   The include file is changed from "getdomainname.h"
700                             to <unistd.h>.
702 2008-09-28  sockets         When using this module, you now need to link with
703                             $(LIBSOCKET).
705 2008-09-24  sys_select      The limitation on 'select', introduced 2008-09-23,
706                             was removed.  sys_select now includes a select
707                             wrapper for Winsock.  The wrapper expects socket
708                             and file descriptors to be compatible as arranged
709                             by the sys_socket on MinGW.
711 2008-09-23  sys_socket      Under Windows (MinGW), the module now adds
712                             wrappers around Winsock functions, so that
713                             socket descriptors are now compatible with
714                             file descriptors.  In general, this change
715                             will simply improve your code's portability
716                             between POSIX platforms and Windows.  In
717                             particular, you will be able to use ioctl and
718                             close instead of ioctlsocket and closesocket,
719                             and test errno instead of WSAGetLastError ().
720                             On the other hand, you have to audit your code to
721                             remove usage of these Winsock-specific functions.
723                             This change does not remove the need to call
724                             the gl_sockets_startup function from the sockets
725                             gnulib module.  Also, for now select is disabled
726                             when you include the sys_socket module; while
727                             the functionality will be restored soon, for
728                             efficiency it is suggested to use the poll system
729                             poll system call and gnulib module instead.
731 2008-09-13  EOVERFLOW       The module is removed. Use module errno instead.
733 2008-09-01  filename        The module does not define the function
734                             concatenated_filename any more. To get an
735                             equivalent function, use function
736                             xconcatenated_filename from module
737                             'xconcat-filename'.
739 2008-08-31  havelib         On Solaris, when searching for 64-bit mode
740                             libraries the directory $prefix/lib is now ignored.
741                             Instead the directory $prefix/lib/64 is searched.
742                             You may need to create a symbolic link for
743                             $prefix/lib/64 if you have 64-bit libraries
744                             installed in $prefix/lib.
746 2008-08-19  strverscmp      The include file is changed from "strverscmp.h"
747                             to <string.h>.
749 2008-08-14  lock            The include file is changed from "lock.h"
750                             to "glthread/lock.h".
751             tls             The include file is changed from "tls.h"
752                             to "glthread/tls.h".
754 2008-07-17  c-stack         The module now requires the addition of
755                             $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
756                             since it may depend on linking with libsigsegv.
758 2008-07-07  isnanf-nolibm   The include file is changed from "isnanf.h"
759                             to "isnanf-nolibm.h".
760             isnand-nolibm   The include file is changed from "isnand.h"
761                             to "isnand-nolibm.h".
763 2008-06-10  execute         The execute function takes an additional termsigp
764                             argument. Passing termsigp = NULL is ok.
765             wait-process    The wait_subprocess function takes an additional
766                             termsigp argument. Passing termsigp = NULL is ok.
768 2008-05-10  linebreak       The module is split into several modules unilbrk/*.
769                             The include file is changed from "linebreak.h" to
770                             "unilbrk.h". Two functions are renamed:
771                             mbs_possible_linebreaks -> ulc_possible_linebreaks
772                             mbs_width_linebreaks -> ulc_width_linebreaks
774 2008-04-28  rpmatch         The include file is now <stdlib.h>.
776 2008-04-28  inet_ntop       The include file is changed from "inet_ntop.h"
777                             to <arpa/inet.h>.
779 2008-04-28  inet_pton       The include file is changed from "inet_pton.h"
780                             to <arpa/inet.h>.
782 2008-03-06  freadahead      The return value's computation has changed. It
783                             now increases by 1 after ungetc.
785 2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
786                             isnand-nolibm. The include file is changed from
787                             "isnan.h" to "isnand.h". The function that it
788                             defines is changed from isnan() to isnand().
790 2008-01-14  strcasestr      This module now replaces worst-case inefficient
791                             implementations; clients that use controlled
792                             needles and thus do not care about worst-case
793                             efficiency should use the new strcasestr-simple
794                             module instead for smaller code size.
796 2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
797                             supplies an <alloca.h>.  Gnulib-using code is now
798                             expected to include <alloca.h> unconditionally.
799                             Non-gnulib-using code can continue to include
800                             <alloca.h> only if HAVE_ALLOCA_H is defined.
802 2008-01-08  memmem          This module now replaces worst-case inefficient
803                             implementations; clients that use controlled
804                             needles and thus do not care about worst-case
805                             efficiency should use the new memmem-simple
806                             module instead for smaller code size.
808 2007-12-24  setenv          The include file is changed from "setenv.h" to
809                             <stdlib.h>. Also, the unsetenv function is no
810                             longer declared in this module; use the 'unsetenv'
811                             module if you need it.
813 2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
814                             to <unistd.h>.
816 2007-12-03  strcase         The include file is changed from <string.h> to
817                             <strings.h>.
819 2007-10-07  most modules    The license for most modules has changed from
820                             GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
821                             A few modules are still under LGPLv2+; see the
822                             module description for the applicable license.
824 2007-09-01  linebreak       "linebreak.h" no longer declares the functions
825                             locale_charset, uc_width, u{8,16,32}_width. Use
826                             "uniwidth.h" to get these functions declared.
828 2007-08-28  areadlink-with-size
829                             Renamed from mreadlink-with-size.
830                             Function renamed: mreadlink_with_size ->
831                             areadlink_with_size.
833 2007-08-22  getdelim, getline
834                             The include file is changed from "getdelim.h"
835                             and "getline.h" to the POSIX 200x <stdio.h>.
837 2007-08-18  idcache         Now provides prototypes in "idcache.h".
839 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
840                             Use the new xstrtol_fatal function instead.
842 2007-08-04  human           The function human_options no longer reports an
843                             error to standard error; that is now the
844                             caller's responsibility.  It returns an
845                             error code of type enum strtol_error
846                             instead of the integer option value, and stores
847                             the option value via a new int * argument.
848             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
849                             are now an option name and option argument
850                             instead of an option argument and a type string,
851                             STRTOL_FAIL_WARN is removed.
853 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
855 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
856                             gnulib-tool --local-dir to override this.
858 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
859                             <wchar.h>.
861 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
862                             (There is also a new module gpl-3.0.)
864 2007-06-16  lchown          The include file is changed from "lchown.h" to
865                             <unistd.h>.
867 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
868                             was renamed to "xmalloca.h". The function was
869                             renamed:
870                               xallocsa -> xmalloca
872 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
873                             was renamed to "malloca.h". The function-like
874                             macros were renamed:
875                               allocsa -> malloca
876                               freesa -> freea
878 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
879                             conflict with the glibc-2.6-introduced function
880                             that has a different signature.
882 2007-05-01  sigprocmask     The module now depends on signal, so replace
883                               #include "sigprocmask.h"
884                             with
885                               #include <signal.h>
887 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
888                             You can replace all its uses with 1, i.e. assume
889                             'long double' as a type exists.
891 2007-04-01  arcfour         Renamed to crypto/arcfour.
892             arctwo          Renamed to crypto/arctwo.
893             des             Renamed to crypto/des.
894             gc              Renamed to crypto/gc.
895             gc-arcfour      Renamed to crypto/gc-arcfour.
896             gc-arctwo       Renamed to crypto/gc-arctwo.
897             gc-des          Renamed to crypto/gc-des.
898             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
899             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
900             gc-md2          Renamed to crypto/gc-md2.
901             gc-md4          Renamed to crypto/gc-md4.
902             gc-md5          Renamed to crypto/gc-md5.
903             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
904             gc-random       Renamed to crypto/gc-random.
905             gc-rijndael     Renamed to crypto/gc-rijndael.
906             gc-sha1         Renamed to crypto/gc-sha1.
907             hmac-md5        Renamed to crypto/hmac-md5.
908             hmac-sha1       Renamed to crypto/hmac-sha1.
909             md2             Renamed to crypto/md2.
910             md4             Renamed to crypto/md4.
911             md5             Renamed to crypto/md5.
912             rijndael        Renamed to crypto/rijndael.
913             sha1            Renamed to crypto/sha1.
915 2007-03-27  vasprintf       The module now depends on stdio, so replace
916                                #include "vasprintf.h"
917                             with
918                                #include <stdio.h>
920 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
921                             <search.h>.
923 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
924                             to "unistr.h".
925             utf8-ucs4-unsafe  The include file is changed from
926                             "utf8-ucs4-unsafe.h" to "unistr.h".
927             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
928                             to "unistr.h".
929             utf16-ucs4-unsafe  The include file is changed from
930                             "utf16-ucs4-unsafe.h" to "unistr.h".
931             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
932                             to "unistr.h".
933             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
934                             to "unistr.h".
936 2007-03-19  iconvme         The module is removed. Use module striconv instead:
937                             iconv_string -> str_iconv
938                             iconv_alloc -> str_cd_iconv (with reversed
939                                            arguments)
941 2007-03-15  list            The functions gl_list_create_empty and
942             array-list      gl_list_create now take an extra fourth argument.
943             carray-list     You can pass NULL.
944             linked-list
945             linkedhash-list
946             avltree-list
947             rbtree-list
948             avltreehash-list
949             rbtreehash-list
951 2007-03-15  oset            The function gl_oset_create_empty now takes a
952             array-oset      third argument. You can pass NULL.
953             avltree-oset
954             rbtree-oset
956 2007-03-12  des             The types and functions in lib/des.h have been
957             gc-des          renamed:
959                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
960                             des_is_weak_key -> gl_des_is_weak_key,
961                             des_setkey -> gl_des_setkey,
962                             des_makekey -> gl_des_makekey,
963                             des_ecb_crypt -> gl_des_ecb_crypt,
964                             des_ecb_encrypt -> gl_des_ecb_encrypt,
965                             des_ecb_decrypt -> gl_des_ecb_decrypt,
966                             tripledes_set2keys -> gl_3des_set2keys,
967                             tripledes_set3keys -> gl_3des_set3keys,
968                             tripledes_makekey -> gl_3des_makekey,
969                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
971                             Also consider using the "gc-des" buffer instead of
972                             using the "des" module directly.
974 2007-02-28  xreadlink       The module xreadlink was renamed to
975                             xreadlink-with-size. The function was renamed:
976                             xreadlink -> xreadlink_with_size.
978 2007-02-18  exit            The modules now depend on stdlib, so replace
979             mkdtemp           #include "exit.h"
980             mkstemp           #include "mkdtemp.h"
981                               #include "mkstemp.h"
982                             with
983                               #include <stdlib.h>
985 2007-01-26  strdup          The module now depends on string, so replace
986                               #include "strdup.h"
987                             with
988                               #include <string.h>
990 # This is for Emacs.
991 # Local Variables:
992 # coding: utf-8
993 # indent-tabs-mode: nil
994 # whitespace-check-buffer-indent: nil
995 # End: