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