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