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