]> git.ipfire.org Git - thirdparty/glibc.git/blame - NEWS
Implement IFUNC for PPC.
[thirdparty/glibc.git] / NEWS
CommitLineData
7f3146e7 1GNU C Library NEWS -- history of user-visible changes. 2009-10-29
1fdd89a7 2Copyright (C) 1992-2008, 2009 Free Software Foundation, Inc.
28f540f4
RM
3See the end for copying conditions.
4
69be6aaf
RM
5Please send GNU C library bug reports via <http://sources.redhat.com/bugzilla/>
6using `glibc' in the "product" field.
b50f8e42
UD
7\f
8Version 2.11
9
7f3146e7 10* New interfaces: execvpe, pthread_sigqueue, mkstemps, mkstemps64
3d5243d4
UD
11 Implemented by Ulrich Drepper.
12
24ab9c76 13* Checking version of longjmp added that fails if an uninitialized stack
b50f8e42
UD
14 frame would be created. Implemented by Ulrich Drepper.
15
b8706f70
UD
16* STT_GNU_IFUNC is now supported in static executables.
17 Implemented by H.J. Lu.
18
0122f28e 19* New optimized string functions for x86-64: strstr, strcasestr, memcmp,
9d36a6c4 20 strcspn, strpbrk, strspn, strcpy, stpcpy, strncpy, strcmp (SSE2, SSE4.2),
7f3146e7 21 strncmp (SSE2, SSE4.2), strchr (SSE4.2), strrchr (SSE4.2).
0122f28e
UD
22 Contributed by H.J. Lu.
23
9d36a6c4 24 strlen, rawmemchr, strcmp (SSSE3), strncmp (SSSE3).
0122f28e
UD
25 Implemented by Ulrich Drepper.
26
9d36a6c4
UD
27* New optimized string functions for x86: strlen, strcspn, strspn, strpbrk,
28 strstr, strcasestr.
29 Contributed by H.J. Lu.
30
31* Support for fma instruction in AVX on x86-64.
32 Implemented by H.J. Lu and Ulrich Drepper.
33
0122f28e
UD
34* AVX support in x86-64 auditing support in ld.so.
35 Implemented by H.J. Lu.
36
37* STB_GNU_UNIQUE support added.
38 Implemented by Ulrich Drepper.
39
40* Implement second fallback mode for optimized DNS lookup for even more
41 broken environments. If two requests from the same port are not
42 handled correctly close the socket and open a new one before sending
43 the second request. The 'single-request-reopen' option in /etc/resolv.conf
44 can be used to select this mode right away, instead of rediscovering the
45 necessity is every process again.
46 Implemented by Ulrich Drepper.
47
9d36a6c4
UD
48* New resolver flag RES_USE_DNSSEC to enable use of verified lookup.
49 Implemented by Adam Tkac.
50
51* Optimized iconv conversions for S390x.
52 Implemented by Andreas Krebbel.
53
4bc1b896
UD
54* Using condvars with PI mutexes is now more efficient due to kernel
55 support for requeueing to PI futexes. NPTL support added for x86-64.
56 Implemented by Ulrich Drepper.
57
02a544f4
UD
58* New locale: ps_AF
59
f1092afe
UD
60\f
61Version 2.10
62
bb066545 63* New interfaces: preadv, preadv64, pwritev, pwritev64, malloc_info
e109c612
UD
64 Implemented by Ulrich Drepper.
65
425ce2ed 66* New Linux interfaces: accept4, fallocate, fallocate64.
e109c612 67 Implemented by Ulrich Drepper.
6f5c3117 68
1fdd89a7 69* Correct declarations of string function when used in C++ code. This
735be400 70 could lead to compile errors for invalid C++ code.
1fdd89a7 71
6cbe890a
UD
72* XPG7/POSIX 2008 compilation environment. Many GNU-specific functions are
73 now in POSIX.
77db439e 74
1f04d005 75* New POSIX 2008 interface: psiginfo
6cbe890a 76 Implemented by Ulrich Drepper.
1f04d005 77
610e67ed
UD
78* New ISO C++1x interfaces: quick_exit, at_quick_exit
79 Implemented by Ulrich Drepper.
80
878b72c5
UD
81* Support for selecting between multiple function definitions at runtime
82 using STT_GNU_IFUNC symbols. Implemented by Ulrich Drepper.
83
e109c612
UD
84* The libcrypt library can now use the hash function implementations in
85 NSS. Implemented by Ulrich Drepper.
86
87* The malloc implementation can be compiled to be less memory efficient
88 but higher performing in multi-threaded programs.
89 Implemented by Ulrich Drepper.
90
735be400 91* New locales: nan_TW@latin, ks_IN
878b72c5 92
84aa52d7 93* Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for x86-64.
9d26efa9
UD
94 Implemented by Ulrich Drepper.
95
96* Extended printf hook support. It is possible to use user-defined types
97 and extend existing format specifiers.
a152f366
UD
98 Implemented by Ulrich Drepper.
99
c7e74e59
UD
100* Handling for group shadow files has been added.
101 Implemented by Ulrich Drepper.
102
57be3fd7
UD
103* DNS IPv4-IPv6 parallel lookup now deals better with broken DNS
104 servers (the case, e.g., for some people using the built-in DNS
105 server in ADSL modems/routers). There is a once-per-process timeout
106 in case of a broken server. To avoid it, users can run nscd or put
107 'options single-request' in /etc/resolv.conf.
108 Implemented by Ulrich Drepper.
109
28919a77 110\f
b29899ae
UD
111Version 2.9
112
113* Unified lookup for getaddrinfo: IPv4 and IPv6 addresses are now looked
f05ac8f5
UD
114 up at the same time. Implemented by Ulrich Drepper.
115
116* TLS descriptors for LD and GD on x86 and x86-64.
117 Implemented by Alexandre Oliva.
18a74157
UD
118
119* getaddrinfo now handles DCCP and UDPlite.
120 Implemented by Ulrich Drepper.
0caca71a
UD
121
122* New fixed-size conversion macros: htobe16, htole16, be16toh, le16toh,
123 htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh.
124 Implemented by Ulrich Drepper.
125
126* New implementation of memmem, strstr, and strcasestr which is O(n).
127 Implemented by Eric Blake.
e038616f 128
8ec2550e 129* New Linux interfaces: inotify_init1, dup3, epoll_create1, pipe2
e038616f
UD
130
131* Implement "e" option for popen to open file descriptor with the
ebcc1f4d 132 close-on-exec flag set. Implemented by Ulrich Drepper.
e038616f 133
7b3ba2c4
UD
134* Implement "b" mode for fmemopen. In this mode writes writes don't
135 implicitly add a NUL byte and seeks from the end of the buffer really
136 use the buffer end, not the string length as the basis.
137 Implemented by Ulrich Drepper.
138
e038616f
UD
139* Many functions, exported and internal, now atomically set the close-on-exec
140 flag when run on a sufficiently new kernel. Implemented by Ulrich Drepper.
48b22986 141
bf837fa3
UD
142* Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu,
143 Sinhala)
48b22986 144 Implemented by Pravin Satpute.
0a26fc4d
UD
145
146* New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW.
b29899ae 147\f
28919a77
UD
148Version 2.8
149
e038616f 150* New locales: bo_CN, bo_IN, shs_CA.
b4354cf4 151
77751669 152* New encoding: HP-ROMAN9, HP-GREEK8, HP-THAI8, HP-TURKISH8.
aece054b
UD
153
154* Sorting rules for some Indian languages (Devanagari and Gujarati).
155 Implemented by Pravin Satpute.
156
157* IPV6 addresses in /etc/resolv.conf can now have a scope ID
158
159* nscd caches now all timeouts for DNS entries
160 Implemented by Ulrich Drepper.
161
162* nscd is more efficient and wakes up less often.
163 Implemented by Ulrich Drepper.
164
165* More checking functions: asprintf, dprintf, obstack_printf, vasprintf,
166 vdprintf, and obstack_vprintf.
167 Implemented by Jakub Jelinek.
168
169* Faster memset for x86-64.
170 Implemented by Harsha Jagasia and H.J. Lu.
171
172* Faster memcpy on x86.
173 Implemented by Ulrich Drepper.
174
175* ARG_MAX is not anymore constant on Linux. Use sysconf(_SC_ARG_MAX).
176 Implemented by Ulrich Drepper.
3b32d8a2
UD
177
178* Faster sqrt and sqrtf implemention for some PPC variants.
179 Implemented by Stephen Munroe.
46c38bd7 180\f
e1db0493
UD
181Version 2.7
182
183* More checking functions: fread, fread_unlocked, open*, mq_open.
184 Implemented by Jakub Jelinek and Ulrich Drepper.
185
186* Extend fortification to C++. Implemented by Jakub Jelinek.
187
188* Implement 'm' modifier for scanf. Add stricter C99/SUS compliance
189 by not recognizing 'a' as a modifier when those specs are requested.
190 Implemented by Jakub Jelinek.
191
192* PPC optimizations to math and string functions.
193 Implemented by Steven Munroe.
194
28919a77 195* New interfaces: mkostemp, mkostemp64. Like mkstemp* but allow additional
e1db0493
UD
196 options to be passed. Implemented by Ulrich Drepper.
197
198* More CPU set manipulation functions. Implemented by Ulrich Drepper.
199
0304f168
UD
200* New Linux interfaces: signalfd, eventfd, eventfd_read, and eventfd_write.
201 Implemented by Ulrich Drepper.
202
e1db0493
UD
203* Handle private futexes in the NPTL implementation.
204 Implemented by Jakub Jelinek and Ulrich Drepper.
205
206* Add support for O_CLOEXEC. Implement in Hurd. Use throughout libc.
207 Implemented by Roland McGrath and Ulrich Drepper.
208
209* Linux/x86-64 vDSO support. Implemented by Ulrich Drepper.
210
211* SHA-256 and SHA-512 based password encryption.
212 Implemented by Ulrich Drepper.
0304f168
UD
213
214* New locales: ber_DZ, ber_MA, en_NG, fil_PH, fur_IT, fy_DE, ha_NG, ig_NG,
215 ik_CA, iu_CA, li_BE, li_NL, nds_DE, nds_NL, pap_AN, sc_IT, tk_TM, ug_CN,
216 yo_NG.
217
218+ New iconv modules: MAC-CENTRALEUROPE, ISO-8859-9E, KOI8-RU.
219 Implemented by Ulrich Drepper.
e1db0493 220\f
11bf311e 221Version 2.6
46c38bd7 222
bce20b9a 223* New Linux interfaces: epoll_pwait, sched_getcpu.
46c38bd7 224
4a44ce79
UD
225* New generic interfaces: strerror_l.
226
b21fa963
UD
227* nscd can now cache the services database. Implemented by Ulrich Drepper.
228
3af48b5b
UD
229\f
230Version 2.5
231
232* For Linux, the sorting of addresses returned by getaddrinfo now also
457b559e
UD
233 handles rules 3, 4, and 7 from RFC 3484. I.e., all rules are handled.
234 Implemented by Ulrich Drepper.
3af48b5b 235
3142b1ac
UD
236* Allow system admin to configure getaddrinfo with the /etc/gai.conf file.
237 Implemented by Ulrich Drepper.
238
871b9158 239* New Linux interfaces: splice, tee, sync_file_range, vmsplice.
1e528c6e
UD
240
241* New iconv module for MIK. Contributed by Alexander Shopov.
3af48b5b 242
3142b1ac
UD
243* For sites with broken group and/or passwd database, the auto-propagate
244 option of nscd can prevent creating ID lookup entries from the results
245 of a name lookup and vice versa. This usually is no problem but some
457b559e 246 site might have problems with the default behavior.
3142b1ac
UD
247 Implemented by Ulrich Drepper.
248
07bfff20 249* Iterating over entire database in NIS can be slow. With the
3142b1ac
UD
250 SETENT_BATCH_READ option in /etc/default/nss a system admin can decide
251 to trade time for memory. The entire database will be read at once.
252 Implemented by Ulrich Drepper.
253
07bfff20
UD
254* The interfaces introduced in RFC 3542 have been implemented by
255 Ulrich Drepper.
256
871b9158
UD
257* Support for the new ELF hash table format was added by Ulrich Drepper.
258
d5ba53f9
UD
259* Support for priority inheritance mutexes added by Jakub Jelinek and
260 Ulrich Drepper.
261
ad2a3c07
UD
262* Support for priority protected mutexes added by Jakub Jelinek.
263
88cc61e8
UD
264* New locales: nr_ZA, pa_PK, ca_AD, ca_FR, ca_IT, el_CY, tr_CY, as_IN,
265 or_IN, csb_PL, fy_NL, sr_ME.
2e92188d 266\f
137e6462
UD
267Version 2.4
268
269* More overflow detection functions.
270
271* New iconv converters for IBM1025, IBM1122, IBM1137, IBM1153,
272 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158 contributed by Jiro Sekiba.
1aa4e40a 273
4973cbe5
UD
274 More converters for IBM803, IBM901, IBM902, IBM921, IBM1008, IBM1097,
275 IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144,
276 IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517,
277 IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712,
278 IBM16804, IBM1364, IBM1371, IBM1388, IBM1390, and IBM1399 contributed
279 by Masahide Washizawa.
280
1aa4e40a
UD
281* It is now possible to install audit libraries for the dynamic linker using
282 LD_AUDIT. Implemented by Ulrich Drepper.
da0eaa47
RM
283
284* The LinuxThreads add-on, providing pthreads on Linux 2.4 kernels, is no
285 longer supported. The new NPTL implementation requires Linux 2.6 kernels.
286 For a libc and libpthread that works well on Linux 2.4 kernels, we
287 recommend using the stable 2.3 branch.
4973cbe5 288
35129bc0
RM
289* The new function open_wmemstream acts like open_memstream,
290 but uses a wchar_t wide character buffer.
291
292* The new function ppoll is an improved version of poll, similar to pselect.
293
294* New interfaces: fdopendir, openat, fstatat, fchmodat, fchownat,
295 futimesat, faccessat, mkdirat, mkfifoat, mknodat,
296 renameat, unlinkat, linkat, symlinkat, readlinkat.
297
298* New Linux kernel system calls: unshare,
299 inotify_init, inotify_add_watch, inotify_rm_watch.
300
301* The euidaccess function is now also known by the alias eaccess,
302 for compatibility with some other systems.
303
304* Timezone data updated to 2006b version.
137e6462 305\f
e6a9beca
RM
306Version 2.3.6
307
308* The following bugs are resolved with this release:
309
310 38, 253, 549, 622, 653, 721, 758, 851, 877, 915, 934, 955, 961,
311 1016, 1037, 1076, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086,
312 1087, 1088, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
313 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109,
314 1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252,
315 1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534
316
317 Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
318
319* As of this release, GCC 4 can be used to compile the C Library.
320
321* Timezone data updated to 2005m version.
322\f
da232bf9
RM
323Version 2.3.5
324
325* The following bugs are resolved with this release:
326
327 284, 592, 602, 626, 633, 640, 650, 661, 671, 681, 693, 700, 710, 719,
328 722, 723, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736,
329 737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776,
330 777, 787, 821, 822, 823, 825
331
332 Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
333\f
a55bda85
UD
334Version 2.3.4
335
336* Support for RFC 3678. Real implementations exist only for Linux so far.
337 Implemented by Ulrich Drepper.
8a1f658b
UD
338
339* nscd can now cache entries persistently. Expiring entries are reloaded.
340 For speedups the cache can be shared in memory with client processes.
341 Implemented by Ulrich Drepper.
342
343* nscd can now perform SELinux checks.
344 Implemented by Matthew Rickard <mjricka@epoch.ncsc.mil>.
345
0325dd20 346* getaddrinfo queries are now cached. Canonical name lookup is performed
8a1f658b
UD
347 efficiently.
348 Implemented by Ulrich Drepper.
349
350* The nothrow function attribute is used when headers are used by gcc when
351 compiling C code. This can avoid significant amounts of exception
352 handling data.
353
354* The malloc functions perform more error checking and are stricter when
355 it comes to reacting on errors. The default action is to terminate
0325dd20 356 the process after showing an error message. Implemented by Ulrich Drepper.
8a1f658b
UD
357
358* Reverse lookups of IPv6 addresses does not use bit string or .ip6.int
0325dd20
UD
359 lookups anymore unless explicitly requested. Implemented by Ulrich Drepper.
360
361* Namespaces in ld.so are implemented. DSOs can be loaded in separate
362 namespaces using the new function dlmopen(). This feature is of course,
363 like most other dynamic loading functionality, not available in statically
364 linked applications. Implemented by Ulrich Drepper.
365
366* Low-overhead boundary checking variants of string and some stdio functions
367 were added. These are to be used in conjunction with a gcc patch by
368 Jakub Jelinek which adds calls to these functions if possible.
720817e7
RM
369 Implemented by Jakub Jelinek and Ulrich Drepper.
370
371* Old code for several operating systems and machine architectures that
372 have not been in working condition in a long time have been removed from
373 the main source tree maintained by the GNU C Library's maintainers.
374 These files are now reside in the separate `ports' source module
375 that is usable as an add-on when building the library.
a55bda85 376\f
3a601d31
RM
377Version 2.3.3
378
45e4762c
RM
379* New functions `dladdr1' and `dlinfo' in <dlfcn.h> provide more ways to
380 interrogate the dynamic linker, compatible with the Solaris interface.
381
3a601d31
RM
382* ELF thread-local storage support (TLS) now works on PowerPC and PowerPC64;
383 implemented by Paul Mackerras, Steven Munroe, and Roland McGrath.
925c3c5c 384
69be6aaf 385* getifaddrs now uses the netlink interface on Linux to get its information.
925c3c5c
UD
386 Implemented by Thorsten Kukuk.
387
388* getaddrinfo now implements AI_V4MAPPED, AI_ALL, and AI_ADDRCONF.
389 Implemented by Ulrich Drepper.
97fd3a30
UD
390
391* support for non-executable stacks on x86 has been added. Changes mostly
392 by Roland McGrath.
393
c5af724c 394* regex is now much faster for multibyte locales. Changes by Jakub Jelinek
97fd3a30
UD
395 and Ulrich Drepper.
396
397* getaddrinfo now performs destination address selection according to
398 RFC 3484.
3a601d31 399\f
747bf98e
RM
400Version 2.3.2
401
f87277f2
RM
402* Thread-safe interfaces for many functions that access locale data
403 were added in version 2.3, but these features were omitted from NEWS.
404 Many functions have variants with an `_l' suffix that take a `locale_t'
405 object as a parameter rather than consulting the current locale.
406 The new functions `newlocale', `duplocale', and `freelocale' in <locale.h>
407 create and maintain `locale_t' objects. Additionally, the new function
408 `uselocale' sets "the current locale" (as used by functions not so
409 parameterized) set for an individual thread. These features were added
410 in version 2.3, implemented by Ulrich Drepper and Roland McGrath.
411
747bf98e
RM
412* The functions getresuid, getresgid, setresuid, and setresgid, which
413 have long been available on Linux, are now declared in <unistd.h>
414 and are now also available on the Hurd.
415
416* ELF thread-local storage support (TLS) now works on x86-64.
d62507dd
RM
417
418* The new dynamic string token $LIB is expanded in shared library names.
419 This normally expands to lib, but on some 64-bit platforms to lib64 instead.
52a16e58 420
f87277f2
RM
421* Aldy Hernandez contributed complete software floating point support for
422 PowerPC machines with no FPU.
423
52a16e58 424* fexecve is implemented on Linux.
f9ad060c 425
f87277f2
RM
426* The `btowc' function should work at least twice as fast due to
427 specialized callbacks in the iconv modules. Implemented by Bruno Haible.
9ef0a840
UD
428
429* With approriate thread add-ons cancelable functions are now implemented
430 in libc.so as well. No need to call the function in libpthread. This
431 change allowed to finally disable the incorrect and expensive handling
432 of weak definition in ld.so.
433
434* Yet more PLT entries in libc.so have been removed. We finally arrived
435 at the bare minimum. Startup times improved appropriately.
436
437* Support for the new Linux/x86 system call interface was added. The
438 AT_SYSINFO auxiliary vector entry is recognized and handled.
747bf98e 439\f
03a2c647 440Version 2.3
37fb1084 441
03a2c647
UD
442* Masahide Washizawa contributed iconv modules for IBM1163 and IBM1164
443 charsets.
444
445* iconv (the program and the interface) now accepts empty names (excluding
446 options like //TRANSLIT) to mean "use charset of current locale".
47e8b443 447
bb0ec5bd 448* localedef can now transliterate characters in strings which are not in
47e8b443 449 the provided charmap. The information from the input locale is used.
c17f665b
UD
450
451* Prelinking support was added for ELF targets. This requires additional
452 tools and recent versions of the GNU binutils. Contributed by Jakub Jelinek.
8e57fc70 453
bb0ec5bd 454* Read-only stdio streams now use mmap to speed up operation by eliminating
91e6367e
UD
455 copying and buffer underflows. To use add 'm' to the mode string of
456 the fopen/fdopen/freopen call. Implemented by Ulrich Drepper.
207b66ce
UD
457
458* The malloc functions were completely rewritten by Wolfram Gloger based
459 on Doug Lea's malloc-2.7.0.c.
3b0bdc72 460
bb0ec5bd 461* Isamu Hasegawa contributed a completely new and POSIX-conformant
3b0bdc72 462 implementation of regex.
02779eaa
UD
463
464* Bruno Haible upgraded the iconv and locale implementation to support
465 Unicode 3.2.
be45f421 466
bb0ec5bd
RM
467* Contents of the LC_* and LANG environment variables in the CEN style are
468 not recognized anymore. It never was used. Change by Ulrich Drepper.
be45f421 469
bb0ec5bd
RM
470* The runtime (ld.so, libc, libpthread for Linux) now can handle the ELF
471 thread-local storage (TLS) ABI on some platforms.
472 Changes by Ulrich Drepper. SH support by Kaz Kojima.
be45f421
UD
473
474* Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
f87277f2 475 EUC-JISX0213, and TSCII.
a753ffb2
RM
476
477* New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':
478 BSD-compatible interface for getting all network interface addresses.
479 Implementation for IPv4 by Roland McGrath.
6a9340b5
UD
480
481* Loading of locale data is faster due to the introduction of a locale
482 archive. Implemented by Roland McGrath and Ulrich Drepper.
dd4f2115
UD
483
484* Startup times are significantly reduced by not using exported functions
485 inside the library itself. Changes by Jakub Jelinek, Roland McGrath,
486 and Ulrich Drepper.
c843e065
RM
487
488* Steven Munroe contributed a port to PowerPC64/Linux.
489\f
45061a15
RM
490Version 2.2.6
491
492* The Hurd now uses the GNU libio implementation of stdio rather than the
493 old GNU stdio implementation, and uses a new ABI (libc.so.0.3).
494
495* The Hurd on x86 now has the `ioperm' function and <sys/io.h> header file
496 with the same behavior as the Linux system call of the same name.
03a2c647 497\f
a8ae31c2
UD
498Version 2.2.5
499
76321a25
AJ
500* Stephen Moshier implemented log2, log10, powl and cbrtl for the
501 128-bit long double format.
a8ae31c2 502
557a9213
UD
503* Masahide Washizawa contributed iconv modules for IBM1132, IBM1133, IBM1160,
504 IBM1161, and IBM1162 charsets.
a8ae31c2 505
ad2e4f18 506* Andreas Jaeger contributed a port to x86-64/Linux.
a8ae31c2 507
7d0c5823
RM
508* Peter Bruin contributed a port to PowerPC/Hurd.
509
a8ae31c2
UD
510* libc functions using I/O streams now can handle wide-oriented streams
511 as well.
512
45061a15
RM
513* optimizations in the dynamic linker. Binaries created by recent binutils
514 versions start up quicker due to reduced time spent on relocations.
8e57fc70
UD
515
516* Support for use of gcc3 added by Jakub Jelinek and HJ Lu.
7d0c5823 517\f
33996419
AJ
518Version 2.2.4
519
2995f70e 520* Stephen Moshier implemented cosh, expm1, log1p, acos, sinh, tanh,
aff17a50 521 asinh, atanh, j0 for the 128-bit long double format.
8fee1bb0
UD
522
523* Bruno Haible updated all the code handling Unicode in some form to
524 support Unicode 3.1.
86dbe05e
UD
525
526* Speed of regex for single-byte locales is back to previous levels.
527 Patch by Isamu Hasegawa.
045fcd26 528
69d5f925 529* Alpha, SPARC, and IA-64 now also using floating stacks.
045fcd26 530
69d5f925 531* Startup time of internationalized applications greatly improved through
045fcd26
UD
532 iconv cache. Use iconvconfig to generate the cache file.
533 Contributed by Ulrich Drepper.
534
535* The IA-64 specific part of ld.so was rewritten to eliminate some pretty
536 severe performance problems. Patch by David Mosberger.
537
538* The Hurd port got a lot more functionality like AIO, various stdio
539 extensions, etc. Mainly done by Roland McGrath.
129d706d
UD
540
541* mtrace can now lookup symbols in shared libraries.
33996419 542\f
2ace5721
UD
543Version 2.2.3
544
1746f2b0 545* Intel's IA-64 math library is largely integrated. It provides fast and
2ace5721
UD
546 accurate implementatations for most basic and standard math functions
547 in float, double, and long double format.
548
f128331c 549* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
b8750342
UD
550 and asin for the 96-bit long double format and asin, log, tan for the
551 128-bit long double format.
07f951e4 552
e4d82761
UD
553* The beginning of a last-bit accurate math library by IBM Haifa were added.
554 The basic double functions exist today. Contributed by Abraham Ziv
555 <ziv@il.ibm.com>, Moshe Olshansky <olshansk@il.ibm.com>, Ealan Henis
556 <ealan@il.ibm.com>, and Anna Reitman <reitman@il.ibm.com>.
557
2ace5721
UD
558* An asynchronous name lookup library was added. The interface is designed
559 after POSIX AIO. The proposal was circulated beforehand to get comments.
560 No negative ones came in. Implemented by Ulrich Drepper.
b8a8413c
UD
561
562* Port to S390/64bit contributed by Martin Schwidefsky
563 <schwidefsky@de.ibm.com>.
a66f0958
UD
564
565* David Mosberger <davidm@hpl.hp.com> implemented the setcontext family
566 of functions for Linux/IA-64.
481b550f
UD
567
568* The RPC code is now thread safe. Threads can now use the same service
569 of different services at the same time. Patch by Eric Norum
570 <eric.norum@usask.ca> with some help by Ulrich Drepper.
f128331c
UD
571
572* Martin Schwidefsky <schwidefsky@de.ibm.com> implemented the setcontext
573 family of functions for Linux/S390.
232fdf8c
UD
574
575* Ulrich Drepper <drepper@redhat.com> implemented the setcontext family
576 of functions for Linux/x86.
eacde9d0
UD
577
578* Port to Linux/CRIS contributed by Axis Communications.
2ace5721 579\f
306eeae5
UD
580Version 2.2.2
581
464d97ec 582* Lots of headers were cleaned up. Using the tool in the conform/ subdir
306eeae5
UD
583 we can now check for namespace violations and missing declarations. The
584 result is that almost all headers are now Unix-compliant (as defined in
585 the upcoming XPG6). The negative side is that some programs might need
586 corrections, too, if they depend on the incorrect form of the headers in
587 previous versions which defined too many symbols and included too many
588 other headers.
464d97ec
UD
589
590* regex now handles multibyte character sets correctly.
591 Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
592
593* iconv (the program) does now conform to the upcoming XPG6 and handles
594 charmaps. Instead of the charset names the path of charmaps can be
595 provided and the conversion happens based on this data.
596 Contributed by Ulrich Drepper.
597
598* The locale program now provides detailed information about the installed
599 locales. While
600
601 locale -a
602
603 only lists the names of the supported locales
604
605 locale -a --verbose
606
607 provides details such as country, language, and codeset name.
608 Contributed by Ulrich Drepper.
306eeae5 609\f
d2defdc4
UD
610Version 2.2.1
611
612* The gencat program now parses the input file according to the charset
613 selected by the LC_CTYPE category. This is important for stateful
614 character sets. To make generating catalogs easier there is a way
615 to overwrite the charset selected by the locale: before the first
616 message or $ quote line the catalog can contain a line like
617
618 $ codeset=ISO-8859-2
619
620 to select the charset (ISO-8859-2 in this case).
621
622 Implemented by Shinya Hanataka and Ulrich Drepper.
aea6353a
UD
623
624* New codeset conversion modules: IBM-922 (Estonia PC codeset),
625 IBM-1124 (Ukraine PC codeset), IBM-1129 (Vietnamese PC codeset).
626 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
234669e2
UD
627
628* Optimized string functions for Alpha ev6 and ev67 by Richard Henderson
629 <rth@redhat.com> and Rick Gorton <rick.gorton@alpha-processor.com>.
630
631* The LANGUAGE environment variable is now ignored unless the locale is
632 changed from the default "C" locale.
633
634* The usual bug fixes.
d2defdc4 635\f
2e92188d
UD
636Version 2.2
637
08a2e4a0
GM
638* Greg McGary added runtime support for bounds checking using gcc's
639 new -fbounded-pointers option. ix86 target is complete. PowerPC
640 is in progress.
641
2e92188d
UD
642* Thorsten Kukuk added secure mode support to nscd.
643
793bd4d9 644* The Berkeley db libraries have been removed.
2e92188d 645
47b853e8
UD
646 Related, the nss_db module is now in a separate package since it
647 obviously requires a database library being available.
648
0013b2b1
UD
649* Wide character I/O streams implemented by Ulrich Drepper.
650
abbffdf9 651* Functions from the extended socket API added by Ulrich Drepper.
01c771d0 652
6e8afc1c
UD
653* Functions feenableexcept and fedisableexcept to control the
654 behaviour of individual exceptions have been added by Andreas Jaeger.
655
591e1ffb
UD
656* ldconfig program added by Andreas Jaeger and Jakub Jelinek.
657
d3436b3c
UD
658* The resolver code has been updated from bind 8.2.3-T5B which supports
659 threads. The integration was done by Andreas Jaeger, Adam D. Bradley,
660 and Mark Kettenis.
2588068b
UD
661
662 This change could in some situations effect backward compatibility. Since
663 now `_res' is a thread-local instead of a global variable, modifying it
664 in one thread does not have any effect in other threads.
66ac0abe 665
a00c3ca9 666 The resolver library was also extended to allow IPv6 as the transport
d3436b3c
UD
667 protocol for the requests. This work was done by Stig Venaas.
668
1c5d4617
UD
669* Compatibility code for K&R C compilers has been removed from the
670 header files. A ISO C compiler is needed to use the library
671 (conforming to either C89 or C99 standard).
672
abbffdf9
UD
673* Complete rewrite of the localedef program to support multibyte character
674 sets. Implement handling of ISO 14651 and ISO 14652. Rewrite strcoll,
675 strxfrm, wcscoll, and wcsxfrm functions. Make isw*() functions work.
676 Implemented by Ulrich Drepper.
677
8f3f1e09
UD
678 Bruno Haible significantly improved the generation and use of the data
679 structures for the wide character tables.
680
abbffdf9
UD
681* Plural handling in gettext implemented by Ulrich Drepper.
682
69173865
UD
683* The utmp daemon has been removed.
684
685* The port to MIPS-Linux has been finished by Andreas Jaeger.
686
37fb8add
UD
687* A port to Hitachi SH3 and SH4 has been contributed by Kazumoto Kojima
688 and Yutaka Niibe.
689
594cee6c
UD
690* POSIX clocks and timers implemented by Kaz Kylheku and Ulrich Drepper.
691
40c4c9b5
UD
692* POSIX barriers implemented by Kaz Kylheku.
693
594cee6c
UD
694* POSIX spawn function family implemented by Ulrich Drepper.
695
696* POSIX spinlocks are now available.
697
40c4c9b5
UD
698* Timed wait functions for mutex, rwlock, and semaphores are implemented.
699
8f3f1e09
UD
700* the configure option --enable-kernel=X.Y.Z allows to strip out
701 compatibility for kernel versions before X.Y.Z. This is currently only
702 implemented for Linux.
703
3107c0c5
UD
704* the sockaddr_in6 structure changed. The IPv6 working group added a new
705 field sin6_scope_id. This means that all programs using IPv6 should be
706 recompiled. Don't expect binary compatibility with previous glibc
707 versions.
708
d2830ba4
UD
709* various conversion modules for IBM character sets contributed by
710 Masahide Washizawa.
711
8f3f1e09
UD
712* IA-64 port by Jes Sorensen and HJ Lu.
713
714~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
715Compiling the GNU C Library for Linux/ia64
716******************************************
717
718 Please refer to the file INSTALL in the same directory as you found
719this file for general information about configuring and compiling
720glibc.
721
722 For general inquiries about glibc under Linux/ia64 please use the
723following mailing list linux-ia64@linuxia64.org or one of the relevant
724glibc mailing lists.
725
726Recommended Tools for Compilation
727=================================
728
729 In order for glibc-2.2 to build correctly on the ia64 you need at
730least the following versions of the GNU tools (the :
731
732 * The Cygnus toolchain snapshot for the ia64 as of August 4
aea6353a
UD
733 including the provided set of patches. It is however recommend
734 you use the October 24 toolchain snapshot or a more recent version.
8f3f1e09
UD
735
736 OR alternatively you can try the following (the Cygnus toolchain is
737 the recommended solution):
738
739 * GCC and binutils, GAS and GNU LD out of CVS from
aea6353a 740 sources.redhat.com as of August 28, 2000 or later. The CVS tree
8f3f1e09
UD
741 may require special patches to work properly on the ia64.
742
743Configuring and compiling GNU Libc for Linux/ia64
744=================================================
745
746 The library requires Linux kernel version 2.4.0-test4-000728 or
aea6353a
UD
747later to funtion properly. Besides that it support for debug libraries
748is currently untested. Hence the following options
8f3f1e09
UD
749are required for configuring the library:
750
aea6353a 751 --disable-debug --enable-kernel=2.4.0
8f3f1e09
UD
752
753 It is also important that you make sure the library picks up the
754appropriate kernel header files, if you do not have recent enough
755kernel headers in /usr/src/linux/include, you should use the
756--with-headers=<path> option to specify the location.
757
758 As an example I personally use the following options to configure
759the library:
760
761 --disable-debug
8f3f1e09
UD
762 --disable-cvs
763 --enable-kernel=2.4.0
764 --host=ia64-linux
765 --enable-add-ons=yes
766 --prefix=/usr
767 --with-headers=/home/jes/linux/include
768
769
770Good luck
771
772Jes Sorensen <jes@linuxcare.com>,
aea6353a 773November 14th, 2000
8f3f1e09 774~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6f2a8167
UD
775\f
776Version 2.1.3
777
778* bug fixes
779
01c771d0
UD
780\f
781Version 2.1.2
782
783* bug fixes
784
28f540f4 785\f
e518937a
UD
786Version 2.1.1
787
27995311
UD
788* New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
789
16b0f634
UD
790* New xdr functions are added; some rpc functions are now 64bit clean.
791
407d26b7 792* Fixed a number of bugs and memory leaks (especially in NIS+ code).
16b0f634
UD
793
794* Fixed known incompatibilities with glibc 2.0.
795
407d26b7 796* New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
16b0f634 797
407d26b7 798* Optimized a number of functions (especially the ELF dynamic loader).
16b0f634
UD
799
800* Update timezone data files.
27995311 801
554b8800
UD
802* lots of charmaps corrections
803
804* some new locale definitions and charmaps
805
e518937a 806\f
c84142e8
UD
807Version 2.1
808
da2d1bc5
UD
809* Richard Henderson corrected size of struct timeval on Linux/Alpha to
810 conform to POSIX member type requirements. Symbol versions have been
811 adjusted as needed within the library, and for direct use by applications,
812 but there is potential for problems if third-party libraries use
813 struct timeval as part of their interface. This does not present
814 a problem for X and other "essential" system libraries.
815
c84142e8 816* An additional locale model to support C++ Standard Library locale
1fb05e3d 817 model and probably more was implemented by Ulrich Drepper.
c84142e8 818
1fb05e3d 819* Eric Youngdale and Ulrich Drepper implemented versioning of objects on
c84142e8
UD
820 symbol level.
821
822* Miles Bader provided the `argp' function family to support hierachical
823 command line argument parsing, layered on top of getopt.
377a515b 824
cbdee279 825* strtod accepts new hexadecimal floating-point format from ISO C 9X.
377a515b
UD
826
827* printf has two new specifiers %a and %A to print hexadecimal flaoting-point
cbdee279 828 numbers.
377a515b 829
cbdee279 830* scanf recognizes the %a and %A format for scanning floating point numbers.
e61abf83 831
48869012
UD
832* the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
833 information and interfaces for the available integer types.
e61abf83 834
813f4f4d
UD
835* about 130 new math functions were added to implement the ISO C9x math
836 library.
837
e61abf83 838* the new header <complex.h> contains definitions of the complex math
cbdee279
UD
839 functions from ISO C 9X.
840
841* the new header <tgmath.h> defines generic macros to use complex or
842 real valued functions.
e61abf83 843
a5a0310d 844* Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
e61abf83 845
a5a0310d
UD
846* Andreas Jaeger provided a test suite for the math library.
847
848* Mark Kettenis implemented the utmpx interface and an utmp daemon.
cbdee279 849
440d13e2 850* Ulrich Drepper added character set conversion functions (iconv).
cbdee279
UD
851
852* Optimized string functions have been added.
853
854* The localedata addon is now part of glibc.
2eb45444
UD
855
856* An implementation of profiling shared libraries was added by Ulrich Drepper.
ea278354 857
48244d09
UD
858* Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
859 daemon for NSS (nscd).
860
861 Missing a better place here are some numbers on improvements. Under
862 Linux 2.1.125 un-tar-ing the kernel sources takes
863
0dee6738 864 user system wall
48244d09 865
0dee6738 866 using local files 12.19s 6.88s 22.91s
48244d09 867
0dee6738 868 using NIS 13.92s 8.91s 26.34s
48244d09 869
0dee6738 870 using NIS & nscd 10.37s 7.34s 25.30s
48244d09 871
0dee6738
UD
872 using NIS+ 27.57s 30.37s 640.46s
873
874 using NIS+ & nscd 10.25s 7.83s 26.51s
875
876 using NIS & old nscd [1] 13.83s 8.32s 29.60s
48244d09 877
48244d09
UD
878 Keep in mind that non-namelookup related operations dominate above times.
879 It was just a common complain that using NIS+ unpacking the kernel is
0dee6738 880 horribly slow.
48244d09 881
0dee6738
UD
882 [1] The old nscd implementation is not available anymore since it was
883 distributed with glibc up to version 2.0.98 and thus is now replaced.
ea278354
UD
884
885* Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
48869012
UD
886
887* Mark Kettenis provided a Hesiod NSS module.
20833331
UD
888
889* The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
890 and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
891
892* rcmd can now handle netgroups (Dick Streefland).
48244d09 893
62595351
UD
894* A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
895 Bambrough.
896
897* Support for the IPv6 protocol has been added to the socket API, as per the
898 latest draft standards.
899
1770a20d
UD
900* Support for Linux 2.2 has been added.
901
48244d09
UD
902* Interface changes relative to the latest 2.0.x release:
903~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62595351 904addseverity NEW: Unix98
48244d09 905alphasort64 NEW: LFS
62595351
UD
906argp_err_exit_status NEW: argp, GNU ext
907argp_error NEW: argp, GNU ext
908argp_failure NEW: argp, GNU ext
909argp_help NEW: argp, GNU ext
910argp_parse NEW: argp, GNU ext
911argp_program_bug_address NEW: argp, GNU ext
912argp_program_version NEW: argp, GNU ext
913argp_program_version_hook NEW: argp, GNU ext
914argp_state_help NEW: argp, GNU ext
915argp_usage NEW: argp, GNU ext
e980ca92
UD
916authdes_create NEW: Secure RPC
917authdes_getucred NEW: Secure RPC
918authdes_pk_create NEW: Secure RPC
48244d09
UD
919backtrace NEW: GNU ext.
920backtrace_symbols NEW: GNU ext.
921backtrace_symbols_fd NEW: GNU ext.
922cacos NEW: ISO C 9x
923cacosf NEW: ISO C 9x
924cacosh NEW: ISO C 9x
925cacoshf NEW: ISO C 9x
926cacoshl NEW: ISO C 9x
927cacosl NEW: ISO C 9x
928capget NEW: kernel
929capset NEW: kernel
930carg NEW: ISO C 9x
931cargf NEW: ISO C 9x
932cargl NEW: ISO C 9x
933casin NEW: ISO C 9x
934casinf NEW: ISO C 9x
935casinh NEW: ISO C 9x
936casinhf NEW: ISO C 9x
937casinhl NEW: ISO C 9x
938casinl NEW: ISO C 9x
939catan NEW: ISO C 9x
940catanf NEW: ISO C 9x
941catanh NEW: ISO C 9x
942catanhf NEW: ISO C 9x
943catanhl NEW: ISO C 9x
944catanl NEW: ISO C 9x
e980ca92 945cbc_crypt NEW: Secure RPC
48244d09
UD
946ccos NEW: ISO C 9x
947ccosf NEW: ISO C 9x
948ccosh NEW: ISO C 9x
949ccoshf NEW: ISO C 9x
950ccoshl NEW: ISO C 9x
951ccosl NEW: ISO C 9x
952cexp NEW: ISO C 9x
953cexpf NEW: ISO C 9x
954cexpl NEW: ISO C 9x
955cimag NEW: ISO C 9x
956cimagf NEW: ISO C 9x
957cimagl NEW: ISO C 9x
958clearerr_locked REMOVED
959clntunix_create NEW: sunrpc ext
960clog NEW: ISO C 9x
961clog10 NEW: ISO C 9x
962clog10f NEW: ISO C 9x
963clog10l NEW: ISO C 9x
964clogf NEW: ISO C 9x
965clogl NEW: ISO C 9x
966conj NEW: ISO C 9x
967conjf NEW: ISO C 9x
968conjl NEW: ISO C 9x
969cpow NEW: ISO C 9x
970cpowf NEW: ISO C 9x
971cpowl NEW: ISO C 9x
972cproj NEW: ISO C 9x
973cprojf NEW: ISO C 9x
974cprojl NEW: ISO C 9x
975creal NEW: ISO C 9x
976crealf NEW: ISO C 9x
977creall NEW: ISO C 9x
978creat64 NEW: LFS
979csin NEW: ISO C 9x
980csinf NEW: ISO C 9x
981csinh NEW: ISO C 9x
982csinhf NEW: ISO C 9x
983csinhl NEW: ISO C 9x
984csinl NEW: ISO C 9x
985csqrt NEW: ISO C 9x
986csqrtf NEW: ISO C 9x
987csqrtl NEW: ISO C 9x
988ctan NEW: ISO C 9x
989ctanf NEW: ISO C 9x
990ctanh NEW: ISO C 9x
991ctanhf NEW: ISO C 9x
992ctanhl NEW: ISO C 9x
993ctanl NEW: ISO C 9x
e980ca92
UD
994des_setparity NEW: Secure RPC
995ecb_crypt NEW: Secure RPC
62595351 996endutxent NEW: Unix98
48244d09
UD
997exp10 NEW: ISO C 9x
998exp10f NEW: ISO C 9x
999exp10l NEW: ISO C 9x
1000exp2 NEW: ISO C 9x
1001exp2f NEW: ISO C 9x
1002exp2l NEW: ISO C 9x
1003fattach NEW: STREAMS
1004fdetach NEW: STREAMS
1005fdim NEW: ISO C 9x
1006fdimf NEW: ISO C 9x
1007fdiml NEW: ISO C 9x
1008feclearexcept NEW: ISO C 9x
1009fegetenv NEW: ISO C 9x
1010fegetexceptflag NEW: ISO C 9x
1011fegetround NEW: ISO C 9x
1012feholdexcept NEW: ISO C 9x
1013feof_locked REMOVED
1014feraiseexcept NEW: ISO C 9x
1015ferror_locked REMOVED
1016fesetenv NEW: ISO C 9x
1017fesetexceptflag NEW: ISO C 9x
1018fesetround NEW: ISO C 9x
1019fetestexcept NEW: ISO C 9x
1020feupdateenv NEW: ISO C 9x
1021fflush_locked REMOVED
1022ffsl NEW: GNU ext.
1023ffsll NEW: GNU ext.
1024fgetpos64 NEW: LFS
1025fgets_unlocked NEW: GNU ext.
1026fileno_locked REMOVED
1027fma NEW: ISO C 9x
1028fmaf NEW: ISO C 9x
1029fmal NEW: ISO C 9x
1030fmax NEW: ISO C 9x
1031fmaxf NEW: ISO C 9x
1032fmaxl NEW: ISO C 9x
1033fmin NEW: ISO C 9x
1034fminf NEW: ISO C 9x
1035fminl NEW: ISO C 9x
62595351 1036fmtmsg NEW: Unix98
48244d09
UD
1037fopen64 NEW: LFS
1038fputc_locked REMOVED
1039fputs_unlocked NEW: GNU ext.
1040fread_unlocked NEW: GNU ext.
1041freopen64 NEW: LFS
1042fseeko NEW: Unix98
1043fsetpos64 NEW: LFS
1044fstatfs64 NEW: LFS
1045fstatvfs NEW: Unix98
1046fstatvfs64 NEW: LFS
1047ftello NEW: Unix98
1048ftello64 NEW: LFS
1049ftruncate64 NEW: LFS
1050ftw64 NEW: LFS
1051fwrite_unlocked NEW: GNU ext.
1052gai_strerror NEW: IPv6
1053gamma_r REMOVED
1054gammaf_r REMOVED
1055gammal_r REMOVED
1056getchar_locked REMOVED
1057getdate NEW: Unix98
1058getdate_err NEW: Unix98
1059getdate_r NEW: GNU ext.
1060getmsg NEW: STREAMS
1061getnameinfo NEW: IPv6
e980ca92 1062getnetname NEW: Secure RPC
48244d09
UD
1063getpmsg NEW: STREAMS
1064getpt NEW: Unix98 PTY
1065getrlimit64 NEW: LFS
62595351
UD
1066getutxent NEW: Unix98
1067getutxid NEW: Unix98
1068getutxline NEW: Unix98
48244d09
UD
1069glob64 NEW: GNU ext.
1070globfree64 NEW: GNU ext.
1071gnu_get_libc_release NEW: GNU ext.
1072gnu_get_libc_version NEW: GNU ext.
1073grantpt NEW: Unix98 PTY
e980ca92 1074host2netname NEW: Secure RPC
48244d09
UD
1075iconv NEW: iconv
1076iconv_close NEW: iconv
1077iconv_open NEW: iconv
1078if_freenameindex NEW: IPv6
1079if_indextoname NEW: IPv6
1080if_nameindex NEW: IPv6
1081if_nametoindex NEW: IPv6
1082in6addr_any NEW: IPv6
1083in6addr_loopback NEW: IPv6
1084inet6_isipv4mapped NEW: IPv6
1085isastream NEW: STREAMS
1086iswblank NEW: GNU ext.
e980ca92
UD
1087key_decryptsession NEW: Secure RPC
1088key_decryptsession_pk NEW: Secure RPC
1089key_encryptsession NEW: Secure RPC
1090key_encryptsession_pk NEW: Secure RPC
1091key_gendes NEW: Secure RPC
1092key_get_conv NEW: Secure RPC
1093key_secretkey_is_set NEW: Secure RPC
1094key_setnet NEW: Secure RPC
1095key_setsecret NEW: Secure RPC
48244d09
UD
1096llrint NEW: ISO C 9x
1097llrintf NEW: ISO C 9x
1098llrintl NEW: ISO C 9x
1099llround NEW: ISO C 9x
1100llroundf NEW: ISO C 9x
1101llroundl NEW: ISO C 9x
1102log2 NEW: ISO C 9x
1103log2f NEW: ISO C 9x
1104log2l NEW: ISO C 9x
1105lrint NEW: ISO C 9x
1106lrintf NEW: ISO C 9x
1107lrintl NEW: ISO C 9x
1108lround NEW: ISO C 9x
1109lroundf NEW: ISO C 9x
1110lroundl NEW: ISO C 9x
1111lseek64 NEW: LFS
1112makecontext NEW: Unix98
1113mempcpy NEW: GNU ext.
1114mmap64 NEW: LFS
1115moncontrol REMOVED
1116modify_ldt NEW: kernel
1117nan NEW: ISO C 9x
1118nanf NEW: ISO C 9x
1119nanl NEW: ISO C 9x
1120nearbyint NEW: ISO C 9x
1121nearbyintf NEW: ISO C 9x
1122nearbyintl NEW: ISO C 9x
e980ca92
UD
1123netname2host NEW: Secure RPC
1124netname2user NEW: Secure RPC
42bd0a85
UD
1125nexttoward NEW: ISO C 9x
1126nexttowardf NEW: ISO C 9x
1127nexttowardl NEW: ISO C 9x
48244d09
UD
1128nftw NEW: Unix98
1129nftw64 NEW: LFS
1130open64 NEW: LFS
e980ca92 1131passwd2des NEW: Secure RPC
48244d09
UD
1132pow10 NEW: GNU ext.
1133pow10f NEW: GNU ext.
1134pow10l NEW: GNU ext.
1135pread NEW: Unix98
1136pread64 NEW: LFS
1137printf_size NEW: GNU ext.
1138printf_size_info NEW: GNU ext.
1139profil_counter REMOVED
1140pthread_mutexattr_getkind_np REPLACED
1141pthread_mutexattr_setkind_np REPLACED
1142ptsname NEW: Unix98 PTY
1143ptsname_r NEW: Unix98 PTY
1144putc_locked REMOVED
1145putchar_locked REMOVED
1146putgrent NEW: GNU ext.
1147putmsg NEW: STREAMS
1148putpmsg NEW: STREAMS
62595351 1149pututxline NEW: Unix98
48244d09
UD
1150pwrite NEW: Unix98
1151pwrite64 NEW: LFS
1152readdir64 NEW: LFS
1153readdir64_r NEW: LFS
1154remquo NEW: ISO C 9x
1155remquof NEW: ISO C 9x
1156remquol NEW: ISO C 9x
1157round NEW: ISO C 9x
1158roundf NEW: ISO C 9x
1159roundl NEW: ISO C 9x
1160rtime NEW: GNU ext.
1161scalbln NEW: ISO C 9x
1162scalblnf NEW: ISO C 9x
1163scalblnl NEW: ISO C 9x
1164scandir64 NEW: LFS
1165sendfile NEW: kernel
1166setcontext NEW: Unix98
1167setrlimit64 NEW: LFS
62595351 1168setutxent NEW: Unix98
48244d09
UD
1169sighold NEW: Unix98
1170sigignore NEW: Unix98
1171sigqueue NEW: POSIX.1b
1172sigrelse NEW: Unix98
1173sigset NEW: POSIX.1b
1174sigtimedwait NEW: POSIX.1b
1175sigwaitinfo NEW: POSIX.1b
1176sincos NEW: GNU ext.
1177sincosf NEW: GNU ext.
1178sincosl NEW: GNU ext.
1179statfs64 NEW: LFS
1180statvfs NEW: Unix98
1181statvfs64 NEW: LFS
1182strcasestr NEW: GNU ext.
48244d09
UD
1183strtoimax NEW: ISO C 9x
1184strtoumax NEW: ISO C 9x
1185strverscmp NEW: GNU ext.
e980ca92 1186svcauthdes_stats NEW: Secure RPC
48244d09
UD
1187svcunix_create NEW: sunrpc etx
1188svcunixfd_create NEW: sunrpc ext
1189swapcontext NEW: Unix98
1190tcgetsid NEW: Unix98 PTY
1191tdestroy NEW: GNU ext.
1192tgamma NEW: ISO C 9x
1193tgammaf NEW: ISO C 9x
1194tgammal NEW: ISO C 9x
1195tmpfile64 NEW: LFS
1196trunc NEW: ISO C 9x
1197truncate64 NEW: LFS
1198truncf NEW: ISO C 9x
1199truncl NEW: ISO C 9x
1200umount2 NEW: kernel
1201unlockpt NEW: Unix98 PTY
62595351 1202updwtmpx NEW: Unix98
e980ca92 1203user2netname NEW: Secure RPC
62595351 1204utmpxname NEW: Unix98
48244d09 1205versionsort NEW: GNU ext.
3ef4002b 1206versionsort64 NEW: GNU ext.
48244d09
UD
1207waitid NEW: Unix98
1208wcscasecmp NEW: GNU ext.
1209wcsncasecmp NEW: GNU ext.
1210wcsnlen NEW: GNU ext.
1211wcstoimax NEW: ISO C 9x
1212wcstoll NEW: ISO C 9x
1213wcstoull NEW: ISO C 9x
1214wcstoumax NEW: ISO C 9x
1215wcswcs NEW: Unix98
1216wordexp NEW: POSIX.2
1217wordfree NEW: POSIX.2
1218write_profiling REMOVED
e980ca92
UD
1219xdecrypt NEW: Secure RPC
1220xdr_authdes_cred NEW: Secure RPC
1221xdr_authdes_verf NEW: Secure RPC
1222xdr_cryptkeyarg NEW: Secure RPC
1223xdr_cryptkeyarg2 NEW: Secure RPC
1224xdr_cryptkeyres NEW: Secure RPC
1225xdr_getcredres NEW: Secure RPC
1226xdr_key_netstarg NEW: Secure RPC
1227xdr_key_netstres NEW: Secure RPC
1228xdr_keybuf NEW: Secure RPC
1229xdr_keystatus NEW: Secure RPC
1230xdr_netnamestr NEW: Secure RPC
1231xdr_sizeof NEW: Secure RPC
48244d09 1232xdr_unixcred NEW: sunrpc ext
e980ca92 1233xencrypt NEW: Secure RPC
48244d09 1234~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1770a20d
UD
1235\f
1236Version 2.0.6
1237
1238* more bug fixes
1239
a5a0310d
UD
1240\f
1241Version 2.0.5
1242
1243* more bug fixes
1244
1245* inet_ntoa is thread-safe
1246
1247* updwtmp is moved from libutil to libc
1248
1249* rewrite of cbrt function
1250
1251* update of timezone data
1252\f
1253Version 2.0.4
1254
1255* more bug fixes
1256\f
1257Version 2.0.3
1258
1259* more bug fixes
c84142e8 1260\f
795fbc9a
UD
1261Version 2.0.2
1262
1263* more bug fixes
1264
1265* add atoll function
1266
1267* fix complex problems in Berkeley DB code
e61abf83
UD
1268
1269* fix math functions
795fbc9a
UD
1270\f
1271Version 2.0.1
1272
1273* fixed lots of header problems (especially Linux/GNU specific)
1274
1275* dynamic loader preserves all registers
1276
1277* Roland McGrath provided support for handling of auxiliary objects in
1278 the ELF dynamic loader.
1279
1280* support for parallel builds is improved
1281\f
40a4b79f 1282Version 2.0
28f540f4 1283
d3669add
RM
1284* GNU extensions are no longer declared by default. To enable them you
1285 must define the macro `_GNU_SOURCE' in your program or compile with
1286 `-D_GNU_SOURCE'.
1287
28f540f4
RM
1288* The library has changed from using GNU ld symbol aliases to using weak
1289 symbols where available. The ELF object file format supports weak
1290 symbols; GNU ld also supports weak symbols in the a.out format. (There
1291 is also now support for other GNU ld extensions in ELF. Use the
787126fe
RM
1292 `--with-elf' option to configure to indicate you have ELF, and
1293 `--with-gnu-ld' if using GNU ld.) This change resulted in the deletion
28f540f4
RM
1294 of many files which contained only symbol aliases, reducing the size of
1295 the source and the compiled library; many other files were renamed to
1296 less cryptic names previously occupied by the symbol alias files.
dcf0671d
UD
1297 There is a new header file <elf.h> for programs which operate on
1298 files in the ELF format.
49e522bf
RM
1299
1300* Converted to Autoconf version 2, so `configure' has more options.
1301 Run `configure --help' to see the details.
1302
1303* The library can now be configured to build profiling, highly-optimized
b25c5d66
RM
1304 (but undebuggable), and/or shared libraries (ELF with GNU ld only). The
1305 `--enable-profile', `--enable-omitfp', and `--enable-shared' options to
1306 `configure' enable building these extra libraries. The shared library is
1307 built by default when using both ELF and GNU ld. When shared libraries
1308 are enabled, the new library `-ldl' is available for arbitrary run-time
1309 loading of shared objects; its interface is defined in <dlfcn.h>. The
1310 new header file <link.h> gives access to the internals of the run-time
33a934a3
UD
1311 dynamic linker, `ld.so'. The shell script `ldd' is similar to the
1312 application of same name on other systems and it provides information
1313 about dynamically linked binaries.
49e522bf 1314
71733723
RM
1315* The C library now provides the run-time support code for profiling
1316 executables compiled with `-pg'. Programs can control the profiling code
d3669add
RM
1317 through the interface in <sys/gmon.h>. The `gmon.out' files written by
1318 the GNU C library can be read only by GNU `gprof' (from GNU binutils);
1319 the support for this file format was contributed by David Mosberger-Tang.
71733723 1320
f7eac6eb 1321* The math code has been replaced with a math library based on fdlibm from
33a934a3
UD
1322 Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
1323 Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
1324 functions. The math functions now reside in a separate library, so
1325 programs using them will need to use `-lm' their linking commands.
1326
1327* John C. Bowman contributed optimized ix87 assembler inline functions.
f7eac6eb 1328
5f0e6fc7
RM
1329* Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
1330 mechanism similar to that found in Solaris 2. This is now used for the
33a934a3
UD
1331 group, passwd, hosts, networks, services, protocols, rpc, ethers,
1332 shadow, netgroup, publickey, and alias databases. The `nsswitch.conf'
1333 file controls what services are used for each individual database. This
1334 works by loading shared libraries with names specified in `nsswitch.conf',
1335 so service modules can be changed or added at any time without even
1336 relinking any program. Currently there are the file, db, and NIS based
1337 NSS services available.
5f0e6fc7 1338
49e522bf
RM
1339* The new functions `strtoq' and `strtouq' parse integer values from
1340 strings, like `strtol' and `strtoul', but they return `long long int' and
1341 `unsigned long long int' values, respectively (64-bit quantities).
1342
1343* The new functions `strtof' and `strtold' parse floating-point values from
1344 strings, like `strtod', but they return `float' and `long double' values,
1345 respectively (on some machines `double' and `long double' are the same).
1346
1347* Ulrich Drepper has contributed new implementations of the floating-point
1348 printing and reading code used in the `printf' family of functions and
1349 `strtod', `strtof', and `strtold'. These new functions are perfectly
1350 accurate, and much faster than the old ones.
1351
33a934a3
UD
1352* The implementation of the POSIX locale model was completely rewritten by
1353 Ulrich Drepper. This includes the new programs `localedef' and `locale'
1354 to compile the POSIX locale definition.
1355
1356* The former dummy implementations of the strcoll and strxfrm function are
1357 now replaced by fully functional code contributed by Ulrich Drepper. The
1358 collation information comes from the POSIX locale definitions.
1359
49e522bf
RM
1360* The new header <langinfo.h> defines an interface for accessing
1361 various locale-dependent data (using the locale chosen with `setlocale').
1362
f7eac6eb 1363* Ulrich Drepper has contributed a new suite of functions for operation on
33a934a3 1364 wide-character and multibyte-character strings, in <wchar.h>;
b7407d63 1365 and classification and case conversion of wide characters, in <wctype.h>.
33a934a3
UD
1366 These new functions are conforming to the ISO C, Amendement 1 specification.
1367
1368* There is now a second implementation of the standard I/O library available.
1369 It comes from GNU libg++ as was written by Per Bothner, heavily modified
1370 by Hongjiu Lu and made thread safe by Ulrich Drepper.
f7eac6eb 1371
71733723 1372* You can now use positional parameter specifications in format strings
49e522bf
RM
1373 for the `printf' and `scanf' families of functions. For example,
1374 `printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
1375 ``Number 6, Mr Jones''. This is mainly useful when providing different
d365fd2c
RM
1376 format strings for different languages, whose grammars may dictate
1377 different orderings of the values being printed. To support this
49e522bf 1378 feature, the interface for `register_printf_handler' has changed; see
d365fd2c 1379 the header file <printf.h> for details.
49e522bf
RM
1380
1381* The `printf' and `scanf' families of functions now understand a new
1382 formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
1383 to group numbers as indicated by the locale; for `scanf' and friends, this
1384 says to accept as valid only a number with all the proper grouping
1385 separators in the right places. In the default "C" locale, numbers are
1386 not grouped; but locales for specific countries will define the usual
1387 conventions (i.e. separate thousands with `,' in the US locale).
28f540f4
RM
1388
1389* The pgrp functions have been regularized, slightly incompatibly but much
1390 less confusingly. The core functions are now `getpgid' and `setpgid',
1391 which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
1392 argument) and BSD `setpgrp' (identical to `setpgid') functions are
1393 provided for compatibility. There is no longer an incompatible `getpgrp'
1394 with an argument declared under _BSD_SOURCE; no BSD code uses it.
1395
1396* The new header file <fts.h> and suite of functions simplify programs that
1397 operate on directory trees. This code comes from 4.4 BSD.
1398
33a934a3
UD
1399* The resolver code has been updated from the BIND 4.9.5-P1 release.
1400 Parts of the code were heavily modified by Ulrich Drepper to fit in the
1401 NSS scheme used in glibc.
28f540f4 1402
28f540f4
RM
1403* There is a new malloc debugging hook `__memalign_hook'.
1404
1405* There are new typedefs `ushort' for `unsigned short int' and `uint' for
1406 `unsigned int' in <sys/types.h>. These are for compatibility only and
1407 their use is discouraged.
1408
1409* The `-lmcheck' library to enable standard malloc debugging hooks is now
1410 done differently, so that it works even without GNU ld.
787126fe 1411
22a1292a
RM
1412* New function `euidaccess' checks allowed access to a file like `access',
1413 but using the effective IDs instead of the real IDs.
49e522bf
RM
1414
1415* The time zone data files have been updated for the latest and greatest
1416 local time conventions of the countries of the world.
1417
1418* The new function `dirfd' extracts the file descriptor used by a DIR stream;
1419 see <dirent.h>.
1420
1421* The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
1422 for formatting floating-point numbers. They are provided only for
33a934a3
UD
1423 compatibility; new programs should use `sprintf' instead. There are
1424 also equivalent function for the `long double' floating-point type and
1425 all functions also exist in a reentrant form.
342414a6
RM
1426
1427* The new auxiliary library `-lutil' from 4.4 BSD contains various
1428 functions for maintaining the login-record files (primarily of use to
1429 system programs such as `login'), and convenient functions for
1430 allocating and initializing a pseudo-terminal (pty) device.
c709e372
RM
1431
1432* Ulrich Drepper has contributed new support for System V style
1433 shared memory and IPC on systems that support it.
1434
1435* Ulrich Drepper has contributed several miscellaneous new functions found
1436 in System V: The `hsearch' family of functions provide an effective
1437 implementation of hash tables; `a64l' and `l64a' provide a very simple
1438 binary to ASCII mapping; `drand48' and friends provide a 48-bit random
1439 number generator.
1440
1441* Ulrich Drepper has contributed new reentrant counterparts for the
1442 `random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
1443
1444* Ulrich Drepper has contributed new, highly-optimized versions of several
1445 string functions for the i486/Pentium family of processors.
1446
71733723 1447* Ulrich Drepper has updated the Linux-specific code, based largely
c709e372 1448 on work done in Hongjiu Lu's version of GNU libc for Linux.
33a934a3
UD
1449 The GNU library now supports Linux versions 2.0.10 and later,
1450 using the ELF object file format (i[3456]86-*-linux).
c709e372 1451
d3669add
RM
1452* Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
1453
33a934a3
UD
1454* David Mosberger-Tang and Richard Henderson have ported the C library
1455 to Linux/Alpha (alpha-*-linux). Richard Henderson contributed the
1456 dynamic linking support for ELF/Alpha.
1457
1458* Richard Henderson contributed several Alpha optimized assembler function
1459 for arithmetic and string handling.
d3669add 1460
c709e372 1461* Ulrich Drepper has contributed a new set of message catalog functions to
40a4b79f
RM
1462 support multiple languages using the <libintl.h> interface, for use with
1463 his new package GNU gettext. Translation volunteers have contributed
1464 catalogs of the library's messages in Spanish, German, and Korean.
1465
1466* For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
1467 program and the `catgets' function for reading the catalog files it
1468 creates. (The <libintl.h> interface is preferred; we include the
1469 <nl_types.h> interface using `catgets' only for source compatibility with
1470 programs already written to use it.)
71733723
RM
1471
1472* New header file <values.h> gives SVID-compatible names for <limits.h>
1473 constants.
1474
1475* Various new macros, declarations, and small header files for compatibility
1476 with 4.4 BSD.
1477
1478* New function `group_member' is a convenient way to check if a process has
1479 a given effective group ID.
1480
1481* When using GCC 2.7 and later, the socket functions are now declared in a
1482 special way so that passing an argument of type `struct sockaddr_in *',
1483 `struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
1484 `struct sockaddr *' type, does not generate a type-clash warning.
1485
1486* New function `error' declared in header file <error.h> is a convenient
6d52618b 1487 function for printing error messages and optionally exiting; this is the
71733723
RM
1488 canonical function used in GNU programs. The new functions `err', `warn',
1489 and friends in header file <err.h> are the canonical 4.4 BSD interface for
1490 doing the same thing.
1491
1492* The <glob.h> interface has several new flags from 4.4 BSD that extend the
1493 POSIX.2 `glob' function to do ~ and {...} expansion.
1494
1495* New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
33a934a3 1496 `clearenv' which is used in POSIX.9 is also available.
71733723
RM
1497
1498* New function `getsid' returns session ID number on systems that support it.
1499
f7eac6eb
RM
1500* We have incorporated the 4.4 BSD `db' library (version 1.85). New header
1501 files <db.h> and <mpool.h> provide a rich set of functions for several
1502 types of simple databases stored in memory and in files, and <ndbm.h> is
6d52618b 1503 an old `ndbm'-compatible interface using the `db' functions. Link with
999493cb 1504 `-ldb' to get these functions.
f7eac6eb
RM
1505
1506* New macro `strdupa' copies a string like `strdup', but uses local stack
1507 space from `alloca' instead of dynamic heap space from `malloc'.
52e9a9d1
RM
1508
1509* New function `strnlen' is like `strlen' but searches only a given maximum
33a934a3
UD
1510 number of characters for the null terminator. `stpncpy', `strndup' and
1511 `strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
1512 function.
40a4b79f
RM
1513
1514* New function `statfs' in header <sys/statfs.h>.
1515
1516* The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
1517 provide convenient functions for operating on blocks of null-terminated
1518 strings.
1519
1520* A new suite of functions in <utmp.h> handle all the details of reading
1521 and writing the utmp file.
33a934a3
UD
1522
1523* An implementation of the NIS/YP(tm) based NSS service was contributed by
1524 Thorsten Kukuk.
1525
1526* Paul Eggert and Ulrich Drepper modified the `strftime' function to be
1527 completely POSIX compliant and also implemented the extended functionality
1528 to handle alternate digit representation and alternate era date formats.
1529
1530* Ulrich Drepper provided an implementation of the `strptime' function
1531 defined in XPG4.2 which transforms a string into a `struct tm' value.
1532
1533* Paul Eggert provided the tzselect shell script as part of the timezone
1534 code. The shell script makes it easy to select the correct timezone
1535 specification.
1536
1537* The implementation of the malloc family of functions is completely replaced
1538 by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
1539 The implementation uses the mmap function (if available) and it is
1540 optimized for the use in multi threaded programs.
1541
1542* Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
1543 functions. This new functionality is usable by specifying a special
1544 salt string and it is compatible with implementation on *BSD systems.
1545
1546* Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
1547 `getsubopt' to handle second level command line options, `bsd_signal'
1548 to access BSD style `signal' functionality, the obsolete `regexp' style
1549 expression matcher.
1550
1551* the `lchown' function is available on system which support this
1552 functionality.
1553
1554* The implementation of the shadow password handling function was contributed
1555 by Ulrich Drepper.
1556
1557* David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
1558
1559* POSIX.1g support was added. The <sys/select.h> header is available,
1560 `isfdtype' and `pselect' are implemented. Craig Metz contributed an
1561 implementation of `getaddrinfo'.
28f540f4
RM
1562\f
1563Version 1.09
1564
1565* For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
1566
1567* New header file <fstab.h> and new functions `getfsspec', `getfsent' and
1568 friends, for parsing /etc/fstab. This code comes from 4.4 BSD.
1569
1570* The new function `daemon' from 4.4 BSD is useful for server programs that
1571 want to put themselves in the background.
1572
1573* Joel Sherrill has contributed support for several standalone boards that
1574 run without an operating system.
1575
1576* `printf', `scanf' and friends now accept a `q' type modifier for long
1577 long int as well as `ll'. Formats using these might be `%qu' or `%lld'.
1578
1579* All of the code taken from BSD (notably most of the math and networking
1580 routines) has been updated from the BSD 4.4-Lite release.
1581
1582* The resolver code has been updated from the BIND-4.9.3-BETA9 release.
1583
1584* The new functions `getdomainname' and `setdomainname' fetch or change the
1585 YP/NIS domain name. These are system calls which exist on systems which
1586 have YP (aka NIS).
1587
1588* The time zone data files have been updated for the latest international
1589 conventions.
1590
1591* The SunRPC programs `portmap' and `rpcinfo' are now installed in
1592 $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
1593\f
1594Version 1.08
1595
1596* The C library now includes support for Sun RPC, from Sun's free
1597 RPCSRC-4.0 distribution. The `portmap', `rpcinfo', and `rpcgen' programs
1598 are included. (There is still no support for YP.)
1599
1600* Tom Quinn has contributed a port of the C library to SGI machines running
1601 Irix 4 (mips-sgi-irix4).
1602
1603* The new `lockf' function is a simplified interface to the locking
1604 facilities of `fcntl', included for compatibility.
1605
1606* New time functions `timegm', `timelocal', and `dysize' for compatibility.
1607
1608* New header file <sys/timeb.h> and new function `ftime' for compatibility.
1609
1610* New header files <poll.h> and <sys/poll.h> and new function `poll' for
1611 compatibility.
1612
1613* The error message printed by `assert' for a failed assertion now includes
1614 the name of the program (if using GNU ld) and the name of the calling
1615 function (with versions of GCC that support this).
1616
1617* The `psignal' function is now declared in <signal.h>, not <stdio.h>.
1618
1619* The library now includes the <sys/mman.h> header file and memory
1620 management functions `mmap', `munmap', `mprotect', `msync', and
1621 `madvise', on systems that support those facilities.
1622
1623* The interface for `mcheck' has changed slightly: the function called to
1624 abort the program when an allocation inconsistency is detected now takes
1625 an argument that indicates the type of failure. The new function
1626 `mprobe' lets you request a consistency check for a particular block at
1627 any time (checks are normally done only when you call `free' or `realloc'
1628 on a block).
1629
1630* It is now possible to easily cross-compile the C library, building on one
1631 system a library to run on another machine and/or operating system. All
1632 you need to do is set the variable `HOST_CC' in `configparms' to the
1633 native compiler for programs to run on the machine you are building on (a
1634 few generator programs are used on Unix systems); set `CC' to the
1635 cross-compiler.
1636
1637* The new function `fexecve' (only implemented on the GNU system) executes
1638 a program file given a file descriptor already open on the file.
1639\f
1640Version 1.07
1641
1642* Brendan Kehoe has contributed most of a port to the DEC Alpha
1643 running OSF/1 (alpha-dec-osf1). He says it is 75% complete.
1644
1645* You can set the variable `libprefix' in `configparms' to specify a prefix
1646 to be prepended to installed library files; this makes it easy to install
1647 the GNU C library to be linked as `-lgnuc' or whatever.
1648
1649* The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
1650 copies a limited number of characters from a string, and returns the
1651 address of the last character written.
1652
1653* You no longer need to check for whether the installed `stddef.h' is
1654 compatible with the GNU C library. configure now checks for you.
1655
1656* You can now define a per-stream `fileno' function to convert the
1657 stream's cookie into an integral file descriptor.
1658
1659* ``malloc (0)'' no longer returns a null pointer. Instead, it
1660 allocates zero bytes of storage, and returns a unique pointer which
1661 you can pass to `realloc' or `free'. The behavior is undefined if
1662 you dereference this pointer.
1663
1664* The C library now runs on Sony NEWS m68k machines running either
1665 NewsOS 3 or NewsOS 4.
1666
1667* The new `syscall' function is a system-dependent primitive function
1668 for invoking system calls. It has the canonical behavior on Unix
1669 systems, including unreliable return values for some calls (such as
1670 `pipe', `fork' and `getppid').
1671
1672* The error code `EWOULDBLOCK' is now obsolete; it is always defined
1673 to `EAGAIN', which is the preferred name. On systems whose kernels
1674 use two distinct codes, the C library now translates EWOULDBLOCK to
1675 EAGAIN in every system call function.
1676\f
1677Version 1.06
1678
1679* The GNU C Library Reference Manual is now distributed with the library.
1680 `make dvi' will produce a DVI file of the printed manual.
1681 `make info' will produce Info files that you can read on line using C-h i
1682 in Emacs or the `info' program.
ea278354 1683 Please send comments on the manual to bug-glibc-manual@gnu.org.
28f540f4
RM
1684
1685* The library now supports SVR4 on i386s (i386-unknown-sysv4).
1686
1687* Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
1688
1689* Jason Merrill has contributed a port to the Sequent Symmetry running
1690 Dynix version 3 (i386-sequent-dynix).
1691
1692* The library has been ported to i386s running SCO 3.2.4 (also known as SCO
1693 ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
1694
1695* New function `memory_warnings' lets you arrange to get warnings when
1696 malloc is running out of memory to allocate, like Emacs gives you.
1697
1698* The C library now contains the relocating allocator used in Emacs 19 for
1699 its editing buffers. This allocator (ralloc) minimizes allocation
1700 overhead and fragmentation by moving allocated regions around whenever it
1701 needs to. You always refer to a ralloc'd region with a "handle" (a
1702 pointer to a pointer--an object of type `void **').
1703
1704* There is a new `printf' format: `%m' gives you the string corresponding
1705 to the error code in `errno'.
1706
1707* In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
1708 or `%[' conversion, but instead of filling in a fixed-sized buffer you
1709 pass, the `a' modifier says to fill in a `char **' you pass with a
1710 malloc'd string.
1711
1712* The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
1713 `FNM_CASEFOLD'. `FNM_LEADING_DIR' lets a pattern like `foo*' match a
1714 name like `foo/bar'. `FNM_CASEFOLD' says to ignore case in matching.
1715
1716* `mkstemp' is a traditional Unix function to atomically create and open a
1717 uniquely-named temporary file.
1718\f
1719Version 1.05
1720
1721* The standard location for the file that says what the local timezone is
1722 has changed again. It is now `/usr/local/etc/localtime' (or more
1723 precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
1724
1725* The distribution no longer contains any files with names longer than 14
1726 characters.
1727
1728* `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
1729 These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
1730
1731* New functions `ttyslot' and `syslog' from 4.4 BSD.
1732\f
1733Version 1.04
1734
1735* The configuration process has changed quite a bit. The `configure'
1736 script is now used just like the configuration scripts for other GNU
1737 packages. The `sysdeps' directory hierarchy is much rearranged.
1738 The file `INSTALL' explains the new scheme in detail.
1739
1740* The header files no longer need to be processed into ANSI C and
1741 traditional C versions. There is just one set of files to install, and
1742 it will work with ANSI or old C compilers (including `gcc -traditional').
1743
1744* Brendan Kehoe and Ian Lance Taylor have ported the library to the
1745 MIPS DECStation running Ultrix 4.
1746
1747* The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
1748 Tom Quinn contributed the initial code. The GNU C library can NOT yet be
1749 made itself into a shared library.
1750
1751* Yet further improved support for the i386, running 4.3 BSD-like systems
1752 (such as Mach 3 with the Unix single-server), or System V.
1753
1754* New function `strncasecmp' to do case-insensitive string comparison
1755 with limited length.
1756
1757* New function `strsep' is a reentrant alternative to `strtok'.
1758
1759* New functions `scandir' and `alphasort' for searching directories.
1760
1761* New function `setenv' is a better interface to `putenv'.
1762
1763* Ian Lance Taylor has contributed an implementation of the SVID `ftw'
1764 function for traversing a directory tree.
1765
1766* The GNU obstack package is now also part of the C library.
1767 The new function `open_obstack_stream' creates a stdio stream that
1768 writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
1769 formatted output directly to an obstack.
1770
1771* Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
1772 cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
1773
1774* `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
1775
1776* The new functions `strfry' and `memfrob' do mysterious and wonderful
1777 things to your strings.
1778
1779* There are some new test programs: test-fseek, testmb, and testrand.
1780
1781* Some work has been done to begin porting the library to 4.4 BSD and Linux.
1782 These ports are not finished, but are a good starting place for really
1783 supporting those systems.
1784
1785* `/etc/localtime' is now the standard location for the file that says what
1786 the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
1787 This follows the general principle that `/etc' is the place for all local
1788 configuration files.
1789
1790* The C library header files now use `extern "C"' when used by the C++
1791 compiler, so the C library should now work with C++ code.
1792
1793* The header file <bstring.h> is gone. <string.h> now declares bcopy,
56ddf355
UD
1794 bcmp, bzero, and ffs. (Update: nowadays these functions are declared
1795 in <strings.h>.)
28f540f4
RM
1796
1797* Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
1798 function which uses the `merge sort' algorithm, and is said to be
1799 significantly faster than the old GNU `qsort' function. Merge sort is
1800 now the standard `qsort' function. The new algorithm can require a lot
1801 of temporary storage; so, the old sorting function is called when the
1802 required storage is not available.
1803
1804* The C library now includes Michael Glad's Ultra Fast Crypt, which
1805 provides the Unix `crypt' function, plus some other entry points.
28f540f4
RM
1806
1807* The code and header files taken from 4.4 BSD have been updated with the
1808 latest files released from Berkeley.
1809\f
1810----------------------------------------------------------------------
1811Copyright information:
1812
35129bc0 1813Copyright (C) 1992-1999,2000,2001,2002,2003,2004,2005,2006
e6a9beca 1814 Free Software Foundation, Inc.
28f540f4
RM
1815
1816 Permission is granted to anyone to make or distribute verbatim copies
1817 of this document as received, in any medium, provided that the
1818 copyright notice and this permission notice are preserved,
1819 thus giving the recipient permission to redistribute in turn.
1820
1821 Permission is granted to distribute modified versions
1822 of this document, or of portions of it,
1823 under the above conditions, provided also that they
1824 carry prominent notices stating who last changed them.
1825\f
1826Local variables:
1827version-control: never
557a9213 1828End: