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