Move the lstat() declaration to <sys/stat.h>.
[gnulib.git] / NEWS
1 Important notes
2 ---------------
3
4 User visible incompatible changes
5 ---------------------------------
6
7 Date        Modules         Changes
8
9 2008-10-20  lstat           The include file is changed from "lstat.h" to
10                             <sys/stat.h>.
11
12 2008-10-20  getaddrinfo     The include file is changed from "getaddrinfo.h"
13                             to <netdb.h>.
14
15 2008-10-19  isnanf          The include file is changed from "isnanf.h" to
16                             <math.h>.
17             isnand          The include file is changed from "isnand.h" to
18                             <math.h>.
19             isnanl          The include file is changed from "isnanl.h" to
20                             <math.h>.
21
22 2008-10-18  lchmod          The include file is changed from "lchmod.h" to
23                             <sys/stat.h>.
24
25 2008-10-18  dirfd           The include file is changed from "dirfd.h" to
26                             <dirent.h>.
27
28 2008-10-18  euidaccess      The include file is changed from "euidaccess.h"
29                             to <unistd.h>.
30
31 2008-10-18  getdomainname   The include file is changed from "getdomainname.h"
32                             to <unistd.h>.
33
34 2008-09-28  sockets         When using this module, you now need to link with
35                             $(LIBSOCKET).
36
37 2008-09-24  sys_select      The limitation on `select', introduced 2008-09-23,
38                             was removed.  sys_select now includes a select
39                             wrapper for Winsock.  The wrapper expects socket
40                             and file descriptors to be compatible as arranged
41                             by the sys_socket on MinGW.
42
43 2008-09-23  sys_socket      Under Windows (MinGW), the module now adds
44                             wrappers around Winsock functions, so that
45                             socket descriptors are now compatible with
46                             file descriptors.  In general, this change
47                             will simply improve your code's portability
48                             between POSIX platforms and Windows.  In
49                             particular, you will be able to use ioctl and
50                             close instead of ioctlsocket and closesocket,
51                             and test errno instead of WSAGetLastError ().
52                             On the other hand, you have to audit your code to
53                             remove usage of these Winsock-specific functions.
54
55                             This change does not remove the need to call
56                             the gl_sockets_startup function from the sockets
57                             gnulib module.  Also, for now select is disabled
58                             when you include the sys_socket module; while
59                             the functionality will be restored soon, for
60                             efficiency it is suggested to use the poll system
61                             poll system call and gnulib module instead.
62
63 2008-09-13  EOVERFLOW       The module is removed. Use module errno instead.
64
65 2008-09-01  filename        The module does not define the function
66                             concatenated_filename any more. To get an
67                             equivalent function, use function
68                             xconcatenated_filename from module
69                             'xconcat-filename'.
70
71 2008-08-31  havelib         On Solaris, when searching for 64-bit mode
72                             libraries the directory $prefix/lib is now ignored.
73                             Instead the directory $prefix/lib/64 is searched.
74                             You may need to create a symbolic link for
75                             $prefix/lib/64 if you have 64-bit libraries
76                             installed in $prefix/lib.
77
78 2008-08-19  strverscmp      The include file is changed from "strverscmp.h"
79                             to <string.h>.
80
81 2008-08-14  lock            The include file is changed from "lock.h"
82                             to "glthread/lock.h".
83             tls             The include file is changed from "tls.h"
84                             to "glthread/tls.h".
85
86 2008-07-17  c-stack         The module now requires the addition of
87                             $(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
88                             since it may depend on linking with libsigsegv.
89
90 2008-07-07  isnanf-nolibm   The include file is changed from "isnanf.h"
91                             to "isnanf-nolibm.h".
92             isnand-nolibm   The include file is changed from "isnand.h"
93                             to "isnand-nolibm.h".
94
95 2008-06-10  execute         The execute function takes an additional termsigp
96                             argument. Passing termsigp = NULL is ok.
97             wait-process    The wait_subprocess function takes an additional
98                             termsigp argument. Passing termsigp = NULL is ok.
99
100 2008-05-10  linebreak       The module is split into several modules unilbrk/*.
101                             The include file is changed from "linebreak.h" to
102                             "unilbrk.h". Two functions are renamed:
103                             mbs_possible_linebreaks -> ulc_possible_linebreaks
104                             mbs_width_linebreaks -> ulc_width_linebreaks
105
106 2008-04-28  rpmatch         The include file is now <stdlib.h>.
107
108 2008-04-28  inet_ntop       The include file is changed from "inet_ntop.h"
109                             to <arpa/inet.h>.
110
111 2008-04-28  inet_pton       The include file is changed from "inet_pton.h"
112                             to <arpa/inet.h>.
113
114 2008-03-06  freadahead      The return value's computation has changed. It
115                             now increases by 1 after ungetc.
116
117 2008-01-26  isnan-nolibm    The module name is changed from isnan-nolibm to
118                             isnand-nolibm. The include file is changed from
119                             "isnan.h" to "isnand.h". The function that it
120                             defines is changed from isnan() to isnand().
121
122 2008-01-14  strcasestr      This module now replaces worst-case inefficient
123                             implementations; clients that use controlled
124                             needles and thus do not care about worst-case
125                             efficiency should use the new strcasestr-simple
126                             module instead for smaller code size.
127
128 2008-01-09  alloca-opt      Now defines HAVE_ALLOCA_H only when the system
129                             supplies an <alloca.h>.  Gnulib-using code is now
130                             expected to include <alloca.h> unconditionally.
131                             Non-gnulib-using code can continue to include
132                             <alloca.h> only if HAVE_ALLOCA_H is defined.
133
134 2008-01-08  memmem          This module now replaces worst-case inefficient
135                             implementations; clients that use controlled
136                             needles and thus do not care about worst-case
137                             efficiency should use the new memmem-simple
138                             module instead for smaller code size.
139
140 2007-12-24  setenv          The include file is changed from "setenv.h" to
141                             <stdlib.h>. Also, the unsetenv function is no
142                             longer declared in this module; use the 'unsetenv'
143                             module if you need it.
144
145 2007-12-03  getpagesize     The include file is changed from "getpagesize.h"
146                             to <unistd.h>.
147
148 2007-12-03  strcase         The include file is changed from <string.h> to
149                             <strings.h>.
150
151 2007-10-07  most modules    The license for most modules has changed from
152                             GPLv2+ to GPLv3+, and from LGPLv2+ to LGPLv3+.
153                             A few modules are still under LGPLv2+; see the
154                             module description for the applicable license.
155
156 2007-09-01  linebreak       "linebreak.h" no longer declares the functions
157                             locale_charset, uc_width, u{8,16,32}_width. Use
158                             "uniwidth.h" to get these functions declared.
159
160 2007-08-28  areadlink-with-size
161                             Renamed from mreadlink-with-size.
162                             Function renamed: mreadlink_with_size ->
163                             areadlink_with_size.
164
165 2007-08-22  getdelim, getline
166                             The include file is changed from "getdelim.h"
167                             and "getline.h" to the POSIX 200x <stdio.h>.
168
169 2007-08-18  idcache         Now provides prototypes in "idcache.h".
170
171 2007-08-10  xstrtol         The STRTOL_FATAL_ERROR macro is removed.
172                             Use the new xstrtol_fatal function instead.
173
174 2007-08-04  human           The function human_options no longer reports an
175                             error to standard error; that is now the
176                             caller's responsibility.  It returns an
177                             error code of type enum strtol_error
178                             instead of the integer option value, and stores
179                             the option value via a new int * argument.
180             xstrtol         The first two arguments of STRTOL_FATAL_ERROR
181                             are now an option name and option argument
182                             instead of an option argument and a type string,
183                             STRTOL_FAIL_WARN is removed.
184
185 2007-07-14  gpl, lgpl       New Texinfo versions with no sectioning commands.
186
187 2007-07-10  version-etc     Output now mentions GPLv3+, not GPLv2+.  Use
188                             gnulib-tool --local-dir to override this.
189
190 2007-07-07  wcwidth         The include file is changed from "wcwidth.h" to
191                             <wchar.h>.
192
193 2007-07-02  gpl, lgpl       Renamed to gpl-2.0 and lgpl-2.1 respectively.
194                             (There is also a new module gpl-3.0.)
195
196 2007-06-16  lchown          The include file is changed from "lchown.h" to
197                             <unistd.h>.
198
199 2007-06-09  xallocsa        Renamed to xmalloca. The include file "xallocsa.h"
200                             was remamed to "xmalloca.h". The function was
201                             renamed:
202                               xallocsa -> xmalloca
203
204 2007-06-09  allocsa         Renamed to malloca. The include file "allocsa.h"
205                             was remamed to "malloca.h". The function-like
206                             macros were renamed:
207                               allocsa -> malloca
208                               freesa -> freea
209
210 2007-05-20  utimens         Renamed futimens to gl_futimens, to avoid
211                             conflict with the glibc-2.6-introduced function
212                             that has a different signature.
213
214 2007-05-01  sigprocmask     The module now depends on signal, so replace
215                               #include "sigprocmask.h"
216                             with
217                               #include <signal.h>
218
219 2007-04-06  gettext         The macro HAVE_LONG_DOUBLE is no longer set.
220                             You can replace all its uses with 1, i.e. assume
221                             'long double' as a type exists.
222
223 2007-04-01  arcfour         Renamed to crypto/arcfour.
224             arctwo          Renamed to crypto/arctwo.
225             des             Renamed to crypto/des.
226             gc              Renamed to crypto/gc.
227             gc-arcfour      Renamed to crypto/gc-arcfour.
228             gc-arctwo       Renamed to crypto/gc-arctwo.
229             gc-des          Renamed to crypto/gc-des.
230             gc-hmac-md5     Renamed to crypto/gc-hmac-md5.
231             gc-hmac-sha1    Renamed to crypto/gc-hmac-sha1.
232             gc-md2          Renamed to crypto/gc-md2.
233             gc-md4          Renamed to crypto/gc-md4.
234             gc-md5          Renamed to crypto/gc-md5.
235             gc-pbkdf2-sha1  Renamed to crypto/gc-pbkdf2-sha1.
236             gc-random       Renamed to crypto/gc-random.
237             gc-rijndael     Renamed to crypto/gc-rijndael.
238             gc-sha1         Renamed to crypto/gc-sha1.
239             hmac-md5        Renamed to crypto/hmac-md5.
240             hmac-sha1       Renamed to crypto/hmac-sha1.
241             md2             Renamed to crypto/md2.
242             md4             Renamed to crypto/md4.
243             md5             Renamed to crypto/md5.
244             rijndael        Renamed to crypto/rijndael.
245             sha1            Renamed to crypto/sha1.
246
247 2007-03-27  vasprintf       The module now depends on stdio, so replace
248                                #include "vasprintf.h"
249                             with
250                                #include <stdio.h>
251
252 2007-03-24  tsearch         The include file is changed from "tsearch.h" to
253                             <search.h>.
254
255 2007-03-24  utf8-ucs4       The include file is changed from "utf8-ucs4.h"
256                             to "unistr.h".
257             utf8-ucs4-unsafe  The include file is changed from
258                             "utf8-ucs4-unsafe.h" to "unistr.h".
259             utf16-ucs4      The include file is changed from "utf16-ucs4.h"
260                             to "unistr.h".
261             utf16-ucs4-unsafe  The include file is changed from
262                             "utf16-ucs4-unsafe.h" to "unistr.h".
263             ucs4-utf8       The include file is changed from "ucs4-utf8.h"
264                             to "unistr.h".
265             ucs4-utf16      The include file is changed from "ucs4-utf16.h"
266                             to "unistr.h".
267
268 2007-03-19  iconvme         The module is removed. Use module striconv instead:
269                             iconv_string -> str_iconv
270                             iconv_alloc -> str_cd_iconv (with reversed
271                                            arguments)
272
273 2007-03-15  list            The functions gl_list_create_empty and
274             array-list      gl_list_create now take an extra fourth argument.
275             carray-list     You can pass NULL.
276             linked-list
277             linkedhash-list
278             avltree-list
279             rbtree-list
280             avltreehash-list
281             rbtreehash-list
282
283 2007-03-15  oset            The function gl_oset_create_empty now takes a
284             array-oset      third argument. You can pass NULL.
285             avltree-oset
286             rbtree-oset
287
288 2007-03-12  des             The types and functions in lib/des.h have been
289             gc-des          renamed:
290
291                             des_ctx -> gl_des_ctx, tripledes_ctx -> gl_3des_ctx,
292                             des_is_weak_key -> gl_des_is_weak_key,
293                             des_setkey -> gl_des_setkey,
294                             des_makekey -> gl_des_makekey,
295                             des_ecb_crypt -> gl_des_ecb_crypt,
296                             des_ecb_encrypt -> gl_des_ecb_encrypt,
297                             des_ecb_decrypt -> gl_des_ecb_decrypt,
298                             tripledes_set2keys -> gl_3des_set2keys,
299                             tripledes_set3keys -> gl_3des_set3keys,
300                             tripledes_makekey -> gl_3des_makekey,
301                             tripledes_ecb_crypt -> gl_3des_ecb_crypt.
302
303                             Also consider using the "gc-des" buffer instead of
304                             using the "des" module directly.
305
306 2007-02-28  xreadlink       The module xreadlink was renamed to
307                             xreadlink-with-size. The function was renamed:
308                             xreadlink -> xreadlink_with_size.
309
310 2007-02-18  exit            The modules now depend on stdlib, so replace
311             mkdtemp           #include "exit.h"
312             mkstemp           #include "mkdtemp.h"
313                               #include "mkstemp.h"
314                             with
315                               #include <stdlib.h>
316
317 2007-01-26  strdup          The module now depends on string, so replace
318                               #include "strdup.h"
319                             with
320                               #include <string.h>
321
322 # This is for Emacs.
323 # Local Variables:
324 # indent-tabs-mode: nil
325 # whitespace-check-buffer-indent: nil
326 # End: