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