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