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