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