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-07-12 arg-nonnull Renamed to snippet/arg-nonnull.
16 c++defs Renamed to snippet/c++defs.
17 link-warning Renamed to snippet/link-warning.
18 unused-parameter Renamed to snippet/unused-parameter.
19 warn-on-use Renamed to snippet/warn-on-use.
21 2011-06-15 verify verify_true (V) is deprecated; please use
22 verify_expr (V, 1) instead.
24 2011-06-05 ansi-c++-opt When a C++ compiler is not found, the variable CXX
25 is now set to "no", not to ":".
27 2011-05-11 group-member The include file is changed from "group-member.h"
30 2011-05-02 exit The module is removed. It was deprecated
31 on 2010-03-05. Use 'stdlib' directly instead.
33 2011-04-27 mgetgroups The 'xgetgroups' function has been split into
34 a new 'xgetgroups' module.
36 2011-04-27 save-cwd This module pulls in fewer dependencies by
37 default; to retain robust handling of directories
38 with an absolute name longer than PATH_MAX, you
39 must now explicitly include the 'getcwd' module.
41 2011-04-19 close-hook This module has been renamed to 'fd-hook' and
44 2011-03-08 regex-quote The last argument is no longer an 'int cflags'
45 but instead a pointer to a previously constructed
46 'struct regex_quote_spec'.
48 2011-02-25 dirname These modules no longer put #defines for the
49 dirname-lgpl following symbols into <config.h>: ISSLASH,
50 backupfile FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX,
51 lstat FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR,
52 openat FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE.
53 remove Applications that need ISSLASH can include the new
54 rmdir header dosname.h.
59 2011-02-14 getloadavg This module no longer #defines C_GETLOADAVG or
60 HAVE_GETLOADAVG, as the application no longer needs
61 to worry about how getloadavg is defined. It no
62 longer defines the obsolete symbol NLIST_NAME_UNION
63 (which should have been internal to the module
64 anyway). Also, support for setgid use has been
65 removed, as nobody seems to be using it; thus
66 GETLOADAVG_PRIVILEGED is no longer #defined and
67 KMEM_GROUP and NEED_SETGID are no longer
70 2011-02-08 stdlib Unless the random_r module is also used, this
71 module no longer guarantees that the following are
72 defined: struct random_data, RAND_MAX, random_r,
73 srandom_r, initstate_r, setstate_r.
75 2011-02-08 wctype-h This module no longer provides the iswblank()
76 function. If you need this function, you now need
77 to request the 'iswblank' module.
79 2011-02-07 wctype This module is renamed to wctype-h.
81 2011-01-18 multiarch This no longer #defines AA_APPLE_UNIVERSAL_BUILD;
82 instead, use the shell var APPLE_UNIVERSAL_BUILD.
84 2010-12-10 pipe This module is renamed to spawn-pipe. The include
85 file is renamed to "spawn-pipe.h".
87 2010-10-05 getdate This module is deprecated. Please use the new
88 parse-datetime module for the replacement
89 function parse_datetime(), or help us write
90 getdate-posix for getdate(). Also, the header
91 "getdate.h" has been renamed "parse-datetime.h",
92 and doc/getdate.texi to doc/parse-datetime.texi.
94 2010-09-29 sys_wait This module no longer provides the waitpid()
95 function. If you need this function, you now need
96 to request the 'waitpid' module.
98 2010-09-17 utimens The function gl_futimens is removed, and its
99 signature has been migrated to fdutimens. Callers
100 of gl_futimens should change function name, and
101 callers of fdutimens should swap parameter order.
103 2010-09-17 fdutimensat This function has a new signature: the fd now comes
104 first instead of the dir/name pair, and a new
105 atflag parameter is added at the end. Old code
106 should rearrange parameters, and pass 0 for atflag.
108 2010-09-13 regex The module is not guaranteeing anymore support for
109 64-bit regoff_t on 64-bit systems. The size of
110 regoff_t will always be 32-bit unless the program
111 is being configured --with-included-regex. This
112 may change again in the future once glibc provides
113 this feature as well.
115 2010-09-12 savedir The fdsavedir function is now deprecated.
117 2010-09-10 fcntl-h This module now defaults O_CLOEXEC to 0, and
118 it defaults O_EXEC and O_SEARCH to O_RDONLY.
119 Use "#if O_CLOEXEC" instead of "#ifdef O_CLOEXEC".
121 2010-08-28 realloc This module is deprecated. Use 'realloc-gnu'
122 instead. It will be removed 2012-01-01.
124 2010-08-28 calloc This module is deprecated. Use 'calloc-gnu'
125 instead. It will be removed 2012-01-01.
127 2010-08-28 malloc This module is deprecated. Use 'malloc-gnu'
128 instead. It will be removed 2012-01-01.
130 2010-08-14 memxfrm This module is renamed to amemxfrm. The include
131 file is renamed to "amemxfrm.h". The function is
134 2010-08-09 symlinkat This module now only provides symlinkat; use the
135 new module 'readlinkat' if needed.
137 2010-07-31 ansi-c++-opt If Autoconf >= 2.66 is used, the 'configure'
138 option is now called --disable-c++ rather than
141 2010-04-02 maintainer-makefile
142 The macro _prohibit_regexp has been revamped into
143 a new macro _sc_search_regexp; custom syntax
144 checks in your cfg.mk will need to be rewritten.
146 2010-03-28 lib-ignore This module now provides a variable
147 IGNORE_UNUSED_LIBRARIES_CFLAGS that you should
148 add to LDFLAGS (when linking C programs only) or
149 CFLAGS yourself. It is no longer added to LDFLAGS
152 2010-03-18 pty This module now only declares the pty.h header.
153 Use the new modules 'forkpty' or 'openpty' to
154 get the functions that were previously provided.
156 2010-03-05 exit This module is deprecated, use 'stdlib' directly
157 instead. It will be removed 2011-01-01.
159 2009-12-13 sublist The module does not define functions any more that
160 call xalloc_die() in out-of-memory situations. Use
161 module 'xsublist' and include file "gl_xsublist.h"
164 2009-12-13 list The module does not define functions any more that
165 call xalloc_die() in out-of-memory situations.
166 Use module 'xlist' and include file "gl_xlist.h"
169 2009-12-13 oset The module does not define functions any more that
170 call xalloc_die() in out-of-memory situations.
171 Use module 'xoset' and include file "gl_xoset.h"
174 2009-12-10 * Most source code files have been converted to
175 indentation by spaces (rather than tabs). Patches
176 of gnulib source code needs to be updated.
178 2009-12-09 link-warning The Makefile rules that use $(LINK_WARNING_H) now
179 must contain an explicit dependency on
182 2009-11-12 getgroups These functions now use a signature of gid_t,
183 getugroups rather than GETGROUPS_T. This probably has no
184 effect except on very old platforms.
186 2009-11-04 tempname The gen_tempname function takes an additional
187 'suffixlen' argument. You can safely pass 0.
189 2009-11-04 nproc The num_processors function now takes an argument.
191 2009-11-02 inet_pton The use of this module now requires linking with
194 2009-11-02 inet_ntop The use of this module now requires linking with
197 2009-10-10 utimens The use of this module now requires linking with
198 $(LIB_CLOCK_GETTIME).
200 2009-09-16 canonicalize-lgpl
201 The include file is changed from "canonicalize.h"
204 2009-09-04 link-follow The macro LINK_FOLLOWS_SYMLINK is now tri-state,
205 rather than only defined to 1.
207 2009-09-03 openat The include files are standardized to POSIX 2008.
208 For openat, include <fcntl.h>; for
209 fchmodat, fstatat, and mkdirat, include
210 <sys/stat.h>; for fchownat and unlinkat,
211 include <unistd.h>. For all other
212 functions provided by this module,
213 continue to include "openat.h".
215 2009-08-30 striconveh The functions mem_cd_iconveh and str_cd_iconveh
216 now take an 'iconveh_t *' argument instead of three
219 2009-08-23 tempname The gen_tempname function takes an additional
220 'flags' argument. You can safely pass 0.
222 2009-08-12 getopt This module is deprecated. Please choose among
223 getopt-posix and getopt-gnu. getopt-gnu provides
224 "long options" and "options with optional
225 arguments", getopt-posix doesn't.
227 2009-06-25 fpurge The include file is changed from "fpurge.h" to
230 2009-04-26 modules/uniconv/u8-conv-from-enc
231 modules/uniconv/u16-conv-from-enc
232 modules/uniconv/u32-conv-from-enc
233 The calling convention of the functions
234 u*_conv_from_encoding is changed.
236 2009-04-26 modules/uniconv/u8-conv-to-enc
237 modules/uniconv/u16-conv-to-enc
238 modules/uniconv/u32-conv-to-enc
239 The calling convention of the functions
240 u*_conv_to_encoding is changed.
242 2009-04-24 maintainer-makefile
243 The maint.mk file was copied from
244 coreutils, and the old
245 coverage/gettext/indent rules were
246 re-added. If you used 'make syntax-check'
247 this will add several new checks. If some
248 new check is annoying, add the name of the
249 checks to 'local-checks-to-skip' in your
252 2009-04-01 visibility Renamed to lib-symbol-visibility.
254 2009-04-01 ld-version-script Renamed to lib-symbol-versions.
256 2009-03-20 close The substituted variable LIB_CLOSE is removed.
258 2009-03-05 filevercmp Move hidden files up in ordering.
260 2009-01-22 c-strtod This function no longer calls xalloc_die(). If
261 c-strtold you want to exit the program in case of out-of-
262 memory, the calling function needs to arrange
265 val = c_strtod (...);
266 if (val == 0 && errno == ENOMEM)
269 2009-01-17 relocatable-prog In the Makefile.am or Makefile.in, you now also
270 need to set RELOCATABLE_STRIP = :.
272 2008-12-22 getaddrinfo When using this module, you now need to link with
273 canon-host $(GETADDRINFO_LIB).
275 2008-12-21 mbiter The header files "mbiter.h", "mbuiter.h",
276 mbuiter "mbfile.h" can now be included without checking
277 mbfile HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
278 longer be defined by these modules in a year. If
279 you want to continue to use it, you need to invoke
280 AC_FUNC_MBRTOWC yourself.
282 2008-11-11 warnings This module subsumes the file m4/warning.m4 which
285 2008-10-20 lstat The include file is changed from "lstat.h" to
288 2008-10-20 getaddrinfo The include file is changed from "getaddrinfo.h"
291 2008-10-19 isnanf The include file is changed from "isnanf.h" to
293 isnand The include file is changed from "isnand.h" to
295 isnanl The include file is changed from "isnanl.h" to
298 2008-10-18 lchmod The include file is changed from "lchmod.h" to
301 2008-10-18 dirfd The include file is changed from "dirfd.h" to
304 2008-10-18 euidaccess The include file is changed from "euidaccess.h"
307 2008-10-18 getdomainname The include file is changed from "getdomainname.h"
310 2008-09-28 sockets When using this module, you now need to link with
313 2008-09-24 sys_select The limitation on `select', introduced 2008-09-23,
314 was removed. sys_select now includes a select
315 wrapper for Winsock. The wrapper expects socket
316 and file descriptors to be compatible as arranged
317 by the sys_socket on MinGW.
319 2008-09-23 sys_socket Under Windows (MinGW), the module now adds
320 wrappers around Winsock functions, so that
321 socket descriptors are now compatible with
322 file descriptors. In general, this change
323 will simply improve your code's portability
324 between POSIX platforms and Windows. In
325 particular, you will be able to use ioctl and
326 close instead of ioctlsocket and closesocket,
327 and test errno instead of WSAGetLastError ().
328 On the other hand, you have to audit your code to
329 remove usage of these Winsock-specific functions.
331 This change does not remove the need to call
332 the gl_sockets_startup function from the sockets
333 gnulib module. Also, for now select is disabled
334 when you include the sys_socket module; while
335 the functionality will be restored soon, for
336 efficiency it is suggested to use the poll system
337 poll system call and gnulib module instead.
339 2008-09-13 EOVERFLOW The module is removed. Use module errno instead.
341 2008-09-01 filename The module does not define the function
342 concatenated_filename any more. To get an
343 equivalent function, use function
344 xconcatenated_filename from module
347 2008-08-31 havelib On Solaris, when searching for 64-bit mode
348 libraries the directory $prefix/lib is now ignored.
349 Instead the directory $prefix/lib/64 is searched.
350 You may need to create a symbolic link for
351 $prefix/lib/64 if you have 64-bit libraries
352 installed in $prefix/lib.
354 2008-08-19 strverscmp The include file is changed from "strverscmp.h"
357 2008-08-14 lock The include file is changed from "lock.h"
358 to "glthread/lock.h".
359 tls The include file is changed from "tls.h"
362 2008-07-17 c-stack The module now requires the addition of
363 $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
364 since it may depend on linking with libsigsegv.
366 2008-07-07 isnanf-nolibm The include file is changed from "isnanf.h"
367 to "isnanf-nolibm.h".
368 isnand-nolibm The include file is changed from "isnand.h"
369 to "isnand-nolibm.h".
371 2008-06-10 execute The execute function takes an additional termsigp
372 argument. Passing termsigp = NULL is ok.
373 wait-process The wait_subprocess function takes an additional
374 termsigp argument. Passing termsigp = NULL is ok.
376 2008-05-10 linebreak The module is split into several modules unilbrk/*.
377 The include file is changed from "linebreak.h" to
378 "unilbrk.h". Two functions are renamed:
379 mbs_possible_linebreaks -> ulc_possible_linebreaks
380 mbs_width_linebreaks -> ulc_width_linebreaks
382 2008-04-28 rpmatch The include file is now <stdlib.h>.
384 2008-04-28 inet_ntop The include file is changed from "inet_ntop.h"
387 2008-04-28 inet_pton The include file is changed from "inet_pton.h"
390 2008-03-06 freadahead The return value's computation has changed. It
391 now increases by 1 after ungetc.
393 2008-01-26 isnan-nolibm The module name is changed from isnan-nolibm to
394 isnand-nolibm. The include file is changed from
395 "isnan.h" to "isnand.h". The function that it
396 defines is changed from isnan() to isnand().
398 2008-01-14 strcasestr 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 strcasestr-simple
402 module instead for smaller code size.
404 2008-01-09 alloca-opt Now defines HAVE_ALLOCA_H only when the system
405 supplies an <alloca.h>. Gnulib-using code is now
406 expected to include <alloca.h> unconditionally.
407 Non-gnulib-using code can continue to include
408 <alloca.h> only if HAVE_ALLOCA_H is defined.
410 2008-01-08 memmem This module now replaces worst-case inefficient
411 implementations; clients that use controlled
412 needles and thus do not care about worst-case
413 efficiency should use the new memmem-simple
414 module instead for smaller code size.
416 2007-12-24 setenv The include file is changed from "setenv.h" to
417 <stdlib.h>. Also, the unsetenv function is no
418 longer declared in this module; use the 'unsetenv'
419 module if you need it.
421 2007-12-03 getpagesize The include file is changed from "getpagesize.h"
424 2007-12-03 strcase The include file is changed from <string.h> to
427 2007-10-07 most modules The license for most modules has changed from
428 GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
429 A few modules are still under LGPLv2+; see the
430 module description for the applicable license.
432 2007-09-01 linebreak "linebreak.h" no longer declares the functions
433 locale_charset, uc_width, u{8,16,32}_width. Use
434 "uniwidth.h" to get these functions declared.
436 2007-08-28 areadlink-with-size
437 Renamed from mreadlink-with-size.
438 Function renamed: mreadlink_with_size ->
441 2007-08-22 getdelim, getline
442 The include file is changed from "getdelim.h"
443 and "getline.h" to the POSIX 200x <stdio.h>.
445 2007-08-18 idcache Now provides prototypes in "idcache.h".
447 2007-08-10 xstrtol The STRTOL_FATAL_ERROR macro is removed.
448 Use the new xstrtol_fatal function instead.
450 2007-08-04 human The function human_options no longer reports an
451 error to standard error; that is now the
452 caller's responsibility. It returns an
453 error code of type enum strtol_error
454 instead of the integer option value, and stores
455 the option value via a new int * argument.
456 xstrtol The first two arguments of STRTOL_FATAL_ERROR
457 are now an option name and option argument
458 instead of an option argument and a type string,
459 STRTOL_FAIL_WARN is removed.
461 2007-07-14 gpl, lgpl New Texinfo versions with no sectioning commands.
463 2007-07-10 version-etc Output now mentions GPLv3+, not GPLv2+. Use
464 gnulib-tool --local-dir to override this.
466 2007-07-07 wcwidth The include file is changed from "wcwidth.h" to
469 2007-07-02 gpl, lgpl Renamed to gpl-2.0 and lgpl-2.1 respectively.
470 (There is also a new module gpl-3.0.)
472 2007-06-16 lchown The include file is changed from "lchown.h" to
475 2007-06-09 xallocsa Renamed to xmalloca. The include file "xallocsa.h"
476 was remamed to "xmalloca.h". The function was
480 2007-06-09 allocsa Renamed to malloca. The include file "allocsa.h"
481 was remamed to "malloca.h". The function-like
486 2007-05-20 utimens Renamed futimens to gl_futimens, to avoid
487 conflict with the glibc-2.6-introduced function
488 that has a different signature.
490 2007-05-01 sigprocmask The module now depends on signal, so replace
491 #include "sigprocmask.h"
495 2007-04-06 gettext The macro HAVE_LONG_DOUBLE is no longer set.
496 You can replace all its uses with 1, i.e. assume
497 'long double' as a type exists.
499 2007-04-01 arcfour Renamed to crypto/arcfour.
500 arctwo Renamed to crypto/arctwo.
501 des Renamed to crypto/des.
502 gc Renamed to crypto/gc.
503 gc-arcfour Renamed to crypto/gc-arcfour.
504 gc-arctwo Renamed to crypto/gc-arctwo.
505 gc-des Renamed to crypto/gc-des.
506 gc-hmac-md5 Renamed to crypto/gc-hmac-md5.
507 gc-hmac-sha1 Renamed to crypto/gc-hmac-sha1.
508 gc-md2 Renamed to crypto/gc-md2.
509 gc-md4 Renamed to crypto/gc-md4.
510 gc-md5 Renamed to crypto/gc-md5.
511 gc-pbkdf2-sha1 Renamed to crypto/gc-pbkdf2-sha1.
512 gc-random Renamed to crypto/gc-random.
513 gc-rijndael Renamed to crypto/gc-rijndael.
514 gc-sha1 Renamed to crypto/gc-sha1.
515 hmac-md5 Renamed to crypto/hmac-md5.
516 hmac-sha1 Renamed to crypto/hmac-sha1.
517 md2 Renamed to crypto/md2.
518 md4 Renamed to crypto/md4.
519 md5 Renamed to crypto/md5.
520 rijndael Renamed to crypto/rijndael.
521 sha1 Renamed to crypto/sha1.
523 2007-03-27 vasprintf The module now depends on stdio, so replace
524 #include "vasprintf.h"
528 2007-03-24 tsearch The include file is changed from "tsearch.h" to
531 2007-03-24 utf8-ucs4 The include file is changed from "utf8-ucs4.h"
533 utf8-ucs4-unsafe The include file is changed from
534 "utf8-ucs4-unsafe.h" to "unistr.h".
535 utf16-ucs4 The include file is changed from "utf16-ucs4.h"
537 utf16-ucs4-unsafe The include file is changed from
538 "utf16-ucs4-unsafe.h" to "unistr.h".
539 ucs4-utf8 The include file is changed from "ucs4-utf8.h"
541 ucs4-utf16 The include file is changed from "ucs4-utf16.h"
544 2007-03-19 iconvme The module is removed. Use module striconv instead:
545 iconv_string -> str_iconv
546 iconv_alloc -> str_cd_iconv (with reversed
549 2007-03-15 list The functions gl_list_create_empty and
550 array-list gl_list_create now take an extra fourth argument.
551 carray-list You can pass NULL.
559 2007-03-15 oset The function gl_oset_create_empty now takes a
560 array-oset third argument. You can pass NULL.
564 2007-03-12 des The types and functions in lib/des.h have been
567 des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
568 des_is_weak_key -> gl_des_is_weak_key,
569 des_setkey -> gl_des_setkey,
570 des_makekey -> gl_des_makekey,
571 des_ecb_crypt -> gl_des_ecb_crypt,
572 des_ecb_encrypt -> gl_des_ecb_encrypt,
573 des_ecb_decrypt -> gl_des_ecb_decrypt,
574 tripledes_set2keys -> gl_3des_set2keys,
575 tripledes_set3keys -> gl_3des_set3keys,
576 tripledes_makekey -> gl_3des_makekey,
577 tripledes_ecb_crypt -> gl_3des_ecb_crypt.
579 Also consider using the "gc-des" buffer instead of
580 using the "des" module directly.
582 2007-02-28 xreadlink The module xreadlink was renamed to
583 xreadlink-with-size. The function was renamed:
584 xreadlink -> xreadlink_with_size.
586 2007-02-18 exit The modules now depend on stdlib, so replace
587 mkdtemp #include "exit.h"
588 mkstemp #include "mkdtemp.h"
593 2007-01-26 strdup The module now depends on string, so replace
600 # indent-tabs-mode: nil
601 # whitespace-check-buffer-indent: nil