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