]> git.ipfire.org Git - thirdparty/glibc.git/blame - NEWS
Update.
[thirdparty/glibc.git] / NEWS
CommitLineData
e4d82761 1GNU C Library NEWS -- history of user-visible changes. 2001-3-11
28f540f4 2
234669e2 3Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.
28f540f4
RM
4See the end for copying conditions.
5
33a934a3 6Please send GNU C library bug reports using the `glibcbug' script to
af6f3906 7<bugs@gnu.org>. Questions and suggestions should be send to
2eb45444 8<bug-glibc@gnu.org>.
2e92188d 9\f
2ace5721
UD
10Version 2.2.3
11
1746f2b0 12* Intel's IA-64 math library is largely integrated. It provides fast and
2ace5721
UD
13 accurate implementatations for most basic and standard math functions
14 in float, double, and long double format.
15
07f951e4
UD
16* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, and lgamma for the
17 96-bit long double format.
18
e4d82761
UD
19* The beginning of a last-bit accurate math library by IBM Haifa were added.
20 The basic double functions exist today. Contributed by Abraham Ziv
21 <ziv@il.ibm.com>, Moshe Olshansky <olshansk@il.ibm.com>, Ealan Henis
22 <ealan@il.ibm.com>, and Anna Reitman <reitman@il.ibm.com>.
23
2ace5721
UD
24* An asynchronous name lookup library was added. The interface is designed
25 after POSIX AIO. The proposal was circulated beforehand to get comments.
26 No negative ones came in. Implemented by Ulrich Drepper.
27\f
306eeae5
UD
28Version 2.2.2
29
464d97ec 30* Lots of headers were cleaned up. Using the tool in the conform/ subdir
306eeae5
UD
31 we can now check for namespace violations and missing declarations. The
32 result is that almost all headers are now Unix-compliant (as defined in
33 the upcoming XPG6). The negative side is that some programs might need
34 corrections, too, if they depend on the incorrect form of the headers in
35 previous versions which defined too many symbols and included too many
36 other headers.
464d97ec
UD
37
38* regex now handles multibyte character sets correctly.
39 Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
40
41* iconv (the program) does now conform to the upcoming XPG6 and handles
42 charmaps. Instead of the charset names the path of charmaps can be
43 provided and the conversion happens based on this data.
44 Contributed by Ulrich Drepper.
45
46* The locale program now provides detailed information about the installed
47 locales. While
48
49 locale -a
50
51 only lists the names of the supported locales
52
53 locale -a --verbose
54
55 provides details such as country, language, and codeset name.
56 Contributed by Ulrich Drepper.
306eeae5 57\f
d2defdc4
UD
58Version 2.2.1
59
60* The gencat program now parses the input file according to the charset
61 selected by the LC_CTYPE category. This is important for stateful
62 character sets. To make generating catalogs easier there is a way
63 to overwrite the charset selected by the locale: before the first
64 message or $ quote line the catalog can contain a line like
65
66 $ codeset=ISO-8859-2
67
68 to select the charset (ISO-8859-2 in this case).
69
70 Implemented by Shinya Hanataka and Ulrich Drepper.
aea6353a
UD
71
72* New codeset conversion modules: IBM-922 (Estonia PC codeset),
73 IBM-1124 (Ukraine PC codeset), IBM-1129 (Vietnamese PC codeset).
74 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
234669e2
UD
75
76* Optimized string functions for Alpha ev6 and ev67 by Richard Henderson
77 <rth@redhat.com> and Rick Gorton <rick.gorton@alpha-processor.com>.
78
79* The LANGUAGE environment variable is now ignored unless the locale is
80 changed from the default "C" locale.
81
82* The usual bug fixes.
d2defdc4 83\f
2e92188d
UD
84Version 2.2
85
08a2e4a0
GM
86* Greg McGary added runtime support for bounds checking using gcc's
87 new -fbounded-pointers option. ix86 target is complete. PowerPC
88 is in progress.
89
2e92188d
UD
90* Thorsten Kukuk added secure mode support to nscd.
91
793bd4d9 92* The Berkeley db libraries have been removed.
2e92188d 93
47b853e8
UD
94 Related, the nss_db module is now in a separate package since it
95 obviously requires a database library being available.
96
0013b2b1
UD
97* Wide character I/O streams implemented by Ulrich Drepper.
98
abbffdf9 99* Functions from the extended socket API added by Ulrich Drepper.
01c771d0 100
6e8afc1c
UD
101* Functions feenableexcept and fedisableexcept to control the
102 behaviour of individual exceptions have been added by Andreas Jaeger.
103
591e1ffb
UD
104* ldconfig program added by Andreas Jaeger and Jakub Jelinek.
105
d3436b3c
UD
106* The resolver code has been updated from bind 8.2.3-T5B which supports
107 threads. The integration was done by Andreas Jaeger, Adam D. Bradley,
108 and Mark Kettenis.
2588068b
UD
109
110 This change could in some situations effect backward compatibility. Since
111 now `_res' is a thread-local instead of a global variable, modifying it
112 in one thread does not have any effect in other threads.
66ac0abe 113
a00c3ca9 114 The resolver library was also extended to allow IPv6 as the transport
d3436b3c
UD
115 protocol for the requests. This work was done by Stig Venaas.
116
1c5d4617
UD
117* Compatibility code for K&R C compilers has been removed from the
118 header files. A ISO C compiler is needed to use the library
119 (conforming to either C89 or C99 standard).
120
abbffdf9
UD
121* Complete rewrite of the localedef program to support multibyte character
122 sets. Implement handling of ISO 14651 and ISO 14652. Rewrite strcoll,
123 strxfrm, wcscoll, and wcsxfrm functions. Make isw*() functions work.
124 Implemented by Ulrich Drepper.
125
8f3f1e09
UD
126 Bruno Haible significantly improved the generation and use of the data
127 structures for the wide character tables.
128
abbffdf9
UD
129* Plural handling in gettext implemented by Ulrich Drepper.
130
69173865
UD
131* The utmp daemon has been removed.
132
133* The port to MIPS-Linux has been finished by Andreas Jaeger.
134
37fb8add
UD
135* A port to Hitachi SH3 and SH4 has been contributed by Kazumoto Kojima
136 and Yutaka Niibe.
137
594cee6c
UD
138* POSIX clocks and timers implemented by Kaz Kylheku and Ulrich Drepper.
139
40c4c9b5
UD
140* POSIX barriers implemented by Kaz Kylheku.
141
594cee6c
UD
142* POSIX spawn function family implemented by Ulrich Drepper.
143
144* POSIX spinlocks are now available.
145
40c4c9b5
UD
146* Timed wait functions for mutex, rwlock, and semaphores are implemented.
147
8f3f1e09
UD
148* the configure option --enable-kernel=X.Y.Z allows to strip out
149 compatibility for kernel versions before X.Y.Z. This is currently only
150 implemented for Linux.
151
3107c0c5
UD
152* the sockaddr_in6 structure changed. The IPv6 working group added a new
153 field sin6_scope_id. This means that all programs using IPv6 should be
154 recompiled. Don't expect binary compatibility with previous glibc
155 versions.
156
d2830ba4
UD
157* various conversion modules for IBM character sets contributed by
158 Masahide Washizawa.
159
8f3f1e09
UD
160* IA-64 port by Jes Sorensen and HJ Lu.
161
162~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163Compiling the GNU C Library for Linux/ia64
164******************************************
165
166 Please refer to the file INSTALL in the same directory as you found
167this file for general information about configuring and compiling
168glibc.
169
170 For general inquiries about glibc under Linux/ia64 please use the
171following mailing list linux-ia64@linuxia64.org or one of the relevant
172glibc mailing lists.
173
174Recommended Tools for Compilation
175=================================
176
177 In order for glibc-2.2 to build correctly on the ia64 you need at
178least the following versions of the GNU tools (the :
179
180 * The Cygnus toolchain snapshot for the ia64 as of August 4
aea6353a
UD
181 including the provided set of patches. It is however recommend
182 you use the October 24 toolchain snapshot or a more recent version.
8f3f1e09
UD
183
184 OR alternatively you can try the following (the Cygnus toolchain is
185 the recommended solution):
186
187 * GCC and binutils, GAS and GNU LD out of CVS from
aea6353a 188 sources.redhat.com as of August 28, 2000 or later. The CVS tree
8f3f1e09
UD
189 may require special patches to work properly on the ia64.
190
191Configuring and compiling GNU Libc for Linux/ia64
192=================================================
193
194 The library requires Linux kernel version 2.4.0-test4-000728 or
aea6353a
UD
195later to funtion properly. Besides that it support for debug libraries
196is currently untested. Hence the following options
8f3f1e09
UD
197are required for configuring the library:
198
aea6353a 199 --disable-debug --enable-kernel=2.4.0
8f3f1e09
UD
200
201 It is also important that you make sure the library picks up the
202appropriate kernel header files, if you do not have recent enough
203kernel headers in /usr/src/linux/include, you should use the
204--with-headers=<path> option to specify the location.
205
206 As an example I personally use the following options to configure
207the library:
208
209 --disable-debug
8f3f1e09
UD
210 --disable-cvs
211 --enable-kernel=2.4.0
212 --host=ia64-linux
213 --enable-add-ons=yes
214 --prefix=/usr
215 --with-headers=/home/jes/linux/include
216
217
218Good luck
219
220Jes Sorensen <jes@linuxcare.com>,
aea6353a 221November 14th, 2000
8f3f1e09 222~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6f2a8167
UD
223\f
224Version 2.1.3
225
226* bug fixes
227
01c771d0
UD
228\f
229Version 2.1.2
230
231* bug fixes
232
28f540f4 233\f
e518937a
UD
234Version 2.1.1
235
27995311
UD
236* New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
237
16b0f634
UD
238* New xdr functions are added; some rpc functions are now 64bit clean.
239
407d26b7 240* Fixed a number of bugs and memory leaks (especially in NIS+ code).
16b0f634
UD
241
242* Fixed known incompatibilities with glibc 2.0.
243
407d26b7 244* New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
16b0f634 245
407d26b7 246* Optimized a number of functions (especially the ELF dynamic loader).
16b0f634
UD
247
248* Update timezone data files.
27995311 249
554b8800
UD
250* lots of charmaps corrections
251
252* some new locale definitions and charmaps
253
e518937a 254\f
c84142e8
UD
255Version 2.1
256
da2d1bc5
UD
257* Richard Henderson corrected size of struct timeval on Linux/Alpha to
258 conform to POSIX member type requirements. Symbol versions have been
259 adjusted as needed within the library, and for direct use by applications,
260 but there is potential for problems if third-party libraries use
261 struct timeval as part of their interface. This does not present
262 a problem for X and other "essential" system libraries.
263
c84142e8 264* An additional locale model to support C++ Standard Library locale
1fb05e3d 265 model and probably more was implemented by Ulrich Drepper.
c84142e8 266
1fb05e3d 267* Eric Youngdale and Ulrich Drepper implemented versioning of objects on
c84142e8
UD
268 symbol level.
269
270* Miles Bader provided the `argp' function family to support hierachical
271 command line argument parsing, layered on top of getopt.
377a515b 272
cbdee279 273* strtod accepts new hexadecimal floating-point format from ISO C 9X.
377a515b
UD
274
275* printf has two new specifiers %a and %A to print hexadecimal flaoting-point
cbdee279 276 numbers.
377a515b 277
cbdee279 278* scanf recognizes the %a and %A format for scanning floating point numbers.
e61abf83 279
48869012
UD
280* the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
281 information and interfaces for the available integer types.
e61abf83 282
813f4f4d
UD
283* about 130 new math functions were added to implement the ISO C9x math
284 library.
285
e61abf83 286* the new header <complex.h> contains definitions of the complex math
cbdee279
UD
287 functions from ISO C 9X.
288
289* the new header <tgmath.h> defines generic macros to use complex or
290 real valued functions.
e61abf83 291
a5a0310d 292* Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
e61abf83 293
a5a0310d
UD
294* Andreas Jaeger provided a test suite for the math library.
295
296* Mark Kettenis implemented the utmpx interface and an utmp daemon.
cbdee279 297
440d13e2 298* Ulrich Drepper added character set conversion functions (iconv).
cbdee279
UD
299
300* Optimized string functions have been added.
301
302* The localedata addon is now part of glibc.
2eb45444
UD
303
304* An implementation of profiling shared libraries was added by Ulrich Drepper.
ea278354 305
48244d09
UD
306* Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
307 daemon for NSS (nscd).
308
309 Missing a better place here are some numbers on improvements. Under
310 Linux 2.1.125 un-tar-ing the kernel sources takes
311
0dee6738 312 user system wall
48244d09 313
0dee6738 314 using local files 12.19s 6.88s 22.91s
48244d09 315
0dee6738 316 using NIS 13.92s 8.91s 26.34s
48244d09 317
0dee6738 318 using NIS & nscd 10.37s 7.34s 25.30s
48244d09 319
0dee6738
UD
320 using NIS+ 27.57s 30.37s 640.46s
321
322 using NIS+ & nscd 10.25s 7.83s 26.51s
323
324 using NIS & old nscd [1] 13.83s 8.32s 29.60s
48244d09 325
48244d09
UD
326 Keep in mind that non-namelookup related operations dominate above times.
327 It was just a common complain that using NIS+ unpacking the kernel is
0dee6738 328 horribly slow.
48244d09 329
0dee6738
UD
330 [1] The old nscd implementation is not available anymore since it was
331 distributed with glibc up to version 2.0.98 and thus is now replaced.
ea278354
UD
332
333* Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
48869012
UD
334
335* Mark Kettenis provided a Hesiod NSS module.
20833331
UD
336
337* The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
338 and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
339
340* rcmd can now handle netgroups (Dick Streefland).
48244d09 341
62595351
UD
342* A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
343 Bambrough.
344
345* Support for the IPv6 protocol has been added to the socket API, as per the
346 latest draft standards.
347
1770a20d
UD
348* Support for Linux 2.2 has been added.
349
48244d09
UD
350* Interface changes relative to the latest 2.0.x release:
351~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62595351 352addseverity NEW: Unix98
48244d09 353alphasort64 NEW: LFS
62595351
UD
354argp_err_exit_status NEW: argp, GNU ext
355argp_error NEW: argp, GNU ext
356argp_failure NEW: argp, GNU ext
357argp_help NEW: argp, GNU ext
358argp_parse NEW: argp, GNU ext
359argp_program_bug_address NEW: argp, GNU ext
360argp_program_version NEW: argp, GNU ext
361argp_program_version_hook NEW: argp, GNU ext
362argp_state_help NEW: argp, GNU ext
363argp_usage NEW: argp, GNU ext
e980ca92
UD
364authdes_create NEW: Secure RPC
365authdes_getucred NEW: Secure RPC
366authdes_pk_create NEW: Secure RPC
48244d09
UD
367backtrace NEW: GNU ext.
368backtrace_symbols NEW: GNU ext.
369backtrace_symbols_fd NEW: GNU ext.
370cacos NEW: ISO C 9x
371cacosf NEW: ISO C 9x
372cacosh NEW: ISO C 9x
373cacoshf NEW: ISO C 9x
374cacoshl NEW: ISO C 9x
375cacosl NEW: ISO C 9x
376capget NEW: kernel
377capset NEW: kernel
378carg NEW: ISO C 9x
379cargf NEW: ISO C 9x
380cargl NEW: ISO C 9x
381casin NEW: ISO C 9x
382casinf NEW: ISO C 9x
383casinh NEW: ISO C 9x
384casinhf NEW: ISO C 9x
385casinhl NEW: ISO C 9x
386casinl NEW: ISO C 9x
387catan NEW: ISO C 9x
388catanf NEW: ISO C 9x
389catanh NEW: ISO C 9x
390catanhf NEW: ISO C 9x
391catanhl NEW: ISO C 9x
392catanl NEW: ISO C 9x
e980ca92 393cbc_crypt NEW: Secure RPC
48244d09
UD
394ccos NEW: ISO C 9x
395ccosf NEW: ISO C 9x
396ccosh NEW: ISO C 9x
397ccoshf NEW: ISO C 9x
398ccoshl NEW: ISO C 9x
399ccosl NEW: ISO C 9x
400cexp NEW: ISO C 9x
401cexpf NEW: ISO C 9x
402cexpl NEW: ISO C 9x
403cimag NEW: ISO C 9x
404cimagf NEW: ISO C 9x
405cimagl NEW: ISO C 9x
406clearerr_locked REMOVED
407clntunix_create NEW: sunrpc ext
408clog NEW: ISO C 9x
409clog10 NEW: ISO C 9x
410clog10f NEW: ISO C 9x
411clog10l NEW: ISO C 9x
412clogf NEW: ISO C 9x
413clogl NEW: ISO C 9x
414conj NEW: ISO C 9x
415conjf NEW: ISO C 9x
416conjl NEW: ISO C 9x
417cpow NEW: ISO C 9x
418cpowf NEW: ISO C 9x
419cpowl NEW: ISO C 9x
420cproj NEW: ISO C 9x
421cprojf NEW: ISO C 9x
422cprojl NEW: ISO C 9x
423creal NEW: ISO C 9x
424crealf NEW: ISO C 9x
425creall NEW: ISO C 9x
426creat64 NEW: LFS
427csin NEW: ISO C 9x
428csinf NEW: ISO C 9x
429csinh NEW: ISO C 9x
430csinhf NEW: ISO C 9x
431csinhl NEW: ISO C 9x
432csinl NEW: ISO C 9x
433csqrt NEW: ISO C 9x
434csqrtf NEW: ISO C 9x
435csqrtl NEW: ISO C 9x
436ctan NEW: ISO C 9x
437ctanf NEW: ISO C 9x
438ctanh NEW: ISO C 9x
439ctanhf NEW: ISO C 9x
440ctanhl NEW: ISO C 9x
441ctanl NEW: ISO C 9x
e980ca92
UD
442des_setparity NEW: Secure RPC
443ecb_crypt NEW: Secure RPC
62595351 444endutxent NEW: Unix98
48244d09
UD
445exp10 NEW: ISO C 9x
446exp10f NEW: ISO C 9x
447exp10l NEW: ISO C 9x
448exp2 NEW: ISO C 9x
449exp2f NEW: ISO C 9x
450exp2l NEW: ISO C 9x
451fattach NEW: STREAMS
452fdetach NEW: STREAMS
453fdim NEW: ISO C 9x
454fdimf NEW: ISO C 9x
455fdiml NEW: ISO C 9x
456feclearexcept NEW: ISO C 9x
457fegetenv NEW: ISO C 9x
458fegetexceptflag NEW: ISO C 9x
459fegetround NEW: ISO C 9x
460feholdexcept NEW: ISO C 9x
461feof_locked REMOVED
462feraiseexcept NEW: ISO C 9x
463ferror_locked REMOVED
464fesetenv NEW: ISO C 9x
465fesetexceptflag NEW: ISO C 9x
466fesetround NEW: ISO C 9x
467fetestexcept NEW: ISO C 9x
468feupdateenv NEW: ISO C 9x
469fflush_locked REMOVED
470ffsl NEW: GNU ext.
471ffsll NEW: GNU ext.
472fgetpos64 NEW: LFS
473fgets_unlocked NEW: GNU ext.
474fileno_locked REMOVED
475fma NEW: ISO C 9x
476fmaf NEW: ISO C 9x
477fmal NEW: ISO C 9x
478fmax NEW: ISO C 9x
479fmaxf NEW: ISO C 9x
480fmaxl NEW: ISO C 9x
481fmin NEW: ISO C 9x
482fminf NEW: ISO C 9x
483fminl NEW: ISO C 9x
62595351 484fmtmsg NEW: Unix98
48244d09
UD
485fopen64 NEW: LFS
486fputc_locked REMOVED
487fputs_unlocked NEW: GNU ext.
488fread_unlocked NEW: GNU ext.
489freopen64 NEW: LFS
490fseeko NEW: Unix98
491fsetpos64 NEW: LFS
492fstatfs64 NEW: LFS
493fstatvfs NEW: Unix98
494fstatvfs64 NEW: LFS
495ftello NEW: Unix98
496ftello64 NEW: LFS
497ftruncate64 NEW: LFS
498ftw64 NEW: LFS
499fwrite_unlocked NEW: GNU ext.
500gai_strerror NEW: IPv6
501gamma_r REMOVED
502gammaf_r REMOVED
503gammal_r REMOVED
504getchar_locked REMOVED
505getdate NEW: Unix98
506getdate_err NEW: Unix98
507getdate_r NEW: GNU ext.
508getmsg NEW: STREAMS
509getnameinfo NEW: IPv6
e980ca92 510getnetname NEW: Secure RPC
48244d09
UD
511getpmsg NEW: STREAMS
512getpt NEW: Unix98 PTY
513getrlimit64 NEW: LFS
62595351
UD
514getutxent NEW: Unix98
515getutxid NEW: Unix98
516getutxline NEW: Unix98
48244d09
UD
517glob64 NEW: GNU ext.
518globfree64 NEW: GNU ext.
519gnu_get_libc_release NEW: GNU ext.
520gnu_get_libc_version NEW: GNU ext.
521grantpt NEW: Unix98 PTY
e980ca92 522host2netname NEW: Secure RPC
48244d09
UD
523iconv NEW: iconv
524iconv_close NEW: iconv
525iconv_open NEW: iconv
526if_freenameindex NEW: IPv6
527if_indextoname NEW: IPv6
528if_nameindex NEW: IPv6
529if_nametoindex NEW: IPv6
530in6addr_any NEW: IPv6
531in6addr_loopback NEW: IPv6
532inet6_isipv4mapped NEW: IPv6
533isastream NEW: STREAMS
534iswblank NEW: GNU ext.
e980ca92
UD
535key_decryptsession NEW: Secure RPC
536key_decryptsession_pk NEW: Secure RPC
537key_encryptsession NEW: Secure RPC
538key_encryptsession_pk NEW: Secure RPC
539key_gendes NEW: Secure RPC
540key_get_conv NEW: Secure RPC
541key_secretkey_is_set NEW: Secure RPC
542key_setnet NEW: Secure RPC
543key_setsecret NEW: Secure RPC
48244d09
UD
544llrint NEW: ISO C 9x
545llrintf NEW: ISO C 9x
546llrintl NEW: ISO C 9x
547llround NEW: ISO C 9x
548llroundf NEW: ISO C 9x
549llroundl NEW: ISO C 9x
550log2 NEW: ISO C 9x
551log2f NEW: ISO C 9x
552log2l NEW: ISO C 9x
553lrint NEW: ISO C 9x
554lrintf NEW: ISO C 9x
555lrintl NEW: ISO C 9x
556lround NEW: ISO C 9x
557lroundf NEW: ISO C 9x
558lroundl NEW: ISO C 9x
559lseek64 NEW: LFS
560makecontext NEW: Unix98
561mempcpy NEW: GNU ext.
562mmap64 NEW: LFS
563moncontrol REMOVED
564modify_ldt NEW: kernel
565nan NEW: ISO C 9x
566nanf NEW: ISO C 9x
567nanl NEW: ISO C 9x
568nearbyint NEW: ISO C 9x
569nearbyintf NEW: ISO C 9x
570nearbyintl NEW: ISO C 9x
e980ca92
UD
571netname2host NEW: Secure RPC
572netname2user NEW: Secure RPC
42bd0a85
UD
573nexttoward NEW: ISO C 9x
574nexttowardf NEW: ISO C 9x
575nexttowardl NEW: ISO C 9x
48244d09
UD
576nftw NEW: Unix98
577nftw64 NEW: LFS
578open64 NEW: LFS
e980ca92 579passwd2des NEW: Secure RPC
48244d09
UD
580pow10 NEW: GNU ext.
581pow10f NEW: GNU ext.
582pow10l NEW: GNU ext.
583pread NEW: Unix98
584pread64 NEW: LFS
585printf_size NEW: GNU ext.
586printf_size_info NEW: GNU ext.
587profil_counter REMOVED
588pthread_mutexattr_getkind_np REPLACED
589pthread_mutexattr_setkind_np REPLACED
590ptsname NEW: Unix98 PTY
591ptsname_r NEW: Unix98 PTY
592putc_locked REMOVED
593putchar_locked REMOVED
594putgrent NEW: GNU ext.
595putmsg NEW: STREAMS
596putpmsg NEW: STREAMS
62595351 597pututxline NEW: Unix98
48244d09
UD
598pwrite NEW: Unix98
599pwrite64 NEW: LFS
600readdir64 NEW: LFS
601readdir64_r NEW: LFS
602remquo NEW: ISO C 9x
603remquof NEW: ISO C 9x
604remquol NEW: ISO C 9x
605round NEW: ISO C 9x
606roundf NEW: ISO C 9x
607roundl NEW: ISO C 9x
608rtime NEW: GNU ext.
609scalbln NEW: ISO C 9x
610scalblnf NEW: ISO C 9x
611scalblnl NEW: ISO C 9x
612scandir64 NEW: LFS
613sendfile NEW: kernel
614setcontext NEW: Unix98
615setrlimit64 NEW: LFS
62595351 616setutxent NEW: Unix98
48244d09
UD
617sighold NEW: Unix98
618sigignore NEW: Unix98
619sigqueue NEW: POSIX.1b
620sigrelse NEW: Unix98
621sigset NEW: POSIX.1b
622sigtimedwait NEW: POSIX.1b
623sigwaitinfo NEW: POSIX.1b
624sincos NEW: GNU ext.
625sincosf NEW: GNU ext.
626sincosl NEW: GNU ext.
627statfs64 NEW: LFS
628statvfs NEW: Unix98
629statvfs64 NEW: LFS
630strcasestr NEW: GNU ext.
48244d09
UD
631strtoimax NEW: ISO C 9x
632strtoumax NEW: ISO C 9x
633strverscmp NEW: GNU ext.
e980ca92 634svcauthdes_stats NEW: Secure RPC
48244d09
UD
635svcunix_create NEW: sunrpc etx
636svcunixfd_create NEW: sunrpc ext
637swapcontext NEW: Unix98
638tcgetsid NEW: Unix98 PTY
639tdestroy NEW: GNU ext.
640tgamma NEW: ISO C 9x
641tgammaf NEW: ISO C 9x
642tgammal NEW: ISO C 9x
643tmpfile64 NEW: LFS
644trunc NEW: ISO C 9x
645truncate64 NEW: LFS
646truncf NEW: ISO C 9x
647truncl NEW: ISO C 9x
648umount2 NEW: kernel
649unlockpt NEW: Unix98 PTY
62595351 650updwtmpx NEW: Unix98
e980ca92 651user2netname NEW: Secure RPC
62595351 652utmpxname NEW: Unix98
48244d09 653versionsort NEW: GNU ext.
3ef4002b 654versionsort64 NEW: GNU ext.
48244d09
UD
655waitid NEW: Unix98
656wcscasecmp NEW: GNU ext.
657wcsncasecmp NEW: GNU ext.
658wcsnlen NEW: GNU ext.
659wcstoimax NEW: ISO C 9x
660wcstoll NEW: ISO C 9x
661wcstoull NEW: ISO C 9x
662wcstoumax NEW: ISO C 9x
663wcswcs NEW: Unix98
664wordexp NEW: POSIX.2
665wordfree NEW: POSIX.2
666write_profiling REMOVED
e980ca92
UD
667xdecrypt NEW: Secure RPC
668xdr_authdes_cred NEW: Secure RPC
669xdr_authdes_verf NEW: Secure RPC
670xdr_cryptkeyarg NEW: Secure RPC
671xdr_cryptkeyarg2 NEW: Secure RPC
672xdr_cryptkeyres NEW: Secure RPC
673xdr_getcredres NEW: Secure RPC
674xdr_key_netstarg NEW: Secure RPC
675xdr_key_netstres NEW: Secure RPC
676xdr_keybuf NEW: Secure RPC
677xdr_keystatus NEW: Secure RPC
678xdr_netnamestr NEW: Secure RPC
679xdr_sizeof NEW: Secure RPC
48244d09 680xdr_unixcred NEW: sunrpc ext
e980ca92 681xencrypt NEW: Secure RPC
48244d09 682~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1770a20d
UD
683\f
684Version 2.0.6
685
686* more bug fixes
687
a5a0310d
UD
688\f
689Version 2.0.5
690
691* more bug fixes
692
693* inet_ntoa is thread-safe
694
695* updwtmp is moved from libutil to libc
696
697* rewrite of cbrt function
698
699* update of timezone data
700\f
701Version 2.0.4
702
703* more bug fixes
704\f
705Version 2.0.3
706
707* more bug fixes
c84142e8 708\f
795fbc9a
UD
709Version 2.0.2
710
711* more bug fixes
712
713* add atoll function
714
715* fix complex problems in Berkeley DB code
e61abf83
UD
716
717* fix math functions
795fbc9a
UD
718\f
719Version 2.0.1
720
721* fixed lots of header problems (especially Linux/GNU specific)
722
723* dynamic loader preserves all registers
724
725* Roland McGrath provided support for handling of auxiliary objects in
726 the ELF dynamic loader.
727
728* support for parallel builds is improved
729\f
40a4b79f 730Version 2.0
28f540f4 731
d3669add
RM
732* GNU extensions are no longer declared by default. To enable them you
733 must define the macro `_GNU_SOURCE' in your program or compile with
734 `-D_GNU_SOURCE'.
735
28f540f4
RM
736* The library has changed from using GNU ld symbol aliases to using weak
737 symbols where available. The ELF object file format supports weak
738 symbols; GNU ld also supports weak symbols in the a.out format. (There
739 is also now support for other GNU ld extensions in ELF. Use the
787126fe
RM
740 `--with-elf' option to configure to indicate you have ELF, and
741 `--with-gnu-ld' if using GNU ld.) This change resulted in the deletion
28f540f4
RM
742 of many files which contained only symbol aliases, reducing the size of
743 the source and the compiled library; many other files were renamed to
744 less cryptic names previously occupied by the symbol alias files.
dcf0671d
UD
745 There is a new header file <elf.h> for programs which operate on
746 files in the ELF format.
49e522bf
RM
747
748* Converted to Autoconf version 2, so `configure' has more options.
749 Run `configure --help' to see the details.
750
751* The library can now be configured to build profiling, highly-optimized
b25c5d66
RM
752 (but undebuggable), and/or shared libraries (ELF with GNU ld only). The
753 `--enable-profile', `--enable-omitfp', and `--enable-shared' options to
754 `configure' enable building these extra libraries. The shared library is
755 built by default when using both ELF and GNU ld. When shared libraries
756 are enabled, the new library `-ldl' is available for arbitrary run-time
757 loading of shared objects; its interface is defined in <dlfcn.h>. The
758 new header file <link.h> gives access to the internals of the run-time
33a934a3
UD
759 dynamic linker, `ld.so'. The shell script `ldd' is similar to the
760 application of same name on other systems and it provides information
761 about dynamically linked binaries.
49e522bf 762
71733723
RM
763* The C library now provides the run-time support code for profiling
764 executables compiled with `-pg'. Programs can control the profiling code
d3669add
RM
765 through the interface in <sys/gmon.h>. The `gmon.out' files written by
766 the GNU C library can be read only by GNU `gprof' (from GNU binutils);
767 the support for this file format was contributed by David Mosberger-Tang.
71733723 768
f7eac6eb 769* The math code has been replaced with a math library based on fdlibm from
33a934a3
UD
770 Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
771 Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
772 functions. The math functions now reside in a separate library, so
773 programs using them will need to use `-lm' their linking commands.
774
775* John C. Bowman contributed optimized ix87 assembler inline functions.
f7eac6eb 776
5f0e6fc7
RM
777* Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
778 mechanism similar to that found in Solaris 2. This is now used for the
33a934a3
UD
779 group, passwd, hosts, networks, services, protocols, rpc, ethers,
780 shadow, netgroup, publickey, and alias databases. The `nsswitch.conf'
781 file controls what services are used for each individual database. This
782 works by loading shared libraries with names specified in `nsswitch.conf',
783 so service modules can be changed or added at any time without even
784 relinking any program. Currently there are the file, db, and NIS based
785 NSS services available.
5f0e6fc7 786
49e522bf
RM
787* The new functions `strtoq' and `strtouq' parse integer values from
788 strings, like `strtol' and `strtoul', but they return `long long int' and
789 `unsigned long long int' values, respectively (64-bit quantities).
790
791* The new functions `strtof' and `strtold' parse floating-point values from
792 strings, like `strtod', but they return `float' and `long double' values,
793 respectively (on some machines `double' and `long double' are the same).
794
795* Ulrich Drepper has contributed new implementations of the floating-point
796 printing and reading code used in the `printf' family of functions and
797 `strtod', `strtof', and `strtold'. These new functions are perfectly
798 accurate, and much faster than the old ones.
799
33a934a3
UD
800* The implementation of the POSIX locale model was completely rewritten by
801 Ulrich Drepper. This includes the new programs `localedef' and `locale'
802 to compile the POSIX locale definition.
803
804* The former dummy implementations of the strcoll and strxfrm function are
805 now replaced by fully functional code contributed by Ulrich Drepper. The
806 collation information comes from the POSIX locale definitions.
807
49e522bf
RM
808* The new header <langinfo.h> defines an interface for accessing
809 various locale-dependent data (using the locale chosen with `setlocale').
810
f7eac6eb 811* Ulrich Drepper has contributed a new suite of functions for operation on
33a934a3 812 wide-character and multibyte-character strings, in <wchar.h>;
b7407d63 813 and classification and case conversion of wide characters, in <wctype.h>.
33a934a3
UD
814 These new functions are conforming to the ISO C, Amendement 1 specification.
815
816* There is now a second implementation of the standard I/O library available.
817 It comes from GNU libg++ as was written by Per Bothner, heavily modified
818 by Hongjiu Lu and made thread safe by Ulrich Drepper.
f7eac6eb 819
71733723 820* You can now use positional parameter specifications in format strings
49e522bf
RM
821 for the `printf' and `scanf' families of functions. For example,
822 `printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
823 ``Number 6, Mr Jones''. This is mainly useful when providing different
d365fd2c
RM
824 format strings for different languages, whose grammars may dictate
825 different orderings of the values being printed. To support this
49e522bf 826 feature, the interface for `register_printf_handler' has changed; see
d365fd2c 827 the header file <printf.h> for details.
49e522bf
RM
828
829* The `printf' and `scanf' families of functions now understand a new
830 formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
831 to group numbers as indicated by the locale; for `scanf' and friends, this
832 says to accept as valid only a number with all the proper grouping
833 separators in the right places. In the default "C" locale, numbers are
834 not grouped; but locales for specific countries will define the usual
835 conventions (i.e. separate thousands with `,' in the US locale).
28f540f4
RM
836
837* The pgrp functions have been regularized, slightly incompatibly but much
838 less confusingly. The core functions are now `getpgid' and `setpgid',
839 which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
840 argument) and BSD `setpgrp' (identical to `setpgid') functions are
841 provided for compatibility. There is no longer an incompatible `getpgrp'
842 with an argument declared under _BSD_SOURCE; no BSD code uses it.
843
844* The new header file <fts.h> and suite of functions simplify programs that
845 operate on directory trees. This code comes from 4.4 BSD.
846
33a934a3
UD
847* The resolver code has been updated from the BIND 4.9.5-P1 release.
848 Parts of the code were heavily modified by Ulrich Drepper to fit in the
849 NSS scheme used in glibc.
28f540f4 850
28f540f4
RM
851* There is a new malloc debugging hook `__memalign_hook'.
852
853* There are new typedefs `ushort' for `unsigned short int' and `uint' for
854 `unsigned int' in <sys/types.h>. These are for compatibility only and
855 their use is discouraged.
856
857* The `-lmcheck' library to enable standard malloc debugging hooks is now
858 done differently, so that it works even without GNU ld.
787126fe 859
22a1292a
RM
860* New function `euidaccess' checks allowed access to a file like `access',
861 but using the effective IDs instead of the real IDs.
49e522bf
RM
862
863* The time zone data files have been updated for the latest and greatest
864 local time conventions of the countries of the world.
865
866* The new function `dirfd' extracts the file descriptor used by a DIR stream;
867 see <dirent.h>.
868
869* The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
870 for formatting floating-point numbers. They are provided only for
33a934a3
UD
871 compatibility; new programs should use `sprintf' instead. There are
872 also equivalent function for the `long double' floating-point type and
873 all functions also exist in a reentrant form.
342414a6
RM
874
875* The new auxiliary library `-lutil' from 4.4 BSD contains various
876 functions for maintaining the login-record files (primarily of use to
877 system programs such as `login'), and convenient functions for
878 allocating and initializing a pseudo-terminal (pty) device.
c709e372
RM
879
880* Ulrich Drepper has contributed new support for System V style
881 shared memory and IPC on systems that support it.
882
883* Ulrich Drepper has contributed several miscellaneous new functions found
884 in System V: The `hsearch' family of functions provide an effective
885 implementation of hash tables; `a64l' and `l64a' provide a very simple
886 binary to ASCII mapping; `drand48' and friends provide a 48-bit random
887 number generator.
888
889* Ulrich Drepper has contributed new reentrant counterparts for the
890 `random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
891
892* Ulrich Drepper has contributed new, highly-optimized versions of several
893 string functions for the i486/Pentium family of processors.
894
71733723 895* Ulrich Drepper has updated the Linux-specific code, based largely
c709e372 896 on work done in Hongjiu Lu's version of GNU libc for Linux.
33a934a3
UD
897 The GNU library now supports Linux versions 2.0.10 and later,
898 using the ELF object file format (i[3456]86-*-linux).
c709e372 899
d3669add
RM
900* Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
901
33a934a3
UD
902* David Mosberger-Tang and Richard Henderson have ported the C library
903 to Linux/Alpha (alpha-*-linux). Richard Henderson contributed the
904 dynamic linking support for ELF/Alpha.
905
906* Richard Henderson contributed several Alpha optimized assembler function
907 for arithmetic and string handling.
d3669add 908
c709e372 909* Ulrich Drepper has contributed a new set of message catalog functions to
40a4b79f
RM
910 support multiple languages using the <libintl.h> interface, for use with
911 his new package GNU gettext. Translation volunteers have contributed
912 catalogs of the library's messages in Spanish, German, and Korean.
913
914* For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
915 program and the `catgets' function for reading the catalog files it
916 creates. (The <libintl.h> interface is preferred; we include the
917 <nl_types.h> interface using `catgets' only for source compatibility with
918 programs already written to use it.)
71733723
RM
919
920* New header file <values.h> gives SVID-compatible names for <limits.h>
921 constants.
922
923* Various new macros, declarations, and small header files for compatibility
924 with 4.4 BSD.
925
926* New function `group_member' is a convenient way to check if a process has
927 a given effective group ID.
928
929* When using GCC 2.7 and later, the socket functions are now declared in a
930 special way so that passing an argument of type `struct sockaddr_in *',
931 `struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
932 `struct sockaddr *' type, does not generate a type-clash warning.
933
934* New function `error' declared in header file <error.h> is a convenient
6d52618b 935 function for printing error messages and optionally exiting; this is the
71733723
RM
936 canonical function used in GNU programs. The new functions `err', `warn',
937 and friends in header file <err.h> are the canonical 4.4 BSD interface for
938 doing the same thing.
939
940* The <glob.h> interface has several new flags from 4.4 BSD that extend the
941 POSIX.2 `glob' function to do ~ and {...} expansion.
942
943* New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
33a934a3 944 `clearenv' which is used in POSIX.9 is also available.
71733723
RM
945
946* New function `getsid' returns session ID number on systems that support it.
947
f7eac6eb
RM
948* We have incorporated the 4.4 BSD `db' library (version 1.85). New header
949 files <db.h> and <mpool.h> provide a rich set of functions for several
950 types of simple databases stored in memory and in files, and <ndbm.h> is
6d52618b 951 an old `ndbm'-compatible interface using the `db' functions. Link with
999493cb 952 `-ldb' to get these functions.
f7eac6eb
RM
953
954* New macro `strdupa' copies a string like `strdup', but uses local stack
955 space from `alloca' instead of dynamic heap space from `malloc'.
52e9a9d1
RM
956
957* New function `strnlen' is like `strlen' but searches only a given maximum
33a934a3
UD
958 number of characters for the null terminator. `stpncpy', `strndup' and
959 `strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
960 function.
40a4b79f
RM
961
962* New function `statfs' in header <sys/statfs.h>.
963
964* The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
965 provide convenient functions for operating on blocks of null-terminated
966 strings.
967
968* A new suite of functions in <utmp.h> handle all the details of reading
969 and writing the utmp file.
33a934a3
UD
970
971* An implementation of the NIS/YP(tm) based NSS service was contributed by
972 Thorsten Kukuk.
973
974* Paul Eggert and Ulrich Drepper modified the `strftime' function to be
975 completely POSIX compliant and also implemented the extended functionality
976 to handle alternate digit representation and alternate era date formats.
977
978* Ulrich Drepper provided an implementation of the `strptime' function
979 defined in XPG4.2 which transforms a string into a `struct tm' value.
980
981* Paul Eggert provided the tzselect shell script as part of the timezone
982 code. The shell script makes it easy to select the correct timezone
983 specification.
984
985* The implementation of the malloc family of functions is completely replaced
986 by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
987 The implementation uses the mmap function (if available) and it is
988 optimized for the use in multi threaded programs.
989
990* Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
991 functions. This new functionality is usable by specifying a special
992 salt string and it is compatible with implementation on *BSD systems.
993
994* Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
995 `getsubopt' to handle second level command line options, `bsd_signal'
996 to access BSD style `signal' functionality, the obsolete `regexp' style
997 expression matcher.
998
999* the `lchown' function is available on system which support this
1000 functionality.
1001
1002* The implementation of the shadow password handling function was contributed
1003 by Ulrich Drepper.
1004
1005* David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
1006
1007* POSIX.1g support was added. The <sys/select.h> header is available,
1008 `isfdtype' and `pselect' are implemented. Craig Metz contributed an
1009 implementation of `getaddrinfo'.
28f540f4
RM
1010\f
1011Version 1.09
1012
1013* For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
1014
1015* New header file <fstab.h> and new functions `getfsspec', `getfsent' and
1016 friends, for parsing /etc/fstab. This code comes from 4.4 BSD.
1017
1018* The new function `daemon' from 4.4 BSD is useful for server programs that
1019 want to put themselves in the background.
1020
1021* Joel Sherrill has contributed support for several standalone boards that
1022 run without an operating system.
1023
1024* `printf', `scanf' and friends now accept a `q' type modifier for long
1025 long int as well as `ll'. Formats using these might be `%qu' or `%lld'.
1026
1027* All of the code taken from BSD (notably most of the math and networking
1028 routines) has been updated from the BSD 4.4-Lite release.
1029
1030* The resolver code has been updated from the BIND-4.9.3-BETA9 release.
1031
1032* The new functions `getdomainname' and `setdomainname' fetch or change the
1033 YP/NIS domain name. These are system calls which exist on systems which
1034 have YP (aka NIS).
1035
1036* The time zone data files have been updated for the latest international
1037 conventions.
1038
1039* The SunRPC programs `portmap' and `rpcinfo' are now installed in
1040 $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
1041\f
1042Version 1.08
1043
1044* The C library now includes support for Sun RPC, from Sun's free
1045 RPCSRC-4.0 distribution. The `portmap', `rpcinfo', and `rpcgen' programs
1046 are included. (There is still no support for YP.)
1047
1048* Tom Quinn has contributed a port of the C library to SGI machines running
1049 Irix 4 (mips-sgi-irix4).
1050
1051* The new `lockf' function is a simplified interface to the locking
1052 facilities of `fcntl', included for compatibility.
1053
1054* New time functions `timegm', `timelocal', and `dysize' for compatibility.
1055
1056* New header file <sys/timeb.h> and new function `ftime' for compatibility.
1057
1058* New header files <poll.h> and <sys/poll.h> and new function `poll' for
1059 compatibility.
1060
1061* The error message printed by `assert' for a failed assertion now includes
1062 the name of the program (if using GNU ld) and the name of the calling
1063 function (with versions of GCC that support this).
1064
1065* The `psignal' function is now declared in <signal.h>, not <stdio.h>.
1066
1067* The library now includes the <sys/mman.h> header file and memory
1068 management functions `mmap', `munmap', `mprotect', `msync', and
1069 `madvise', on systems that support those facilities.
1070
1071* The interface for `mcheck' has changed slightly: the function called to
1072 abort the program when an allocation inconsistency is detected now takes
1073 an argument that indicates the type of failure. The new function
1074 `mprobe' lets you request a consistency check for a particular block at
1075 any time (checks are normally done only when you call `free' or `realloc'
1076 on a block).
1077
1078* It is now possible to easily cross-compile the C library, building on one
1079 system a library to run on another machine and/or operating system. All
1080 you need to do is set the variable `HOST_CC' in `configparms' to the
1081 native compiler for programs to run on the machine you are building on (a
1082 few generator programs are used on Unix systems); set `CC' to the
1083 cross-compiler.
1084
1085* The new function `fexecve' (only implemented on the GNU system) executes
1086 a program file given a file descriptor already open on the file.
1087\f
1088Version 1.07
1089
1090* Brendan Kehoe has contributed most of a port to the DEC Alpha
1091 running OSF/1 (alpha-dec-osf1). He says it is 75% complete.
1092
1093* You can set the variable `libprefix' in `configparms' to specify a prefix
1094 to be prepended to installed library files; this makes it easy to install
1095 the GNU C library to be linked as `-lgnuc' or whatever.
1096
1097* The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
1098 copies a limited number of characters from a string, and returns the
1099 address of the last character written.
1100
1101* You no longer need to check for whether the installed `stddef.h' is
1102 compatible with the GNU C library. configure now checks for you.
1103
1104* You can now define a per-stream `fileno' function to convert the
1105 stream's cookie into an integral file descriptor.
1106
1107* ``malloc (0)'' no longer returns a null pointer. Instead, it
1108 allocates zero bytes of storage, and returns a unique pointer which
1109 you can pass to `realloc' or `free'. The behavior is undefined if
1110 you dereference this pointer.
1111
1112* The C library now runs on Sony NEWS m68k machines running either
1113 NewsOS 3 or NewsOS 4.
1114
1115* The new `syscall' function is a system-dependent primitive function
1116 for invoking system calls. It has the canonical behavior on Unix
1117 systems, including unreliable return values for some calls (such as
1118 `pipe', `fork' and `getppid').
1119
1120* The error code `EWOULDBLOCK' is now obsolete; it is always defined
1121 to `EAGAIN', which is the preferred name. On systems whose kernels
1122 use two distinct codes, the C library now translates EWOULDBLOCK to
1123 EAGAIN in every system call function.
1124\f
1125Version 1.06
1126
1127* The GNU C Library Reference Manual is now distributed with the library.
1128 `make dvi' will produce a DVI file of the printed manual.
1129 `make info' will produce Info files that you can read on line using C-h i
1130 in Emacs or the `info' program.
ea278354 1131 Please send comments on the manual to bug-glibc-manual@gnu.org.
28f540f4
RM
1132
1133* The library now supports SVR4 on i386s (i386-unknown-sysv4).
1134
1135* Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
1136
1137* Jason Merrill has contributed a port to the Sequent Symmetry running
1138 Dynix version 3 (i386-sequent-dynix).
1139
1140* The library has been ported to i386s running SCO 3.2.4 (also known as SCO
1141 ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
1142
1143* New function `memory_warnings' lets you arrange to get warnings when
1144 malloc is running out of memory to allocate, like Emacs gives you.
1145
1146* The C library now contains the relocating allocator used in Emacs 19 for
1147 its editing buffers. This allocator (ralloc) minimizes allocation
1148 overhead and fragmentation by moving allocated regions around whenever it
1149 needs to. You always refer to a ralloc'd region with a "handle" (a
1150 pointer to a pointer--an object of type `void **').
1151
1152* There is a new `printf' format: `%m' gives you the string corresponding
1153 to the error code in `errno'.
1154
1155* In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
1156 or `%[' conversion, but instead of filling in a fixed-sized buffer you
1157 pass, the `a' modifier says to fill in a `char **' you pass with a
1158 malloc'd string.
1159
1160* The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
1161 `FNM_CASEFOLD'. `FNM_LEADING_DIR' lets a pattern like `foo*' match a
1162 name like `foo/bar'. `FNM_CASEFOLD' says to ignore case in matching.
1163
1164* `mkstemp' is a traditional Unix function to atomically create and open a
1165 uniquely-named temporary file.
1166\f
1167Version 1.05
1168
1169* The standard location for the file that says what the local timezone is
1170 has changed again. It is now `/usr/local/etc/localtime' (or more
1171 precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
1172
1173* The distribution no longer contains any files with names longer than 14
1174 characters.
1175
1176* `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
1177 These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
1178
1179* New functions `ttyslot' and `syslog' from 4.4 BSD.
1180\f
1181Version 1.04
1182
1183* The configuration process has changed quite a bit. The `configure'
1184 script is now used just like the configuration scripts for other GNU
1185 packages. The `sysdeps' directory hierarchy is much rearranged.
1186 The file `INSTALL' explains the new scheme in detail.
1187
1188* The header files no longer need to be processed into ANSI C and
1189 traditional C versions. There is just one set of files to install, and
1190 it will work with ANSI or old C compilers (including `gcc -traditional').
1191
1192* Brendan Kehoe and Ian Lance Taylor have ported the library to the
1193 MIPS DECStation running Ultrix 4.
1194
1195* The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
1196 Tom Quinn contributed the initial code. The GNU C library can NOT yet be
1197 made itself into a shared library.
1198
1199* Yet further improved support for the i386, running 4.3 BSD-like systems
1200 (such as Mach 3 with the Unix single-server), or System V.
1201
1202* New function `strncasecmp' to do case-insensitive string comparison
1203 with limited length.
1204
1205* New function `strsep' is a reentrant alternative to `strtok'.
1206
1207* New functions `scandir' and `alphasort' for searching directories.
1208
1209* New function `setenv' is a better interface to `putenv'.
1210
1211* Ian Lance Taylor has contributed an implementation of the SVID `ftw'
1212 function for traversing a directory tree.
1213
1214* The GNU obstack package is now also part of the C library.
1215 The new function `open_obstack_stream' creates a stdio stream that
1216 writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
1217 formatted output directly to an obstack.
1218
1219* Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
1220 cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
1221
1222* `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
1223
1224* The new functions `strfry' and `memfrob' do mysterious and wonderful
1225 things to your strings.
1226
1227* There are some new test programs: test-fseek, testmb, and testrand.
1228
1229* Some work has been done to begin porting the library to 4.4 BSD and Linux.
1230 These ports are not finished, but are a good starting place for really
1231 supporting those systems.
1232
1233* `/etc/localtime' is now the standard location for the file that says what
1234 the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
1235 This follows the general principle that `/etc' is the place for all local
1236 configuration files.
1237
1238* The C library header files now use `extern "C"' when used by the C++
1239 compiler, so the C library should now work with C++ code.
1240
1241* The header file <bstring.h> is gone. <string.h> now declares bcopy,
56ddf355
UD
1242 bcmp, bzero, and ffs. (Update: nowadays these functions are declared
1243 in <strings.h>.)
28f540f4
RM
1244
1245* Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
1246 function which uses the `merge sort' algorithm, and is said to be
1247 significantly faster than the old GNU `qsort' function. Merge sort is
1248 now the standard `qsort' function. The new algorithm can require a lot
1249 of temporary storage; so, the old sorting function is called when the
1250 required storage is not available.
1251
1252* The C library now includes Michael Glad's Ultra Fast Crypt, which
1253 provides the Unix `crypt' function, plus some other entry points.
28f540f4
RM
1254
1255* The code and header files taken from 4.4 BSD have been updated with the
1256 latest files released from Berkeley.
1257\f
1258----------------------------------------------------------------------
1259Copyright information:
1260
56ddf355 1261Copyright (C) 1992-1999, 2000 Free Software Foundation, Inc.
28f540f4
RM
1262
1263 Permission is granted to anyone to make or distribute verbatim copies
1264 of this document as received, in any medium, provided that the
1265 copyright notice and this permission notice are preserved,
1266 thus giving the recipient permission to redistribute in turn.
1267
1268 Permission is granted to distribute modified versions
1269 of this document, or of portions of it,
1270 under the above conditions, provided also that they
1271 carry prominent notices stating who last changed them.
1272\f
1273Local variables:
1274version-control: never
1275end: