28ccdcddbeffccc5badc6daefd0201c664405e85
[gnulib.git] / NEWS
1 Important notes
2 ---------------
3
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'.
9
10 User visible incompatible changes
11 ---------------------------------
12
13 Date        Modules         Changes
14
15 2010-09-30  getdate         This module is deprecated. Please use get_date
16                             for get_date(), or help us write getdate-posix
17                             for getdate().
18
19 2010-09-29  sys_wait        This module no longer provides the waitpid()
20                             function. If you need this function, you now need
21                             to request the 'waitpid' module.
22
23 2010-09-17  utimens         The function gl_futimens is removed, and its
24                             signature has been migrated to fdutimens.  Callers
25                             of gl_futimens should change function name, and
26                             callers of fdutimens should swap parameter order.
27
28 2010-09-17  fdutimensat     This function has a new signature: the fd now comes
29                             first instead of the dir/name pair, and a new
30                             atflag parameter is added at the end.  Old code
31                             should rearrange parameters, and pass 0 for atflag.
32
33 2010-09-13  regex           The module is not guaranteeing anymore support for
34                             64-bit regoff_t on 64-bit systems.  The size of
35                             regoff_t will always be 32-bit unless the program
36                             is being configured --with-included-regex.  This
37                             may change again in the future once glibc provides
38                             this feature as well.
39
40 2010-09-12  savedir         The fdsavedir function is now deprecated.
41
42 2010-09-10  fcntl-h         This module now defaults O_CLOEXEC to 0, and
43                             it defaults O_EXEC and O_SEARCH to O_RDONLY.
44                             Use "#if O_CLOEXEC" instead of "#ifdef O_CLOEXEC".
45
46 2010-08-28  realloc         This module is deprecated. Use 'realloc-gnu'
47                             instead. It will be removed 2012-01-01.
48
49 2010-08-28  calloc          This module is deprecated. Use 'calloc-gnu'
50                             instead. It will be removed 2012-01-01.
51
52 2010-08-28  malloc          This module is deprecated. Use 'malloc-gnu'
53                             instead. It will be removed 2012-01-01.
54
55 2010-08-14  memxfrm         This module is renamed to amemxfrm. The include
56                             file is renamed to "amemxfrm.h". The function is
57                             renamed to amemxfrm.
58
59 2010-08-09  symlinkat       This module now only provides symlinkat; use the
60                             new module 'readlinkat' if needed.
61
62 2010-07-31  ansi-c++-opt    If Autoconf >= 2.66 is used, the 'configure'
63                             option is now called --disable-c++ rather than
64                             --disable-cxx.
65
66 2010-04-02  maintainer-makefile
67                             The macro _prohibit_regexp has been revamped into
68                             a new macro _sc_search_regexp; custom syntax
69                             checks in your cfg.mk will need to be rewritten.
70
71 2010-03-28  lib-ignore      This module now provides a variable
72                             IGNORE_UNUSED_LIBRARIES_CFLAGS that you should
73                             add to LDFLAGS (when linking C programs only) or
74                             CFLAGS yourself. It is no longer added to LDFLAGS
75                             automatically.
76
77 2010-03-18  pty             This module now only declares the pty.h header.
78                             Use the new modules 'forkpty' or 'openpty' to
79                             get the functions that were previously provided.
80
81 2010-03-05  exit            This module is deprecated, use 'stdlib' directly
82                             instead.  It will be removed 2011-01-01.
83
84 2009-12-13  sublist         The module does not define functions any more that
85                             call xalloc_die() in out-of-memory situations. Use
86                             module 'xsublist' and include file "gl_xsublist.h"
87                             instead.
88
89 2009-12-13  list            The module does not define functions any more that
90                             call xalloc_die() in out-of-memory situations.
91                             Use module 'xlist' and include file "gl_xlist.h"
92                             instead.
93
94 2009-12-13  oset            The module does not define functions any more that
95                             call xalloc_die() in out-of-memory situations.
96                             Use module 'xoset' and include file "gl_xoset.h"
97                             instead.
98
99 2009-12-10  *               Most source code files have been converted to
100                             indentation by spaces (rather than tabs). Patches
101                             of gnulib source code needs to be updated.
102
103 2009-12-09  link-warning    The Makefile rules that use $(LINK_WARNING_H) now
104                             must contain an explicit dependency on
105                             $(LINK_WARNING_H).
106
107 2009-11-12  getgroups       These functions now use a signature of gid_t,
108             getugroups      rather than GETGROUPS_T.  This probably has no
109                             effect except on very old platforms.
110
111 2009-11-04  tempname        The gen_tempname function takes an additional
112                             'suffixlen' argument. You can safely pass 0.
113
114 2009-11-04  nproc           The num_processors function now takes an argument.
115
116 2009-11-02  inet_pton       The use of this module now requires linking with
117                             $(INET_PTON_LIB).
118
119 2009-11-02  inet_ntop       The use of this module now requires linking with
120                             $(INET_NTOP_LIB).
121
122 2009-10-10  utimens         The use of this module now requires linking with
123                             $(LIB_CLOCK_GETTIME).
124
125 2009-09-16  canonicalize-lgpl
126                             The include file is changed from "canonicalize.h"
127                             to <stdlib.h>.
128
129 2009-09-04  link-follow     The macro LINK_FOLLOWS_SYMLINK is now tri-state,
130                             rather than only defined to 1.
131
132 2009-09-03  openat          The include files are standardized to POSIX 2008.
133                             For openat, include <fcntl.h>; for
134                             fchmodat, fstatat, and mkdirat, include
135                             <sys/stat.h>; for fchownat and unlinkat,
136                             include <unistd.h>.  For all other
137                             functions provided by this module,
138                             continue to include "openat.h".
139
140 2009-08-30  striconveh      The functions mem_cd_iconveh and str_cd_iconveh
141                             now take an 'iconveh_t *' argument instead of three
142                             iconv_t arguments.
143
144 2009-08-23  tempname        The gen_tempname function takes an additional
145                             'flags' argument. You can safely pass 0.
146
147 2009-08-12  getopt          This module is deprecated. Please choose among
148                             getopt-posix and getopt-gnu. getopt-gnu provides
149                             "long options" and "options with optional
150                             arguments", getopt-posix doesn't.
151
152 2009-06-25  fpurge          The include file is changed from "fpurge.h" to
153                             <stdio.h>.
154
155 2009-04-26  modules/uniconv/u8-conv-from-enc
156             modules/uniconv/u16-conv-from-enc
157             modules/uniconv/u32-conv-from-enc
158                             The calling convention of the functions
159                             u*_conv_from_encoding is changed.
160
161 2009-04-26  modules/uniconv/u8-conv-to-enc
162             modules/uniconv/u16-conv-to-enc
163             modules/uniconv/u32-conv-to-enc
164                             The calling convention of the functions
165                             u*_conv_to_encoding is changed.
166
167 2009-04-24  maintainer-makefile
168                             The maint.mk file was copied from
169                             coreutils, and the old
170                             coverage/gettext/indent rules were
171                             re-added.  If you used 'make syntax-check'
172                             this will add several new checks.  If some
173                             new check is annoying, add the name of the
174                             checks to 'local-checks-to-skip' in your
175                             cfg.mk.
176
177 2009-04-01  visibility      Renamed to lib-symbol-visibility.
178
179 2009-04-01  ld-version-script  Renamed to lib-symbol-versions.
180
181 2009-03-20  close           The substituted variable LIB_CLOSE is removed.
182
183 2009-03-05  filevercmp      Move hidden files up in ordering.
184
185 2009-01-22  c-strtod        This function no longer calls xalloc_die(). If
186             c-strtold       you want to exit the program in case of out-of-
187                             memory, the calling function needs to arrange
188                             for it, like this:
189                                 errno = 0;
190                                 val = c_strtod (...);
191                                 if (val == 0 && errno == ENOMEM)
192                                   xalloc_die ();
193
194 2009-01-17  relocatable-prog  In the Makefile.am or Makefile.in, you now also
195                             need to set RELOCATABLE_STRIP = :.
196
197 2008-12-22  getaddrinfo     When using this module, you now need to link with
198             canon-host      $(GETADDRINFO_LIB).
199
200 2008-12-21  mbiter          The header files "mbiter.h", "mbuiter.h",
201             mbuiter         "mbfile.h" can now be included without checking
202             mbfile          HAVE_MBRTOWC. The macro HAVE_MBRTOWC will no
203                             longer be defined by these modules in a year. If
204                             you want to continue to use it, you need to invoke
205                             AC_FUNC_MBRTOWC yourself.
206
207 2008-11-11  warnings        This module subsumes the file m4/warning.m4 which
208                             was removed.
209
210 2008-10-20  lstat           The include file is changed from "lstat.h" to
211                             <sys/stat.h>.
212
213 2008-10-20  getaddrinfo     The include file is changed from "getaddrinfo.h"
214                             to <netdb.h>.
215
216 2008-10-19  isnanf          The include file is changed from "isnanf.h" to
217                             <math.h>.
218             isnand          The include file is changed from "isnand.h" to
219                             <math.h>.
220             isnanl          The include file is changed from "isnanl.h" to
221                             <math.h>.
222
223 2008-10-18  lchmod          The include file is changed from "lchmod.h" to
224                             <sys/stat.h>.
225
226 2008-10-18  dirfd           The include file is changed from "dirfd.h" to
227                             <dirent.h>.
228
229 2008-10-18  euidaccess      The include file is changed from "euidaccess.h"
230                             to <unistd.h>.
231
232 2008-10-18  getdomainname   The include file is changed from "getdomainname.h"
233                             to <unistd.h>.
234
235 2008-09-28  sockets         When using this module, you now need to link with
236                             $(LIBSOCKET).
237
238 2008-09-24  sys_select      The limitation on `select', introduced 2008-09-23,
239                             was removed.  sys_select now includes a select
240                             wrapper for Winsock.  The wrapper expects socket
241                             and file descriptors to be compatible as arranged
242                             by the sys_socket on MinGW.
243
244 2008-09-23  sys_socket      Under Windows (MinGW), the module now adds
245                             wrappers around Winsock functions, so that
246                             socket descriptors are now compatible with
247                             file descriptors.  In general, this change
248                             will simply improve your code's portability
249                             between POSIX platforms and Windows.  In
250                             particular, you will be able to use ioctl and
251                             close instead of ioctlsocket and closesocket,
252                             and test errno instead of WSAGetLastError ().
253                             On the other hand, you have to audit your code to
254                             remove usage of these Winsock-specific functions.
255
256                             This change does not remove the need to call
257                             the gl_sockets_startup function from the sockets
258                             gnulib module.  Also, for now select is disabled
259                             when you include the sys_socket module; while
260                             the functionality will be restored soon, for
261                             efficiency it is suggested to use the poll system
262                             poll system call and gnulib module instead.
263
264 2008-09-13  EOVERFLOW       The module is removed. Use module errno instead.
265
266 2008-09-01  filename        The module does not define the function
267                             concatenated_filename any more. To get an
268                             equivalent function, use function
269                             xconcatenated_filename from module
270                             'xconcat-filename'.
271
272 2008-08-31  havelib         On Solaris, when searching for 64-bit mode
273                             libraries the directory $prefix/lib is now ignored.
274                             Instead the directory $prefix/lib/64 is searched.
275                             You may need to create a symbolic link for
276                             $prefix/lib/64 if you have 64-bit libraries
277                             installed in $prefix/lib.
278
279 2008-08-19  strverscmp      The include file is changed from "strverscmp.h"
280                             to <string.h>.
281
282 2008-08-14  lock            The include file is changed from "lock.h"
283                             to "glthread/lock.h".
284             tls             The include file is changed from "tls.h"
285                             to "glthread/tls.h".
286
287 2008-07-17  c-stack         The module now requires the addition of
288                             $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
289                             since it may depend on linking with libsigsegv.
290
291 2008-07-07  isnanf-nolibm   The include file is changed from "isnanf.h"
292                             to "isnanf-nolibm.h".
293             isnand-nolibm   The include file is changed from "isnand.h"
294                             to "isnand-nolibm.h".
295
296 2008-06-10  execute         The execute function takes an additional termsigp
297                             argument. Passing termsigp = NULL is ok.
298             wait-process    The wait_subprocess function takes an additional
299                             termsigp argument. Passing termsigp = NULL is ok.
300
301 2008-05-10  linebreak       The module is split into several modules unilbrk/*.
302                             The include file is changed from "linebreak.h" to
303                             "unilbrk.h". Two functions are renamed:
304                             mbs_possible_linebreaks -> ulc_possible_linebreaks
305                             mbs_width_linebreaks -> ulc_width_linebreaks
306
307 2008-04-28  rpmatch         The include file is now <stdlib.h>.
308
309 2008-04-28  inet_ntop       The include file is changed from "inet_ntop.h"
310                             to <arpa/inet.h>.
311
312 2008-04-28  inet_pton       The include file is changed from "inet_pton.h"
313                             to <arpa/inet.h>.
314
315 2008-03-06  freadahead      The return value's computation has changed. It
316                             now increases by 1 after ungetc.
317
318 2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
319                             isnand-nolibm. The include file is changed from
320                             "isnan.h" to "isnand.h". The function that it
321                             defines is changed from isnan() to isnand().
322
323 2008-01-14  strcasestr      This module now replaces worst-case inefficient
324                             implementations; clients that use controlled
325                             needles and thus do not care about worst-case
326                             efficiency should use the new strcasestr-simple
327                             module instead for smaller code size.
328
329 2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
330                             supplies an <alloca.h>.  Gnulib-using code is now
331                             expected to include <alloca.h> unconditionally.
332                             Non-gnulib-using code can continue to include
333                             <alloca.h> only if HAVE_ALLOCA_H is defined.
334
335 2008-01-08  memmem          This module now replaces worst-case inefficient
336                             implementations; clients that use controlled
337                             needles and thus do not care about worst-case
338                             efficiency should use the new memmem-simple
339                             module instead for smaller code size.
340
341 2007-12-24  setenv          The include file is changed from "setenv.h" to
342                             <stdlib.h>. Also, the unsetenv function is no
343                             longer declared in this module; use the 'unsetenv'
344                             module if you need it.
345
346 2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
347                             to <unistd.h>.
348
349 2007-12-03  strcase         The include file is changed from <string.h> to
350                             <strings.h>.
351
352 2007-10-07  most modules    The license for most modules has changed from
353                             GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
354                             A few modules are still under LGPLv2+; see the
355                             module description for the applicable license.
356
357 2007-09-01  linebreak       "linebreak.h" no longer declares the functions
358                             locale_charset, uc_width, u{8,16,32}_width. Use
359                             "uniwidth.h" to get these functions declared.
360
361 2007-08-28  areadlink-with-size
362                             Renamed from mreadlink-with-size.
363                             Function renamed: mreadlink_with_size ->
364                             areadlink_with_size.
365
366 2007-08-22  getdelim, getline
367                             The include file is changed from "getdelim.h"
368                             and "getline.h" to the POSIX 200x <stdio.h>.
369
370 2007-08-18  idcache         Now provides prototypes in "idcache.h".
371
372 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
373                             Use the new xstrtol_fatal function instead.
374
375 2007-08-04  human           The function human_options no longer reports an
376                             error to standard error; that is now the
377                             caller's responsibility.  It returns an
378                             error code of type enum strtol_error
379                             instead of the integer option value, and stores
380                             the option value via a new int * argument.
381             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
382                             are now an option name and option argument
383                             instead of an option argument and a type string,
384                             STRTOL_FAIL_WARN is removed.
385
386 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
387
388 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
389                             gnulib-tool --local-dir to override this.
390
391 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
392                             <wchar.h>.
393
394 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
395                             (There is also a new module gpl-3.0.)
396
397 2007-06-16  lchown          The include file is changed from "lchown.h" to
398                             <unistd.h>.
399
400 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
401                             was remamed to "xmalloca.h". The function was
402                             renamed:
403                               xallocsa -> xmalloca
404
405 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
406                             was remamed to "malloca.h". The function-like
407                             macros were renamed:
408                               allocsa -> malloca
409                               freesa -> freea
410
411 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
412                             conflict with the glibc-2.6-introduced function
413                             that has a different signature.
414
415 2007-05-01  sigprocmask     The module now depends on signal, so replace
416                               #include "sigprocmask.h"
417                             with
418                               #include <signal.h>
419
420 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
421                             You can replace all its uses with 1, i.e. assume
422                             'long double' as a type exists.
423
424 2007-04-01  arcfour         Renamed to crypto/arcfour.
425             arctwo          Renamed to crypto/arctwo.
426             des             Renamed to crypto/des.
427             gc              Renamed to crypto/gc.
428             gc-arcfour      Renamed to crypto/gc-arcfour.
429             gc-arctwo       Renamed to crypto/gc-arctwo.
430             gc-des          Renamed to crypto/gc-des.
431             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
432             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
433             gc-md2          Renamed to crypto/gc-md2.
434             gc-md4          Renamed to crypto/gc-md4.
435             gc-md5          Renamed to crypto/gc-md5.
436             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
437             gc-random       Renamed to crypto/gc-random.
438             gc-rijndael     Renamed to crypto/gc-rijndael.
439             gc-sha1         Renamed to crypto/gc-sha1.
440             hmac-md5        Renamed to crypto/hmac-md5.
441             hmac-sha1       Renamed to crypto/hmac-sha1.
442             md2             Renamed to crypto/md2.
443             md4             Renamed to crypto/md4.
444             md5             Renamed to crypto/md5.
445             rijndael        Renamed to crypto/rijndael.
446             sha1            Renamed to crypto/sha1.
447
448 2007-03-27  vasprintf       The module now depends on stdio, so replace
449                                #include "vasprintf.h"
450                             with
451                                #include <stdio.h>
452
453 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
454                             <search.h>.
455
456 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
457                             to "unistr.h".
458             utf8-ucs4-unsafe  The include file is changed from
459                             "utf8-ucs4-unsafe.h" to "unistr.h".
460             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
461                             to "unistr.h".
462             utf16-ucs4-unsafe  The include file is changed from
463                             "utf16-ucs4-unsafe.h" to "unistr.h".
464             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
465                             to "unistr.h".
466             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
467                             to "unistr.h".
468
469 2007-03-19  iconvme         The module is removed. Use module striconv instead:
470                             iconv_string -> str_iconv
471                             iconv_alloc -> str_cd_iconv (with reversed
472                                            arguments)
473
474 2007-03-15  list            The functions gl_list_create_empty and
475             array-list      gl_list_create now take an extra fourth argument.
476             carray-list     You can pass NULL.
477             linked-list
478             linkedhash-list
479             avltree-list
480             rbtree-list
481             avltreehash-list
482             rbtreehash-list
483
484 2007-03-15  oset            The function gl_oset_create_empty now takes a
485             array-oset      third argument. You can pass NULL.
486             avltree-oset
487             rbtree-oset
488
489 2007-03-12  des             The types and functions in lib/des.h have been
490             gc-des          renamed:
491
492                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
493                             des_is_weak_key -> gl_des_is_weak_key,
494                             des_setkey -> gl_des_setkey,
495                             des_makekey -> gl_des_makekey,
496                             des_ecb_crypt -> gl_des_ecb_crypt,
497                             des_ecb_encrypt -> gl_des_ecb_encrypt,
498                             des_ecb_decrypt -> gl_des_ecb_decrypt,
499                             tripledes_set2keys -> gl_3des_set2keys,
500                             tripledes_set3keys -> gl_3des_set3keys,
501                             tripledes_makekey -> gl_3des_makekey,
502                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
503
504                             Also consider using the "gc-des" buffer instead of
505                             using the "des" module directly.
506
507 2007-02-28  xreadlink       The module xreadlink was renamed to
508                             xreadlink-with-size. The function was renamed:
509                             xreadlink -> xreadlink_with_size.
510
511 2007-02-18  exit            The modules now depend on stdlib, so replace
512             mkdtemp           #include "exit.h"
513             mkstemp           #include "mkdtemp.h"
514                               #include "mkstemp.h"
515                             with
516                               #include <stdlib.h>
517
518 2007-01-26  strdup          The module now depends on string, so replace
519                               #include "strdup.h"
520                             with
521                               #include <string.h>
522
523 # This is for Emacs.
524 # Local Variables:
525 # indent-tabs-mode: nil
526 # whitespace-check-buffer-indent: nil
527 # End: