Use IFUNC on x86-64 memset
[glibc.git] / NEWS
blobcbe6e511b4a91b732b03279280e7b1a6f5afdadf
1 GNU C Library NEWS -- history of user-visible changes.  2010-11-5
2 Copyright (C) 1992-2009, 2010 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.13
10 * The following bugs are resolved with this release:
12   3268, 7066, 10851, 11611, 11640, 11701, 11840, 11856, 11883, 11903, 11904,
13   11968, 11979, 12005, 12037, 12067, 12077, 12078, 12092, 12093, 12107, 12108,
14   12113, 12140, 12159, 12167, 12191
16 * New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
18 * POWER7 optimizations: memset, memcmp, strncmp
20 * New optimized string functions for x86-64: strnlen (SSE2),
21   strcasecmp (SSE2, SSSE3, SSE4.2), strncasecmp (SSE2, SSSE3, SSE4.2)
22   Implemented by Ulrich Drepper.
24 Version 2.12
26 * The following bugs are resolved with this release:
28   3662, 4457, 5553, 10162, 10401, 10414, 10554, 10824, 10864, 10915, 10918,
29   10936, 10939, 10958, 10968, 10969, 10972, 10992, 11000, 11001, 11007,
30   11010, 11027, 11039, 11040, 11041, 11043, 11046, 11056, 11070, 11093,
31   11115, 11120, 11125, 11126, 11127, 11134, 11141, 11149, 11183, 11184,
32   11185, 11186, 11187, 11188, 11189, 11190, 11191, 11192, 11193, 11194,
33   11200, 11230, 11235, 11242, 11254, 11258, 11271, 11272, 11276, 11279,
34   11287, 11292, 11319, 11332, 11333, 11387, 11389, 11390, 11394, 11397,
35   11410, 11438, 11449, 11470, 11471, 11520, 11537, 11538, 11571
37 * New interfaces: pthread_getname_np, pthread_setname_np
39 * New Linux interface: recvmmsg
41 * STT_GNU_IFUNC implemented for Sparc by David Miller.
43 * The dynamic linker now recognizes supported ABI versions from the
44   EI_ABIVERSION field in the ELF header.
45   Implemented by Ulrich Drepper.
47 * New NIS mode selector ADJUNCT_AS_SHADOW.  The passwd.adjunct.byname table
48   will not be used to fill in password fields in the passwd.byname replies.
49   Instead it is used to synthesize the shadow.byname table, should it be
50   missing.  This is a useful mode in some installations involving Solaris.
51   Implemented by Ulrich Drepper.
53 * New locales: kok_IN, sq_MK, cv_RU
55 Version 2.11
57 * The following bugs are resolved with this release:
59   3270, 7094, 9924, 9986, 10011, 10085, 10107, 10159, 10162, 10166, 10183,
60   10195, 10196, 10200, 10203, 10207, 10211, 10213, 10217, 10221, 10229,
61   10262, 10286, 10312, 10315, 10319, 10349, 10360, 10391, 10402, 10416,
62   10418, 10422, 10425, 10446, 10448, 10452, 10540, 10553, 10560, 10564,
63   10609, 10643, 10692, 10713, 10717, 10730, 10731, 10742, 10780, 10784,
64   10789, 10817, 10823, 10840, 10847
66 * New interfaces: execvpe, pthread_sigqueue, mkstemps, mkstemps64, mkostemps,
67   mkostemps64
68   Implemented by Ulrich Drepper.
70 * Checking version of longjmp added that fails if an uninitialized stack
71   frame would be created.  Implemented by Ulrich Drepper.
73 * STT_GNU_IFUNC is now supported in static executables.
74   Implemented by H.J. Lu.
76 * STT_GNU_IFUNC implemented for PPC by Alan Modra.
78 * New optimized string functions for x86-64: strstr, strcasestr, memcmp,
79   strcspn, strpbrk, strspn, strcpy, stpcpy, strncpy, strcmp (SSE2, SSE4.2),
80   strncmp (SSE2, SSE4.2), strchr (SSE4.2), strrchr (SSE4.2).
81   Contributed by H.J. Lu.
83   strlen, rawmemchr, strcmp (SSSE3), strncmp (SSSE3).
84   Implemented by Ulrich Drepper.
86 * New optimized string functions for x86: strlen, strcspn, strspn, strpbrk,
87   strstr, strcasestr.
88   Contributed by H.J. Lu.
90 * Support for fma instruction in AVX on x86-64.
91   Implemented by H.J. Lu and Ulrich Drepper.
93 * AVX support in x86-64 auditing support in ld.so.
94   Implemented by H.J. Lu.
96 * STB_GNU_UNIQUE support added.
97   Implemented by Ulrich Drepper.
99 * Implement second fallback mode for optimized DNS lookup for even more
100   broken environments.  If two requests from the same port are not
101   handled correctly close the socket and open a new one before sending
102   the second request.  The 'single-request-reopen' option in /etc/resolv.conf
103   can be used to select this mode right away, instead of rediscovering the
104   necessity is every process again.
105   Implemented by Ulrich Drepper.
107 * New resolver flag RES_USE_DNSSEC to enable use of verified lookup.
108   Implemented by Adam Tkac.
110 * Optimized iconv conversions for S390x.
111   Implemented by Andreas Krebbel.
113 * Using condvars with PI mutexes is now more efficient due to kernel
114   support for requeueing to PI futexes.  NPTL support added for x86-64.
115   Implemented by Ulrich Drepper.
117 * New locales: ps_AF, my_MM
119 Version 2.10
121 * The following bugs are resolved with this release:
123   697, 5381, 5807, 6411, 6545, 7040, 7058, 7067, 7080, 7083, 7095, 7098,
124   9677, 9694, 9697, 9701, 9704, 9705, 9706, 9720, 9726, 9730, 9733, 9736,
125   9741, 9750, 9753, 9759, 9781, 9791, 9793, 9823, 9833, 9844, 9880, 9881,
126   9891, 9893, 9895, 9913, 9916, 9920, 9948, 9955, 9957, 9963, 9985, 10052,
127   10069, 10086, 10087, 10090, 10092, 10093, 10100, 10118, 10128
129 * New interfaces: preadv, preadv64, pwritev, pwritev64, malloc_info
130   Implemented by Ulrich Drepper.
132 * New Linux interfaces: accept4, fallocate, fallocate64.
133   Implemented by Ulrich Drepper.
135 * Correct declarations of string function when used in C++ code.  This
136   could lead to compile errors for invalid C++ code.
138 * XPG7/POSIX 2008 compilation environment.  Many GNU-specific functions are
139   now in POSIX.
141 * New POSIX 2008 interface: psiginfo
142   Implemented by Ulrich Drepper.
144 * New ISO C++1x interfaces: quick_exit, at_quick_exit
145   Implemented by Ulrich Drepper.
147 * Support for selecting between multiple function definitions at runtime
148   using STT_GNU_IFUNC symbols.  Implemented by Ulrich Drepper.
150 * The libcrypt library can now use the hash function implementations in
151   NSS.  Implemented by Ulrich Drepper.
153 * The malloc implementation can be compiled to be less memory efficient
154   but higher performing in multi-threaded programs.
155   Implemented by Ulrich Drepper.
157 * New locales: nan_TW@latin, ks_IN
159 * Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for x86-64.
160   Implemented by Ulrich Drepper.
162 * Extended printf hook support.  It is possible to use user-defined types
163   and extend existing format specifiers.
164   Implemented by Ulrich Drepper.
166 * Handling for group shadow files has been added.
167   Implemented by Ulrich Drepper.
169 * DNS IPv4-IPv6 parallel lookup now deals better with broken DNS
170   servers (the case, e.g., for some people using the built-in DNS
171   server in ADSL modems/routers).  There is a once-per-process timeout
172   in case of a broken server.  To avoid it, users can run nscd or put
173   'options single-request' in /etc/resolv.conf.
174   Implemented by Ulrich Drepper.
176 Version 2.9
178 * The following bugs are resolved with this release:
180   3406, 5209, 5210, 5381, 5794, 5814, 5911, 6428, 6438, 6442, 6447, 6461,
181   6472, 6505, 6544, 6589, 6612, 6634, 6653, 6654, 6657, 6698, 6712, 6713,
182   6719, 6723, 6724, 6740, 6763, 6771, 6790, 6791, 6817, 6824, 6839, 6843,
183   6845, 6856, 6857, 6860, 6867, 6875, 6919, 6920, 6942, 6947, 6955, 6966,
184   6968, 6974, 6980, 6995, 7008, 7009, 7029
186 * Unified lookup for getaddrinfo: IPv4 and IPv6 addresses are now looked
187   up at the same time.  Implemented by Ulrich Drepper.
189 * TLS descriptors for LD and GD on x86 and x86-64.
190   Implemented by Alexandre Oliva.
192 * getaddrinfo now handles DCCP and UDPlite.
193   Implemented by Ulrich Drepper.
195 * New fixed-size conversion macros: htobe16, htole16, be16toh, le16toh,
196   htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh.
197   Implemented by Ulrich Drepper.
199 * New implementation of memmem, strstr, and strcasestr which is O(n).
200   Implemented by Eric Blake.
202 * New Linux interfaces: inotify_init1, dup3, epoll_create1, pipe2
204 * Implement "e" option for popen to open file descriptor with the
205   close-on-exec flag set.  Implemented by Ulrich Drepper.
207 * Implement "b" mode for fmemopen.  In this mode writes writes don't
208   implicitly add a NUL byte and seeks from the end of the buffer really
209   use the buffer end, not the string length as the basis.
210   Implemented by Ulrich Drepper.
212 * Many functions, exported and internal, now atomically set the close-on-exec
213   flag when run on a sufficiently new kernel.  Implemented by Ulrich Drepper.
215 * Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu,
216   Sinhala)
217   Implemented by Pravin Satpute.
219 * New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW.
221 Version 2.8
223 * The following bugs are resolved with this release:
225   2549, 3112, 4314, 4407, 4997, 5012, 5040, 5112, 5204, 5208, 5209, 5220,
226   5222, 5224, 5225, 5237, 5238, 5240, 5245, 5277, 5346, 5375, 5378, 5382,
227   5424, 5427, 5428, 5435, 5436, 5439, 5441, 5442, 5443, 5451, 5452, 5454,
228   5455, 5463, 5464, 5465, 5475, 5477, 5478, 5520, 5541, 5545, 5553, 5600,
229   5602, 5607, 5614, 5627, 5628, 5736, 5737, 5741, 5753, 5760, 5762, 5768,
230   5774, 5777, 5778, 5779, 5786, 5790, 5818, 5854, 5857, 5903, 5939, 5979,
231   5983, 5995, 5998, 6004, 6007, 6020, 6021, 6024, 6040, 6042
233 * New locales: bo_CN, bo_IN, shs_CA.
235 * New encoding: HP-ROMAN9, HP-GREEK8, HP-THAI8, HP-TURKISH8.
237 * Sorting rules for some Indian languages (Devanagari and Gujarati).
238   Implemented by Pravin Satpute.
240 * IPV6 addresses in /etc/resolv.conf can now have a scope ID
242 * nscd caches now all timeouts for DNS entries
243   Implemented by Ulrich Drepper.
245 * nscd is more efficient and wakes up less often.
246   Implemented by Ulrich Drepper.
248 * More checking functions: asprintf, dprintf, obstack_printf, vasprintf,
249   vdprintf, and obstack_vprintf.
250   Implemented by Jakub Jelinek.
252 * Faster memset for x86-64.
253   Implemented by Harsha Jagasia and H.J. Lu.
255 * Faster memcpy on x86.
256   Implemented by Ulrich Drepper.
258 * ARG_MAX is not anymore constant on Linux.  Use sysconf(_SC_ARG_MAX).
259   Implemented by Ulrich Drepper.
261 * Faster sqrt and sqrtf implemention for some PPC variants.
262   Implemented by Stephen Munroe.
264 Version 2.7
266 * The following bugs are resolved with this release:
268   4125, 4126, 4178, 4359, 4407, 4512, 4514, 4525, 4554, 4556, 4557, 4566,
269   4582, 4586, 4588, 4599, 4610, 4647, 4702, 4705, 4726, 4745, 4772, 4773,
270   4775, 4776, 4792, 4813, 4814, 4816, 4833, 4858, 4860, 4896, 4905, 4925,
271   4936, 4937, 4938, 4941, 4946, 4963, 4972, 5010, 5028, 5043, 5058, 5063,
272   5071, 5103, 5104, 5112, 5113, 5184, 5186
274 * More checking functions: fread, fread_unlocked, open*, mq_open.
275   Implemented by Jakub Jelinek and Ulrich Drepper.
277 * Extend fortification to C++.  Implemented by Jakub Jelinek.
279 * Implement 'm' modifier for scanf.  Add stricter C99/SUS compliance
280   by not recognizing 'a' as a modifier when those specs are requested.
281   Implemented by Jakub Jelinek.
283 * PPC optimizations to math and string functions.
284   Implemented by Steven Munroe.
286 * New interfaces: mkostemp, mkostemp64.  Like mkstemp* but allow additional
287   options to be passed.  Implemented by Ulrich Drepper.
289 * More CPU set manipulation functions.  Implemented by Ulrich Drepper.
291 * New Linux interfaces: signalfd, eventfd, eventfd_read, and eventfd_write.
292   Implemented by Ulrich Drepper.
294 * Handle private futexes in the NPTL implementation.
295   Implemented by Jakub Jelinek and Ulrich Drepper.
297 * Add support for O_CLOEXEC.  Implement in Hurd.  Use throughout libc.
298   Implemented by Roland McGrath and Ulrich Drepper.
300 * Linux/x86-64 vDSO support.  Implemented by Ulrich Drepper.
302 * SHA-256 and SHA-512 based password encryption.
303   Implemented by Ulrich Drepper.
305 * New locales: ber_DZ, ber_MA, en_NG, fil_PH, fur_IT, fy_DE, ha_NG, ig_NG,
306   ik_CA, iu_CA, li_BE, li_NL, nds_DE, nds_NL, pap_AN, sc_IT, tk_TM, ug_CN,
307   yo_NG.
309 + New iconv modules: MAC-CENTRALEUROPE, ISO-8859-9E, KOI8-RU.
310   Implemented by Ulrich Drepper.
312 Version 2.6
314 * The following bugs are resolved with this release:
316   3156, 3213, 3285, 3291, 3306, 3313, 3320, 3322, 3325, 3326, 3334, 3348,
317   3352, 3363, 3369, 3426, 3427, 3429, 3451, 3458, 3465, 3480, 3483, 3493,
318   3514, 3515, 3559, 3632, 3664, 3673, 3674, 3745, 3747, 3818, 3840, 3842,
319   3851, 3855, 3884, 3885, 3902, 3905, 3919, 3944, 3954, 3955, 3957, 3991,
320   3995, 3996, 4024, 4040, 4069, 4070, 4074, 4076, 4096, 4101, 4102, 4114,
321   4130, 4131, 4181, 4276, 4306, 4342, 4344, 4349, 4364, 4368, 4381, 4392,
322   4403, 4405, 4406, 4411, 4438, 4439, 4455, 4456, 4465, 4512, 4514, 4586,
323   4702, 4858
325 * New Linux interfaces: epoll_pwait, sched_getcpu.
327 * New generic interfaces: strerror_l.
329 * nscd can now cache the services database.   Implemented by Ulrich Drepper.
331 Version 2.5
333 * The following bugs are resolved with this release:
335   39, 68, 192, 352, 388, 531, 935, 1006, 1201, 1203, 1386, 1782, 1783, 1784,
336   1785, 1786, 1787, 1951, 1974, 1996, 2072, 2098, 2125, 2134, 2158, 2182,
337   2349, 2376, 2386, 2389, 2415, 2418, 2420, 2423, 2450, 2451, 2466, 2472,
338   2473, 2477, 2498, 2499, 2501, 2502, 2505, 2507, 2508, 2509, 2517, 2526,
339   2569, 2571, 2592, 2611, 2625, 2632, 2644, 2662, 2680, 2683, 2684, 2693,
340   2695, 2703, 2734, 2751, 2764, 2766, 2775, 2792, 2821, 2823, 2832, 2841,
341   2843, 2883, 2892, 2908, 2914, 2926, 2961, 2978, 2980, 2987, 2997, 2998,
342   3013, 3018, 3034, 3040, 3044, 3123, 3124, 3137, 3138, 3143, 3155, 3189,
343   3225, 3251, 3252, 3253, 3273
345 * For Linux, the sorting of addresses returned by getaddrinfo now also
346   handles rules 3, 4, and 7 from RFC 3484.  I.e., all rules are handled.
347   Implemented by Ulrich Drepper.
349 * Allow system admin to configure getaddrinfo with the /etc/gai.conf file.
350   Implemented by Ulrich Drepper.
352 * New Linux interfaces: splice, tee, sync_file_range, vmsplice.
354 * New iconv module for MIK.  Contributed by Alexander Shopov.
356 * For sites with broken group and/or passwd database, the auto-propagate
357   option of nscd can prevent creating ID lookup entries from the results
358   of a name lookup and vice versa.   This usually is no problem but some
359   site might have problems with the default behavior.
360   Implemented by Ulrich Drepper.
362 * Iterating over entire database in NIS can be slow.  With the
363   SETENT_BATCH_READ option in /etc/default/nss a system admin can decide
364   to trade time for memory.  The entire database will be read at once.
365   Implemented by Ulrich Drepper.
367 * The interfaces introduced in RFC 3542 have been implemented by
368   Ulrich Drepper.
370 * Support for the new ELF hash table format was added by Ulrich Drepper.
372 * Support for priority inheritance mutexes added by Jakub Jelinek and
373   Ulrich Drepper.
375 * Support for priority protected mutexes added by Jakub Jelinek.
377 * New locales: nr_ZA, pa_PK, ca_AD, ca_FR, ca_IT, el_CY, tr_CY, as_IN,
378   or_IN, csb_PL, fy_NL, sr_ME.
380 Version 2.4
382 * More overflow detection functions.
384 * New iconv converters for IBM1025, IBM1122, IBM1137, IBM1153,
385   IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158 contributed by Jiro Sekiba.
387   More converters for IBM803, IBM901, IBM902, IBM921, IBM1008, IBM1097,
388   IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144,
389   IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517,
390   IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712,
391   IBM16804, IBM1364, IBM1371, IBM1388, IBM1390, and IBM1399 contributed
392   by Masahide Washizawa.
394 * It is now possible to install audit libraries for the dynamic linker using
395   LD_AUDIT.  Implemented by Ulrich Drepper.
397 * The LinuxThreads add-on, providing pthreads on Linux 2.4 kernels, is no
398   longer supported.  The new NPTL implementation requires Linux 2.6 kernels.
399   For a libc and libpthread that works well on Linux 2.4 kernels, we
400   recommend using the stable 2.3 branch.
402 * The new function open_wmemstream acts like open_memstream,
403   but uses a wchar_t wide character buffer.
405 * The new function ppoll is an improved version of poll, similar to pselect.
407 * New interfaces: fdopendir, openat, fstatat, fchmodat, fchownat,
408   futimesat, faccessat, mkdirat, mkfifoat, mknodat,
409   renameat, unlinkat, linkat, symlinkat, readlinkat.
411 * New Linux kernel system calls: unshare,
412   inotify_init, inotify_add_watch, inotify_rm_watch.
414 * The euidaccess function is now also known by the alias eaccess,
415   for compatibility with some other systems.
417 * Timezone data updated to 2006b version.
419 Version 2.3.6
421 * The following bugs are resolved with this release:
423   38, 253, 549, 622, 653, 721, 758, 851, 877, 915, 934, 955, 961,
424   1016, 1037, 1076, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086,
425   1087, 1088, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
426   1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109,
427   1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252,
428   1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534
430   Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
432 * As of this release, GCC 4 can be used to compile the C Library.
434 * Timezone data updated to 2005m version.
436 Version 2.3.5
438 * The following bugs are resolved with this release:
440   284, 592, 602, 626, 633, 640, 650, 661, 671, 681, 693, 700, 710, 719,
441   722, 723, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736,
442   737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776,
443   777, 787, 821, 822, 823, 825
445   Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
447 Version 2.3.4
449 * Support for RFC 3678.  Real implementations exist only for Linux so far.
450   Implemented by Ulrich Drepper.
452 * nscd can now cache entries persistently.  Expiring entries are reloaded.
453   For speedups the cache can be shared in memory with client processes.
454   Implemented by Ulrich Drepper.
456 * nscd can now perform SELinux checks.
457   Implemented by Matthew Rickard <mjricka@epoch.ncsc.mil>.
459 * getaddrinfo queries are now cached.  Canonical name lookup is performed
460   efficiently.
461   Implemented by Ulrich Drepper.
463 * The nothrow function attribute is used when headers are used by gcc when
464   compiling C code.  This can avoid significant amounts of exception
465   handling data.
467 * The malloc functions perform more error checking and are stricter when
468   it comes to reacting on errors.  The default action is to terminate
469   the process after showing an error message.  Implemented by Ulrich Drepper.
471 * Reverse lookups of IPv6 addresses does not use bit string or .ip6.int
472   lookups anymore unless explicitly requested.  Implemented by Ulrich Drepper.
474 * Namespaces in ld.so are implemented.  DSOs can be loaded in separate
475   namespaces using the new function dlmopen().  This feature is of course,
476   like most other dynamic loading functionality, not available in statically
477   linked applications.  Implemented by Ulrich Drepper.
479 * Low-overhead boundary checking variants of string and some stdio functions
480   were added.  These are to be used in conjunction with a gcc patch by
481   Jakub Jelinek which adds calls to these functions if possible.
482   Implemented by Jakub Jelinek and Ulrich Drepper.
484 * Old code for several operating systems and machine architectures that
485   have not been in working condition in a long time have been removed from
486   the main source tree maintained by the GNU C Library's maintainers.
487   These files are now reside in the separate `ports' source module
488   that is usable as an add-on when building the library.
490 Version 2.3.3
492 * New functions `dladdr1' and `dlinfo' in <dlfcn.h> provide more ways to
493   interrogate the dynamic linker, compatible with the Solaris interface.
495 * ELF thread-local storage support (TLS) now works on PowerPC and PowerPC64;
496   implemented by Paul Mackerras, Steven Munroe, and Roland McGrath.
498 * getifaddrs now uses the netlink interface on Linux to get its information.
499   Implemented by Thorsten Kukuk.
501 * getaddrinfo now implements AI_V4MAPPED, AI_ALL, and AI_ADDRCONF.
502   Implemented by Ulrich Drepper.
504 * support for non-executable stacks on x86 has been added.  Changes mostly
505   by Roland McGrath.
507 * regex is now much faster for multibyte locales.  Changes by Jakub Jelinek
508   and Ulrich Drepper.
510 * getaddrinfo now performs destination address selection according to
511   RFC 3484.
513 Version 2.3.2
515 * Thread-safe interfaces for many functions that access locale data
516   were added in version 2.3, but these features were omitted from NEWS.
517   Many functions have variants with an `_l' suffix that take a `locale_t'
518   object as a parameter rather than consulting the current locale.
519   The new functions `newlocale', `duplocale', and `freelocale' in <locale.h>
520   create and maintain `locale_t' objects.  Additionally, the new function
521   `uselocale' sets "the current locale" (as used by functions not so
522   parameterized) set for an individual thread.  These features were added
523   in version 2.3, implemented by Ulrich Drepper and Roland McGrath.
525 * The functions getresuid, getresgid, setresuid, and setresgid, which
526   have long been available on Linux, are now declared in <unistd.h>
527   and are now also available on the Hurd.
529 * ELF thread-local storage support (TLS) now works on x86-64.
531 * The new dynamic string token $LIB is expanded in shared library names.
532   This normally expands to lib, but on some 64-bit platforms to lib64 instead.
534 * Aldy Hernandez contributed complete software floating point support for
535   PowerPC machines with no FPU.
537 * fexecve is implemented on Linux.
539 * The `btowc' function should work at least twice as fast due to
540   specialized callbacks in the iconv modules.  Implemented by Bruno Haible.
542 * With approriate thread add-ons cancelable functions are now implemented
543   in libc.so as well.  No need to call the function in libpthread.  This
544   change allowed to finally disable the incorrect and expensive handling
545   of weak definition in ld.so.
547 * Yet more PLT entries in libc.so have been removed.  We finally arrived
548   at the bare minimum.  Startup times improved appropriately.
550 * Support for the new Linux/x86 system call interface was added.  The
551   AT_SYSINFO auxiliary vector entry is recognized and handled.
553 Version 2.3
555 * Masahide Washizawa contributed iconv modules for IBM1163 and IBM1164
556   charsets.
558 * iconv (the program and the interface) now accepts empty names (excluding
559   options like //TRANSLIT) to mean "use charset of current locale".
561 * localedef can now transliterate characters in strings which are not in
562   the provided charmap.  The information from the input locale is used.
564 * Prelinking support was added for ELF targets.  This requires additional
565   tools and recent versions of the GNU binutils.  Contributed by Jakub Jelinek.
567 * Read-only stdio streams now use mmap to speed up operation by eliminating
568   copying and buffer underflows.  To use add 'm' to the mode string of
569   the fopen/fdopen/freopen call.  Implemented by Ulrich Drepper.
571 * The malloc functions were completely rewritten by Wolfram Gloger based
572   on Doug Lea's malloc-2.7.0.c.
574 * Isamu Hasegawa contributed a completely new and POSIX-conformant
575   implementation of regex.
577 * Bruno Haible upgraded the iconv and locale implementation to support
578   Unicode 3.2.
580 * Contents of the LC_* and LANG environment variables in the CEN style are
581   not recognized anymore.   It never was used.  Change by Ulrich Drepper.
583 * The runtime (ld.so, libc, libpthread for Linux) now can handle the ELF
584   thread-local storage (TLS) ABI on some platforms.
585   Changes by Ulrich Drepper.  SH support by Kaz Kojima.
587 * Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
588   EUC-JISX0213, and TSCII.
590 * New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':
591   BSD-compatible interface for getting all network interface addresses.
592   Implementation for IPv4 by Roland McGrath.
594 * Loading of locale data is faster due to the introduction of a locale
595   archive.  Implemented by Roland McGrath and Ulrich Drepper.
597 * Startup times are significantly reduced by not using exported functions
598   inside the library itself.  Changes by Jakub Jelinek, Roland McGrath,
599   and Ulrich Drepper.
601 * Steven Munroe contributed a port to PowerPC64/Linux.
603 Version 2.2.6
605 * The Hurd now uses the GNU libio implementation of stdio rather than the
606   old GNU stdio implementation, and uses a new ABI (libc.so.0.3).
608 * The Hurd on x86 now has the `ioperm' function and <sys/io.h> header file
609   with the same behavior as the Linux system call of the same name.
611 Version 2.2.5
613 * Stephen Moshier implemented log2, log10, powl and cbrtl for the
614   128-bit long double format.
616 * Masahide Washizawa contributed iconv modules for IBM1132, IBM1133, IBM1160,
617   IBM1161, and IBM1162 charsets.
619 * Andreas Jaeger contributed a port to x86-64/Linux.
621 * Peter Bruin contributed a port to PowerPC/Hurd.
623 * libc functions using I/O streams now can handle wide-oriented streams
624   as well.
626 * optimizations in the dynamic linker.  Binaries created by recent binutils
627   versions start up quicker due to reduced time spent on relocations.
629 * Support for use of gcc3 added by Jakub Jelinek and HJ Lu.
631 Version 2.2.4
633 * Stephen Moshier implemented cosh, expm1, log1p, acos, sinh, tanh,
634   asinh, atanh, j0 for the 128-bit long double format.
636 * Bruno Haible updated all the code handling Unicode in some form to
637   support Unicode 3.1.
639 * Speed of regex for single-byte locales is back to previous levels.
640   Patch by Isamu Hasegawa.
642 * Alpha, SPARC, and IA-64 now also using floating stacks.
644 * Startup time of internationalized applications greatly improved through
645   iconv cache.  Use iconvconfig to generate the cache file.
646   Contributed by Ulrich Drepper.
648 * The IA-64 specific part of ld.so was rewritten to eliminate some pretty
649   severe performance problems.  Patch by David Mosberger.
651 * The Hurd port got a lot more functionality like AIO, various stdio
652   extensions, etc.  Mainly done by Roland McGrath.
654 * mtrace can now lookup symbols in shared libraries.
656 Version 2.2.3
658 * Intel's IA-64 math library is largely integrated.  It provides fast and
659   accurate implementatations for most basic and standard math functions
660   in float, double, and long double format.
662 * Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
663   and asin for the 96-bit long double format and asin, log, tan for the
664   128-bit long double format.
666 * The beginning of a last-bit accurate math library by IBM Haifa were added.
667   The basic double functions exist today.  Contributed by Abraham Ziv
668   <ziv@il.ibm.com>, Moshe Olshansky <olshansk@il.ibm.com>, Ealan Henis
669   <ealan@il.ibm.com>, and Anna Reitman <reitman@il.ibm.com>.
671 * An asynchronous name lookup library was added.  The interface is designed
672   after POSIX AIO.  The proposal was circulated beforehand to get comments.
673   No negative ones came in.  Implemented by Ulrich Drepper.
675 * Port to S390/64bit contributed by Martin Schwidefsky
676   <schwidefsky@de.ibm.com>.
678 * David Mosberger <davidm@hpl.hp.com> implemented the setcontext family
679   of functions for Linux/IA-64.
681 * The RPC code is now thread safe.  Threads can now use the same service
682   of different services at the same time.  Patch by Eric Norum
683   <eric.norum@usask.ca> with some help by Ulrich Drepper.
685 * Martin Schwidefsky <schwidefsky@de.ibm.com> implemented the setcontext
686   family of functions for Linux/S390.
688 * Ulrich Drepper <drepper@redhat.com> implemented the setcontext family
689   of functions for Linux/x86.
691 * Port to Linux/CRIS contributed by Axis Communications.
693 Version 2.2.2
695 * Lots of headers were cleaned up.  Using the tool in the conform/ subdir
696   we can now check for namespace violations and missing declarations.  The
697   result is that almost all headers are now Unix-compliant (as defined in
698   the upcoming XPG6).  The negative side is that some programs might need
699   corrections, too, if they depend on the incorrect form of the headers in
700   previous versions which defined too many symbols and included too many
701   other headers.
703 * regex now handles multibyte character sets correctly.
704   Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
706 * iconv (the program) does now conform to the upcoming XPG6 and handles
707   charmaps.  Instead of the charset names the path of charmaps can be
708   provided and the conversion happens based on this data.
709   Contributed by Ulrich Drepper.
711 * The locale program now provides detailed information about the installed
712   locales.  While
714     locale -a
716   only lists the names of the supported locales
718     locale -a --verbose
720   provides details such as country, language, and codeset name.
721   Contributed by Ulrich Drepper.
723 Version 2.2.1
725 * The gencat program now parses the input file according to the charset
726   selected by the LC_CTYPE category.  This is important for stateful
727   character sets.  To make generating catalogs easier there is a way
728   to overwrite the charset selected by the locale: before the first
729   message or $ quote line the catalog can contain a line like
731     $ codeset=ISO-8859-2
733   to select the charset (ISO-8859-2 in this case).
735   Implemented by Shinya Hanataka and Ulrich Drepper.
737 * New codeset conversion modules: IBM-922  (Estonia PC codeset),
738   IBM-1124 (Ukraine PC codeset), IBM-1129 (Vietnamese PC codeset).
739   Contributed by Masahide Washizawa <washi@jp.ibm.com>.
741 * Optimized string functions for Alpha ev6 and ev67 by Richard Henderson
742   <rth@redhat.com> and Rick Gorton <rick.gorton@alpha-processor.com>.
744 * The LANGUAGE environment variable is now ignored unless the locale is
745   changed from the default "C" locale.
747 * The usual bug fixes.
749 Version 2.2
751 * Greg McGary added runtime support for bounds checking using gcc's
752   new -fbounded-pointers option.  ix86 target is complete.  PowerPC
753   is in progress.
755 * Thorsten Kukuk added secure mode support to nscd.
757 * The Berkeley db libraries have been removed.
759   Related, the nss_db module is now in a separate package since it
760   obviously requires a database library being available.
762 * Wide character I/O streams implemented by Ulrich Drepper.
764 * Functions from the extended socket API added by Ulrich Drepper.
766 * Functions feenableexcept and fedisableexcept to control the
767   behaviour of individual exceptions have been added by Andreas Jaeger.
769 * ldconfig program added by Andreas Jaeger and Jakub Jelinek.
771 * The resolver code has been updated from bind 8.2.3-T5B which supports
772   threads.  The integration was done by Andreas Jaeger, Adam D. Bradley,
773   and Mark Kettenis.
775   This change could in some situations effect backward compatibility.  Since
776   now `_res' is a thread-local instead of a global variable, modifying it
777   in one thread does not have any effect in other threads.
779   The resolver library was also extended to allow IPv6 as the transport
780   protocol for the requests.  This work was done by Stig Venaas.
782 * Compatibility code for K&R C compilers has been removed from the
783   header files.  A ISO C compiler is needed to use the library
784   (conforming to either C89 or C99 standard).
786 * Complete rewrite of the localedef program to support multibyte character
787   sets.  Implement handling of ISO 14651 and ISO 14652.  Rewrite strcoll,
788   strxfrm, wcscoll, and wcsxfrm functions.  Make isw*() functions work.
789   Implemented by Ulrich Drepper.
791   Bruno Haible significantly improved the generation and use of the data
792   structures for the wide character tables.
794 * Plural handling in gettext implemented by Ulrich Drepper.
796 * The utmp daemon has been removed.
798 * The port to MIPS-Linux has been finished by Andreas Jaeger.
800 * A port to Hitachi SH3 and SH4 has been contributed by Kazumoto Kojima
801   and Yutaka Niibe.
803 * POSIX clocks and timers implemented by Kaz Kylheku and Ulrich Drepper.
805 * POSIX barriers implemented by Kaz Kylheku.
807 * POSIX spawn function family implemented by Ulrich Drepper.
809 * POSIX spinlocks are now available.
811 * Timed wait functions for mutex, rwlock, and semaphores are implemented.
813 * the configure option --enable-kernel=X.Y.Z allows to strip out
814   compatibility for kernel versions before X.Y.Z.  This is currently only
815   implemented for Linux.
817 * the sockaddr_in6 structure changed.  The IPv6 working group added a new
818   field sin6_scope_id.  This means that all programs using IPv6 should be
819   recompiled.  Don't expect binary compatibility with previous glibc
820   versions.
822 * various conversion modules for IBM character sets contributed by
823   Masahide Washizawa.
825 * IA-64 port by Jes Sorensen and HJ Lu.
827 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
828 Compiling the GNU C Library for Linux/ia64
829 ******************************************
831    Please refer to the file INSTALL in the same directory as you found
832 this file for general information about configuring and compiling
833 glibc.
835    For general inquiries about glibc under Linux/ia64 please use the
836 following mailing list linux-ia64@linuxia64.org or one of the relevant
837 glibc mailing lists.
839 Recommended Tools for Compilation
840 =================================
842    In order for glibc-2.2 to build correctly on the ia64 you need at
843 least the following versions of the GNU tools (the :
845    * The Cygnus toolchain snapshot for the ia64 as of August 4
846      including the provided set of patches.  It is however recommend
847      you use the October 24 toolchain snapshot or a more recent version.
849    OR alternatively you can try the following (the Cygnus toolchain is
850    the recommended solution):
852    * GCC and binutils, GAS and GNU LD out of CVS from
853      sources.redhat.com as of August 28, 2000 or later.  The CVS tree
854      may require special patches to work properly on the ia64.
856 Configuring and compiling GNU Libc for Linux/ia64
857 =================================================
859    The library requires Linux kernel version 2.4.0-test4-000728 or
860 later to funtion properly. Besides that it support for debug libraries
861 is currently untested. Hence the following options
862 are required for configuring the library:
864    --disable-debug --enable-kernel=2.4.0
866    It is also important that you make sure the library picks up the
867 appropriate kernel header files, if you do not have recent enough
868 kernel headers in /usr/src/linux/include, you should use the
869 --with-headers=<path> option to specify the location.
871    As an example I personally use the following options to configure
872 the library:
874    --disable-debug
875    --disable-cvs
876    --enable-kernel=2.4.0
877    --host=ia64-linux
878    --enable-add-ons=yes
879    --prefix=/usr
880    --with-headers=/home/jes/linux/include
883 Good luck
885 Jes Sorensen <jes@linuxcare.com>,
886 November 14th, 2000
887 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
889 Version 2.1.3
891 * bug fixes
894 Version 2.1.2
896 * bug fixes
899 Version 2.1.1
901 * New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
903 * New xdr functions are added; some rpc functions are now 64bit clean.
905 * Fixed a number of bugs and memory leaks (especially in NIS+ code).
907 * Fixed known incompatibilities with glibc 2.0.
909 * New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
911 * Optimized a number of functions (especially the ELF dynamic loader).
913 * Update timezone data files.
915 * lots of charmaps corrections
917 * some new locale definitions and charmaps
920 Version 2.1
922 * Richard Henderson corrected size of struct timeval on Linux/Alpha to
923   conform to POSIX member type requirements.  Symbol versions have been
924   adjusted as needed within the library, and for direct use by applications,
925   but there is potential for problems if third-party libraries use
926   struct timeval as part of their interface.  This does not present
927   a problem for X and other "essential" system libraries.
929 * An additional locale model to support C++ Standard Library locale
930   model and probably more was implemented by Ulrich Drepper.
932 * Eric Youngdale and Ulrich Drepper implemented versioning of objects on
933   symbol level.
935 * Miles Bader provided the `argp' function family to support hierachical
936   command line argument parsing, layered on top of getopt.
938 * strtod accepts new hexadecimal floating-point format from ISO C 9X.
940 * printf has two new specifiers %a and %A to print hexadecimal flaoting-point
941   numbers.
943 * scanf recognizes the %a and %A format for scanning floating point numbers.
945 * the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
946   information and interfaces for the available integer types.
948 * about 130 new math functions were added to implement the ISO C9x math
949   library.
951 * the new header <complex.h> contains definitions of the complex math
952   functions from ISO C 9X.
954 * the new header <tgmath.h> defines generic macros to use complex or
955   real valued functions.
957 * Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
959 * Andreas Jaeger provided a test suite for the math library.
961 * Mark Kettenis implemented the utmpx interface and an utmp daemon.
963 * Ulrich Drepper added character set conversion functions (iconv).
965 * Optimized string functions have been added.
967 * The localedata addon is now part of glibc.
969 * An implementation of profiling shared libraries was added by Ulrich Drepper.
971 * Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
972   daemon for NSS (nscd).
974   Missing a better place here are some numbers on improvements.  Under
975   Linux 2.1.125 un-tar-ing the kernel sources takes
977                                   user  system     wall
979     using local files           12.19s   6.88s   22.91s
981     using NIS                   13.92s   8.91s   26.34s
983     using NIS & nscd            10.37s   7.34s   25.30s
985     using NIS+                  27.57s  30.37s  640.46s
987     using NIS+ & nscd           10.25s   7.83s   26.51s
989     using NIS & old nscd [1]    13.83s   8.32s   29.60s
991   Keep in mind that non-namelookup related operations dominate above times.
992   It was just a common complain that using NIS+ unpacking the kernel is
993   horribly slow.
995   [1] The old nscd implementation is not available anymore since it was
996   distributed with glibc up to version 2.0.98 and thus is now replaced.
998 * Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
1000 * Mark Kettenis provided a Hesiod NSS module.
1002 * The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
1003   and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
1005 * rcmd can now handle netgroups (Dick Streefland).
1007 * A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
1008   Bambrough.
1010 * Support for the IPv6 protocol has been added to the socket API, as per the
1011   latest draft standards.
1013 * Support for Linux 2.2 has been added.
1015 * Interface changes relative to the latest 2.0.x release:
1016 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1017 addseverity                     NEW: Unix98
1018 alphasort64                     NEW: LFS
1019 argp_err_exit_status            NEW: argp, GNU ext
1020 argp_error                      NEW: argp, GNU ext
1021 argp_failure                    NEW: argp, GNU ext
1022 argp_help                       NEW: argp, GNU ext
1023 argp_parse                      NEW: argp, GNU ext
1024 argp_program_bug_address        NEW: argp, GNU ext
1025 argp_program_version            NEW: argp, GNU ext
1026 argp_program_version_hook       NEW: argp, GNU ext
1027 argp_state_help                 NEW: argp, GNU ext
1028 argp_usage                      NEW: argp, GNU ext
1029 authdes_create                  NEW: Secure RPC
1030 authdes_getucred                NEW: Secure RPC
1031 authdes_pk_create               NEW: Secure RPC
1032 backtrace                       NEW: GNU ext.
1033 backtrace_symbols               NEW: GNU ext.
1034 backtrace_symbols_fd            NEW: GNU ext.
1035 cacos                           NEW: ISO C 9x
1036 cacosf                          NEW: ISO C 9x
1037 cacosh                          NEW: ISO C 9x
1038 cacoshf                         NEW: ISO C 9x
1039 cacoshl                         NEW: ISO C 9x
1040 cacosl                          NEW: ISO C 9x
1041 capget                          NEW: kernel
1042 capset                          NEW: kernel
1043 carg                            NEW: ISO C 9x
1044 cargf                           NEW: ISO C 9x
1045 cargl                           NEW: ISO C 9x
1046 casin                           NEW: ISO C 9x
1047 casinf                          NEW: ISO C 9x
1048 casinh                          NEW: ISO C 9x
1049 casinhf                         NEW: ISO C 9x
1050 casinhl                         NEW: ISO C 9x
1051 casinl                          NEW: ISO C 9x
1052 catan                           NEW: ISO C 9x
1053 catanf                          NEW: ISO C 9x
1054 catanh                          NEW: ISO C 9x
1055 catanhf                         NEW: ISO C 9x
1056 catanhl                         NEW: ISO C 9x
1057 catanl                          NEW: ISO C 9x
1058 cbc_crypt                       NEW: Secure RPC
1059 ccos                            NEW: ISO C 9x
1060 ccosf                           NEW: ISO C 9x
1061 ccosh                           NEW: ISO C 9x
1062 ccoshf                          NEW: ISO C 9x
1063 ccoshl                          NEW: ISO C 9x
1064 ccosl                           NEW: ISO C 9x
1065 cexp                            NEW: ISO C 9x
1066 cexpf                           NEW: ISO C 9x
1067 cexpl                           NEW: ISO C 9x
1068 cimag                           NEW: ISO C 9x
1069 cimagf                          NEW: ISO C 9x
1070 cimagl                          NEW: ISO C 9x
1071 clearerr_locked                 REMOVED
1072 clntunix_create                 NEW: sunrpc ext
1073 clog                            NEW: ISO C 9x
1074 clog10                          NEW: ISO C 9x
1075 clog10f                         NEW: ISO C 9x
1076 clog10l                         NEW: ISO C 9x
1077 clogf                           NEW: ISO C 9x
1078 clogl                           NEW: ISO C 9x
1079 conj                            NEW: ISO C 9x
1080 conjf                           NEW: ISO C 9x
1081 conjl                           NEW: ISO C 9x
1082 cpow                            NEW: ISO C 9x
1083 cpowf                           NEW: ISO C 9x
1084 cpowl                           NEW: ISO C 9x
1085 cproj                           NEW: ISO C 9x
1086 cprojf                          NEW: ISO C 9x
1087 cprojl                          NEW: ISO C 9x
1088 creal                           NEW: ISO C 9x
1089 crealf                          NEW: ISO C 9x
1090 creall                          NEW: ISO C 9x
1091 creat64                         NEW: LFS
1092 csin                            NEW: ISO C 9x
1093 csinf                           NEW: ISO C 9x
1094 csinh                           NEW: ISO C 9x
1095 csinhf                          NEW: ISO C 9x
1096 csinhl                          NEW: ISO C 9x
1097 csinl                           NEW: ISO C 9x
1098 csqrt                           NEW: ISO C 9x
1099 csqrtf                          NEW: ISO C 9x
1100 csqrtl                          NEW: ISO C 9x
1101 ctan                            NEW: ISO C 9x
1102 ctanf                           NEW: ISO C 9x
1103 ctanh                           NEW: ISO C 9x
1104 ctanhf                          NEW: ISO C 9x
1105 ctanhl                          NEW: ISO C 9x
1106 ctanl                           NEW: ISO C 9x
1107 des_setparity                   NEW: Secure RPC
1108 ecb_crypt                       NEW: Secure RPC
1109 endutxent                       NEW: Unix98
1110 exp10                           NEW: ISO C 9x
1111 exp10f                          NEW: ISO C 9x
1112 exp10l                          NEW: ISO C 9x
1113 exp2                            NEW: ISO C 9x
1114 exp2f                           NEW: ISO C 9x
1115 exp2l                           NEW: ISO C 9x
1116 fattach                         NEW: STREAMS
1117 fdetach                         NEW: STREAMS
1118 fdim                            NEW: ISO C 9x
1119 fdimf                           NEW: ISO C 9x
1120 fdiml                           NEW: ISO C 9x
1121 feclearexcept                   NEW: ISO C 9x
1122 fegetenv                        NEW: ISO C 9x
1123 fegetexceptflag                 NEW: ISO C 9x
1124 fegetround                      NEW: ISO C 9x
1125 feholdexcept                    NEW: ISO C 9x
1126 feof_locked                     REMOVED
1127 feraiseexcept                   NEW: ISO C 9x
1128 ferror_locked                   REMOVED
1129 fesetenv                        NEW: ISO C 9x
1130 fesetexceptflag                 NEW: ISO C 9x
1131 fesetround                      NEW: ISO C 9x
1132 fetestexcept                    NEW: ISO C 9x
1133 feupdateenv                     NEW: ISO C 9x
1134 fflush_locked                   REMOVED
1135 ffsl                            NEW: GNU ext.
1136 ffsll                           NEW: GNU ext.
1137 fgetpos64                       NEW: LFS
1138 fgets_unlocked                  NEW: GNU ext.
1139 fileno_locked                   REMOVED
1140 fma                             NEW: ISO C 9x
1141 fmaf                            NEW: ISO C 9x
1142 fmal                            NEW: ISO C 9x
1143 fmax                            NEW: ISO C 9x
1144 fmaxf                           NEW: ISO C 9x
1145 fmaxl                           NEW: ISO C 9x
1146 fmin                            NEW: ISO C 9x
1147 fminf                           NEW: ISO C 9x
1148 fminl                           NEW: ISO C 9x
1149 fmtmsg                          NEW: Unix98
1150 fopen64                         NEW: LFS
1151 fputc_locked                    REMOVED
1152 fputs_unlocked                  NEW: GNU ext.
1153 fread_unlocked                  NEW: GNU ext.
1154 freopen64                       NEW: LFS
1155 fseeko                          NEW: Unix98
1156 fsetpos64                       NEW: LFS
1157 fstatfs64                       NEW: LFS
1158 fstatvfs                        NEW: Unix98
1159 fstatvfs64                      NEW: LFS
1160 ftello                          NEW: Unix98
1161 ftello64                        NEW: LFS
1162 ftruncate64                     NEW: LFS
1163 ftw64                           NEW: LFS
1164 fwrite_unlocked                 NEW: GNU ext.
1165 gai_strerror                    NEW: IPv6
1166 gamma_r                         REMOVED
1167 gammaf_r                        REMOVED
1168 gammal_r                        REMOVED
1169 getchar_locked                  REMOVED
1170 getdate                         NEW: Unix98
1171 getdate_err                     NEW: Unix98
1172 getdate_r                       NEW: GNU ext.
1173 getmsg                          NEW: STREAMS
1174 getnameinfo                     NEW: IPv6
1175 getnetname                      NEW: Secure RPC
1176 getpmsg                         NEW: STREAMS
1177 getpt                           NEW: Unix98 PTY
1178 getrlimit64                     NEW: LFS
1179 getutxent                       NEW: Unix98
1180 getutxid                        NEW: Unix98
1181 getutxline                      NEW: Unix98
1182 glob64                          NEW: GNU ext.
1183 globfree64                      NEW: GNU ext.
1184 gnu_get_libc_release            NEW: GNU ext.
1185 gnu_get_libc_version            NEW: GNU ext.
1186 grantpt                         NEW: Unix98 PTY
1187 host2netname                    NEW: Secure RPC
1188 iconv                           NEW: iconv
1189 iconv_close                     NEW: iconv
1190 iconv_open                      NEW: iconv
1191 if_freenameindex                NEW: IPv6
1192 if_indextoname                  NEW: IPv6
1193 if_nameindex                    NEW: IPv6
1194 if_nametoindex                  NEW: IPv6
1195 in6addr_any                     NEW: IPv6
1196 in6addr_loopback                NEW: IPv6
1197 inet6_isipv4mapped              NEW: IPv6
1198 isastream                       NEW: STREAMS
1199 iswblank                        NEW: GNU ext.
1200 key_decryptsession              NEW: Secure RPC
1201 key_decryptsession_pk           NEW: Secure RPC
1202 key_encryptsession              NEW: Secure RPC
1203 key_encryptsession_pk           NEW: Secure RPC
1204 key_gendes                      NEW: Secure RPC
1205 key_get_conv                    NEW: Secure RPC
1206 key_secretkey_is_set            NEW: Secure RPC
1207 key_setnet                      NEW: Secure RPC
1208 key_setsecret                   NEW: Secure RPC
1209 llrint                          NEW: ISO C 9x
1210 llrintf                         NEW: ISO C 9x
1211 llrintl                         NEW: ISO C 9x
1212 llround                         NEW: ISO C 9x
1213 llroundf                        NEW: ISO C 9x
1214 llroundl                        NEW: ISO C 9x
1215 log2                            NEW: ISO C 9x
1216 log2f                           NEW: ISO C 9x
1217 log2l                           NEW: ISO C 9x
1218 lrint                           NEW: ISO C 9x
1219 lrintf                          NEW: ISO C 9x
1220 lrintl                          NEW: ISO C 9x
1221 lround                          NEW: ISO C 9x
1222 lroundf                         NEW: ISO C 9x
1223 lroundl                         NEW: ISO C 9x
1224 lseek64                         NEW: LFS
1225 makecontext                     NEW: Unix98
1226 mempcpy                         NEW: GNU ext.
1227 mmap64                          NEW: LFS
1228 moncontrol                      REMOVED
1229 modify_ldt                      NEW: kernel
1230 nan                             NEW: ISO C 9x
1231 nanf                            NEW: ISO C 9x
1232 nanl                            NEW: ISO C 9x
1233 nearbyint                       NEW: ISO C 9x
1234 nearbyintf                      NEW: ISO C 9x
1235 nearbyintl                      NEW: ISO C 9x
1236 netname2host                    NEW: Secure RPC
1237 netname2user                    NEW: Secure RPC
1238 nexttoward                      NEW: ISO C 9x
1239 nexttowardf                     NEW: ISO C 9x
1240 nexttowardl                     NEW: ISO C 9x
1241 nftw                            NEW: Unix98
1242 nftw64                          NEW: LFS
1243 open64                          NEW: LFS
1244 passwd2des                      NEW: Secure RPC
1245 pow10                           NEW: GNU ext.
1246 pow10f                          NEW: GNU ext.
1247 pow10l                          NEW: GNU ext.
1248 pread                           NEW: Unix98
1249 pread64                         NEW: LFS
1250 printf_size                     NEW: GNU ext.
1251 printf_size_info                NEW: GNU ext.
1252 profil_counter                  REMOVED
1253 pthread_mutexattr_getkind_np    REPLACED
1254 pthread_mutexattr_setkind_np    REPLACED
1255 ptsname                         NEW: Unix98 PTY
1256 ptsname_r                       NEW: Unix98 PTY
1257 putc_locked                     REMOVED
1258 putchar_locked                  REMOVED
1259 putgrent                        NEW: GNU ext.
1260 putmsg                          NEW: STREAMS
1261 putpmsg                         NEW: STREAMS
1262 pututxline                      NEW: Unix98
1263 pwrite                          NEW: Unix98
1264 pwrite64                        NEW: LFS
1265 readdir64                       NEW: LFS
1266 readdir64_r                     NEW: LFS
1267 remquo                          NEW: ISO C 9x
1268 remquof                         NEW: ISO C 9x
1269 remquol                         NEW: ISO C 9x
1270 round                           NEW: ISO C 9x
1271 roundf                          NEW: ISO C 9x
1272 roundl                          NEW: ISO C 9x
1273 rtime                           NEW: GNU ext.
1274 scalbln                         NEW: ISO C 9x
1275 scalblnf                        NEW: ISO C 9x
1276 scalblnl                        NEW: ISO C 9x
1277 scandir64                       NEW: LFS
1278 sendfile                        NEW: kernel
1279 setcontext                      NEW: Unix98
1280 setrlimit64                     NEW: LFS
1281 setutxent                       NEW: Unix98
1282 sighold                         NEW: Unix98
1283 sigignore                       NEW: Unix98
1284 sigqueue                        NEW: POSIX.1b
1285 sigrelse                        NEW: Unix98
1286 sigset                          NEW: POSIX.1b
1287 sigtimedwait                    NEW: POSIX.1b
1288 sigwaitinfo                     NEW: POSIX.1b
1289 sincos                          NEW: GNU ext.
1290 sincosf                         NEW: GNU ext.
1291 sincosl                         NEW: GNU ext.
1292 statfs64                        NEW: LFS
1293 statvfs                         NEW: Unix98
1294 statvfs64                       NEW: LFS
1295 strcasestr                      NEW: GNU ext.
1296 strtoimax                       NEW: ISO C 9x
1297 strtoumax                       NEW: ISO C 9x
1298 strverscmp                      NEW: GNU ext.
1299 svcauthdes_stats                NEW: Secure RPC
1300 svcunix_create                  NEW: sunrpc etx
1301 svcunixfd_create                NEW: sunrpc ext
1302 swapcontext                     NEW: Unix98
1303 tcgetsid                        NEW: Unix98 PTY
1304 tdestroy                        NEW: GNU ext.
1305 tgamma                          NEW: ISO C 9x
1306 tgammaf                         NEW: ISO C 9x
1307 tgammal                         NEW: ISO C 9x
1308 tmpfile64                       NEW: LFS
1309 trunc                           NEW: ISO C 9x
1310 truncate64                      NEW: LFS
1311 truncf                          NEW: ISO C 9x
1312 truncl                          NEW: ISO C 9x
1313 umount2                         NEW: kernel
1314 unlockpt                        NEW: Unix98 PTY
1315 updwtmpx                        NEW: Unix98
1316 user2netname                    NEW: Secure RPC
1317 utmpxname                       NEW: Unix98
1318 versionsort                     NEW: GNU ext.
1319 versionsort64                   NEW: GNU ext.
1320 waitid                          NEW: Unix98
1321 wcscasecmp                      NEW: GNU ext.
1322 wcsncasecmp                     NEW: GNU ext.
1323 wcsnlen                         NEW: GNU ext.
1324 wcstoimax                       NEW: ISO C 9x
1325 wcstoll                         NEW: ISO C 9x
1326 wcstoull                        NEW: ISO C 9x
1327 wcstoumax                       NEW: ISO C 9x
1328 wcswcs                          NEW: Unix98
1329 wordexp                         NEW: POSIX.2
1330 wordfree                        NEW: POSIX.2
1331 write_profiling                 REMOVED
1332 xdecrypt                        NEW: Secure RPC
1333 xdr_authdes_cred                NEW: Secure RPC
1334 xdr_authdes_verf                NEW: Secure RPC
1335 xdr_cryptkeyarg                 NEW: Secure RPC
1336 xdr_cryptkeyarg2                NEW: Secure RPC
1337 xdr_cryptkeyres                 NEW: Secure RPC
1338 xdr_getcredres                  NEW: Secure RPC
1339 xdr_key_netstarg                NEW: Secure RPC
1340 xdr_key_netstres                NEW: Secure RPC
1341 xdr_keybuf                      NEW: Secure RPC
1342 xdr_keystatus                   NEW: Secure RPC
1343 xdr_netnamestr                  NEW: Secure RPC
1344 xdr_sizeof                      NEW: Secure RPC
1345 xdr_unixcred                    NEW: sunrpc ext
1346 xencrypt                        NEW: Secure RPC
1347 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1349 Version 2.0.6
1351 * more bug fixes
1354 Version 2.0.5
1356 * more bug fixes
1358 * inet_ntoa is thread-safe
1360 * updwtmp is moved from libutil to libc
1362 * rewrite of cbrt function
1364 * update of timezone data
1366 Version 2.0.4
1368 * more bug fixes
1370 Version 2.0.3
1372 * more bug fixes
1374 Version 2.0.2
1376 * more bug fixes
1378 * add atoll function
1380 * fix complex problems in Berkeley DB code
1382 * fix math functions
1384 Version 2.0.1
1386 * fixed lots of header problems (especially Linux/GNU specific)
1388 * dynamic loader preserves all registers
1390 * Roland McGrath provided support for handling of auxiliary objects in
1391   the ELF dynamic loader.
1393 * support for parallel builds is improved
1395 Version 2.0
1397 * GNU extensions are no longer declared by default.  To enable them you
1398   must define the macro `_GNU_SOURCE' in your program or compile with
1399   `-D_GNU_SOURCE'.
1401 * The library has changed from using GNU ld symbol aliases to using weak
1402   symbols where available.  The ELF object file format supports weak
1403   symbols; GNU ld also supports weak symbols in the a.out format.  (There
1404   is also now support for other GNU ld extensions in ELF.  Use the
1405   `--with-elf' option to configure to indicate you have ELF, and
1406   `--with-gnu-ld' if using GNU ld.)  This change resulted in the deletion
1407   of many files which contained only symbol aliases, reducing the size of
1408   the source and the compiled library; many other files were renamed to
1409   less cryptic names previously occupied by the symbol alias files.
1410   There is a new header file <elf.h> for programs which operate on
1411   files in the ELF format.
1413 * Converted to Autoconf version 2, so `configure' has more options.
1414   Run `configure --help' to see the details.
1416 * The library can now be configured to build profiling, highly-optimized
1417   (but undebuggable), and/or shared libraries (ELF with GNU ld only).  The
1418   `--enable-profile', `--enable-omitfp', and `--enable-shared' options to
1419   `configure' enable building these extra libraries.  The shared library is
1420   built by default when using both ELF and GNU ld.  When shared libraries
1421   are enabled, the new library `-ldl' is available for arbitrary run-time
1422   loading of shared objects; its interface is defined in <dlfcn.h>.  The
1423   new header file <link.h> gives access to the internals of the run-time
1424   dynamic linker, `ld.so'.  The shell script `ldd' is similar to the
1425   application of same name on other systems and it provides information
1426   about dynamically linked binaries.
1428 * The C library now provides the run-time support code for profiling
1429   executables compiled with `-pg'.  Programs can control the profiling code
1430   through the interface in <sys/gmon.h>.  The `gmon.out' files written by
1431   the GNU C library can be read only by GNU `gprof' (from GNU binutils);
1432   the support for this file format was contributed by David Mosberger-Tang.
1434 * The math code has been replaced with a math library based on fdlibm from
1435   Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
1436   Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
1437   functions.  The math functions now reside in a separate library,  so
1438   programs using them will need to use `-lm' their linking commands.
1440 * John C. Bowman contributed optimized ix87 assembler inline functions.
1442 * Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
1443   mechanism similar to that found in Solaris 2.  This is now used for the
1444   group, passwd, hosts, networks, services, protocols, rpc, ethers,
1445   shadow, netgroup, publickey, and alias databases.  The `nsswitch.conf'
1446   file controls what services are used for each individual database.  This
1447   works by loading shared libraries with names specified in `nsswitch.conf',
1448   so service modules can be changed or added at any time without even
1449   relinking any program.  Currently there are the file, db, and NIS based
1450   NSS services available.
1452 * The new functions `strtoq' and `strtouq' parse integer values from
1453   strings, like `strtol' and `strtoul', but they return `long long int' and
1454   `unsigned long long int' values, respectively (64-bit quantities).
1456 * The new functions `strtof' and `strtold' parse floating-point values from
1457   strings, like `strtod', but they return `float' and `long double' values,
1458   respectively (on some machines `double' and `long double' are the same).
1460 * Ulrich Drepper has contributed new implementations of the floating-point
1461   printing and reading code used in the `printf' family of functions and
1462   `strtod', `strtof', and `strtold'.  These new functions are perfectly
1463   accurate, and much faster than the old ones.
1465 * The implementation of the POSIX locale model was completely rewritten by
1466   Ulrich Drepper.  This includes the new programs `localedef' and `locale'
1467   to compile the POSIX locale definition.
1469 * The former dummy implementations of the strcoll and strxfrm function are
1470   now replaced by fully functional code contributed by Ulrich Drepper.  The
1471   collation information comes from the POSIX locale definitions.
1473 * The new header <langinfo.h> defines an interface for accessing
1474   various locale-dependent data (using the locale chosen with `setlocale').
1476 * Ulrich Drepper has contributed a new suite of functions for operation on
1477   wide-character and multibyte-character strings, in <wchar.h>;
1478   and classification and case conversion of wide characters, in <wctype.h>.
1479   These new functions are conforming to the ISO C, Amendement 1 specification.
1481 * There is now a second implementation of the standard I/O library available.
1482   It comes from GNU libg++ as was written by Per Bothner, heavily modified
1483   by Hongjiu Lu and made thread safe by Ulrich Drepper.
1485 * You can now use positional parameter specifications in format strings
1486   for the `printf' and `scanf' families of functions.  For example,
1487   `printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
1488   ``Number 6, Mr Jones''.  This is mainly useful when providing different
1489   format strings for different languages, whose grammars may dictate
1490   different orderings of the values being printed.  To support this
1491   feature, the interface for `register_printf_handler' has changed; see
1492   the header file <printf.h> for details.
1494 * The `printf' and `scanf' families of functions now understand a new
1495   formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
1496   to group numbers as indicated by the locale; for `scanf' and friends, this
1497   says to accept as valid only a number with all the proper grouping
1498   separators in the right places.  In the default "C" locale, numbers are
1499   not grouped; but locales for specific countries will define the usual
1500   conventions (i.e. separate thousands with `,' in the US locale).
1502 * The pgrp functions have been regularized, slightly incompatibly but much
1503   less confusingly.  The core functions are now `getpgid' and `setpgid',
1504   which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
1505   argument) and BSD `setpgrp' (identical to `setpgid') functions are
1506   provided for compatibility.  There is no longer an incompatible `getpgrp'
1507   with an argument declared under _BSD_SOURCE; no BSD code uses it.
1509 * The new header file <fts.h> and suite of functions simplify programs that
1510   operate on directory trees.  This code comes from 4.4 BSD.
1512 * The resolver code has been updated from the BIND 4.9.5-P1 release.
1513   Parts of the code were heavily modified by Ulrich Drepper to fit in the
1514   NSS scheme used in glibc.
1516 * There is a new malloc debugging hook `__memalign_hook'.
1518 * There are new typedefs `ushort' for `unsigned short int' and `uint' for
1519   `unsigned int' in <sys/types.h>.  These are for compatibility only and
1520   their use is discouraged.
1522 * The `-lmcheck' library to enable standard malloc debugging hooks is now
1523   done differently, so that it works even without GNU ld.
1525 * New function `euidaccess' checks allowed access to a file like `access',
1526   but using the effective IDs instead of the real IDs.
1528 * The time zone data files have been updated for the latest and greatest
1529   local time conventions of the countries of the world.
1531 * The new function `dirfd' extracts the file descriptor used by a DIR stream;
1532   see <dirent.h>.
1534 * The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
1535   for formatting floating-point numbers.  They are provided only for
1536   compatibility; new programs should use `sprintf' instead.  There are
1537   also equivalent function for the `long double' floating-point type and
1538   all functions also exist in a reentrant form.
1540 * The new auxiliary library `-lutil' from 4.4 BSD contains various
1541   functions for maintaining the login-record files (primarily of use to
1542   system programs such as `login'), and convenient functions for
1543   allocating and initializing a pseudo-terminal (pty) device.
1545 * Ulrich Drepper has contributed new support for System V style
1546   shared memory and IPC on systems that support it.
1548 * Ulrich Drepper has contributed several miscellaneous new functions found
1549   in System V: The `hsearch' family of functions provide an effective
1550   implementation of hash tables; `a64l' and `l64a' provide a very simple
1551   binary to ASCII mapping; `drand48' and friends provide a 48-bit random
1552   number generator.
1554 * Ulrich Drepper has contributed new reentrant counterparts for the
1555   `random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
1557 * Ulrich Drepper has contributed new, highly-optimized versions of several
1558   string functions for the i486/Pentium family of processors.
1560 * Ulrich Drepper has updated the Linux-specific code, based largely
1561   on work done in Hongjiu Lu's version of GNU libc for Linux.
1562   The GNU library now supports Linux versions 2.0.10 and later,
1563   using the ELF object file format (i[3456]86-*-linux).
1565 * Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
1567 * David Mosberger-Tang and Richard Henderson have ported the C library
1568   to Linux/Alpha (alpha-*-linux).  Richard Henderson contributed the
1569   dynamic linking support for ELF/Alpha.
1571 * Richard Henderson contributed several Alpha optimized assembler function
1572   for arithmetic and string handling.
1574 * Ulrich Drepper has contributed a new set of message catalog functions to
1575   support multiple languages using the <libintl.h> interface, for use with
1576   his new package GNU gettext.  Translation volunteers have contributed
1577   catalogs of the library's messages in Spanish, German, and Korean.
1579 * For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
1580   program and the `catgets' function for reading the catalog files it
1581   creates.  (The <libintl.h> interface is preferred; we include the
1582   <nl_types.h> interface using `catgets' only for source compatibility with
1583   programs already written to use it.)
1585 * New header file <values.h> gives SVID-compatible names for <limits.h>
1586   constants.
1588 * Various new macros, declarations, and small header files for compatibility
1589   with 4.4 BSD.
1591 * New function `group_member' is a convenient way to check if a process has
1592   a given effective group ID.
1594 * When using GCC 2.7 and later, the socket functions are now declared in a
1595   special way so that passing an argument of type `struct sockaddr_in *',
1596   `struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
1597   `struct sockaddr *' type, does not generate a type-clash warning.
1599 * New function `error' declared in header file <error.h> is a convenient
1600   function for printing error messages and optionally exiting; this is the
1601   canonical function used in GNU programs.  The new functions `err', `warn',
1602   and friends in header file <err.h> are the canonical 4.4 BSD interface for
1603   doing the same thing.
1605 * The <glob.h> interface has several new flags from 4.4 BSD that extend the
1606   POSIX.2 `glob' function to do ~ and {...} expansion.
1608 * New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
1609   `clearenv' which is used in POSIX.9 is also available.
1611 * New function `getsid' returns session ID number on systems that support it.
1613 * We have incorporated the 4.4 BSD `db' library (version 1.85).  New header
1614   files <db.h> and <mpool.h> provide a rich set of functions for several
1615   types of simple databases stored in memory and in files, and <ndbm.h> is
1616   an old `ndbm'-compatible interface using the `db' functions.  Link with
1617   `-ldb' to get these functions.
1619 * New macro `strdupa' copies a string like `strdup', but uses local stack
1620   space from `alloca' instead of dynamic heap space from `malloc'.
1622 * New function `strnlen' is like `strlen' but searches only a given maximum
1623   number of characters for the null terminator.  `stpncpy', `strndup' and
1624   `strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
1625   function.
1627 * New function `statfs' in header <sys/statfs.h>.
1629 * The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
1630   provide convenient functions for operating on blocks of null-terminated
1631   strings.
1633 * A new suite of functions in <utmp.h> handle all the details of reading
1634   and writing the utmp file.
1636 * An implementation of the NIS/YP(tm) based NSS service was contributed by
1637   Thorsten Kukuk.
1639 * Paul Eggert and Ulrich Drepper modified the `strftime' function to be
1640   completely POSIX compliant and also implemented the extended functionality
1641   to handle alternate digit representation and alternate era date formats.
1643 * Ulrich Drepper provided an implementation of the `strptime' function
1644   defined in XPG4.2 which transforms a string into a `struct tm' value.
1646 * Paul Eggert provided the tzselect shell script as part of the timezone
1647   code.  The shell script makes it easy to select the correct timezone
1648   specification.
1650 * The implementation of the malloc family of functions is completely replaced
1651   by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
1652   The implementation uses the mmap function (if available) and it is
1653   optimized for the use in multi threaded programs.
1655 * Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
1656   functions.  This new functionality is usable by specifying a special
1657   salt string and it is compatible with implementation on *BSD systems.
1659 * Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
1660   `getsubopt' to handle second level command line options, `bsd_signal'
1661   to access BSD style `signal' functionality, the obsolete `regexp' style
1662   expression matcher.
1664 * the `lchown' function is available on system which support this
1665   functionality.
1667 * The implementation of the shadow password handling function was contributed
1668   by Ulrich Drepper.
1670 * David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
1672 * POSIX.1g support was added.  The <sys/select.h> header is available,
1673   `isfdtype' and `pselect' are implemented.  Craig Metz contributed an
1674   implementation of `getaddrinfo'.
1676 Version 1.09
1678 * For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
1680 * New header file <fstab.h> and new functions `getfsspec', `getfsent' and
1681   friends, for parsing /etc/fstab.  This code comes from 4.4 BSD.
1683 * The new function `daemon' from 4.4 BSD is useful for server programs that
1684   want to put themselves in the background.
1686 * Joel Sherrill has contributed support for several standalone boards that
1687   run without an operating system.
1689 * `printf', `scanf' and friends now accept a `q' type modifier for long
1690   long int as well as `ll'.  Formats using these might be `%qu' or `%lld'.
1692 * All of the code taken from BSD (notably most of the math and networking
1693   routines) has been updated from the BSD 4.4-Lite release.
1695 * The resolver code has been updated from the BIND-4.9.3-BETA9 release.
1697 * The new functions `getdomainname' and `setdomainname' fetch or change the
1698   YP/NIS domain name.  These are system calls which exist on systems which
1699   have YP (aka NIS).
1701 * The time zone data files have been updated for the latest international
1702   conventions.
1704 * The SunRPC programs `portmap' and `rpcinfo' are now installed in
1705   $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
1707 Version 1.08
1709 * The C library now includes support for Sun RPC, from Sun's free
1710   RPCSRC-4.0 distribution.  The `portmap', `rpcinfo', and `rpcgen' programs
1711   are included.  (There is still no support for YP.)
1713 * Tom Quinn has contributed a port of the C library to SGI machines running
1714   Irix 4 (mips-sgi-irix4).
1716 * The new `lockf' function is a simplified interface to the locking
1717   facilities of `fcntl', included for compatibility.
1719 * New time functions `timegm', `timelocal', and `dysize' for compatibility.
1721 * New header file <sys/timeb.h> and new function `ftime' for compatibility.
1723 * New header files <poll.h> and <sys/poll.h> and new function `poll' for
1724   compatibility.
1726 * The error message printed by `assert' for a failed assertion now includes
1727   the name of the program (if using GNU ld) and the name of the calling
1728   function (with versions of GCC that support this).
1730 * The `psignal' function is now declared in <signal.h>, not <stdio.h>.
1732 * The library now includes the <sys/mman.h> header file and memory
1733   management functions `mmap', `munmap', `mprotect', `msync', and
1734   `madvise', on systems that support those facilities.
1736 * The interface for `mcheck' has changed slightly: the function called to
1737   abort the program when an allocation inconsistency is detected now takes
1738   an argument that indicates the type of failure.  The new function
1739   `mprobe' lets you request a consistency check for a particular block at
1740   any time (checks are normally done only when you call `free' or `realloc'
1741   on a block).
1743 * It is now possible to easily cross-compile the C library, building on one
1744   system a library to run on another machine and/or operating system.  All
1745   you need to do is set the variable `HOST_CC' in `configparms' to the
1746   native compiler for programs to run on the machine you are building on (a
1747   few generator programs are used on Unix systems); set `CC' to the
1748   cross-compiler.
1750 * The new function `fexecve' (only implemented on the GNU system) executes
1751   a program file given a file descriptor already open on the file.
1753 Version 1.07
1755 * Brendan Kehoe has contributed most of a port to the DEC Alpha
1756   running OSF/1 (alpha-dec-osf1).  He says it is 75% complete.
1758 * You can set the variable `libprefix' in `configparms' to specify a prefix
1759   to be prepended to installed library files; this makes it easy to install
1760   the GNU C library to be linked as `-lgnuc' or whatever.
1762 * The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
1763   copies a limited number of characters from a string, and returns the
1764   address of the last character written.
1766 * You no longer need to check for whether the installed `stddef.h' is
1767   compatible with the GNU C library.  configure now checks for you.
1769 * You can now define a per-stream `fileno' function to convert the
1770   stream's cookie into an integral file descriptor.
1772 * ``malloc (0)'' no longer returns a null pointer.  Instead, it
1773   allocates zero bytes of storage, and returns a unique pointer which
1774   you can pass to `realloc' or `free'.  The behavior is undefined if
1775   you dereference this pointer.
1777 * The C library now runs on Sony NEWS m68k machines running either
1778   NewsOS 3 or NewsOS 4.
1780 * The new `syscall' function is a system-dependent primitive function
1781   for invoking system calls.  It has the canonical behavior on Unix
1782   systems, including unreliable return values for some calls (such as
1783   `pipe', `fork' and `getppid').
1785 * The error code `EWOULDBLOCK' is now obsolete; it is always defined
1786   to `EAGAIN', which is the preferred name.  On systems whose kernels
1787   use two distinct codes, the C library now translates EWOULDBLOCK to
1788   EAGAIN in every system call function.
1790 Version 1.06
1792 * The GNU C Library Reference Manual is now distributed with the library.
1793   `make dvi' will produce a DVI file of the printed manual.
1794   `make info' will produce Info files that you can read on line using C-h i
1795   in Emacs or the `info' program.
1796   Please send comments on the manual to bug-glibc-manual@gnu.org.
1798 * The library now supports SVR4 on i386s (i386-unknown-sysv4).
1800 * Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
1802 * Jason Merrill has contributed a port to the Sequent Symmetry running
1803   Dynix version 3 (i386-sequent-dynix).
1805 * The library has been ported to i386s running SCO 3.2.4 (also known as SCO
1806   ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
1808 * New function `memory_warnings' lets you arrange to get warnings when
1809   malloc is running out of memory to allocate, like Emacs gives you.
1811 * The C library now contains the relocating allocator used in Emacs 19 for
1812   its editing buffers.  This allocator (ralloc) minimizes allocation
1813   overhead and fragmentation by moving allocated regions around whenever it
1814   needs to.  You always refer to a ralloc'd region with a "handle" (a
1815   pointer to a pointer--an object of type `void **').
1817 * There is a new `printf' format: `%m' gives you the string corresponding
1818   to the error code in `errno'.
1820 * In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
1821   or `%[' conversion, but instead of filling in a fixed-sized buffer you
1822   pass, the `a' modifier says to fill in a `char **' you pass with a
1823   malloc'd string.
1825 * The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
1826   `FNM_CASEFOLD'.  `FNM_LEADING_DIR' lets a pattern like `foo*' match a
1827   name like `foo/bar'.  `FNM_CASEFOLD' says to ignore case in matching.
1829 * `mkstemp' is a traditional Unix function to atomically create and open a
1830   uniquely-named temporary file.
1832 Version 1.05
1834 * The standard location for the file that says what the local timezone is
1835   has changed again.  It is now `/usr/local/etc/localtime' (or more
1836   precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
1838 * The distribution no longer contains any files with names longer than 14
1839   characters.
1841 * `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
1842   These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
1844 * New functions `ttyslot' and `syslog' from 4.4 BSD.
1846 Version 1.04
1848 * The configuration process has changed quite a bit.  The `configure'
1849   script is now used just like the configuration scripts for other GNU
1850   packages.  The `sysdeps' directory hierarchy is much rearranged.
1851   The file `INSTALL' explains the new scheme in detail.
1853 * The header files no longer need to be processed into ANSI C and
1854   traditional C versions.  There is just one set of files to install, and
1855   it will work with ANSI or old C compilers (including `gcc -traditional').
1857 * Brendan Kehoe and Ian Lance Taylor have ported the library to the
1858   MIPS DECStation running Ultrix 4.
1860 * The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
1861   Tom Quinn contributed the initial code.  The GNU C library can NOT yet be
1862   made itself into a shared library.
1864 * Yet further improved support for the i386, running 4.3 BSD-like systems
1865   (such as Mach 3 with the Unix single-server), or System V.
1867 * New function `strncasecmp' to do case-insensitive string comparison
1868   with limited length.
1870 * New function `strsep' is a reentrant alternative to `strtok'.
1872 * New functions `scandir' and `alphasort' for searching directories.
1874 * New function `setenv' is a better interface to `putenv'.
1876 * Ian Lance Taylor has contributed an implementation of the SVID `ftw'
1877   function for traversing a directory tree.
1879 * The GNU obstack package is now also part of the C library.
1880   The new function `open_obstack_stream' creates a stdio stream that
1881   writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
1882   formatted output directly to an obstack.
1884 * Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
1885   cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
1887 * `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
1889 * The new functions `strfry' and `memfrob' do mysterious and wonderful
1890   things to your strings.
1892 * There are some new test programs: test-fseek, testmb, and testrand.
1894 * Some work has been done to begin porting the library to 4.4 BSD and Linux.
1895   These ports are not finished, but are a good starting place for really
1896   supporting those systems.
1898 * `/etc/localtime' is now the standard location for the file that says what
1899   the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
1900   This follows the general principle that `/etc' is the place for all local
1901   configuration files.
1903 * The C library header files now use `extern "C"' when used by the C++
1904   compiler, so the C library should now work with C++ code.
1906 * The header file <bstring.h> is gone.  <string.h> now declares bcopy,
1907   bcmp, bzero, and ffs.  (Update: nowadays these functions are declared
1908   in <strings.h>.)
1910 * Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
1911   function which uses the `merge sort' algorithm, and is said to be
1912   significantly faster than the old GNU `qsort' function.  Merge sort is
1913   now the standard `qsort' function.  The new algorithm can require a lot
1914   of temporary storage; so, the old sorting function is called when the
1915   required storage is not available.
1917 * The C library now includes Michael Glad's Ultra Fast Crypt, which
1918   provides the Unix `crypt' function, plus some other entry points.
1920 * The code and header files taken from 4.4 BSD have been updated with the
1921   latest files released from Berkeley.
1923 ----------------------------------------------------------------------
1924 Copyright information:
1926 Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2005,2006
1927         Free Software Foundation, Inc.
1929    Permission is granted to anyone to make or distribute verbatim copies
1930    of this document as received, in any medium, provided that the
1931    copyright notice and this permission notice are preserved,
1932    thus giving the recipient permission to redistribute in turn.
1934    Permission is granted to distribute modified versions
1935    of this document, or of portions of it,
1936    under the above conditions, provided also that they
1937    carry prominent notices stating who last changed them.
1939 Local variables:
1940 version-control: never
1941 End: