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