4 2010-09-04 gnulib-tool The option '--import' is no longer cumulative; it
5 now expects the complete list of modules and other
6 options on the command line. If you want to
7 augment (not set) the list of modules, use the
8 new option '--add-import' instead of '--import'.
10 User visible incompatible changes
11 ---------------------------------
15 2011-11-18 hash This module deprecates the hash_insert0 function
16 using gcc's "deprecated" attribute. Use the better-
17 named hash_insert_if_absent equivalent.
19 2011-11-04 openat This module no longer provides the mkdirat()
20 function. If you need this function, you now need
21 to request the 'mkdirat' module.
23 2011-11-04 openat This module no longer provides the fstatat()
24 function. If you need this function, you now need
25 to request the 'fstatat' module.
27 2011-11-03 openat This module no longer provides the unlinkat()
28 function. If you need this function, you now need
29 to request the 'unlinkat' module.
31 2011-11-02 openat This module no longer provides the fchmodat()
32 function. If you need this function, you now need
33 to request the 'fchmodat' module.
35 2011-11-01 alignof This module no longer provides the alignof() macro.
36 Use either alignof_slot() or alignof_type() instead.
38 2011-11-01 openat This module no longer provides the fchownat()
39 function. If you need this function, you now need
40 to request the 'fchownat' module.
42 2011-10-03 poll The link requirements of this module are changed
43 from empty to $(LIB_POLL).
45 2011-09-25 sys_stat This module no longer provides the fstat()
46 function. If you need this function, you now need
47 to request the 'fstat' module.
49 2011-09-23 signal This module is renamed to 'signal-h'.
51 2011-09-22 select The link requirements of this module are changed
52 from $(LIBSOCKET) to $(LIB_SELECT).
54 2011-09-12 fchdir This module no longer overrides the functions
55 opendir() and closedir(), unless the modules
56 'opendir' and 'closedir' are in use, respectively.
57 If you use opendir(), please use module 'opendir'.
58 If you use closedir(), please use module 'closedir'.
60 2011-08-04 pathmax The header file "pathmax.h" no longer defines
61 PATH_MAX on GNU/Hurd. Please use one of the methods
62 listed in pathmax.h to ensure your package is
65 2011-07-24 close This module no longer pulls in the 'fclose' module.
66 If your code creates a socket descriptor using
67 socket() or accept(), then a FILE stream referring
68 to it using fdopen(), then in order to close this
69 stream, you need the 'fclose' module.
71 2011-07-12 arg-nonnull Renamed to snippet/arg-nonnull.
72 c++defs Renamed to snippet/c++defs.
73 link-warning Renamed to snippet/link-warning.
74 unused-parameter Renamed to snippet/unused-parameter.
75 warn-on-use Renamed to snippet/warn-on-use.
77 2011-06-15 verify verify_true (V) is deprecated; please use
78 verify_expr (V, 1) instead.
80 2011-06-05 ansi-c++-opt When a C++ compiler is not found, the variable CXX
81 is now set to "no", not to ":".
83 2011-05-11 group-member The include file is changed from "group-member.h"
86 2011-05-02 exit The module is removed. It was deprecated
87 on 2010-03-05. Use 'stdlib' directly instead.
89 2011-04-27 mgetgroups The 'xgetgroups' function has been split into
90 a new 'xgetgroups' module.
92 2011-04-27 save-cwd This module pulls in fewer dependencies by
93 default; to retain robust handling of directories
94 with an absolute name longer than PATH_MAX, you
95 must now explicitly include the 'getcwd' module.
97 2011-04-19 close-hook This module has been renamed to 'fd-hook' and
100 2011-03-08 regex-quote The last argument is no longer an 'int cflags'
101 but instead a pointer to a previously constructed
102 'struct regex_quote_spec'.
104 2011-02-25 dirname These modules no longer put #defines for the
105 dirname-lgpl following symbols into <config.h>: ISSLASH,
106 backupfile FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX,
107 lstat FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR,
108 openat FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE.
109 remove Applications that need ISSLASH can include the new
110 rmdir header dosname.h.
115 2011-02-14 getloadavg This module no longer #defines C_GETLOADAVG or
116 HAVE_GETLOADAVG, as the application no longer needs
117 to worry about how getloadavg is defined. It no
118 longer defines the obsolete symbol NLIST_NAME_UNION
119 (which should have been internal to the module
120 anyway). Also, support for setgid use has been
121 removed, as nobody seems to be using it; thus
122 GETLOADAVG_PRIVILEGED is no longer #defined and
123 KMEM_GROUP and NEED_SETGID are no longer
126 2011-02-08 stdlib Unless the random_r module is also used, this
127 module no longer guarantees that the following are
128 defined: struct random_data, RAND_MAX, random_r,
129 srandom_r, initstate_r, setstate_r.
131 2011-02-08 wctype-h This module no longer provides the iswblank()
132 function. If you need this function, you now need
133 to request the 'iswblank' module.
135 2011-02-07 wctype This module is renamed to wctype-h.
137 2011-01-18 multiarch This no longer #defines AA_APPLE_UNIVERSAL_BUILD;
138 instead, use the shell var APPLE_UNIVERSAL_BUILD.
140 2010-12-10 pipe This module is renamed to spawn-pipe. The include
141 file is renamed to "spawn-pipe.h".
143 2010-10-05 getdate This module is deprecated. Please use the new
144 parse-datetime module for the replacement
145 function parse_datetime(), or help us write
146 getdate-posix for getdate(). Also, the header
147 "getdate.h" has been renamed "parse-datetime.h",
148 and doc/getdate.texi to doc/parse-datetime.texi.
150 2010-09-29 sys_wait This module no longer provides the waitpid()
151 function. If you need this function, you now need
152 to request the 'waitpid' module.
154 2010-09-17 utimens The function gl_futimens is removed, and its
155 signature has been migrated to fdutimens. Callers
156 of gl_futimens should change function name, and
157 callers of fdutimens should swap parameter order.
159 2010-09-17 fdutimensat This function has a new signature: the fd now comes
160 first instead of the dir/name pair, and a new
161 atflag parameter is added at the end. Old code
162 should rearrange parameters, and pass 0 for atflag.
164 2010-09-13 regex The module is not guaranteeing anymore support for
165 64-bit regoff_t on 64-bit systems. The size of
166 regoff_t will always be 32-bit unless the program
167 is being configured --with-included-regex. This
168 may change again in the future once glibc provides
169 this feature as well.
171 2010-09-12 savedir The fdsavedir function is now deprecated.
173 2010-09-10 fcntl-h This module now defaults O_CLOEXEC to 0, and
174 it defaults O_EXEC and O_SEARCH to O_RDONLY.
175 Use "#if O_CLOEXEC" instead of "#ifdef O_CLOEXEC".
177 2010-08-28 realloc This module is deprecated. Use 'realloc-gnu'
178 instead. It will be removed 2012-01-01.
180 2010-08-28 calloc This module is deprecated. Use 'calloc-gnu'
181 instead. It will be removed 2012-01-01.
183 2010-08-28 malloc This module is deprecated. Use 'malloc-gnu'
184 instead. It will be removed 2012-01-01.
186 2010-08-14 memxfrm This module is renamed to amemxfrm. The include
187 file is renamed to "amemxfrm.h". The function is
190 2010-08-09 symlinkat This module now only provides symlinkat; use the
191 new module 'readlinkat' if needed.
193 2010-07-31 ansi-c++-opt If Autoconf >= 2.66 is used, the 'configure'
194 option is now called --disable-c++ rather than
197 2010-04-02 maintainer-makefile
198 The macro _prohibit_regexp has been revamped into
199 a new macro _sc_search_regexp; custom syntax
200 checks in your cfg.mk will need to be rewritten.
202 2010-03-28 lib-ignore This module now provides a variable
203 IGNORE_UNUSED_LIBRARIES_CFLAGS that you should
204 add to LDFLAGS (when linking C programs only) or
205 CFLAGS yourself. It is no longer added to LDFLAGS
208 2010-03-18 pty This module now only declares the pty.h header.
209 Use the new modules 'forkpty' or 'openpty' to
210 get the functions that were previously provided.
212 2010-03-05 exit This module is deprecated, use 'stdlib' directly
213 instead. It will be removed 2011-01-01.
215 2009-12-13 sublist The module does not define functions any more that
216 call xalloc_die() in out-of-memory situations. Use
217 module 'xsublist' and include file "gl_xsublist.h"
220 2009-12-13 list The module does not define functions any more that
221 call xalloc_die() in out-of-memory situations.
222 Use module 'xlist' and include file "gl_xlist.h"
225 2009-12-13 oset The module does not define functions any more that
226 call xalloc_die() in out-of-memory situations.
227 Use module 'xoset' and include file "gl_xoset.h"
230 2009-12-10 * Most source code files have been converted to
231 indentation by spaces (rather than tabs). Patches
232 of gnulib source code needs to be updated.
234 2009-12-09 link-warning The Makefile rules that use $(LINK_WARNING_H) now
235 must contain an explicit dependency on
238 2009-11-12 getgroups These functions now use a signature of gid_t,
239 getugroups rather than GETGROUPS_T. This probably has no
240 effect except on very old platforms.
242 2009-11-04 tempname The gen_tempname function takes an additional
243 'suffixlen' argument. You can safely pass 0.
245 2009-11-04 nproc The num_processors function now takes an argument.
247 2009-11-02 inet_pton The use of this module now requires linking with
250 2009-11-02 inet_ntop The use of this module now requires linking with
253 2009-10-10 utimens The use of this module now requires linking with
254 $(LIB_CLOCK_GETTIME).
256 2009-09-16 canonicalize-lgpl
257 The include file is changed from "canonicalize.h"
260 2009-09-04 link-follow The macro LINK_FOLLOWS_SYMLINK is now tri-state,
261 rather than only defined to 1.
263 2009-09-03 openat The include files are standardized to POSIX 2008.
264 For openat, include <fcntl.h>; for
265 fchmodat, fstatat, and mkdirat, include
266 <sys/stat.h>; for fchownat and unlinkat,
267 include <unistd.h>. For all other
268 functions provided by this module,
269 continue to include "openat.h".
271 2009-08-30 striconveh The functions mem_cd_iconveh and str_cd_iconveh
272 now take an 'iconveh_t *' argument instead of three
275 2009-08-23 tempname The gen_tempname function takes an additional
276 'flags' argument. You can safely pass 0.
278 2009-08-12 getopt This module is deprecated. Please choose among
279 getopt-posix and getopt-gnu. getopt-gnu provides
280 "long options" and "options with optional
281 arguments", getopt-posix doesn't.
283 2009-06-25 fpurge The include file is changed from "fpurge.h" to
286 2009-04-26 modules/uniconv/u8-conv-from-enc
287 modules/uniconv/u16-conv-from-enc
288 modules/uniconv/u32-conv-from-enc
289 The calling convention of the functions
290 u*_conv_from_encoding is changed.
292 2009-04-26 modules/uniconv/u8-conv-to-enc
293 modules/uniconv/u16-conv-to-enc
294 modules/uniconv/u32-conv-to-enc
295 The calling convention of the functions
296 u*_conv_to_encoding is changed.
298 2009-04-24 maintainer-makefile
299 The maint.mk file was copied from
300 coreutils, and the old
301 coverage/gettext/indent rules were
302 re-added. If you used 'make syntax-check'
303 this will add several new checks. If some
304 new check is annoying, add the name of the
305 checks to 'local-checks-to-skip' in your
308 2009-04-01 visibility Renamed to lib-symbol-visibility.
310 2009-04-01 ld-version-script Renamed to lib-symbol-versions.
312 2009-03-20 close The substituted variable LIB_CLOSE is removed.
314 2009-03-05 filevercmp Move hidden files up in ordering.
316 2009-01-22 c-strtod This function no longer calls xalloc_die(). If
317 c-strtold you want to exit the program in case of out-of-
318 memory, the calling function needs to arrange
321 val = c_strtod (...);
322 if (val == 0 && errno == ENOMEM)
325 2009-01-17 relocatable-prog In the Makefile.am or Makefile.in, you now also
326 need to set RELOCATABLE_STRIP = :.
328 2008-12-22 getaddrinfo When using this module, you now need to link with
329 canon-host $(GETADDRINFO_LIB).
331 2008-12-21 mbiter The header files "mbiter.h", "mbuiter.h",
332 mbuiter "mbfile.h" can now be included without checking
333 mbfile HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
334 longer be defined by these modules in a year. If
335 you want to continue to use it, you need to invoke
336 AC_FUNC_MBRTOWC yourself.
338 2008-11-11 warnings This module subsumes the file m4/warning.m4 which
341 2008-10-20 lstat The include file is changed from "lstat.h" to
344 2008-10-20 getaddrinfo The include file is changed from "getaddrinfo.h"
347 2008-10-19 isnanf The include file is changed from "isnanf.h" to
349 isnand The include file is changed from "isnand.h" to
351 isnanl The include file is changed from "isnanl.h" to
354 2008-10-18 lchmod The include file is changed from "lchmod.h" to
357 2008-10-18 dirfd The include file is changed from "dirfd.h" to
360 2008-10-18 euidaccess The include file is changed from "euidaccess.h"
363 2008-10-18 getdomainname The include file is changed from "getdomainname.h"
366 2008-09-28 sockets When using this module, you now need to link with
369 2008-09-24 sys_select The limitation on `select', introduced 2008-09-23,
370 was removed. sys_select now includes a select
371 wrapper for Winsock. The wrapper expects socket
372 and file descriptors to be compatible as arranged
373 by the sys_socket on MinGW.
375 2008-09-23 sys_socket Under Windows (MinGW), the module now adds
376 wrappers around Winsock functions, so that
377 socket descriptors are now compatible with
378 file descriptors. In general, this change
379 will simply improve your code's portability
380 between POSIX platforms and Windows. In
381 particular, you will be able to use ioctl and
382 close instead of ioctlsocket and closesocket,
383 and test errno instead of WSAGetLastError ().
384 On the other hand, you have to audit your code to
385 remove usage of these Winsock-specific functions.
387 This change does not remove the need to call
388 the gl_sockets_startup function from the sockets
389 gnulib module. Also, for now select is disabled
390 when you include the sys_socket module; while
391 the functionality will be restored soon, for
392 efficiency it is suggested to use the poll system
393 poll system call and gnulib module instead.
395 2008-09-13 EOVERFLOW The module is removed. Use module errno instead.
397 2008-09-01 filename The module does not define the function
398 concatenated_filename any more. To get an
399 equivalent function, use function
400 xconcatenated_filename from module
403 2008-08-31 havelib On Solaris, when searching for 64-bit mode
404 libraries the directory $prefix/lib is now ignored.
405 Instead the directory $prefix/lib/64 is searched.
406 You may need to create a symbolic link for
407 $prefix/lib/64 if you have 64-bit libraries
408 installed in $prefix/lib.
410 2008-08-19 strverscmp The include file is changed from "strverscmp.h"
413 2008-08-14 lock The include file is changed from "lock.h"
414 to "glthread/lock.h".
415 tls The include file is changed from "tls.h"
418 2008-07-17 c-stack The module now requires the addition of
419 $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
420 since it may depend on linking with libsigsegv.
422 2008-07-07 isnanf-nolibm The include file is changed from "isnanf.h"
423 to "isnanf-nolibm.h".
424 isnand-nolibm The include file is changed from "isnand.h"
425 to "isnand-nolibm.h".
427 2008-06-10 execute The execute function takes an additional termsigp
428 argument. Passing termsigp = NULL is ok.
429 wait-process The wait_subprocess function takes an additional
430 termsigp argument. Passing termsigp = NULL is ok.
432 2008-05-10 linebreak The module is split into several modules unilbrk/*.
433 The include file is changed from "linebreak.h" to
434 "unilbrk.h". Two functions are renamed:
435 mbs_possible_linebreaks -> ulc_possible_linebreaks
436 mbs_width_linebreaks -> ulc_width_linebreaks
438 2008-04-28 rpmatch The include file is now <stdlib.h>.
440 2008-04-28 inet_ntop The include file is changed from "inet_ntop.h"
443 2008-04-28 inet_pton The include file is changed from "inet_pton.h"
446 2008-03-06 freadahead The return value's computation has changed. It
447 now increases by 1 after ungetc.
449 2008-01-26 isnan-nolibm The module name is changed from isnan-nolibm to
450 isnand-nolibm. The include file is changed from
451 "isnan.h" to "isnand.h". The function that it
452 defines is changed from isnan() to isnand().
454 2008-01-14 strcasestr This module now replaces worst-case inefficient
455 implementations; clients that use controlled
456 needles and thus do not care about worst-case
457 efficiency should use the new strcasestr-simple
458 module instead for smaller code size.
460 2008-01-09 alloca-opt Now defines HAVE_ALLOCA_H only when the system
461 supplies an <alloca.h>. Gnulib-using code is now
462 expected to include <alloca.h> unconditionally.
463 Non-gnulib-using code can continue to include
464 <alloca.h> only if HAVE_ALLOCA_H is defined.
466 2008-01-08 memmem This module now replaces worst-case inefficient
467 implementations; clients that use controlled
468 needles and thus do not care about worst-case
469 efficiency should use the new memmem-simple
470 module instead for smaller code size.
472 2007-12-24 setenv The include file is changed from "setenv.h" to
473 <stdlib.h>. Also, the unsetenv function is no
474 longer declared in this module; use the 'unsetenv'
475 module if you need it.
477 2007-12-03 getpagesize The include file is changed from "getpagesize.h"
480 2007-12-03 strcase The include file is changed from <string.h> to
483 2007-10-07 most modules The license for most modules has changed from
484 GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
485 A few modules are still under LGPLv2+; see the
486 module description for the applicable license.
488 2007-09-01 linebreak "linebreak.h" no longer declares the functions
489 locale_charset, uc_width, u{8,16,32}_width. Use
490 "uniwidth.h" to get these functions declared.
492 2007-08-28 areadlink-with-size
493 Renamed from mreadlink-with-size.
494 Function renamed: mreadlink_with_size ->
497 2007-08-22 getdelim, getline
498 The include file is changed from "getdelim.h"
499 and "getline.h" to the POSIX 200x <stdio.h>.
501 2007-08-18 idcache Now provides prototypes in "idcache.h".
503 2007-08-10 xstrtol The STRTOL_FATAL_ERROR macro is removed.
504 Use the new xstrtol_fatal function instead.
506 2007-08-04 human The function human_options no longer reports an
507 error to standard error; that is now the
508 caller's responsibility. It returns an
509 error code of type enum strtol_error
510 instead of the integer option value, and stores
511 the option value via a new int * argument.
512 xstrtol The first two arguments of STRTOL_FATAL_ERROR
513 are now an option name and option argument
514 instead of an option argument and a type string,
515 STRTOL_FAIL_WARN is removed.
517 2007-07-14 gpl, lgpl New Texinfo versions with no sectioning commands.
519 2007-07-10 version-etc Output now mentions GPLv3+, not GPLv2+. Use
520 gnulib-tool --local-dir to override this.
522 2007-07-07 wcwidth The include file is changed from "wcwidth.h" to
525 2007-07-02 gpl, lgpl Renamed to gpl-2.0 and lgpl-2.1 respectively.
526 (There is also a new module gpl-3.0.)
528 2007-06-16 lchown The include file is changed from "lchown.h" to
531 2007-06-09 xallocsa Renamed to xmalloca. The include file "xallocsa.h"
532 was remamed to "xmalloca.h". The function was
536 2007-06-09 allocsa Renamed to malloca. The include file "allocsa.h"
537 was remamed to "malloca.h". The function-like
542 2007-05-20 utimens Renamed futimens to gl_futimens, to avoid
543 conflict with the glibc-2.6-introduced function
544 that has a different signature.
546 2007-05-01 sigprocmask The module now depends on signal, so replace
547 #include "sigprocmask.h"
551 2007-04-06 gettext The macro HAVE_LONG_DOUBLE is no longer set.
552 You can replace all its uses with 1, i.e. assume
553 'long double' as a type exists.
555 2007-04-01 arcfour Renamed to crypto/arcfour.
556 arctwo Renamed to crypto/arctwo.
557 des Renamed to crypto/des.
558 gc Renamed to crypto/gc.
559 gc-arcfour Renamed to crypto/gc-arcfour.
560 gc-arctwo Renamed to crypto/gc-arctwo.
561 gc-des Renamed to crypto/gc-des.
562 gc-hmac-md5 Renamed to crypto/gc-hmac-md5.
563 gc-hmac-sha1 Renamed to crypto/gc-hmac-sha1.
564 gc-md2 Renamed to crypto/gc-md2.
565 gc-md4 Renamed to crypto/gc-md4.
566 gc-md5 Renamed to crypto/gc-md5.
567 gc-pbkdf2-sha1 Renamed to crypto/gc-pbkdf2-sha1.
568 gc-random Renamed to crypto/gc-random.
569 gc-rijndael Renamed to crypto/gc-rijndael.
570 gc-sha1 Renamed to crypto/gc-sha1.
571 hmac-md5 Renamed to crypto/hmac-md5.
572 hmac-sha1 Renamed to crypto/hmac-sha1.
573 md2 Renamed to crypto/md2.
574 md4 Renamed to crypto/md4.
575 md5 Renamed to crypto/md5.
576 rijndael Renamed to crypto/rijndael.
577 sha1 Renamed to crypto/sha1.
579 2007-03-27 vasprintf The module now depends on stdio, so replace
580 #include "vasprintf.h"
584 2007-03-24 tsearch The include file is changed from "tsearch.h" to
587 2007-03-24 utf8-ucs4 The include file is changed from "utf8-ucs4.h"
589 utf8-ucs4-unsafe The include file is changed from
590 "utf8-ucs4-unsafe.h" to "unistr.h".
591 utf16-ucs4 The include file is changed from "utf16-ucs4.h"
593 utf16-ucs4-unsafe The include file is changed from
594 "utf16-ucs4-unsafe.h" to "unistr.h".
595 ucs4-utf8 The include file is changed from "ucs4-utf8.h"
597 ucs4-utf16 The include file is changed from "ucs4-utf16.h"
600 2007-03-19 iconvme The module is removed. Use module striconv instead:
601 iconv_string -> str_iconv
602 iconv_alloc -> str_cd_iconv (with reversed
605 2007-03-15 list The functions gl_list_create_empty and
606 array-list gl_list_create now take an extra fourth argument.
607 carray-list You can pass NULL.
615 2007-03-15 oset The function gl_oset_create_empty now takes a
616 array-oset third argument. You can pass NULL.
620 2007-03-12 des The types and functions in lib/des.h have been
623 des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
624 des_is_weak_key -> gl_des_is_weak_key,
625 des_setkey -> gl_des_setkey,
626 des_makekey -> gl_des_makekey,
627 des_ecb_crypt -> gl_des_ecb_crypt,
628 des_ecb_encrypt -> gl_des_ecb_encrypt,
629 des_ecb_decrypt -> gl_des_ecb_decrypt,
630 tripledes_set2keys -> gl_3des_set2keys,
631 tripledes_set3keys -> gl_3des_set3keys,
632 tripledes_makekey -> gl_3des_makekey,
633 tripledes_ecb_crypt -> gl_3des_ecb_crypt.
635 Also consider using the "gc-des" buffer instead of
636 using the "des" module directly.
638 2007-02-28 xreadlink The module xreadlink was renamed to
639 xreadlink-with-size. The function was renamed:
640 xreadlink -> xreadlink_with_size.
642 2007-02-18 exit The modules now depend on stdlib, so replace
643 mkdtemp #include "exit.h"
644 mkstemp #include "mkdtemp.h"
649 2007-01-26 strdup The module now depends on string, so replace
656 # indent-tabs-mode: nil
657 # whitespace-check-buffer-indent: nil