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-05-11 group-member The include file is changed from "group-member.h"
18 2011-05-02 exit The module is removed. It was deprecated
19 on 2010-03-05. Use 'stdlib' directly instead.
21 2011-04-27 mgetgroups The 'xgetgroups' function has been split into
22 a new 'xgetgroups' module.
24 2011-04-27 save-cwd This module pulls in fewer dependencies by
25 default; to retain robust handling of directories
26 with an absolute name longer than PATH_MAX, you
27 must now explicitly include the 'getcwd' module.
29 2011-04-19 close-hook This module has been renamed to 'fd-hook' and
32 2011-03-08 regex-quote The last argument is no longer an 'int cflags'
33 but instead a pointer to a previously constructed
34 'struct regex_quote_spec'.
36 2011-02-25 dirname These modules no longer put #defines for the
37 dirname-lgpl following symbols into <config.h>: ISSLASH,
38 backupfile FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX,
39 lstat FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR,
40 openat FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE.
41 remove Applications that need ISSLASH can include the new
42 rmdir header dosname.h.
47 2011-02-14 getloadavg This module no longer #defines C_GETLOADAVG or
48 HAVE_GETLOADAVG, as the application no longer needs
49 to worry about how getloadavg is defined. It no
50 longer defines the obsolete symbol NLIST_NAME_UNION
51 (which should have been internal to the module
52 anyway). Also, support for setgid use has been
53 removed, as nobody seems to be using it; thus
54 GETLOADAVG_PRIVILEGED is no longer #defined and
55 KMEM_GROUP and NEED_SETGID are no longer
58 2011-02-08 stdlib Unless the random_r module is also used, this
59 module no longer guarantees that the following are
60 defined: struct random_data, RAND_MAX, random_r,
61 srandom_r, initstate_r, setstate_r.
63 2011-02-08 wctype-h This module no longer provides the iswblank()
64 function. If you need this function, you now need
65 to request the 'iswblank' module.
67 2011-02-07 wctype This module is renamed to wctype-h.
69 2011-01-18 multiarch This no longer #defines AA_APPLE_UNIVERSAL_BUILD;
70 instead, use the shell var APPLE_UNIVERSAL_BUILD.
72 2010-12-10 pipe This module is renamed to spawn-pipe. The include
73 file is renamed to "spawn-pipe.h".
75 2010-10-05 getdate This module is deprecated. Please use the new
76 parse-datetime module for the replacement
77 function parse_datetime(), or help us write
78 getdate-posix for getdate(). Also, the header
79 "getdate.h" has been renamed "parse-datetime.h",
80 and doc/getdate.texi to doc/parse-datetime.texi.
82 2010-09-29 sys_wait This module no longer provides the waitpid()
83 function. If you need this function, you now need
84 to request the 'waitpid' module.
86 2010-09-17 utimens The function gl_futimens is removed, and its
87 signature has been migrated to fdutimens. Callers
88 of gl_futimens should change function name, and
89 callers of fdutimens should swap parameter order.
91 2010-09-17 fdutimensat This function has a new signature: the fd now comes
92 first instead of the dir/name pair, and a new
93 atflag parameter is added at the end. Old code
94 should rearrange parameters, and pass 0 for atflag.
96 2010-09-13 regex The module is not guaranteeing anymore support for
97 64-bit regoff_t on 64-bit systems. The size of
98 regoff_t will always be 32-bit unless the program
99 is being configured --with-included-regex. This
100 may change again in the future once glibc provides
101 this feature as well.
103 2010-09-12 savedir The fdsavedir function is now deprecated.
105 2010-09-10 fcntl-h This module now defaults O_CLOEXEC to 0, and
106 it defaults O_EXEC and O_SEARCH to O_RDONLY.
107 Use "#if O_CLOEXEC" instead of "#ifdef O_CLOEXEC".
109 2010-08-28 realloc This module is deprecated. Use 'realloc-gnu'
110 instead. It will be removed 2012-01-01.
112 2010-08-28 calloc This module is deprecated. Use 'calloc-gnu'
113 instead. It will be removed 2012-01-01.
115 2010-08-28 malloc This module is deprecated. Use 'malloc-gnu'
116 instead. It will be removed 2012-01-01.
118 2010-08-14 memxfrm This module is renamed to amemxfrm. The include
119 file is renamed to "amemxfrm.h". The function is
122 2010-08-09 symlinkat This module now only provides symlinkat; use the
123 new module 'readlinkat' if needed.
125 2010-07-31 ansi-c++-opt If Autoconf >= 2.66 is used, the 'configure'
126 option is now called --disable-c++ rather than
129 2010-04-02 maintainer-makefile
130 The macro _prohibit_regexp has been revamped into
131 a new macro _sc_search_regexp; custom syntax
132 checks in your cfg.mk will need to be rewritten.
134 2010-03-28 lib-ignore This module now provides a variable
135 IGNORE_UNUSED_LIBRARIES_CFLAGS that you should
136 add to LDFLAGS (when linking C programs only) or
137 CFLAGS yourself. It is no longer added to LDFLAGS
140 2010-03-18 pty This module now only declares the pty.h header.
141 Use the new modules 'forkpty' or 'openpty' to
142 get the functions that were previously provided.
144 2010-03-05 exit This module is deprecated, use 'stdlib' directly
145 instead. It will be removed 2011-01-01.
147 2009-12-13 sublist The module does not define functions any more that
148 call xalloc_die() in out-of-memory situations. Use
149 module 'xsublist' and include file "gl_xsublist.h"
152 2009-12-13 list The module does not define functions any more that
153 call xalloc_die() in out-of-memory situations.
154 Use module 'xlist' and include file "gl_xlist.h"
157 2009-12-13 oset The module does not define functions any more that
158 call xalloc_die() in out-of-memory situations.
159 Use module 'xoset' and include file "gl_xoset.h"
162 2009-12-10 * Most source code files have been converted to
163 indentation by spaces (rather than tabs). Patches
164 of gnulib source code needs to be updated.
166 2009-12-09 link-warning The Makefile rules that use $(LINK_WARNING_H) now
167 must contain an explicit dependency on
170 2009-11-12 getgroups These functions now use a signature of gid_t,
171 getugroups rather than GETGROUPS_T. This probably has no
172 effect except on very old platforms.
174 2009-11-04 tempname The gen_tempname function takes an additional
175 'suffixlen' argument. You can safely pass 0.
177 2009-11-04 nproc The num_processors function now takes an argument.
179 2009-11-02 inet_pton The use of this module now requires linking with
182 2009-11-02 inet_ntop The use of this module now requires linking with
185 2009-10-10 utimens The use of this module now requires linking with
186 $(LIB_CLOCK_GETTIME).
188 2009-09-16 canonicalize-lgpl
189 The include file is changed from "canonicalize.h"
192 2009-09-04 link-follow The macro LINK_FOLLOWS_SYMLINK is now tri-state,
193 rather than only defined to 1.
195 2009-09-03 openat The include files are standardized to POSIX 2008.
196 For openat, include <fcntl.h>; for
197 fchmodat, fstatat, and mkdirat, include
198 <sys/stat.h>; for fchownat and unlinkat,
199 include <unistd.h>. For all other
200 functions provided by this module,
201 continue to include "openat.h".
203 2009-08-30 striconveh The functions mem_cd_iconveh and str_cd_iconveh
204 now take an 'iconveh_t *' argument instead of three
207 2009-08-23 tempname The gen_tempname function takes an additional
208 'flags' argument. You can safely pass 0.
210 2009-08-12 getopt This module is deprecated. Please choose among
211 getopt-posix and getopt-gnu. getopt-gnu provides
212 "long options" and "options with optional
213 arguments", getopt-posix doesn't.
215 2009-06-25 fpurge The include file is changed from "fpurge.h" to
218 2009-04-26 modules/uniconv/u8-conv-from-enc
219 modules/uniconv/u16-conv-from-enc
220 modules/uniconv/u32-conv-from-enc
221 The calling convention of the functions
222 u*_conv_from_encoding is changed.
224 2009-04-26 modules/uniconv/u8-conv-to-enc
225 modules/uniconv/u16-conv-to-enc
226 modules/uniconv/u32-conv-to-enc
227 The calling convention of the functions
228 u*_conv_to_encoding is changed.
230 2009-04-24 maintainer-makefile
231 The maint.mk file was copied from
232 coreutils, and the old
233 coverage/gettext/indent rules were
234 re-added. If you used 'make syntax-check'
235 this will add several new checks. If some
236 new check is annoying, add the name of the
237 checks to 'local-checks-to-skip' in your
240 2009-04-01 visibility Renamed to lib-symbol-visibility.
242 2009-04-01 ld-version-script Renamed to lib-symbol-versions.
244 2009-03-20 close The substituted variable LIB_CLOSE is removed.
246 2009-03-05 filevercmp Move hidden files up in ordering.
248 2009-01-22 c-strtod This function no longer calls xalloc_die(). If
249 c-strtold you want to exit the program in case of out-of-
250 memory, the calling function needs to arrange
253 val = c_strtod (...);
254 if (val == 0 && errno == ENOMEM)
257 2009-01-17 relocatable-prog In the Makefile.am or Makefile.in, you now also
258 need to set RELOCATABLE_STRIP = :.
260 2008-12-22 getaddrinfo When using this module, you now need to link with
261 canon-host $(GETADDRINFO_LIB).
263 2008-12-21 mbiter The header files "mbiter.h", "mbuiter.h",
264 mbuiter "mbfile.h" can now be included without checking
265 mbfile HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
266 longer be defined by these modules in a year. If
267 you want to continue to use it, you need to invoke
268 AC_FUNC_MBRTOWC yourself.
270 2008-11-11 warnings This module subsumes the file m4/warning.m4 which
273 2008-10-20 lstat The include file is changed from "lstat.h" to
276 2008-10-20 getaddrinfo The include file is changed from "getaddrinfo.h"
279 2008-10-19 isnanf The include file is changed from "isnanf.h" to
281 isnand The include file is changed from "isnand.h" to
283 isnanl The include file is changed from "isnanl.h" to
286 2008-10-18 lchmod The include file is changed from "lchmod.h" to
289 2008-10-18 dirfd The include file is changed from "dirfd.h" to
292 2008-10-18 euidaccess The include file is changed from "euidaccess.h"
295 2008-10-18 getdomainname The include file is changed from "getdomainname.h"
298 2008-09-28 sockets When using this module, you now need to link with
301 2008-09-24 sys_select The limitation on `select', introduced 2008-09-23,
302 was removed. sys_select now includes a select
303 wrapper for Winsock. The wrapper expects socket
304 and file descriptors to be compatible as arranged
305 by the sys_socket on MinGW.
307 2008-09-23 sys_socket Under Windows (MinGW), the module now adds
308 wrappers around Winsock functions, so that
309 socket descriptors are now compatible with
310 file descriptors. In general, this change
311 will simply improve your code's portability
312 between POSIX platforms and Windows. In
313 particular, you will be able to use ioctl and
314 close instead of ioctlsocket and closesocket,
315 and test errno instead of WSAGetLastError ().
316 On the other hand, you have to audit your code to
317 remove usage of these Winsock-specific functions.
319 This change does not remove the need to call
320 the gl_sockets_startup function from the sockets
321 gnulib module. Also, for now select is disabled
322 when you include the sys_socket module; while
323 the functionality will be restored soon, for
324 efficiency it is suggested to use the poll system
325 poll system call and gnulib module instead.
327 2008-09-13 EOVERFLOW The module is removed. Use module errno instead.
329 2008-09-01 filename The module does not define the function
330 concatenated_filename any more. To get an
331 equivalent function, use function
332 xconcatenated_filename from module
335 2008-08-31 havelib On Solaris, when searching for 64-bit mode
336 libraries the directory $prefix/lib is now ignored.
337 Instead the directory $prefix/lib/64 is searched.
338 You may need to create a symbolic link for
339 $prefix/lib/64 if you have 64-bit libraries
340 installed in $prefix/lib.
342 2008-08-19 strverscmp The include file is changed from "strverscmp.h"
345 2008-08-14 lock The include file is changed from "lock.h"
346 to "glthread/lock.h".
347 tls The include file is changed from "tls.h"
350 2008-07-17 c-stack The module now requires the addition of
351 $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
352 since it may depend on linking with libsigsegv.
354 2008-07-07 isnanf-nolibm The include file is changed from "isnanf.h"
355 to "isnanf-nolibm.h".
356 isnand-nolibm The include file is changed from "isnand.h"
357 to "isnand-nolibm.h".
359 2008-06-10 execute The execute function takes an additional termsigp
360 argument. Passing termsigp = NULL is ok.
361 wait-process The wait_subprocess function takes an additional
362 termsigp argument. Passing termsigp = NULL is ok.
364 2008-05-10 linebreak The module is split into several modules unilbrk/*.
365 The include file is changed from "linebreak.h" to
366 "unilbrk.h". Two functions are renamed:
367 mbs_possible_linebreaks -> ulc_possible_linebreaks
368 mbs_width_linebreaks -> ulc_width_linebreaks
370 2008-04-28 rpmatch The include file is now <stdlib.h>.
372 2008-04-28 inet_ntop The include file is changed from "inet_ntop.h"
375 2008-04-28 inet_pton The include file is changed from "inet_pton.h"
378 2008-03-06 freadahead The return value's computation has changed. It
379 now increases by 1 after ungetc.
381 2008-01-26 isnan-nolibm The module name is changed from isnan-nolibm to
382 isnand-nolibm. The include file is changed from
383 "isnan.h" to "isnand.h". The function that it
384 defines is changed from isnan() to isnand().
386 2008-01-14 strcasestr This module now replaces worst-case inefficient
387 implementations; clients that use controlled
388 needles and thus do not care about worst-case
389 efficiency should use the new strcasestr-simple
390 module instead for smaller code size.
392 2008-01-09 alloca-opt Now defines HAVE_ALLOCA_H only when the system
393 supplies an <alloca.h>. Gnulib-using code is now
394 expected to include <alloca.h> unconditionally.
395 Non-gnulib-using code can continue to include
396 <alloca.h> only if HAVE_ALLOCA_H is defined.
398 2008-01-08 memmem This module now replaces worst-case inefficient
399 implementations; clients that use controlled
400 needles and thus do not care about worst-case
401 efficiency should use the new memmem-simple
402 module instead for smaller code size.
404 2007-12-24 setenv The include file is changed from "setenv.h" to
405 <stdlib.h>. Also, the unsetenv function is no
406 longer declared in this module; use the 'unsetenv'
407 module if you need it.
409 2007-12-03 getpagesize The include file is changed from "getpagesize.h"
412 2007-12-03 strcase The include file is changed from <string.h> to
415 2007-10-07 most modules The license for most modules has changed from
416 GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
417 A few modules are still under LGPLv2+; see the
418 module description for the applicable license.
420 2007-09-01 linebreak "linebreak.h" no longer declares the functions
421 locale_charset, uc_width, u{8,16,32}_width. Use
422 "uniwidth.h" to get these functions declared.
424 2007-08-28 areadlink-with-size
425 Renamed from mreadlink-with-size.
426 Function renamed: mreadlink_with_size ->
429 2007-08-22 getdelim, getline
430 The include file is changed from "getdelim.h"
431 and "getline.h" to the POSIX 200x <stdio.h>.
433 2007-08-18 idcache Now provides prototypes in "idcache.h".
435 2007-08-10 xstrtol The STRTOL_FATAL_ERROR macro is removed.
436 Use the new xstrtol_fatal function instead.
438 2007-08-04 human The function human_options no longer reports an
439 error to standard error; that is now the
440 caller's responsibility. It returns an
441 error code of type enum strtol_error
442 instead of the integer option value, and stores
443 the option value via a new int * argument.
444 xstrtol The first two arguments of STRTOL_FATAL_ERROR
445 are now an option name and option argument
446 instead of an option argument and a type string,
447 STRTOL_FAIL_WARN is removed.
449 2007-07-14 gpl, lgpl New Texinfo versions with no sectioning commands.
451 2007-07-10 version-etc Output now mentions GPLv3+, not GPLv2+. Use
452 gnulib-tool --local-dir to override this.
454 2007-07-07 wcwidth The include file is changed from "wcwidth.h" to
457 2007-07-02 gpl, lgpl Renamed to gpl-2.0 and lgpl-2.1 respectively.
458 (There is also a new module gpl-3.0.)
460 2007-06-16 lchown The include file is changed from "lchown.h" to
463 2007-06-09 xallocsa Renamed to xmalloca. The include file "xallocsa.h"
464 was remamed to "xmalloca.h". The function was
468 2007-06-09 allocsa Renamed to malloca. The include file "allocsa.h"
469 was remamed to "malloca.h". The function-like
474 2007-05-20 utimens Renamed futimens to gl_futimens, to avoid
475 conflict with the glibc-2.6-introduced function
476 that has a different signature.
478 2007-05-01 sigprocmask The module now depends on signal, so replace
479 #include "sigprocmask.h"
483 2007-04-06 gettext The macro HAVE_LONG_DOUBLE is no longer set.
484 You can replace all its uses with 1, i.e. assume
485 'long double' as a type exists.
487 2007-04-01 arcfour Renamed to crypto/arcfour.
488 arctwo Renamed to crypto/arctwo.
489 des Renamed to crypto/des.
490 gc Renamed to crypto/gc.
491 gc-arcfour Renamed to crypto/gc-arcfour.
492 gc-arctwo Renamed to crypto/gc-arctwo.
493 gc-des Renamed to crypto/gc-des.
494 gc-hmac-md5 Renamed to crypto/gc-hmac-md5.
495 gc-hmac-sha1 Renamed to crypto/gc-hmac-sha1.
496 gc-md2 Renamed to crypto/gc-md2.
497 gc-md4 Renamed to crypto/gc-md4.
498 gc-md5 Renamed to crypto/gc-md5.
499 gc-pbkdf2-sha1 Renamed to crypto/gc-pbkdf2-sha1.
500 gc-random Renamed to crypto/gc-random.
501 gc-rijndael Renamed to crypto/gc-rijndael.
502 gc-sha1 Renamed to crypto/gc-sha1.
503 hmac-md5 Renamed to crypto/hmac-md5.
504 hmac-sha1 Renamed to crypto/hmac-sha1.
505 md2 Renamed to crypto/md2.
506 md4 Renamed to crypto/md4.
507 md5 Renamed to crypto/md5.
508 rijndael Renamed to crypto/rijndael.
509 sha1 Renamed to crypto/sha1.
511 2007-03-27 vasprintf The module now depends on stdio, so replace
512 #include "vasprintf.h"
516 2007-03-24 tsearch The include file is changed from "tsearch.h" to
519 2007-03-24 utf8-ucs4 The include file is changed from "utf8-ucs4.h"
521 utf8-ucs4-unsafe The include file is changed from
522 "utf8-ucs4-unsafe.h" to "unistr.h".
523 utf16-ucs4 The include file is changed from "utf16-ucs4.h"
525 utf16-ucs4-unsafe The include file is changed from
526 "utf16-ucs4-unsafe.h" to "unistr.h".
527 ucs4-utf8 The include file is changed from "ucs4-utf8.h"
529 ucs4-utf16 The include file is changed from "ucs4-utf16.h"
532 2007-03-19 iconvme The module is removed. Use module striconv instead:
533 iconv_string -> str_iconv
534 iconv_alloc -> str_cd_iconv (with reversed
537 2007-03-15 list The functions gl_list_create_empty and
538 array-list gl_list_create now take an extra fourth argument.
539 carray-list You can pass NULL.
547 2007-03-15 oset The function gl_oset_create_empty now takes a
548 array-oset third argument. You can pass NULL.
552 2007-03-12 des The types and functions in lib/des.h have been
555 des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
556 des_is_weak_key -> gl_des_is_weak_key,
557 des_setkey -> gl_des_setkey,
558 des_makekey -> gl_des_makekey,
559 des_ecb_crypt -> gl_des_ecb_crypt,
560 des_ecb_encrypt -> gl_des_ecb_encrypt,
561 des_ecb_decrypt -> gl_des_ecb_decrypt,
562 tripledes_set2keys -> gl_3des_set2keys,
563 tripledes_set3keys -> gl_3des_set3keys,
564 tripledes_makekey -> gl_3des_makekey,
565 tripledes_ecb_crypt -> gl_3des_ecb_crypt.
567 Also consider using the "gc-des" buffer instead of
568 using the "des" module directly.
570 2007-02-28 xreadlink The module xreadlink was renamed to
571 xreadlink-with-size. The function was renamed:
572 xreadlink -> xreadlink_with_size.
574 2007-02-18 exit The modules now depend on stdlib, so replace
575 mkdtemp #include "exit.h"
576 mkstemp #include "mkdtemp.h"
581 2007-01-26 strdup The module now depends on string, so replace
588 # indent-tabs-mode: nil
589 # whitespace-check-buffer-indent: nil