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