.
[glibc.git] / NEWS
blob035e2326384f0d7794e116e75ea43c2b22be6b03
1 GNU C Library NEWS -- history of user-visible changes.  2007-4-25
2 Copyright (C) 1992-2006, 2007 Free Software Foundation, Inc.
3 See the end for copying conditions.
5 Please send GNU C library bug reports via <http://sources.redhat.com/bugzilla/>
6 using `glibc' in the "product" field.
7 \f
8 Version 2.6.1
10 * The following bugs are resolved with this release:
12   4512, 4514, 4525, 4586, 4702, 4745, 4858
14   Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
17 Version 2.6
19 * New Linux interfaces: epoll_pwait, sched_getcpu.
21 * New generic interfaces: strerror_l.
23 * nscd can now cache the services database.   Implemented by Ulrich Drepper.
26 Version 2.5
28 * For Linux, the sorting of addresses returned by getaddrinfo now also
29   handles rules 3, 4, and 7 from RFC 3484.  I.e., all rules are handled.
30   Implemented by Ulrich Drepper.
32 * Allow system admin to configure getaddrinfo with the /etc/gai.conf file.
33   Implemented by Ulrich Drepper.
35 * New Linux interfaces: splice, tee, sync_file_range, vmsplice.
37 * New iconv module for MIK.  Contributed by Alexander Shopov.
39 * For sites with broken group and/or passwd database, the auto-propagate
40   option of nscd can prevent creating ID lookup entries from the results
41   of a name lookup and vice versa.   This usually is no problem but some
42   site might have problems with the default behavior.
43   Implemented by Ulrich Drepper.
45 * Iterating over entire database in NIS can be slow.  With the
46   SETENT_BATCH_READ option in /etc/default/nss a system admin can decide
47   to trade time for memory.  The entire database will be read at once.
48   Implemented by Ulrich Drepper.
50 * The interfaces introduced in RFC 3542 have been implemented by
51   Ulrich Drepper.
53 * Support for the new ELF hash table format was added by Ulrich Drepper.
55 * Support for priority inheritance mutexes added by Jakub Jelinek and
56   Ulrich Drepper.
58 * Support for priority protected mutexes added by Jakub Jelinek.
60 * New locales: nr_ZA, pa_PK, ca_AD, ca_FR, ca_IT, el_CY, tr_CY, as_IN,
61   or_IN, csb_PL, fy_NL, sr_ME.
63 Version 2.4
65 * More overflow detection functions.
67 * New iconv converters for IBM1025, IBM1122, IBM1137, IBM1153,
68   IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158 contributed by Jiro Sekiba.
70   More converters for IBM803, IBM901, IBM902, IBM921, IBM1008, IBM1097,
71   IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144,
72   IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517,
73   IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712,
74   IBM16804, IBM1364, IBM1371, IBM1388, IBM1390, and IBM1399 contributed
75   by Masahide Washizawa.
77 * It is now possible to install audit libraries for the dynamic linker using
78   LD_AUDIT.  Implemented by Ulrich Drepper.
80 * The LinuxThreads add-on, providing pthreads on Linux 2.4 kernels, is no
81   longer supported.  The new NPTL implementation requires Linux 2.6 kernels.
82   For a libc and libpthread that works well on Linux 2.4 kernels, we
83   recommend using the stable 2.3 branch.
85 * The new function open_wmemstream acts like open_memstream,
86   but uses a wchar_t wide character buffer.
88 * The new function ppoll is an improved version of poll, similar to pselect.
90 * New interfaces: fdopendir, openat, fstatat, fchmodat, fchownat,
91   futimesat, faccessat, mkdirat, mkfifoat, mknodat,
92   renameat, unlinkat, linkat, symlinkat, readlinkat.
94 * New Linux kernel system calls: unshare,
95   inotify_init, inotify_add_watch, inotify_rm_watch.
97 * The euidaccess function is now also known by the alias eaccess,
98   for compatibility with some other systems.
100 * Timezone data updated to 2006b version.
102 Version 2.3.6
104 * The following bugs are resolved with this release:
106   38, 253, 549, 622, 653, 721, 758, 851, 877, 915, 934, 955, 961,
107   1016, 1037, 1076, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086,
108   1087, 1088, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
109   1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109,
110   1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252,
111   1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534
113   Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
115 * As of this release, GCC 4 can be used to compile the C Library.
117 * Timezone data updated to 2005m version.
119 Version 2.3.5
121 * The following bugs are resolved with this release:
123   284, 592, 602, 626, 633, 640, 650, 661, 671, 681, 693, 700, 710, 719,
124   722, 723, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736,
125   737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776,
126   777, 787, 821, 822, 823, 825
128   Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
130 Version 2.3.4
132 * Support for RFC 3678.  Real implementations exist only for Linux so far.
133   Implemented by Ulrich Drepper.
135 * nscd can now cache entries persistently.  Expiring entries are reloaded.
136   For speedups the cache can be shared in memory with client processes.
137   Implemented by Ulrich Drepper.
139 * nscd can now perform SELinux checks.
140   Implemented by Matthew Rickard <mjricka@epoch.ncsc.mil>.
142 * getaddrinfo queries are now cached.  Canonical name lookup is performed
143   efficiently.
144   Implemented by Ulrich Drepper.
146 * The nothrow function attribute is used when headers are used by gcc when
147   compiling C code.  This can avoid significant amounts of exception
148   handling data.
150 * The malloc functions perform more error checking and are stricter when
151   it comes to reacting on errors.  The default action is to terminate
152   the process after showing an error message.  Implemented by Ulrich Drepper.
154 * Reverse lookups of IPv6 addresses does not use bit string or .ip6.int
155   lookups anymore unless explicitly requested.  Implemented by Ulrich Drepper.
157 * Namespaces in ld.so are implemented.  DSOs can be loaded in separate
158   namespaces using the new function dlmopen().  This feature is of course,
159   like most other dynamic loading functionality, not available in statically
160   linked applications.  Implemented by Ulrich Drepper.
162 * Low-overhead boundary checking variants of string and some stdio functions
163   were added.  These are to be used in conjunction with a gcc patch by
164   Jakub Jelinek which adds calls to these functions if possible.
165   Implemented by Jakub Jelinek and Ulrich Drepper.
167 * Old code for several operating systems and machine architectures that
168   have not been in working condition in a long time have been removed from
169   the main source tree maintained by the GNU C Library's maintainers.
170   These files are now reside in the separate `ports' source module
171   that is usable as an add-on when building the library.
173 Version 2.3.3
175 * New functions `dladdr1' and `dlinfo' in <dlfcn.h> provide more ways to
176   interrogate the dynamic linker, compatible with the Solaris interface.
178 * ELF thread-local storage support (TLS) now works on PowerPC and PowerPC64;
179   implemented by Paul Mackerras, Steven Munroe, and Roland McGrath.
181 * getifaddrs now uses the netlink interface on Linux to get its information.
182   Implemented by Thorsten Kukuk.
184 * getaddrinfo now implements AI_V4MAPPED, AI_ALL, and AI_ADDRCONF.
185   Implemented by Ulrich Drepper.
187 * support for non-executable stacks on x86 has been added.  Changes mostly
188   by Roland McGrath.
190 * regex is now much faster for multibyte locales.  Changes by Jakub Jelinek
191   and Ulrich Drepper.
193 * getaddrinfo now performs destination address selection according to
194   RFC 3484.
196 Version 2.3.2
198 * Thread-safe interfaces for many functions that access locale data
199   were added in version 2.3, but these features were omitted from NEWS.
200   Many functions have variants with an `_l' suffix that take a `locale_t'
201   object as a parameter rather than consulting the current locale.
202   The new functions `newlocale', `duplocale', and `freelocale' in <locale.h>
203   create and maintain `locale_t' objects.  Additionally, the new function
204   `uselocale' sets "the current locale" (as used by functions not so
205   parameterized) set for an individual thread.  These features were added
206   in version 2.3, implemented by Ulrich Drepper and Roland McGrath.
208 * The functions getresuid, getresgid, setresuid, and setresgid, which
209   have long been available on Linux, are now declared in <unistd.h>
210   and are now also available on the Hurd.
212 * ELF thread-local storage support (TLS) now works on x86-64.
214 * The new dynamic string token $LIB is expanded in shared library names.
215   This normally expands to lib, but on some 64-bit platforms to lib64 instead.
217 * Aldy Hernandez contributed complete software floating point support for
218   PowerPC machines with no FPU.
220 * fexecve is implemented on Linux.
222 * The `btowc' function should work at least twice as fast due to
223   specialized callbacks in the iconv modules.  Implemented by Bruno Haible.
225 * With approriate thread add-ons cancelable functions are now implemented
226   in libc.so as well.  No need to call the function in libpthread.  This
227   change allowed to finally disable the incorrect and expensive handling
228   of weak definition in ld.so.
230 * Yet more PLT entries in libc.so have been removed.  We finally arrived
231   at the bare minimum.  Startup times improved appropriately.
233 * Support for the new Linux/x86 system call interface was added.  The
234   AT_SYSINFO auxiliary vector entry is recognized and handled.
236 Version 2.3
238 * Masahide Washizawa contributed iconv modules for IBM1163 and IBM1164
239   charsets.
241 * iconv (the program and the interface) now accepts empty names (excluding
242   options like //TRANSLIT) to mean "use charset of current locale".
244 * localedef can now transliterate characters in strings which are not in
245   the provided charmap.  The information from the input locale is used.
247 * Prelinking support was added for ELF targets.  This requires additional
248   tools and recent versions of the GNU binutils.  Contributed by Jakub Jelinek.
250 * Read-only stdio streams now use mmap to speed up operation by eliminating
251   copying and buffer underflows.  To use add 'm' to the mode string of
252   the fopen/fdopen/freopen call.  Implemented by Ulrich Drepper.
254 * The malloc functions were completely rewritten by Wolfram Gloger based
255   on Doug Lea's malloc-2.7.0.c.
257 * Isamu Hasegawa contributed a completely new and POSIX-conformant
258   implementation of regex.
260 * Bruno Haible upgraded the iconv and locale implementation to support
261   Unicode 3.2.
263 * Contents of the LC_* and LANG environment variables in the CEN style are
264   not recognized anymore.   It never was used.  Change by Ulrich Drepper.
266 * The runtime (ld.so, libc, libpthread for Linux) now can handle the ELF
267   thread-local storage (TLS) ABI on some platforms.
268   Changes by Ulrich Drepper.  SH support by Kaz Kojima.
270 * Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
271   EUC-JISX0213, and TSCII.
273 * New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':
274   BSD-compatible interface for getting all network interface addresses.
275   Implementation for IPv4 by Roland McGrath.
277 * Loading of locale data is faster due to the introduction of a locale
278   archive.  Implemented by Roland McGrath and Ulrich Drepper.
280 * Startup times are significantly reduced by not using exported functions
281   inside the library itself.  Changes by Jakub Jelinek, Roland McGrath,
282   and Ulrich Drepper.
284 * Steven Munroe contributed a port to PowerPC64/Linux.
286 Version 2.2.6
288 * The Hurd now uses the GNU libio implementation of stdio rather than the
289   old GNU stdio implementation, and uses a new ABI (libc.so.0.3).
291 * The Hurd on x86 now has the `ioperm' function and <sys/io.h> header file
292   with the same behavior as the Linux system call of the same name.
294 Version 2.2.5
296 * Stephen Moshier implemented log2, log10, powl and cbrtl for the
297   128-bit long double format.
299 * Masahide Washizawa contributed iconv modules for IBM1132, IBM1133, IBM1160,
300   IBM1161, and IBM1162 charsets.
302 * Andreas Jaeger contributed a port to x86-64/Linux.
304 * Peter Bruin contributed a port to PowerPC/Hurd.
306 * libc functions using I/O streams now can handle wide-oriented streams
307   as well.
309 * optimizations in the dynamic linker.  Binaries created by recent binutils
310   versions start up quicker due to reduced time spent on relocations.
312 * Support for use of gcc3 added by Jakub Jelinek and HJ Lu.
314 Version 2.2.4
316 * Stephen Moshier implemented cosh, expm1, log1p, acos, sinh, tanh,
317   asinh, atanh, j0 for the 128-bit long double format.
319 * Bruno Haible updated all the code handling Unicode in some form to
320   support Unicode 3.1.
322 * Speed of regex for single-byte locales is back to previous levels.
323   Patch by Isamu Hasegawa.
325 * Alpha, SPARC, and IA-64 now also using floating stacks.
327 * Startup time of internationalized applications greatly improved through
328   iconv cache.  Use iconvconfig to generate the cache file.
329   Contributed by Ulrich Drepper.
331 * The IA-64 specific part of ld.so was rewritten to eliminate some pretty
332   severe performance problems.  Patch by David Mosberger.
334 * The Hurd port got a lot more functionality like AIO, various stdio
335   extensions, etc.  Mainly done by Roland McGrath.
337 * mtrace can now lookup symbols in shared libraries.
339 Version 2.2.3
341 * Intel's IA-64 math library is largely integrated.  It provides fast and
342   accurate implementatations for most basic and standard math functions
343   in float, double, and long double format.
345 * Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
346   and asin for the 96-bit long double format and asin, log, tan for the
347   128-bit long double format.
349 * The beginning of a last-bit accurate math library by IBM Haifa were added.
350   The basic double functions exist today.  Contributed by Abraham Ziv
351   <ziv@il.ibm.com>, Moshe Olshansky <olshansk@il.ibm.com>, Ealan Henis
352   <ealan@il.ibm.com>, and Anna Reitman <reitman@il.ibm.com>.
354 * An asynchronous name lookup library was added.  The interface is designed
355   after POSIX AIO.  The proposal was circulated beforehand to get comments.
356   No negative ones came in.  Implemented by Ulrich Drepper.
358 * Port to S390/64bit contributed by Martin Schwidefsky
359   <schwidefsky@de.ibm.com>.
361 * David Mosberger <davidm@hpl.hp.com> implemented the setcontext family
362   of functions for Linux/IA-64.
364 * The RPC code is now thread safe.  Threads can now use the same service
365   of different services at the same time.  Patch by Eric Norum
366   <eric.norum@usask.ca> with some help by Ulrich Drepper.
368 * Martin Schwidefsky <schwidefsky@de.ibm.com> implemented the setcontext
369   family of functions for Linux/S390.
371 * Ulrich Drepper <drepper@redhat.com> implemented the setcontext family
372   of functions for Linux/x86.
374 * Port to Linux/CRIS contributed by Axis Communications.
376 Version 2.2.2
378 * Lots of headers were cleaned up.  Using the tool in the conform/ subdir
379   we can now check for namespace violations and missing declarations.  The
380   result is that almost all headers are now Unix-compliant (as defined in
381   the upcoming XPG6).  The negative side is that some programs might need
382   corrections, too, if they depend on the incorrect form of the headers in
383   previous versions which defined too many symbols and included too many
384   other headers.
386 * regex now handles multibyte character sets correctly.
387   Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
389 * iconv (the program) does now conform to the upcoming XPG6 and handles
390   charmaps.  Instead of the charset names the path of charmaps can be
391   provided and the conversion happens based on this data.
392   Contributed by Ulrich Drepper.
394 * The locale program now provides detailed information about the installed
395   locales.  While
397     locale -a
399   only lists the names of the supported locales
401     locale -a --verbose
403   provides details such as country, language, and codeset name.
404   Contributed by Ulrich Drepper.
406 Version 2.2.1
408 * The gencat program now parses the input file according to the charset
409   selected by the LC_CTYPE category.  This is important for stateful
410   character sets.  To make generating catalogs easier there is a way
411   to overwrite the charset selected by the locale: before the first
412   message or $ quote line the catalog can contain a line like
414     $ codeset=ISO-8859-2
416   to select the charset (ISO-8859-2 in this case).
418   Implemented by Shinya Hanataka and Ulrich Drepper.
420 * New codeset conversion modules: IBM-922  (Estonia PC codeset),
421   IBM-1124 (Ukraine PC codeset), IBM-1129 (Vietnamese PC codeset).
422   Contributed by Masahide Washizawa <washi@jp.ibm.com>.
424 * Optimized string functions for Alpha ev6 and ev67 by Richard Henderson
425   <rth@redhat.com> and Rick Gorton <rick.gorton@alpha-processor.com>.
427 * The LANGUAGE environment variable is now ignored unless the locale is
428   changed from the default "C" locale.
430 * The usual bug fixes.
432 Version 2.2
434 * Greg McGary added runtime support for bounds checking using gcc's
435   new -fbounded-pointers option.  ix86 target is complete.  PowerPC
436   is in progress.
438 * Thorsten Kukuk added secure mode support to nscd.
440 * The Berkeley db libraries have been removed.
442   Related, the nss_db module is now in a separate package since it
443   obviously requires a database library being available.
445 * Wide character I/O streams implemented by Ulrich Drepper.
447 * Functions from the extended socket API added by Ulrich Drepper.
449 * Functions feenableexcept and fedisableexcept to control the
450   behaviour of individual exceptions have been added by Andreas Jaeger.
452 * ldconfig program added by Andreas Jaeger and Jakub Jelinek.
454 * The resolver code has been updated from bind 8.2.3-T5B which supports
455   threads.  The integration was done by Andreas Jaeger, Adam D. Bradley,
456   and Mark Kettenis.
458   This change could in some situations effect backward compatibility.  Since
459   now `_res' is a thread-local instead of a global variable, modifying it
460   in one thread does not have any effect in other threads.
462   The resolver library was also extended to allow IPv6 as the transport
463   protocol for the requests.  This work was done by Stig Venaas.
465 * Compatibility code for K&R C compilers has been removed from the
466   header files.  A ISO C compiler is needed to use the library
467   (conforming to either C89 or C99 standard).
469 * Complete rewrite of the localedef program to support multibyte character
470   sets.  Implement handling of ISO 14651 and ISO 14652.  Rewrite strcoll,
471   strxfrm, wcscoll, and wcsxfrm functions.  Make isw*() functions work.
472   Implemented by Ulrich Drepper.
474   Bruno Haible significantly improved the generation and use of the data
475   structures for the wide character tables.
477 * Plural handling in gettext implemented by Ulrich Drepper.
479 * The utmp daemon has been removed.
481 * The port to MIPS-Linux has been finished by Andreas Jaeger.
483 * A port to Hitachi SH3 and SH4 has been contributed by Kazumoto Kojima
484   and Yutaka Niibe.
486 * POSIX clocks and timers implemented by Kaz Kylheku and Ulrich Drepper.
488 * POSIX barriers implemented by Kaz Kylheku.
490 * POSIX spawn function family implemented by Ulrich Drepper.
492 * POSIX spinlocks are now available.
494 * Timed wait functions for mutex, rwlock, and semaphores are implemented.
496 * the configure option --enable-kernel=X.Y.Z allows to strip out
497   compatibility for kernel versions before X.Y.Z.  This is currently only
498   implemented for Linux.
500 * the sockaddr_in6 structure changed.  The IPv6 working group added a new
501   field sin6_scope_id.  This means that all programs using IPv6 should be
502   recompiled.  Don't expect binary compatibility with previous glibc
503   versions.
505 * various conversion modules for IBM character sets contributed by
506   Masahide Washizawa.
508 * IA-64 port by Jes Sorensen and HJ Lu.
510 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
511 Compiling the GNU C Library for Linux/ia64
512 ******************************************
514    Please refer to the file INSTALL in the same directory as you found
515 this file for general information about configuring and compiling
516 glibc.
518    For general inquiries about glibc under Linux/ia64 please use the
519 following mailing list linux-ia64@linuxia64.org or one of the relevant
520 glibc mailing lists.
522 Recommended Tools for Compilation
523 =================================
525    In order for glibc-2.2 to build correctly on the ia64 you need at
526 least the following versions of the GNU tools (the :
528    * The Cygnus toolchain snapshot for the ia64 as of August 4
529      including the provided set of patches.  It is however recommend
530      you use the October 24 toolchain snapshot or a more recent version.
532    OR alternatively you can try the following (the Cygnus toolchain is
533    the recommended solution):
535    * GCC and binutils, GAS and GNU LD out of CVS from
536      sources.redhat.com as of August 28, 2000 or later.  The CVS tree
537      may require special patches to work properly on the ia64.
539 Configuring and compiling GNU Libc for Linux/ia64
540 =================================================
542    The library requires Linux kernel version 2.4.0-test4-000728 or
543 later to funtion properly. Besides that it support for debug libraries
544 is currently untested. Hence the following options
545 are required for configuring the library:
547    --disable-debug --enable-kernel=2.4.0
549    It is also important that you make sure the library picks up the
550 appropriate kernel header files, if you do not have recent enough
551 kernel headers in /usr/src/linux/include, you should use the
552 --with-headers=<path> option to specify the location.
554    As an example I personally use the following options to configure
555 the library:
557    --disable-debug
558    --disable-cvs
559    --enable-kernel=2.4.0
560    --host=ia64-linux
561    --enable-add-ons=yes
562    --prefix=/usr
563    --with-headers=/home/jes/linux/include
566 Good luck
568 Jes Sorensen <jes@linuxcare.com>,
569 November 14th, 2000
570 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
572 Version 2.1.3
574 * bug fixes
577 Version 2.1.2
579 * bug fixes
582 Version 2.1.1
584 * New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
586 * New xdr functions are added; some rpc functions are now 64bit clean.
588 * Fixed a number of bugs and memory leaks (especially in NIS+ code).
590 * Fixed known incompatibilities with glibc 2.0.
592 * New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
594 * Optimized a number of functions (especially the ELF dynamic loader).
596 * Update timezone data files.
598 * lots of charmaps corrections
600 * some new locale definitions and charmaps
603 Version 2.1
605 * Richard Henderson corrected size of struct timeval on Linux/Alpha to
606   conform to POSIX member type requirements.  Symbol versions have been
607   adjusted as needed within the library, and for direct use by applications,
608   but there is potential for problems if third-party libraries use
609   struct timeval as part of their interface.  This does not present
610   a problem for X and other "essential" system libraries.
612 * An additional locale model to support C++ Standard Library locale
613   model and probably more was implemented by Ulrich Drepper.
615 * Eric Youngdale and Ulrich Drepper implemented versioning of objects on
616   symbol level.
618 * Miles Bader provided the `argp' function family to support hierachical
619   command line argument parsing, layered on top of getopt.
621 * strtod accepts new hexadecimal floating-point format from ISO C 9X.
623 * printf has two new specifiers %a and %A to print hexadecimal flaoting-point
624   numbers.
626 * scanf recognizes the %a and %A format for scanning floating point numbers.
628 * the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
629   information and interfaces for the available integer types.
631 * about 130 new math functions were added to implement the ISO C9x math
632   library.
634 * the new header <complex.h> contains definitions of the complex math
635   functions from ISO C 9X.
637 * the new header <tgmath.h> defines generic macros to use complex or
638   real valued functions.
640 * Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
642 * Andreas Jaeger provided a test suite for the math library.
644 * Mark Kettenis implemented the utmpx interface and an utmp daemon.
646 * Ulrich Drepper added character set conversion functions (iconv).
648 * Optimized string functions have been added.
650 * The localedata addon is now part of glibc.
652 * An implementation of profiling shared libraries was added by Ulrich Drepper.
654 * Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
655   daemon for NSS (nscd).
657   Missing a better place here are some numbers on improvements.  Under
658   Linux 2.1.125 un-tar-ing the kernel sources takes
660                                   user  system     wall
662     using local files           12.19s   6.88s   22.91s
664     using NIS                   13.92s   8.91s   26.34s
666     using NIS & nscd            10.37s   7.34s   25.30s
668     using NIS+                  27.57s  30.37s  640.46s
670     using NIS+ & nscd           10.25s   7.83s   26.51s
672     using NIS & old nscd [1]    13.83s   8.32s   29.60s
674   Keep in mind that non-namelookup related operations dominate above times.
675   It was just a common complain that using NIS+ unpacking the kernel is
676   horribly slow.
678   [1] The old nscd implementation is not available anymore since it was
679   distributed with glibc up to version 2.0.98 and thus is now replaced.
681 * Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
683 * Mark Kettenis provided a Hesiod NSS module.
685 * The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
686   and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
688 * rcmd can now handle netgroups (Dick Streefland).
690 * A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
691   Bambrough.
693 * Support for the IPv6 protocol has been added to the socket API, as per the
694   latest draft standards.
696 * Support for Linux 2.2 has been added.
698 * Interface changes relative to the latest 2.0.x release:
699 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
700 addseverity                     NEW: Unix98
701 alphasort64                     NEW: LFS
702 argp_err_exit_status            NEW: argp, GNU ext
703 argp_error                      NEW: argp, GNU ext
704 argp_failure                    NEW: argp, GNU ext
705 argp_help                       NEW: argp, GNU ext
706 argp_parse                      NEW: argp, GNU ext
707 argp_program_bug_address        NEW: argp, GNU ext
708 argp_program_version            NEW: argp, GNU ext
709 argp_program_version_hook       NEW: argp, GNU ext
710 argp_state_help                 NEW: argp, GNU ext
711 argp_usage                      NEW: argp, GNU ext
712 authdes_create                  NEW: Secure RPC
713 authdes_getucred                NEW: Secure RPC
714 authdes_pk_create               NEW: Secure RPC
715 backtrace                       NEW: GNU ext.
716 backtrace_symbols               NEW: GNU ext.
717 backtrace_symbols_fd            NEW: GNU ext.
718 cacos                           NEW: ISO C 9x
719 cacosf                          NEW: ISO C 9x
720 cacosh                          NEW: ISO C 9x
721 cacoshf                         NEW: ISO C 9x
722 cacoshl                         NEW: ISO C 9x
723 cacosl                          NEW: ISO C 9x
724 capget                          NEW: kernel
725 capset                          NEW: kernel
726 carg                            NEW: ISO C 9x
727 cargf                           NEW: ISO C 9x
728 cargl                           NEW: ISO C 9x
729 casin                           NEW: ISO C 9x
730 casinf                          NEW: ISO C 9x
731 casinh                          NEW: ISO C 9x
732 casinhf                         NEW: ISO C 9x
733 casinhl                         NEW: ISO C 9x
734 casinl                          NEW: ISO C 9x
735 catan                           NEW: ISO C 9x
736 catanf                          NEW: ISO C 9x
737 catanh                          NEW: ISO C 9x
738 catanhf                         NEW: ISO C 9x
739 catanhl                         NEW: ISO C 9x
740 catanl                          NEW: ISO C 9x
741 cbc_crypt                       NEW: Secure RPC
742 ccos                            NEW: ISO C 9x
743 ccosf                           NEW: ISO C 9x
744 ccosh                           NEW: ISO C 9x
745 ccoshf                          NEW: ISO C 9x
746 ccoshl                          NEW: ISO C 9x
747 ccosl                           NEW: ISO C 9x
748 cexp                            NEW: ISO C 9x
749 cexpf                           NEW: ISO C 9x
750 cexpl                           NEW: ISO C 9x
751 cimag                           NEW: ISO C 9x
752 cimagf                          NEW: ISO C 9x
753 cimagl                          NEW: ISO C 9x
754 clearerr_locked                 REMOVED
755 clntunix_create                 NEW: sunrpc ext
756 clog                            NEW: ISO C 9x
757 clog10                          NEW: ISO C 9x
758 clog10f                         NEW: ISO C 9x
759 clog10l                         NEW: ISO C 9x
760 clogf                           NEW: ISO C 9x
761 clogl                           NEW: ISO C 9x
762 conj                            NEW: ISO C 9x
763 conjf                           NEW: ISO C 9x
764 conjl                           NEW: ISO C 9x
765 cpow                            NEW: ISO C 9x
766 cpowf                           NEW: ISO C 9x
767 cpowl                           NEW: ISO C 9x
768 cproj                           NEW: ISO C 9x
769 cprojf                          NEW: ISO C 9x
770 cprojl                          NEW: ISO C 9x
771 creal                           NEW: ISO C 9x
772 crealf                          NEW: ISO C 9x
773 creall                          NEW: ISO C 9x
774 creat64                         NEW: LFS
775 csin                            NEW: ISO C 9x
776 csinf                           NEW: ISO C 9x
777 csinh                           NEW: ISO C 9x
778 csinhf                          NEW: ISO C 9x
779 csinhl                          NEW: ISO C 9x
780 csinl                           NEW: ISO C 9x
781 csqrt                           NEW: ISO C 9x
782 csqrtf                          NEW: ISO C 9x
783 csqrtl                          NEW: ISO C 9x
784 ctan                            NEW: ISO C 9x
785 ctanf                           NEW: ISO C 9x
786 ctanh                           NEW: ISO C 9x
787 ctanhf                          NEW: ISO C 9x
788 ctanhl                          NEW: ISO C 9x
789 ctanl                           NEW: ISO C 9x
790 des_setparity                   NEW: Secure RPC
791 ecb_crypt                       NEW: Secure RPC
792 endutxent                       NEW: Unix98
793 exp10                           NEW: ISO C 9x
794 exp10f                          NEW: ISO C 9x
795 exp10l                          NEW: ISO C 9x
796 exp2                            NEW: ISO C 9x
797 exp2f                           NEW: ISO C 9x
798 exp2l                           NEW: ISO C 9x
799 fattach                         NEW: STREAMS
800 fdetach                         NEW: STREAMS
801 fdim                            NEW: ISO C 9x
802 fdimf                           NEW: ISO C 9x
803 fdiml                           NEW: ISO C 9x
804 feclearexcept                   NEW: ISO C 9x
805 fegetenv                        NEW: ISO C 9x
806 fegetexceptflag                 NEW: ISO C 9x
807 fegetround                      NEW: ISO C 9x
808 feholdexcept                    NEW: ISO C 9x
809 feof_locked                     REMOVED
810 feraiseexcept                   NEW: ISO C 9x
811 ferror_locked                   REMOVED
812 fesetenv                        NEW: ISO C 9x
813 fesetexceptflag                 NEW: ISO C 9x
814 fesetround                      NEW: ISO C 9x
815 fetestexcept                    NEW: ISO C 9x
816 feupdateenv                     NEW: ISO C 9x
817 fflush_locked                   REMOVED
818 ffsl                            NEW: GNU ext.
819 ffsll                           NEW: GNU ext.
820 fgetpos64                       NEW: LFS
821 fgets_unlocked                  NEW: GNU ext.
822 fileno_locked                   REMOVED
823 fma                             NEW: ISO C 9x
824 fmaf                            NEW: ISO C 9x
825 fmal                            NEW: ISO C 9x
826 fmax                            NEW: ISO C 9x
827 fmaxf                           NEW: ISO C 9x
828 fmaxl                           NEW: ISO C 9x
829 fmin                            NEW: ISO C 9x
830 fminf                           NEW: ISO C 9x
831 fminl                           NEW: ISO C 9x
832 fmtmsg                          NEW: Unix98
833 fopen64                         NEW: LFS
834 fputc_locked                    REMOVED
835 fputs_unlocked                  NEW: GNU ext.
836 fread_unlocked                  NEW: GNU ext.
837 freopen64                       NEW: LFS
838 fseeko                          NEW: Unix98
839 fsetpos64                       NEW: LFS
840 fstatfs64                       NEW: LFS
841 fstatvfs                        NEW: Unix98
842 fstatvfs64                      NEW: LFS
843 ftello                          NEW: Unix98
844 ftello64                        NEW: LFS
845 ftruncate64                     NEW: LFS
846 ftw64                           NEW: LFS
847 fwrite_unlocked                 NEW: GNU ext.
848 gai_strerror                    NEW: IPv6
849 gamma_r                         REMOVED
850 gammaf_r                        REMOVED
851 gammal_r                        REMOVED
852 getchar_locked                  REMOVED
853 getdate                         NEW: Unix98
854 getdate_err                     NEW: Unix98
855 getdate_r                       NEW: GNU ext.
856 getmsg                          NEW: STREAMS
857 getnameinfo                     NEW: IPv6
858 getnetname                      NEW: Secure RPC
859 getpmsg                         NEW: STREAMS
860 getpt                           NEW: Unix98 PTY
861 getrlimit64                     NEW: LFS
862 getutxent                       NEW: Unix98
863 getutxid                        NEW: Unix98
864 getutxline                      NEW: Unix98
865 glob64                          NEW: GNU ext.
866 globfree64                      NEW: GNU ext.
867 gnu_get_libc_release            NEW: GNU ext.
868 gnu_get_libc_version            NEW: GNU ext.
869 grantpt                         NEW: Unix98 PTY
870 host2netname                    NEW: Secure RPC
871 iconv                           NEW: iconv
872 iconv_close                     NEW: iconv
873 iconv_open                      NEW: iconv
874 if_freenameindex                NEW: IPv6
875 if_indextoname                  NEW: IPv6
876 if_nameindex                    NEW: IPv6
877 if_nametoindex                  NEW: IPv6
878 in6addr_any                     NEW: IPv6
879 in6addr_loopback                NEW: IPv6
880 inet6_isipv4mapped              NEW: IPv6
881 isastream                       NEW: STREAMS
882 iswblank                        NEW: GNU ext.
883 key_decryptsession              NEW: Secure RPC
884 key_decryptsession_pk           NEW: Secure RPC
885 key_encryptsession              NEW: Secure RPC
886 key_encryptsession_pk           NEW: Secure RPC
887 key_gendes                      NEW: Secure RPC
888 key_get_conv                    NEW: Secure RPC
889 key_secretkey_is_set            NEW: Secure RPC
890 key_setnet                      NEW: Secure RPC
891 key_setsecret                   NEW: Secure RPC
892 llrint                          NEW: ISO C 9x
893 llrintf                         NEW: ISO C 9x
894 llrintl                         NEW: ISO C 9x
895 llround                         NEW: ISO C 9x
896 llroundf                        NEW: ISO C 9x
897 llroundl                        NEW: ISO C 9x
898 log2                            NEW: ISO C 9x
899 log2f                           NEW: ISO C 9x
900 log2l                           NEW: ISO C 9x
901 lrint                           NEW: ISO C 9x
902 lrintf                          NEW: ISO C 9x
903 lrintl                          NEW: ISO C 9x
904 lround                          NEW: ISO C 9x
905 lroundf                         NEW: ISO C 9x
906 lroundl                         NEW: ISO C 9x
907 lseek64                         NEW: LFS
908 makecontext                     NEW: Unix98
909 mempcpy                         NEW: GNU ext.
910 mmap64                          NEW: LFS
911 moncontrol                      REMOVED
912 modify_ldt                      NEW: kernel
913 nan                             NEW: ISO C 9x
914 nanf                            NEW: ISO C 9x
915 nanl                            NEW: ISO C 9x
916 nearbyint                       NEW: ISO C 9x
917 nearbyintf                      NEW: ISO C 9x
918 nearbyintl                      NEW: ISO C 9x
919 netname2host                    NEW: Secure RPC
920 netname2user                    NEW: Secure RPC
921 nexttoward                      NEW: ISO C 9x
922 nexttowardf                     NEW: ISO C 9x
923 nexttowardl                     NEW: ISO C 9x
924 nftw                            NEW: Unix98
925 nftw64                          NEW: LFS
926 open64                          NEW: LFS
927 passwd2des                      NEW: Secure RPC
928 pow10                           NEW: GNU ext.
929 pow10f                          NEW: GNU ext.
930 pow10l                          NEW: GNU ext.
931 pread                           NEW: Unix98
932 pread64                         NEW: LFS
933 printf_size                     NEW: GNU ext.
934 printf_size_info                NEW: GNU ext.
935 profil_counter                  REMOVED
936 pthread_mutexattr_getkind_np    REPLACED
937 pthread_mutexattr_setkind_np    REPLACED
938 ptsname                         NEW: Unix98 PTY
939 ptsname_r                       NEW: Unix98 PTY
940 putc_locked                     REMOVED
941 putchar_locked                  REMOVED
942 putgrent                        NEW: GNU ext.
943 putmsg                          NEW: STREAMS
944 putpmsg                         NEW: STREAMS
945 pututxline                      NEW: Unix98
946 pwrite                          NEW: Unix98
947 pwrite64                        NEW: LFS
948 readdir64                       NEW: LFS
949 readdir64_r                     NEW: LFS
950 remquo                          NEW: ISO C 9x
951 remquof                         NEW: ISO C 9x
952 remquol                         NEW: ISO C 9x
953 round                           NEW: ISO C 9x
954 roundf                          NEW: ISO C 9x
955 roundl                          NEW: ISO C 9x
956 rtime                           NEW: GNU ext.
957 scalbln                         NEW: ISO C 9x
958 scalblnf                        NEW: ISO C 9x
959 scalblnl                        NEW: ISO C 9x
960 scandir64                       NEW: LFS
961 sendfile                        NEW: kernel
962 setcontext                      NEW: Unix98
963 setrlimit64                     NEW: LFS
964 setutxent                       NEW: Unix98
965 sighold                         NEW: Unix98
966 sigignore                       NEW: Unix98
967 sigqueue                        NEW: POSIX.1b
968 sigrelse                        NEW: Unix98
969 sigset                          NEW: POSIX.1b
970 sigtimedwait                    NEW: POSIX.1b
971 sigwaitinfo                     NEW: POSIX.1b
972 sincos                          NEW: GNU ext.
973 sincosf                         NEW: GNU ext.
974 sincosl                         NEW: GNU ext.
975 statfs64                        NEW: LFS
976 statvfs                         NEW: Unix98
977 statvfs64                       NEW: LFS
978 strcasestr                      NEW: GNU ext.
979 strtoimax                       NEW: ISO C 9x
980 strtoumax                       NEW: ISO C 9x
981 strverscmp                      NEW: GNU ext.
982 svcauthdes_stats                NEW: Secure RPC
983 svcunix_create                  NEW: sunrpc etx
984 svcunixfd_create                NEW: sunrpc ext
985 swapcontext                     NEW: Unix98
986 tcgetsid                        NEW: Unix98 PTY
987 tdestroy                        NEW: GNU ext.
988 tgamma                          NEW: ISO C 9x
989 tgammaf                         NEW: ISO C 9x
990 tgammal                         NEW: ISO C 9x
991 tmpfile64                       NEW: LFS
992 trunc                           NEW: ISO C 9x
993 truncate64                      NEW: LFS
994 truncf                          NEW: ISO C 9x
995 truncl                          NEW: ISO C 9x
996 umount2                         NEW: kernel
997 unlockpt                        NEW: Unix98 PTY
998 updwtmpx                        NEW: Unix98
999 user2netname                    NEW: Secure RPC
1000 utmpxname                       NEW: Unix98
1001 versionsort                     NEW: GNU ext.
1002 versionsort64                   NEW: GNU ext.
1003 waitid                          NEW: Unix98
1004 wcscasecmp                      NEW: GNU ext.
1005 wcsncasecmp                     NEW: GNU ext.
1006 wcsnlen                         NEW: GNU ext.
1007 wcstoimax                       NEW: ISO C 9x
1008 wcstoll                         NEW: ISO C 9x
1009 wcstoull                        NEW: ISO C 9x
1010 wcstoumax                       NEW: ISO C 9x
1011 wcswcs                          NEW: Unix98
1012 wordexp                         NEW: POSIX.2
1013 wordfree                        NEW: POSIX.2
1014 write_profiling                 REMOVED
1015 xdecrypt                        NEW: Secure RPC
1016 xdr_authdes_cred                NEW: Secure RPC
1017 xdr_authdes_verf                NEW: Secure RPC
1018 xdr_cryptkeyarg                 NEW: Secure RPC
1019 xdr_cryptkeyarg2                NEW: Secure RPC
1020 xdr_cryptkeyres                 NEW: Secure RPC
1021 xdr_getcredres                  NEW: Secure RPC
1022 xdr_key_netstarg                NEW: Secure RPC
1023 xdr_key_netstres                NEW: Secure RPC
1024 xdr_keybuf                      NEW: Secure RPC
1025 xdr_keystatus                   NEW: Secure RPC
1026 xdr_netnamestr                  NEW: Secure RPC
1027 xdr_sizeof                      NEW: Secure RPC
1028 xdr_unixcred                    NEW: sunrpc ext
1029 xencrypt                        NEW: Secure RPC
1030 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1032 Version 2.0.6
1034 * more bug fixes
1037 Version 2.0.5
1039 * more bug fixes
1041 * inet_ntoa is thread-safe
1043 * updwtmp is moved from libutil to libc
1045 * rewrite of cbrt function
1047 * update of timezone data
1049 Version 2.0.4
1051 * more bug fixes
1053 Version 2.0.3
1055 * more bug fixes
1057 Version 2.0.2
1059 * more bug fixes
1061 * add atoll function
1063 * fix complex problems in Berkeley DB code
1065 * fix math functions
1067 Version 2.0.1
1069 * fixed lots of header problems (especially Linux/GNU specific)
1071 * dynamic loader preserves all registers
1073 * Roland McGrath provided support for handling of auxiliary objects in
1074   the ELF dynamic loader.
1076 * support for parallel builds is improved
1078 Version 2.0
1080 * GNU extensions are no longer declared by default.  To enable them you
1081   must define the macro `_GNU_SOURCE' in your program or compile with
1082   `-D_GNU_SOURCE'.
1084 * The library has changed from using GNU ld symbol aliases to using weak
1085   symbols where available.  The ELF object file format supports weak
1086   symbols; GNU ld also supports weak symbols in the a.out format.  (There
1087   is also now support for other GNU ld extensions in ELF.  Use the
1088   `--with-elf' option to configure to indicate you have ELF, and
1089   `--with-gnu-ld' if using GNU ld.)  This change resulted in the deletion
1090   of many files which contained only symbol aliases, reducing the size of
1091   the source and the compiled library; many other files were renamed to
1092   less cryptic names previously occupied by the symbol alias files.
1093   There is a new header file <elf.h> for programs which operate on
1094   files in the ELF format.
1096 * Converted to Autoconf version 2, so `configure' has more options.
1097   Run `configure --help' to see the details.
1099 * The library can now be configured to build profiling, highly-optimized
1100   (but undebuggable), and/or shared libraries (ELF with GNU ld only).  The
1101   `--enable-profile', `--enable-omitfp', and `--enable-shared' options to
1102   `configure' enable building these extra libraries.  The shared library is
1103   built by default when using both ELF and GNU ld.  When shared libraries
1104   are enabled, the new library `-ldl' is available for arbitrary run-time
1105   loading of shared objects; its interface is defined in <dlfcn.h>.  The
1106   new header file <link.h> gives access to the internals of the run-time
1107   dynamic linker, `ld.so'.  The shell script `ldd' is similar to the
1108   application of same name on other systems and it provides information
1109   about dynamically linked binaries.
1111 * The C library now provides the run-time support code for profiling
1112   executables compiled with `-pg'.  Programs can control the profiling code
1113   through the interface in <sys/gmon.h>.  The `gmon.out' files written by
1114   the GNU C library can be read only by GNU `gprof' (from GNU binutils);
1115   the support for this file format was contributed by David Mosberger-Tang.
1117 * The math code has been replaced with a math library based on fdlibm from
1118   Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
1119   Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
1120   functions.  The math functions now reside in a separate library,  so
1121   programs using them will need to use `-lm' their linking commands.
1123 * John C. Bowman contributed optimized ix87 assembler inline functions.
1125 * Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
1126   mechanism similar to that found in Solaris 2.  This is now used for the
1127   group, passwd, hosts, networks, services, protocols, rpc, ethers,
1128   shadow, netgroup, publickey, and alias databases.  The `nsswitch.conf'
1129   file controls what services are used for each individual database.  This
1130   works by loading shared libraries with names specified in `nsswitch.conf',
1131   so service modules can be changed or added at any time without even
1132   relinking any program.  Currently there are the file, db, and NIS based
1133   NSS services available.
1135 * The new functions `strtoq' and `strtouq' parse integer values from
1136   strings, like `strtol' and `strtoul', but they return `long long int' and
1137   `unsigned long long int' values, respectively (64-bit quantities).
1139 * The new functions `strtof' and `strtold' parse floating-point values from
1140   strings, like `strtod', but they return `float' and `long double' values,
1141   respectively (on some machines `double' and `long double' are the same).
1143 * Ulrich Drepper has contributed new implementations of the floating-point
1144   printing and reading code used in the `printf' family of functions and
1145   `strtod', `strtof', and `strtold'.  These new functions are perfectly
1146   accurate, and much faster than the old ones.
1148 * The implementation of the POSIX locale model was completely rewritten by
1149   Ulrich Drepper.  This includes the new programs `localedef' and `locale'
1150   to compile the POSIX locale definition.
1152 * The former dummy implementations of the strcoll and strxfrm function are
1153   now replaced by fully functional code contributed by Ulrich Drepper.  The
1154   collation information comes from the POSIX locale definitions.
1156 * The new header <langinfo.h> defines an interface for accessing
1157   various locale-dependent data (using the locale chosen with `setlocale').
1159 * Ulrich Drepper has contributed a new suite of functions for operation on
1160   wide-character and multibyte-character strings, in <wchar.h>;
1161   and classification and case conversion of wide characters, in <wctype.h>.
1162   These new functions are conforming to the ISO C, Amendement 1 specification.
1164 * There is now a second implementation of the standard I/O library available.
1165   It comes from GNU libg++ as was written by Per Bothner, heavily modified
1166   by Hongjiu Lu and made thread safe by Ulrich Drepper.
1168 * You can now use positional parameter specifications in format strings
1169   for the `printf' and `scanf' families of functions.  For example,
1170   `printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
1171   ``Number 6, Mr Jones''.  This is mainly useful when providing different
1172   format strings for different languages, whose grammars may dictate
1173   different orderings of the values being printed.  To support this
1174   feature, the interface for `register_printf_handler' has changed; see
1175   the header file <printf.h> for details.
1177 * The `printf' and `scanf' families of functions now understand a new
1178   formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
1179   to group numbers as indicated by the locale; for `scanf' and friends, this
1180   says to accept as valid only a number with all the proper grouping
1181   separators in the right places.  In the default "C" locale, numbers are
1182   not grouped; but locales for specific countries will define the usual
1183   conventions (i.e. separate thousands with `,' in the US locale).
1185 * The pgrp functions have been regularized, slightly incompatibly but much
1186   less confusingly.  The core functions are now `getpgid' and `setpgid',
1187   which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
1188   argument) and BSD `setpgrp' (identical to `setpgid') functions are
1189   provided for compatibility.  There is no longer an incompatible `getpgrp'
1190   with an argument declared under _BSD_SOURCE; no BSD code uses it.
1192 * The new header file <fts.h> and suite of functions simplify programs that
1193   operate on directory trees.  This code comes from 4.4 BSD.
1195 * The resolver code has been updated from the BIND 4.9.5-P1 release.
1196   Parts of the code were heavily modified by Ulrich Drepper to fit in the
1197   NSS scheme used in glibc.
1199 * There is a new malloc debugging hook `__memalign_hook'.
1201 * There are new typedefs `ushort' for `unsigned short int' and `uint' for
1202   `unsigned int' in <sys/types.h>.  These are for compatibility only and
1203   their use is discouraged.
1205 * The `-lmcheck' library to enable standard malloc debugging hooks is now
1206   done differently, so that it works even without GNU ld.
1208 * New function `euidaccess' checks allowed access to a file like `access',
1209   but using the effective IDs instead of the real IDs.
1211 * The time zone data files have been updated for the latest and greatest
1212   local time conventions of the countries of the world.
1214 * The new function `dirfd' extracts the file descriptor used by a DIR stream;
1215   see <dirent.h>.
1217 * The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
1218   for formatting floating-point numbers.  They are provided only for
1219   compatibility; new programs should use `sprintf' instead.  There are
1220   also equivalent function for the `long double' floating-point type and
1221   all functions also exist in a reentrant form.
1223 * The new auxiliary library `-lutil' from 4.4 BSD contains various
1224   functions for maintaining the login-record files (primarily of use to
1225   system programs such as `login'), and convenient functions for
1226   allocating and initializing a pseudo-terminal (pty) device.
1228 * Ulrich Drepper has contributed new support for System V style
1229   shared memory and IPC on systems that support it.
1231 * Ulrich Drepper has contributed several miscellaneous new functions found
1232   in System V: The `hsearch' family of functions provide an effective
1233   implementation of hash tables; `a64l' and `l64a' provide a very simple
1234   binary to ASCII mapping; `drand48' and friends provide a 48-bit random
1235   number generator.
1237 * Ulrich Drepper has contributed new reentrant counterparts for the
1238   `random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
1240 * Ulrich Drepper has contributed new, highly-optimized versions of several
1241   string functions for the i486/Pentium family of processors.
1243 * Ulrich Drepper has updated the Linux-specific code, based largely
1244   on work done in Hongjiu Lu's version of GNU libc for Linux.
1245   The GNU library now supports Linux versions 2.0.10 and later,
1246   using the ELF object file format (i[3456]86-*-linux).
1248 * Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
1250 * David Mosberger-Tang and Richard Henderson have ported the C library
1251   to Linux/Alpha (alpha-*-linux).  Richard Henderson contributed the
1252   dynamic linking support for ELF/Alpha.
1254 * Richard Henderson contributed several Alpha optimized assembler function
1255   for arithmetic and string handling.
1257 * Ulrich Drepper has contributed a new set of message catalog functions to
1258   support multiple languages using the <libintl.h> interface, for use with
1259   his new package GNU gettext.  Translation volunteers have contributed
1260   catalogs of the library's messages in Spanish, German, and Korean.
1262 * For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
1263   program and the `catgets' function for reading the catalog files it
1264   creates.  (The <libintl.h> interface is preferred; we include the
1265   <nl_types.h> interface using `catgets' only for source compatibility with
1266   programs already written to use it.)
1268 * New header file <values.h> gives SVID-compatible names for <limits.h>
1269   constants.
1271 * Various new macros, declarations, and small header files for compatibility
1272   with 4.4 BSD.
1274 * New function `group_member' is a convenient way to check if a process has
1275   a given effective group ID.
1277 * When using GCC 2.7 and later, the socket functions are now declared in a
1278   special way so that passing an argument of type `struct sockaddr_in *',
1279   `struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
1280   `struct sockaddr *' type, does not generate a type-clash warning.
1282 * New function `error' declared in header file <error.h> is a convenient
1283   function for printing error messages and optionally exiting; this is the
1284   canonical function used in GNU programs.  The new functions `err', `warn',
1285   and friends in header file <err.h> are the canonical 4.4 BSD interface for
1286   doing the same thing.
1288 * The <glob.h> interface has several new flags from 4.4 BSD that extend the
1289   POSIX.2 `glob' function to do ~ and {...} expansion.
1291 * New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
1292   `clearenv' which is used in POSIX.9 is also available.
1294 * New function `getsid' returns session ID number on systems that support it.
1296 * We have incorporated the 4.4 BSD `db' library (version 1.85).  New header
1297   files <db.h> and <mpool.h> provide a rich set of functions for several
1298   types of simple databases stored in memory and in files, and <ndbm.h> is
1299   an old `ndbm'-compatible interface using the `db' functions.  Link with
1300   `-ldb' to get these functions.
1302 * New macro `strdupa' copies a string like `strdup', but uses local stack
1303   space from `alloca' instead of dynamic heap space from `malloc'.
1305 * New function `strnlen' is like `strlen' but searches only a given maximum
1306   number of characters for the null terminator.  `stpncpy', `strndup' and
1307   `strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
1308   function.
1310 * New function `statfs' in header <sys/statfs.h>.
1312 * The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
1313   provide convenient functions for operating on blocks of null-terminated
1314   strings.
1316 * A new suite of functions in <utmp.h> handle all the details of reading
1317   and writing the utmp file.
1319 * An implementation of the NIS/YP(tm) based NSS service was contributed by
1320   Thorsten Kukuk.
1322 * Paul Eggert and Ulrich Drepper modified the `strftime' function to be
1323   completely POSIX compliant and also implemented the extended functionality
1324   to handle alternate digit representation and alternate era date formats.
1326 * Ulrich Drepper provided an implementation of the `strptime' function
1327   defined in XPG4.2 which transforms a string into a `struct tm' value.
1329 * Paul Eggert provided the tzselect shell script as part of the timezone
1330   code.  The shell script makes it easy to select the correct timezone
1331   specification.
1333 * The implementation of the malloc family of functions is completely replaced
1334   by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
1335   The implementation uses the mmap function (if available) and it is
1336   optimized for the use in multi threaded programs.
1338 * Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
1339   functions.  This new functionality is usable by specifying a special
1340   salt string and it is compatible with implementation on *BSD systems.
1342 * Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
1343   `getsubopt' to handle second level command line options, `bsd_signal'
1344   to access BSD style `signal' functionality, the obsolete `regexp' style
1345   expression matcher.
1347 * the `lchown' function is available on system which support this
1348   functionality.
1350 * The implementation of the shadow password handling function was contributed
1351   by Ulrich Drepper.
1353 * David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
1355 * POSIX.1g support was added.  The <sys/select.h> header is available,
1356   `isfdtype' and `pselect' are implemented.  Craig Metz contributed an
1357   implementation of `getaddrinfo'.
1359 Version 1.09
1361 * For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
1363 * New header file <fstab.h> and new functions `getfsspec', `getfsent' and
1364   friends, for parsing /etc/fstab.  This code comes from 4.4 BSD.
1366 * The new function `daemon' from 4.4 BSD is useful for server programs that
1367   want to put themselves in the background.
1369 * Joel Sherrill has contributed support for several standalone boards that
1370   run without an operating system.
1372 * `printf', `scanf' and friends now accept a `q' type modifier for long
1373   long int as well as `ll'.  Formats using these might be `%qu' or `%lld'.
1375 * All of the code taken from BSD (notably most of the math and networking
1376   routines) has been updated from the BSD 4.4-Lite release.
1378 * The resolver code has been updated from the BIND-4.9.3-BETA9 release.
1380 * The new functions `getdomainname' and `setdomainname' fetch or change the
1381   YP/NIS domain name.  These are system calls which exist on systems which
1382   have YP (aka NIS).
1384 * The time zone data files have been updated for the latest international
1385   conventions.
1387 * The SunRPC programs `portmap' and `rpcinfo' are now installed in
1388   $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
1390 Version 1.08
1392 * The C library now includes support for Sun RPC, from Sun's free
1393   RPCSRC-4.0 distribution.  The `portmap', `rpcinfo', and `rpcgen' programs
1394   are included.  (There is still no support for YP.)
1396 * Tom Quinn has contributed a port of the C library to SGI machines running
1397   Irix 4 (mips-sgi-irix4).
1399 * The new `lockf' function is a simplified interface to the locking
1400   facilities of `fcntl', included for compatibility.
1402 * New time functions `timegm', `timelocal', and `dysize' for compatibility.
1404 * New header file <sys/timeb.h> and new function `ftime' for compatibility.
1406 * New header files <poll.h> and <sys/poll.h> and new function `poll' for
1407   compatibility.
1409 * The error message printed by `assert' for a failed assertion now includes
1410   the name of the program (if using GNU ld) and the name of the calling
1411   function (with versions of GCC that support this).
1413 * The `psignal' function is now declared in <signal.h>, not <stdio.h>.
1415 * The library now includes the <sys/mman.h> header file and memory
1416   management functions `mmap', `munmap', `mprotect', `msync', and
1417   `madvise', on systems that support those facilities.
1419 * The interface for `mcheck' has changed slightly: the function called to
1420   abort the program when an allocation inconsistency is detected now takes
1421   an argument that indicates the type of failure.  The new function
1422   `mprobe' lets you request a consistency check for a particular block at
1423   any time (checks are normally done only when you call `free' or `realloc'
1424   on a block).
1426 * It is now possible to easily cross-compile the C library, building on one
1427   system a library to run on another machine and/or operating system.  All
1428   you need to do is set the variable `HOST_CC' in `configparms' to the
1429   native compiler for programs to run on the machine you are building on (a
1430   few generator programs are used on Unix systems); set `CC' to the
1431   cross-compiler.
1433 * The new function `fexecve' (only implemented on the GNU system) executes
1434   a program file given a file descriptor already open on the file.
1436 Version 1.07
1438 * Brendan Kehoe has contributed most of a port to the DEC Alpha
1439   running OSF/1 (alpha-dec-osf1).  He says it is 75% complete.
1441 * You can set the variable `libprefix' in `configparms' to specify a prefix
1442   to be prepended to installed library files; this makes it easy to install
1443   the GNU C library to be linked as `-lgnuc' or whatever.
1445 * The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
1446   copies a limited number of characters from a string, and returns the
1447   address of the last character written.
1449 * You no longer need to check for whether the installed `stddef.h' is
1450   compatible with the GNU C library.  configure now checks for you.
1452 * You can now define a per-stream `fileno' function to convert the
1453   stream's cookie into an integral file descriptor.
1455 * ``malloc (0)'' no longer returns a null pointer.  Instead, it
1456   allocates zero bytes of storage, and returns a unique pointer which
1457   you can pass to `realloc' or `free'.  The behavior is undefined if
1458   you dereference this pointer.
1460 * The C library now runs on Sony NEWS m68k machines running either
1461   NewsOS 3 or NewsOS 4.
1463 * The new `syscall' function is a system-dependent primitive function
1464   for invoking system calls.  It has the canonical behavior on Unix
1465   systems, including unreliable return values for some calls (such as
1466   `pipe', `fork' and `getppid').
1468 * The error code `EWOULDBLOCK' is now obsolete; it is always defined
1469   to `EAGAIN', which is the preferred name.  On systems whose kernels
1470   use two distinct codes, the C library now translates EWOULDBLOCK to
1471   EAGAIN in every system call function.
1473 Version 1.06
1475 * The GNU C Library Reference Manual is now distributed with the library.
1476   `make dvi' will produce a DVI file of the printed manual.
1477   `make info' will produce Info files that you can read on line using C-h i
1478   in Emacs or the `info' program.
1479   Please send comments on the manual to bug-glibc-manual@gnu.org.
1481 * The library now supports SVR4 on i386s (i386-unknown-sysv4).
1483 * Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
1485 * Jason Merrill has contributed a port to the Sequent Symmetry running
1486   Dynix version 3 (i386-sequent-dynix).
1488 * The library has been ported to i386s running SCO 3.2.4 (also known as SCO
1489   ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
1491 * New function `memory_warnings' lets you arrange to get warnings when
1492   malloc is running out of memory to allocate, like Emacs gives you.
1494 * The C library now contains the relocating allocator used in Emacs 19 for
1495   its editing buffers.  This allocator (ralloc) minimizes allocation
1496   overhead and fragmentation by moving allocated regions around whenever it
1497   needs to.  You always refer to a ralloc'd region with a "handle" (a
1498   pointer to a pointer--an object of type `void **').
1500 * There is a new `printf' format: `%m' gives you the string corresponding
1501   to the error code in `errno'.
1503 * In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
1504   or `%[' conversion, but instead of filling in a fixed-sized buffer you
1505   pass, the `a' modifier says to fill in a `char **' you pass with a
1506   malloc'd string.
1508 * The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
1509   `FNM_CASEFOLD'.  `FNM_LEADING_DIR' lets a pattern like `foo*' match a
1510   name like `foo/bar'.  `FNM_CASEFOLD' says to ignore case in matching.
1512 * `mkstemp' is a traditional Unix function to atomically create and open a
1513   uniquely-named temporary file.
1515 Version 1.05
1517 * The standard location for the file that says what the local timezone is
1518   has changed again.  It is now `/usr/local/etc/localtime' (or more
1519   precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
1521 * The distribution no longer contains any files with names longer than 14
1522   characters.
1524 * `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
1525   These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
1527 * New functions `ttyslot' and `syslog' from 4.4 BSD.
1529 Version 1.04
1531 * The configuration process has changed quite a bit.  The `configure'
1532   script is now used just like the configuration scripts for other GNU
1533   packages.  The `sysdeps' directory hierarchy is much rearranged.
1534   The file `INSTALL' explains the new scheme in detail.
1536 * The header files no longer need to be processed into ANSI C and
1537   traditional C versions.  There is just one set of files to install, and
1538   it will work with ANSI or old C compilers (including `gcc -traditional').
1540 * Brendan Kehoe and Ian Lance Taylor have ported the library to the
1541   MIPS DECStation running Ultrix 4.
1543 * The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
1544   Tom Quinn contributed the initial code.  The GNU C library can NOT yet be
1545   made itself into a shared library.
1547 * Yet further improved support for the i386, running 4.3 BSD-like systems
1548   (such as Mach 3 with the Unix single-server), or System V.
1550 * New function `strncasecmp' to do case-insensitive string comparison
1551   with limited length.
1553 * New function `strsep' is a reentrant alternative to `strtok'.
1555 * New functions `scandir' and `alphasort' for searching directories.
1557 * New function `setenv' is a better interface to `putenv'.
1559 * Ian Lance Taylor has contributed an implementation of the SVID `ftw'
1560   function for traversing a directory tree.
1562 * The GNU obstack package is now also part of the C library.
1563   The new function `open_obstack_stream' creates a stdio stream that
1564   writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
1565   formatted output directly to an obstack.
1567 * Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
1568   cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
1570 * `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
1572 * The new functions `strfry' and `memfrob' do mysterious and wonderful
1573   things to your strings.
1575 * There are some new test programs: test-fseek, testmb, and testrand.
1577 * Some work has been done to begin porting the library to 4.4 BSD and Linux.
1578   These ports are not finished, but are a good starting place for really
1579   supporting those systems.
1581 * `/etc/localtime' is now the standard location for the file that says what
1582   the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
1583   This follows the general principle that `/etc' is the place for all local
1584   configuration files.
1586 * The C library header files now use `extern "C"' when used by the C++
1587   compiler, so the C library should now work with C++ code.
1589 * The header file <bstring.h> is gone.  <string.h> now declares bcopy,
1590   bcmp, bzero, and ffs.  (Update: nowadays these functions are declared
1591   in <strings.h>.)
1593 * Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
1594   function which uses the `merge sort' algorithm, and is said to be
1595   significantly faster than the old GNU `qsort' function.  Merge sort is
1596   now the standard `qsort' function.  The new algorithm can require a lot
1597   of temporary storage; so, the old sorting function is called when the
1598   required storage is not available.
1600 * The C library now includes Michael Glad's Ultra Fast Crypt, which
1601   provides the Unix `crypt' function, plus some other entry points.
1603 * The code and header files taken from 4.4 BSD have been updated with the
1604   latest files released from Berkeley.
1606 ----------------------------------------------------------------------
1607 Copyright information:
1609 Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2005,2006
1610         Free Software Foundation, Inc.
1612    Permission is granted to anyone to make or distribute verbatim copies
1613    of this document as received, in any medium, provided that the
1614    copyright notice and this permission notice are preserved,
1615    thus giving the recipient permission to redistribute in turn.
1617    Permission is granted to distribute modified versions
1618    of this document, or of portions of it,
1619    under the above conditions, provided also that they
1620    carry prominent notices stating who last changed them.
1622 Local variables:
1623 version-control: never
1624 End: