Remade for development-2.1.90
[glibc/pb-stable.git] / NEWS
blob943586690dd4a65832d273c9639f9774ba5dc954
1 GNU C Library NEWS -- history of user-visible changes.  1999-06-16
3 Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 Please send GNU C library bug reports using the `glibcbug' script to
7 <bugs@gnu.org>.  Questions and suggestions should be send to
8 <bug-glibc@gnu.org>.
9 \f
10 Version 2.2
12 * Thorsten Kukuk added secure mode support to nscd.
14 * Update from Berkeley db 2.7.5.
16 * Wide character I/O streams implemented by Ulrich Drepper.
19 Version 2.1.1
21 * New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
23 * New xdr functions are added; some rpc functions are now 64bit clean.
25 * Fixed a number of bugs and memory leaks (especially in NIS+ code).
27 * Fixed known incompatibilities with glibc 2.0.
29 * New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
31 * Optimized a number of functions (especially the ELF dynamic loader).
33 * Update timezone data files.
35 * lots of charmaps corrections
37 * some new locale definitions and charmaps
40 Version 2.1
42 * Richard Henderson corrected size of struct timeval on Linux/Alpha to
43   conform to POSIX member type requirements.  Symbol versions have been
44   adjusted as needed within the library, and for direct use by applications,
45   but there is potential for problems if third-party libraries use
46   struct timeval as part of their interface.  This does not present
47   a problem for X and other "essential" system libraries.
49 * An additional locale model to support C++ Standard Library locale
50   model and probably more was implemented by Ulrich Drepper.
52 * Eric Youngdale and Ulrich Drepper implemented versioning of objects on
53   symbol level.
55 * Miles Bader provided the `argp' function family to support hierachical
56   command line argument parsing, layered on top of getopt.
58 * strtod accepts new hexadecimal floating-point format from ISO C 9X.
60 * printf has two new specifiers %a and %A to print hexadecimal flaoting-point
61   numbers.
63 * scanf recognizes the %a and %A format for scanning floating point numbers.
65 * the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
66   information and interfaces for the available integer types.
68 * about 130 new math functions were added to implement the ISO C9x math
69   library.
71 * the new header <complex.h> contains definitions of the complex math
72   functions from ISO C 9X.
74 * the new header <tgmath.h> defines generic macros to use complex or
75   real valued functions.
77 * Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
79 * Andreas Jaeger provided a test suite for the math library.
81 * Mark Kettenis implemented the utmpx interface and an utmp daemon.
83 * Ulrich Drepper added character set conversion functions (iconv).
85 * Optimized string functions have been added.
87 * The localedata addon is now part of glibc.
89 * An implementation of profiling shared libraries was added by Ulrich Drepper.
91 * Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
92   daemon for NSS (nscd).
94   Missing a better place here are some numbers on improvements.  Under
95   Linux 2.1.125 un-tar-ing the kernel sources takes
97                                   user  system     wall
99     using local files           12.19s   6.88s   22.91s
101     using NIS                   13.92s   8.91s   26.34s
103     using NIS & nscd            10.37s   7.34s   25.30s
105     using NIS+                  27.57s  30.37s  640.46s
107     using NIS+ & nscd           10.25s   7.83s   26.51s
109     using NIS & old nscd [1]    13.83s   8.32s   29.60s
111   Keep in mind that non-namelookup related operations dominate above times.
112   It was just a common complain that using NIS+ unpacking the kernel is
113   horribly slow.
115   [1] The old nscd implementation is not available anymore since it was
116   distributed with glibc up to version 2.0.98 and thus is now replaced.
118 * Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
120 * Mark Kettenis provided a Hesiod NSS module.
122 * The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
123   and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
125 * rcmd can now handle netgroups (Dick Streefland).
127 * A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
128   Bambrough.
130 * Support for the IPv6 protocol has been added to the socket API, as per the
131   latest draft standards.
133 * Support for Linux 2.2 has been added.
135 * Interface changes relative to the latest 2.0.x release:
136 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 addseverity                     NEW: Unix98
138 alphasort64                     NEW: LFS
139 argp_err_exit_status            NEW: argp, GNU ext
140 argp_error                      NEW: argp, GNU ext
141 argp_failure                    NEW: argp, GNU ext
142 argp_help                       NEW: argp, GNU ext
143 argp_parse                      NEW: argp, GNU ext
144 argp_program_bug_address        NEW: argp, GNU ext
145 argp_program_version            NEW: argp, GNU ext
146 argp_program_version_hook       NEW: argp, GNU ext
147 argp_state_help                 NEW: argp, GNU ext
148 argp_usage                      NEW: argp, GNU ext
149 authdes_create                  NEW: Secure RPC
150 authdes_getucred                NEW: Secure RPC
151 authdes_pk_create               NEW: Secure RPC
152 backtrace                       NEW: GNU ext.
153 backtrace_symbols               NEW: GNU ext.
154 backtrace_symbols_fd            NEW: GNU ext.
155 cacos                           NEW: ISO C 9x
156 cacosf                          NEW: ISO C 9x
157 cacosh                          NEW: ISO C 9x
158 cacoshf                         NEW: ISO C 9x
159 cacoshl                         NEW: ISO C 9x
160 cacosl                          NEW: ISO C 9x
161 capget                          NEW: kernel
162 capset                          NEW: kernel
163 carg                            NEW: ISO C 9x
164 cargf                           NEW: ISO C 9x
165 cargl                           NEW: ISO C 9x
166 casin                           NEW: ISO C 9x
167 casinf                          NEW: ISO C 9x
168 casinh                          NEW: ISO C 9x
169 casinhf                         NEW: ISO C 9x
170 casinhl                         NEW: ISO C 9x
171 casinl                          NEW: ISO C 9x
172 catan                           NEW: ISO C 9x
173 catanf                          NEW: ISO C 9x
174 catanh                          NEW: ISO C 9x
175 catanhf                         NEW: ISO C 9x
176 catanhl                         NEW: ISO C 9x
177 catanl                          NEW: ISO C 9x
178 cbc_crypt                       NEW: Secure RPC
179 ccos                            NEW: ISO C 9x
180 ccosf                           NEW: ISO C 9x
181 ccosh                           NEW: ISO C 9x
182 ccoshf                          NEW: ISO C 9x
183 ccoshl                          NEW: ISO C 9x
184 ccosl                           NEW: ISO C 9x
185 cexp                            NEW: ISO C 9x
186 cexpf                           NEW: ISO C 9x
187 cexpl                           NEW: ISO C 9x
188 cimag                           NEW: ISO C 9x
189 cimagf                          NEW: ISO C 9x
190 cimagl                          NEW: ISO C 9x
191 clearerr_locked                 REMOVED
192 clntunix_create                 NEW: sunrpc ext
193 clog                            NEW: ISO C 9x
194 clog10                          NEW: ISO C 9x
195 clog10f                         NEW: ISO C 9x
196 clog10l                         NEW: ISO C 9x
197 clogf                           NEW: ISO C 9x
198 clogl                           NEW: ISO C 9x
199 conj                            NEW: ISO C 9x
200 conjf                           NEW: ISO C 9x
201 conjl                           NEW: ISO C 9x
202 cpow                            NEW: ISO C 9x
203 cpowf                           NEW: ISO C 9x
204 cpowl                           NEW: ISO C 9x
205 cproj                           NEW: ISO C 9x
206 cprojf                          NEW: ISO C 9x
207 cprojl                          NEW: ISO C 9x
208 creal                           NEW: ISO C 9x
209 crealf                          NEW: ISO C 9x
210 creall                          NEW: ISO C 9x
211 creat64                         NEW: LFS
212 csin                            NEW: ISO C 9x
213 csinf                           NEW: ISO C 9x
214 csinh                           NEW: ISO C 9x
215 csinhf                          NEW: ISO C 9x
216 csinhl                          NEW: ISO C 9x
217 csinl                           NEW: ISO C 9x
218 csqrt                           NEW: ISO C 9x
219 csqrtf                          NEW: ISO C 9x
220 csqrtl                          NEW: ISO C 9x
221 ctan                            NEW: ISO C 9x
222 ctanf                           NEW: ISO C 9x
223 ctanh                           NEW: ISO C 9x
224 ctanhf                          NEW: ISO C 9x
225 ctanhl                          NEW: ISO C 9x
226 ctanl                           NEW: ISO C 9x
227 des_setparity                   NEW: Secure RPC
228 ecb_crypt                       NEW: Secure RPC
229 endutxent                       NEW: Unix98
230 exp10                           NEW: ISO C 9x
231 exp10f                          NEW: ISO C 9x
232 exp10l                          NEW: ISO C 9x
233 exp2                            NEW: ISO C 9x
234 exp2f                           NEW: ISO C 9x
235 exp2l                           NEW: ISO C 9x
236 fattach                         NEW: STREAMS
237 fdetach                         NEW: STREAMS
238 fdim                            NEW: ISO C 9x
239 fdimf                           NEW: ISO C 9x
240 fdiml                           NEW: ISO C 9x
241 feclearexcept                   NEW: ISO C 9x
242 fegetenv                        NEW: ISO C 9x
243 fegetexceptflag                 NEW: ISO C 9x
244 fegetround                      NEW: ISO C 9x
245 feholdexcept                    NEW: ISO C 9x
246 feof_locked                     REMOVED
247 feraiseexcept                   NEW: ISO C 9x
248 ferror_locked                   REMOVED
249 fesetenv                        NEW: ISO C 9x
250 fesetexceptflag                 NEW: ISO C 9x
251 fesetround                      NEW: ISO C 9x
252 fetestexcept                    NEW: ISO C 9x
253 feupdateenv                     NEW: ISO C 9x
254 fflush_locked                   REMOVED
255 ffsl                            NEW: GNU ext.
256 ffsll                           NEW: GNU ext.
257 fgetpos64                       NEW: LFS
258 fgets_unlocked                  NEW: GNU ext.
259 fileno_locked                   REMOVED
260 fma                             NEW: ISO C 9x
261 fmaf                            NEW: ISO C 9x
262 fmal                            NEW: ISO C 9x
263 fmax                            NEW: ISO C 9x
264 fmaxf                           NEW: ISO C 9x
265 fmaxl                           NEW: ISO C 9x
266 fmin                            NEW: ISO C 9x
267 fminf                           NEW: ISO C 9x
268 fminl                           NEW: ISO C 9x
269 fmtmsg                          NEW: Unix98
270 fopen64                         NEW: LFS
271 fputc_locked                    REMOVED
272 fputs_unlocked                  NEW: GNU ext.
273 fread_unlocked                  NEW: GNU ext.
274 freopen64                       NEW: LFS
275 fseeko                          NEW: Unix98
276 fsetpos64                       NEW: LFS
277 fstatfs64                       NEW: LFS
278 fstatvfs                        NEW: Unix98
279 fstatvfs64                      NEW: LFS
280 ftello                          NEW: Unix98
281 ftello64                        NEW: LFS
282 ftruncate64                     NEW: LFS
283 ftw64                           NEW: LFS
284 fwrite_unlocked                 NEW: GNU ext.
285 gai_strerror                    NEW: IPv6
286 gamma_r                         REMOVED
287 gammaf_r                        REMOVED
288 gammal_r                        REMOVED
289 getchar_locked                  REMOVED
290 getdate                         NEW: Unix98
291 getdate_err                     NEW: Unix98
292 getdate_r                       NEW: GNU ext.
293 getmsg                          NEW: STREAMS
294 getnameinfo                     NEW: IPv6
295 getnetname                      NEW: Secure RPC
296 getpmsg                         NEW: STREAMS
297 getpt                           NEW: Unix98 PTY
298 getrlimit64                     NEW: LFS
299 getutxent                       NEW: Unix98
300 getutxid                        NEW: Unix98
301 getutxline                      NEW: Unix98
302 glob64                          NEW: GNU ext.
303 globfree64                      NEW: GNU ext.
304 gnu_get_libc_release            NEW: GNU ext.
305 gnu_get_libc_version            NEW: GNU ext.
306 grantpt                         NEW: Unix98 PTY
307 host2netname                    NEW: Secure RPC
308 iconv                           NEW: iconv
309 iconv_close                     NEW: iconv
310 iconv_open                      NEW: iconv
311 if_freenameindex                NEW: IPv6
312 if_indextoname                  NEW: IPv6
313 if_nameindex                    NEW: IPv6
314 if_nametoindex                  NEW: IPv6
315 in6addr_any                     NEW: IPv6
316 in6addr_loopback                NEW: IPv6
317 inet6_isipv4mapped              NEW: IPv6
318 isastream                       NEW: STREAMS
319 iswblank                        NEW: GNU ext.
320 key_decryptsession              NEW: Secure RPC
321 key_decryptsession_pk           NEW: Secure RPC
322 key_encryptsession              NEW: Secure RPC
323 key_encryptsession_pk           NEW: Secure RPC
324 key_gendes                      NEW: Secure RPC
325 key_get_conv                    NEW: Secure RPC
326 key_secretkey_is_set            NEW: Secure RPC
327 key_setnet                      NEW: Secure RPC
328 key_setsecret                   NEW: Secure RPC
329 llrint                          NEW: ISO C 9x
330 llrintf                         NEW: ISO C 9x
331 llrintl                         NEW: ISO C 9x
332 llround                         NEW: ISO C 9x
333 llroundf                        NEW: ISO C 9x
334 llroundl                        NEW: ISO C 9x
335 log2                            NEW: ISO C 9x
336 log2f                           NEW: ISO C 9x
337 log2l                           NEW: ISO C 9x
338 lrint                           NEW: ISO C 9x
339 lrintf                          NEW: ISO C 9x
340 lrintl                          NEW: ISO C 9x
341 lround                          NEW: ISO C 9x
342 lroundf                         NEW: ISO C 9x
343 lroundl                         NEW: ISO C 9x
344 lseek64                         NEW: LFS
345 makecontext                     NEW: Unix98
346 mempcpy                         NEW: GNU ext.
347 mmap64                          NEW: LFS
348 moncontrol                      REMOVED
349 modify_ldt                      NEW: kernel
350 nan                             NEW: ISO C 9x
351 nanf                            NEW: ISO C 9x
352 nanl                            NEW: ISO C 9x
353 nearbyint                       NEW: ISO C 9x
354 nearbyintf                      NEW: ISO C 9x
355 nearbyintl                      NEW: ISO C 9x
356 netname2host                    NEW: Secure RPC
357 netname2user                    NEW: Secure RPC
358 nexttoward                      NEW: ISO C 9x
359 nexttowardf                     NEW: ISO C 9x
360 nexttowardl                     NEW: ISO C 9x
361 nftw                            NEW: Unix98
362 nftw64                          NEW: LFS
363 open64                          NEW: LFS
364 passwd2des                      NEW: Secure RPC
365 pow10                           NEW: GNU ext.
366 pow10f                          NEW: GNU ext.
367 pow10l                          NEW: GNU ext.
368 pread                           NEW: Unix98
369 pread64                         NEW: LFS
370 printf_size                     NEW: GNU ext.
371 printf_size_info                NEW: GNU ext.
372 profil_counter                  REMOVED
373 pthread_mutexattr_getkind_np    REPLACED
374 pthread_mutexattr_setkind_np    REPLACED
375 ptsname                         NEW: Unix98 PTY
376 ptsname_r                       NEW: Unix98 PTY
377 putc_locked                     REMOVED
378 putchar_locked                  REMOVED
379 putgrent                        NEW: GNU ext.
380 putmsg                          NEW: STREAMS
381 putpmsg                         NEW: STREAMS
382 pututxline                      NEW: Unix98
383 pwrite                          NEW: Unix98
384 pwrite64                        NEW: LFS
385 readdir64                       NEW: LFS
386 readdir64_r                     NEW: LFS
387 remquo                          NEW: ISO C 9x
388 remquof                         NEW: ISO C 9x
389 remquol                         NEW: ISO C 9x
390 round                           NEW: ISO C 9x
391 roundf                          NEW: ISO C 9x
392 roundl                          NEW: ISO C 9x
393 rtime                           NEW: GNU ext.
394 scalbln                         NEW: ISO C 9x
395 scalblnf                        NEW: ISO C 9x
396 scalblnl                        NEW: ISO C 9x
397 scandir64                       NEW: LFS
398 sendfile                        NEW: kernel
399 setcontext                      NEW: Unix98
400 setrlimit64                     NEW: LFS
401 setutxent                       NEW: Unix98
402 sighold                         NEW: Unix98
403 sigignore                       NEW: Unix98
404 sigqueue                        NEW: POSIX.1b
405 sigrelse                        NEW: Unix98
406 sigset                          NEW: POSIX.1b
407 sigtimedwait                    NEW: POSIX.1b
408 sigwaitinfo                     NEW: POSIX.1b
409 sincos                          NEW: GNU ext.
410 sincosf                         NEW: GNU ext.
411 sincosl                         NEW: GNU ext.
412 statfs64                        NEW: LFS
413 statvfs                         NEW: Unix98
414 statvfs64                       NEW: LFS
415 strcasestr                      NEW: GNU ext.
416 strtoimax                       NEW: ISO C 9x
417 strtoumax                       NEW: ISO C 9x
418 strverscmp                      NEW: GNU ext.
419 svcauthdes_stats                NEW: Secure RPC
420 svcunix_create                  NEW: sunrpc etx
421 svcunixfd_create                NEW: sunrpc ext
422 swapcontext                     NEW: Unix98
423 tcgetsid                        NEW: Unix98 PTY
424 tdestroy                        NEW: GNU ext.
425 tgamma                          NEW: ISO C 9x
426 tgammaf                         NEW: ISO C 9x
427 tgammal                         NEW: ISO C 9x
428 tmpfile64                       NEW: LFS
429 trunc                           NEW: ISO C 9x
430 truncate64                      NEW: LFS
431 truncf                          NEW: ISO C 9x
432 truncl                          NEW: ISO C 9x
433 umount2                         NEW: kernel
434 unlockpt                        NEW: Unix98 PTY
435 updwtmpx                        NEW: Unix98
436 user2netname                    NEW: Secure RPC
437 utmpxname                       NEW: Unix98
438 versionsort                     NEW: GNU ext.
439 versionsort64                   NEW: GNU ext.
440 waitid                          NEW: Unix98
441 wcscasecmp                      NEW: GNU ext.
442 wcsncasecmp                     NEW: GNU ext.
443 wcsnlen                         NEW: GNU ext.
444 wcstoimax                       NEW: ISO C 9x
445 wcstoll                         NEW: ISO C 9x
446 wcstoull                        NEW: ISO C 9x
447 wcstoumax                       NEW: ISO C 9x
448 wcswcs                          NEW: Unix98
449 wordexp                         NEW: POSIX.2
450 wordfree                        NEW: POSIX.2
451 write_profiling                 REMOVED
452 xdecrypt                        NEW: Secure RPC
453 xdr_authdes_cred                NEW: Secure RPC
454 xdr_authdes_verf                NEW: Secure RPC
455 xdr_cryptkeyarg                 NEW: Secure RPC
456 xdr_cryptkeyarg2                NEW: Secure RPC
457 xdr_cryptkeyres                 NEW: Secure RPC
458 xdr_getcredres                  NEW: Secure RPC
459 xdr_key_netstarg                NEW: Secure RPC
460 xdr_key_netstres                NEW: Secure RPC
461 xdr_keybuf                      NEW: Secure RPC
462 xdr_keystatus                   NEW: Secure RPC
463 xdr_netnamestr                  NEW: Secure RPC
464 xdr_sizeof                      NEW: Secure RPC
465 xdr_unixcred                    NEW: sunrpc ext
466 xencrypt                        NEW: Secure RPC
467 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
469 Version 2.0.6
471 * more bug fixes
474 Version 2.0.5
476 * more bug fixes
478 * inet_ntoa is thread-safe
480 * updwtmp is moved from libutil to libc
482 * rewrite of cbrt function
484 * update of timezone data
486 Version 2.0.4
488 * more bug fixes
490 Version 2.0.3
492 * more bug fixes
494 Version 2.0.2
496 * more bug fixes
498 * add atoll function
500 * fix complex problems in Berkeley DB code
502 * fix math functions
504 Version 2.0.1
506 * fixed lots of header problems (especially Linux/GNU specific)
508 * dynamic loader preserves all registers
510 * Roland McGrath provided support for handling of auxiliary objects in
511   the ELF dynamic loader.
513 * support for parallel builds is improved
515 Version 2.0
517 * GNU extensions are no longer declared by default.  To enable them you
518   must define the macro `_GNU_SOURCE' in your program or compile with
519   `-D_GNU_SOURCE'.
521 * The library has changed from using GNU ld symbol aliases to using weak
522   symbols where available.  The ELF object file format supports weak
523   symbols; GNU ld also supports weak symbols in the a.out format.  (There
524   is also now support for other GNU ld extensions in ELF.  Use the
525   `--with-elf' option to configure to indicate you have ELF, and
526   `--with-gnu-ld' if using GNU ld.)  This change resulted in the deletion
527   of many files which contained only symbol aliases, reducing the size of
528   the source and the compiled library; many other files were renamed to
529   less cryptic names previously occupied by the symbol alias files.
530   There is a new header file <elf.h> for programs which operate on
531   files in the ELF format.
533 * Converted to Autoconf version 2, so `configure' has more options.
534   Run `configure --help' to see the details.
536 * The library can now be configured to build profiling, highly-optimized
537   (but undebuggable), and/or shared libraries (ELF with GNU ld only).  The
538   `--enable-profile', `--enable-omitfp', and `--enable-shared' options to
539   `configure' enable building these extra libraries.  The shared library is
540   built by default when using both ELF and GNU ld.  When shared libraries
541   are enabled, the new library `-ldl' is available for arbitrary run-time
542   loading of shared objects; its interface is defined in <dlfcn.h>.  The
543   new header file <link.h> gives access to the internals of the run-time
544   dynamic linker, `ld.so'.  The shell script `ldd' is similar to the
545   application of same name on other systems and it provides information
546   about dynamically linked binaries.
548 * The C library now provides the run-time support code for profiling
549   executables compiled with `-pg'.  Programs can control the profiling code
550   through the interface in <sys/gmon.h>.  The `gmon.out' files written by
551   the GNU C library can be read only by GNU `gprof' (from GNU binutils);
552   the support for this file format was contributed by David Mosberger-Tang.
554 * The math code has been replaced with a math library based on fdlibm from
555   Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
556   Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
557   functions.  The math functions now reside in a separate library,  so
558   programs using them will need to use `-lm' their linking commands.
560 * John C. Bowman contributed optimized ix87 assembler inline functions.
562 * Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
563   mechanism similar to that found in Solaris 2.  This is now used for the
564   group, passwd, hosts, networks, services, protocols, rpc, ethers,
565   shadow, netgroup, publickey, and alias databases.  The `nsswitch.conf'
566   file controls what services are used for each individual database.  This
567   works by loading shared libraries with names specified in `nsswitch.conf',
568   so service modules can be changed or added at any time without even
569   relinking any program.  Currently there are the file, db, and NIS based
570   NSS services available.
572 * The new functions `strtoq' and `strtouq' parse integer values from
573   strings, like `strtol' and `strtoul', but they return `long long int' and
574   `unsigned long long int' values, respectively (64-bit quantities).
576 * The new functions `strtof' and `strtold' parse floating-point values from
577   strings, like `strtod', but they return `float' and `long double' values,
578   respectively (on some machines `double' and `long double' are the same).
580 * Ulrich Drepper has contributed new implementations of the floating-point
581   printing and reading code used in the `printf' family of functions and
582   `strtod', `strtof', and `strtold'.  These new functions are perfectly
583   accurate, and much faster than the old ones.
585 * The implementation of the POSIX locale model was completely rewritten by
586   Ulrich Drepper.  This includes the new programs `localedef' and `locale'
587   to compile the POSIX locale definition.
589 * The former dummy implementations of the strcoll and strxfrm function are
590   now replaced by fully functional code contributed by Ulrich Drepper.  The
591   collation information comes from the POSIX locale definitions.
593 * The new header <langinfo.h> defines an interface for accessing
594   various locale-dependent data (using the locale chosen with `setlocale').
596 * Ulrich Drepper has contributed a new suite of functions for operation on
597   wide-character and multibyte-character strings, in <wchar.h>;
598   and classification and case conversion of wide characters, in <wctype.h>.
599   These new functions are conforming to the ISO C, Amendement 1 specification.
601 * There is now a second implementation of the standard I/O library available.
602   It comes from GNU libg++ as was written by Per Bothner, heavily modified
603   by Hongjiu Lu and made thread safe by Ulrich Drepper.
605 * You can now use positional parameter specifications in format strings
606   for the `printf' and `scanf' families of functions.  For example,
607   `printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
608   ``Number 6, Mr Jones''.  This is mainly useful when providing different
609   format strings for different languages, whose grammars may dictate
610   different orderings of the values being printed.  To support this
611   feature, the interface for `register_printf_handler' has changed; see
612   the header file <printf.h> for details.
614 * The `printf' and `scanf' families of functions now understand a new
615   formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
616   to group numbers as indicated by the locale; for `scanf' and friends, this
617   says to accept as valid only a number with all the proper grouping
618   separators in the right places.  In the default "C" locale, numbers are
619   not grouped; but locales for specific countries will define the usual
620   conventions (i.e. separate thousands with `,' in the US locale).
622 * The pgrp functions have been regularized, slightly incompatibly but much
623   less confusingly.  The core functions are now `getpgid' and `setpgid',
624   which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
625   argument) and BSD `setpgrp' (identical to `setpgid') functions are
626   provided for compatibility.  There is no longer an incompatible `getpgrp'
627   with an argument declared under _BSD_SOURCE; no BSD code uses it.
629 * The new header file <fts.h> and suite of functions simplify programs that
630   operate on directory trees.  This code comes from 4.4 BSD.
632 * The resolver code has been updated from the BIND 4.9.5-P1 release.
633   Parts of the code were heavily modified by Ulrich Drepper to fit in the
634   NSS scheme used in glibc.
636 * There is a new malloc debugging hook `__memalign_hook'.
638 * There are new typedefs `ushort' for `unsigned short int' and `uint' for
639   `unsigned int' in <sys/types.h>.  These are for compatibility only and
640   their use is discouraged.
642 * The `-lmcheck' library to enable standard malloc debugging hooks is now
643   done differently, so that it works even without GNU ld.
645 * New function `euidaccess' checks allowed access to a file like `access',
646   but using the effective IDs instead of the real IDs.
648 * The time zone data files have been updated for the latest and greatest
649   local time conventions of the countries of the world.
651 * The new function `dirfd' extracts the file descriptor used by a DIR stream;
652   see <dirent.h>.
654 * The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
655   for formatting floating-point numbers.  They are provided only for
656   compatibility; new programs should use `sprintf' instead.  There are
657   also equivalent function for the `long double' floating-point type and
658   all functions also exist in a reentrant form.
660 * The new auxiliary library `-lutil' from 4.4 BSD contains various
661   functions for maintaining the login-record files (primarily of use to
662   system programs such as `login'), and convenient functions for
663   allocating and initializing a pseudo-terminal (pty) device.
665 * Ulrich Drepper has contributed new support for System V style
666   shared memory and IPC on systems that support it.
668 * Ulrich Drepper has contributed several miscellaneous new functions found
669   in System V: The `hsearch' family of functions provide an effective
670   implementation of hash tables; `a64l' and `l64a' provide a very simple
671   binary to ASCII mapping; `drand48' and friends provide a 48-bit random
672   number generator.
674 * Ulrich Drepper has contributed new reentrant counterparts for the
675   `random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
677 * Ulrich Drepper has contributed new, highly-optimized versions of several
678   string functions for the i486/Pentium family of processors.
680 * Ulrich Drepper has updated the Linux-specific code, based largely
681   on work done in Hongjiu Lu's version of GNU libc for Linux.
682   The GNU library now supports Linux versions 2.0.10 and later,
683   using the ELF object file format (i[3456]86-*-linux).
685 * Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
687 * David Mosberger-Tang and Richard Henderson have ported the C library
688   to Linux/Alpha (alpha-*-linux).  Richard Henderson contributed the
689   dynamic linking support for ELF/Alpha.
691 * Richard Henderson contributed several Alpha optimized assembler function
692   for arithmetic and string handling.
694 * Ulrich Drepper has contributed a new set of message catalog functions to
695   support multiple languages using the <libintl.h> interface, for use with
696   his new package GNU gettext.  Translation volunteers have contributed
697   catalogs of the library's messages in Spanish, German, and Korean.
699 * For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
700   program and the `catgets' function for reading the catalog files it
701   creates.  (The <libintl.h> interface is preferred; we include the
702   <nl_types.h> interface using `catgets' only for source compatibility with
703   programs already written to use it.)
705 * New header file <values.h> gives SVID-compatible names for <limits.h>
706   constants.
708 * Various new macros, declarations, and small header files for compatibility
709   with 4.4 BSD.
711 * New function `group_member' is a convenient way to check if a process has
712   a given effective group ID.
714 * When using GCC 2.7 and later, the socket functions are now declared in a
715   special way so that passing an argument of type `struct sockaddr_in *',
716   `struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
717   `struct sockaddr *' type, does not generate a type-clash warning.
719 * New function `error' declared in header file <error.h> is a convenient
720   function for printing error messages and optionally exiting; this is the
721   canonical function used in GNU programs.  The new functions `err', `warn',
722   and friends in header file <err.h> are the canonical 4.4 BSD interface for
723   doing the same thing.
725 * The <glob.h> interface has several new flags from 4.4 BSD that extend the
726   POSIX.2 `glob' function to do ~ and {...} expansion.
728 * New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
729   `clearenv' which is used in POSIX.9 is also available.
731 * New function `getsid' returns session ID number on systems that support it.
733 * We have incorporated the 4.4 BSD `db' library (version 1.85).  New header
734   files <db.h> and <mpool.h> provide a rich set of functions for several
735   types of simple databases stored in memory and in files, and <ndbm.h> is
736   an old `ndbm'-compatible interface using the `db' functions.  Link with
737   `-ldb' to get these functions.
739 * New macro `strdupa' copies a string like `strdup', but uses local stack
740   space from `alloca' instead of dynamic heap space from `malloc'.
742 * New function `strnlen' is like `strlen' but searches only a given maximum
743   number of characters for the null terminator.  `stpncpy', `strndup' and
744   `strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
745   function.
747 * New function `statfs' in header <sys/statfs.h>.
749 * The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
750   provide convenient functions for operating on blocks of null-terminated
751   strings.
753 * A new suite of functions in <utmp.h> handle all the details of reading
754   and writing the utmp file.
756 * An implementation of the NIS/YP(tm) based NSS service was contributed by
757   Thorsten Kukuk.
759 * Paul Eggert and Ulrich Drepper modified the `strftime' function to be
760   completely POSIX compliant and also implemented the extended functionality
761   to handle alternate digit representation and alternate era date formats.
763 * Ulrich Drepper provided an implementation of the `strptime' function
764   defined in XPG4.2 which transforms a string into a `struct tm' value.
766 * Paul Eggert provided the tzselect shell script as part of the timezone
767   code.  The shell script makes it easy to select the correct timezone
768   specification.
770 * The implementation of the malloc family of functions is completely replaced
771   by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
772   The implementation uses the mmap function (if available) and it is
773   optimized for the use in multi threaded programs.
775 * Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
776   functions.  This new functionality is usable by specifying a special
777   salt string and it is compatible with implementation on *BSD systems.
779 * Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
780   `getsubopt' to handle second level command line options, `bsd_signal'
781   to access BSD style `signal' functionality, the obsolete `regexp' style
782   expression matcher.
784 * the `lchown' function is available on system which support this
785   functionality.
787 * The implementation of the shadow password handling function was contributed
788   by Ulrich Drepper.
790 * David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
792 * POSIX.1g support was added.  The <sys/select.h> header is available,
793   `isfdtype' and `pselect' are implemented.  Craig Metz contributed an
794   implementation of `getaddrinfo'.
796 Version 1.09
798 * For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
800 * New header file <fstab.h> and new functions `getfsspec', `getfsent' and
801   friends, for parsing /etc/fstab.  This code comes from 4.4 BSD.
803 * The new function `daemon' from 4.4 BSD is useful for server programs that
804   want to put themselves in the background.
806 * Joel Sherrill has contributed support for several standalone boards that
807   run without an operating system.
809 * `printf', `scanf' and friends now accept a `q' type modifier for long
810   long int as well as `ll'.  Formats using these might be `%qu' or `%lld'.
812 * All of the code taken from BSD (notably most of the math and networking
813   routines) has been updated from the BSD 4.4-Lite release.
815 * The resolver code has been updated from the BIND-4.9.3-BETA9 release.
817 * The new functions `getdomainname' and `setdomainname' fetch or change the
818   YP/NIS domain name.  These are system calls which exist on systems which
819   have YP (aka NIS).
821 * The time zone data files have been updated for the latest international
822   conventions.
824 * The SunRPC programs `portmap' and `rpcinfo' are now installed in
825   $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
827 Version 1.08
829 * The C library now includes support for Sun RPC, from Sun's free
830   RPCSRC-4.0 distribution.  The `portmap', `rpcinfo', and `rpcgen' programs
831   are included.  (There is still no support for YP.)
833 * Tom Quinn has contributed a port of the C library to SGI machines running
834   Irix 4 (mips-sgi-irix4).
836 * The new `lockf' function is a simplified interface to the locking
837   facilities of `fcntl', included for compatibility.
839 * New time functions `timegm', `timelocal', and `dysize' for compatibility.
841 * New header file <sys/timeb.h> and new function `ftime' for compatibility.
843 * New header files <poll.h> and <sys/poll.h> and new function `poll' for
844   compatibility.
846 * The error message printed by `assert' for a failed assertion now includes
847   the name of the program (if using GNU ld) and the name of the calling
848   function (with versions of GCC that support this).
850 * The `psignal' function is now declared in <signal.h>, not <stdio.h>.
852 * The library now includes the <sys/mman.h> header file and memory
853   management functions `mmap', `munmap', `mprotect', `msync', and
854   `madvise', on systems that support those facilities.
856 * The interface for `mcheck' has changed slightly: the function called to
857   abort the program when an allocation inconsistency is detected now takes
858   an argument that indicates the type of failure.  The new function
859   `mprobe' lets you request a consistency check for a particular block at
860   any time (checks are normally done only when you call `free' or `realloc'
861   on a block).
863 * It is now possible to easily cross-compile the C library, building on one
864   system a library to run on another machine and/or operating system.  All
865   you need to do is set the variable `HOST_CC' in `configparms' to the
866   native compiler for programs to run on the machine you are building on (a
867   few generator programs are used on Unix systems); set `CC' to the
868   cross-compiler.
870 * The new function `fexecve' (only implemented on the GNU system) executes
871   a program file given a file descriptor already open on the file.
873 Version 1.07
875 * Brendan Kehoe has contributed most of a port to the DEC Alpha
876   running OSF/1 (alpha-dec-osf1).  He says it is 75% complete.
878 * You can set the variable `libprefix' in `configparms' to specify a prefix
879   to be prepended to installed library files; this makes it easy to install
880   the GNU C library to be linked as `-lgnuc' or whatever.
882 * The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
883   copies a limited number of characters from a string, and returns the
884   address of the last character written.
886 * You no longer need to check for whether the installed `stddef.h' is
887   compatible with the GNU C library.  configure now checks for you.
889 * You can now define a per-stream `fileno' function to convert the
890   stream's cookie into an integral file descriptor.
892 * ``malloc (0)'' no longer returns a null pointer.  Instead, it
893   allocates zero bytes of storage, and returns a unique pointer which
894   you can pass to `realloc' or `free'.  The behavior is undefined if
895   you dereference this pointer.
897 * The C library now runs on Sony NEWS m68k machines running either
898   NewsOS 3 or NewsOS 4.
900 * The new `syscall' function is a system-dependent primitive function
901   for invoking system calls.  It has the canonical behavior on Unix
902   systems, including unreliable return values for some calls (such as
903   `pipe', `fork' and `getppid').
905 * The error code `EWOULDBLOCK' is now obsolete; it is always defined
906   to `EAGAIN', which is the preferred name.  On systems whose kernels
907   use two distinct codes, the C library now translates EWOULDBLOCK to
908   EAGAIN in every system call function.
910 Version 1.06
912 * The GNU C Library Reference Manual is now distributed with the library.
913   `make dvi' will produce a DVI file of the printed manual.
914   `make info' will produce Info files that you can read on line using C-h i
915   in Emacs or the `info' program.
916   Please send comments on the manual to bug-glibc-manual@gnu.org.
918 * The library now supports SVR4 on i386s (i386-unknown-sysv4).
920 * Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
922 * Jason Merrill has contributed a port to the Sequent Symmetry running
923   Dynix version 3 (i386-sequent-dynix).
925 * The library has been ported to i386s running SCO 3.2.4 (also known as SCO
926   ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
928 * New function `memory_warnings' lets you arrange to get warnings when
929   malloc is running out of memory to allocate, like Emacs gives you.
931 * The C library now contains the relocating allocator used in Emacs 19 for
932   its editing buffers.  This allocator (ralloc) minimizes allocation
933   overhead and fragmentation by moving allocated regions around whenever it
934   needs to.  You always refer to a ralloc'd region with a "handle" (a
935   pointer to a pointer--an object of type `void **').
937 * There is a new `printf' format: `%m' gives you the string corresponding
938   to the error code in `errno'.
940 * In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
941   or `%[' conversion, but instead of filling in a fixed-sized buffer you
942   pass, the `a' modifier says to fill in a `char **' you pass with a
943   malloc'd string.
945 * The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
946   `FNM_CASEFOLD'.  `FNM_LEADING_DIR' lets a pattern like `foo*' match a
947   name like `foo/bar'.  `FNM_CASEFOLD' says to ignore case in matching.
949 * `mkstemp' is a traditional Unix function to atomically create and open a
950   uniquely-named temporary file.
952 Version 1.05
954 * The standard location for the file that says what the local timezone is
955   has changed again.  It is now `/usr/local/etc/localtime' (or more
956   precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
958 * The distribution no longer contains any files with names longer than 14
959   characters.
961 * `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
962   These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
964 * New functions `ttyslot' and `syslog' from 4.4 BSD.
966 Version 1.04
968 * The configuration process has changed quite a bit.  The `configure'
969   script is now used just like the configuration scripts for other GNU
970   packages.  The `sysdeps' directory hierarchy is much rearranged.
971   The file `INSTALL' explains the new scheme in detail.
973 * The header files no longer need to be processed into ANSI C and
974   traditional C versions.  There is just one set of files to install, and
975   it will work with ANSI or old C compilers (including `gcc -traditional').
977 * Brendan Kehoe and Ian Lance Taylor have ported the library to the
978   MIPS DECStation running Ultrix 4.
980 * The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
981   Tom Quinn contributed the initial code.  The GNU C library can NOT yet be
982   made itself into a shared library.
984 * Yet further improved support for the i386, running 4.3 BSD-like systems
985   (such as Mach 3 with the Unix single-server), or System V.
987 * New function `strncasecmp' to do case-insensitive string comparison
988   with limited length.
990 * New function `strsep' is a reentrant alternative to `strtok'.
992 * New functions `scandir' and `alphasort' for searching directories.
994 * New function `setenv' is a better interface to `putenv'.
996 * Ian Lance Taylor has contributed an implementation of the SVID `ftw'
997   function for traversing a directory tree.
999 * The GNU obstack package is now also part of the C library.
1000   The new function `open_obstack_stream' creates a stdio stream that
1001   writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
1002   formatted output directly to an obstack.
1004 * Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
1005   cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
1007 * `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
1009 * The new functions `strfry' and `memfrob' do mysterious and wonderful
1010   things to your strings.
1012 * There are some new test programs: test-fseek, testmb, and testrand.
1014 * Some work has been done to begin porting the library to 4.4 BSD and Linux.
1015   These ports are not finished, but are a good starting place for really
1016   supporting those systems.
1018 * `/etc/localtime' is now the standard location for the file that says what
1019   the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
1020   This follows the general principle that `/etc' is the place for all local
1021   configuration files.
1023 * The C library header files now use `extern "C"' when used by the C++
1024   compiler, so the C library should now work with C++ code.
1026 * The header file <bstring.h> is gone.  <string.h> now declares bcopy,
1027   bcmp, bzero, and ffs.
1029 * Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
1030   function which uses the `merge sort' algorithm, and is said to be
1031   significantly faster than the old GNU `qsort' function.  Merge sort is
1032   now the standard `qsort' function.  The new algorithm can require a lot
1033   of temporary storage; so, the old sorting function is called when the
1034   required storage is not available.
1036 * The C library now includes Michael Glad's Ultra Fast Crypt, which
1037   provides the Unix `crypt' function, plus some other entry points.
1038   Because of the United States export restriction on DES implementations,
1039   we are distributing this code separately from the rest of the C library.
1040   There is an extra distribution tar file just for crypt; it is called
1041   `glibc-VERSION-crypt.tar.Z', e.g. `glibc-1.04-crypt.tar.Z'.  You can just
1042   unpack the crypt distribution along with the rest of the C library and
1043   build; you can also build the library without getting crypt.  Users
1044   outside the USA can get the crypt distribution via anonymous FTP from
1045   ftp.uni-c.dk [129.142.6.74], or another archive site outside the U.S.
1047 * The code and header files taken from 4.4 BSD have been updated with the
1048   latest files released from Berkeley.
1050 ----------------------------------------------------------------------
1051 Copyright information:
1053 Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
1055    Permission is granted to anyone to make or distribute verbatim copies
1056    of this document as received, in any medium, provided that the
1057    copyright notice and this permission notice are preserved,
1058    thus giving the recipient permission to redistribute in turn.
1060    Permission is granted to distribute modified versions
1061    of this document, or of portions of it,
1062    under the above conditions, provided also that they
1063    carry prominent notices stating who last changed them.
1065 Local variables:
1066 version-control: never
1067 end: