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