]> git.ipfire.org Git - thirdparty/glibc.git/blame - NEWS
Fix y1l spurious overflows for ldbl-96 (bug 15283).
[thirdparty/glibc.git] / NEWS
CommitLineData
ee9247c3 1GNU C Library NEWS -- history of user-visible changes.
568035b7 2Copyright (C) 1992-2013 Free Software Foundation, Inc.
28f540f4
RM
3See the end for copying conditions.
4
d9814526 5Please send GNU C library bug reports via <http://sourceware.org/bugzilla/>
69be6aaf 6using `glibc' in the "product" field.
2c8bfe7d
DM
7\f
8Version 2.18
9
10* The following bugs are resolved with this release:
11
adbb8027
SP
12 11561, 12723, 13550, 13951, 14142, 14200, 14317, 14327, 14496, 14920,
13 14964, 14981, 14982, 14985, 14994, 14996, 15003, 15006, 15020, 15023,
d2f9799e 14 15036, 15054, 15055, 15062, 15078, 15160, 15232, 15234, 15283.
7fffbdff 15
55e4107b
SP
16* Add support for calling C++11 thread_local object destructors on thread
17 and program exit. This needs compiler support for offloading C++11
18 destructor calls to glibc.
19
e5c74c63
SP
20* Improved worst case performance of libm functions with double inputs and
21 output.
22
23* Support for priority inherited mutexes in pthread condition variables on
24 non-x86 architectures.
25
8cfdb7e0
SP
26* Added a benchmark framework to track performance of functions in glibc.
27
370ca3d2
JM
28\f
29Version 2.17
30
31* The following bugs are resolved with this release:
32
80ceeaee 33 1349, 3439, 3479, 3665, 5044, 5246, 5298, 5400, 6530, 6677, 6778, 6808,
7e9da188
RH
34 9685, 9914, 10014, 10038, 10114, 10631, 10873, 11438, 11607, 11638, 11741,
35 12140, 13013, 13412, 13542, 13601, 13603, 13604, 13629, 13679, 13696,
36 13698, 13717, 13741, 13759, 13761, 13763, 13881, 13939, 13950, 13952,
37 13966, 14042, 14047, 14090, 14150, 14151, 14152, 14154, 14157, 14166,
3c8b4190
SP
38 14173, 14195, 14197, 14237, 14246, 14251, 14252, 14283, 14298, 14303,
39 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14368, 14376, 14417,
40 14447, 14459, 14476, 14477, 14501, 14505, 14510, 14516, 14518, 14519,
41 14530, 14532, 14538, 14543, 14544, 14545, 14557, 14562, 14568, 14576,
42 14579, 14583, 14587, 14595, 14602, 14610, 14621, 14638, 14645, 14648,
43 14652, 14660, 14661, 14669, 14672, 14683, 14694, 14716, 14719, 14743,
44 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803, 14805,
45 14807, 14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833, 14835,
46 14838, 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872, 14879,
47 14889, 14893, 14898, 14914.
14bc93a9 48
95b4f1b6
SE
49* Optimization of memcpy for MIPS.
50
14bc93a9
JL
51* CVE-2011-4609 svc_run() produces high cpu usage when accept fails with
52 EMFILE has been fixed (Bugzilla #14889).
7a845b2c 53
b54eb3cb
JM
54* The add-on ports collection is now distributed in the "ports" subdirectory
55 of the main GNU C Library distribution, rather than separately.
56
7e2bd01f
MS
57* Port to ARM AArch64 contributed by Linaro.
58
08f43f9b
AK
59* Support for STT_GNU_IFUNC symbols added for s390 and s390x.
60 Optimized versions of memcpy, memset, and memcmp added for System z10 and
61 zEnterprise z196.
62 Implemented by Andreas Krebbel.
63
84b3fd84
FW
64* The new function secure_getenv allows secure access to the environment,
65 returning NULL if running in a SUID/SGID process. This function replaces
66 the internal function __secure_getenv.
67
815e6fa3
GB
68* SystemTap static probes have been added into the dynamic linker.
69 Implemented by Gary Benson.
70
400726de
MK
71* Optimizations of string functions strstr, strcasestr and memmem.
72 Implemented by Maxim Kuvyrkov.
73
7aab07e4 74* The minimum Linux kernel version that this version of the GNU C Library
6dad2c06 75 can be used with is 2.6.16.
7aab07e4 76
15d0da8c
WS
77* Optimizations of string functions memchr, wcschr, wcscpy, and wcsrchr for
78 powerpc POWER7. Implemented by Will Schmidt.
79
3cc3ef96
RM
80* New configure option --disable-nscd builds the C library such that it
81 never attempts to contact the Name Service Caching Daemon (nscd).
c53d909c
RM
82 New configure option --disable-build-nscd avoids building nscd itself;
83 this is the default if --disable-nscd is used.
3cc3ef96 84
b54eb3cb
JM
85* Improved support for cross-compilation, including cross-testing and
86 bootstrap builds without a previously built glibc.
87
85429b1a 88* Several testsuite tests are now able to test multiple IFUNC variants of an
0d224d52 89 interface, rather than just testing the one that would be chooen by
85429b1a
DM
90 default.
91
b54eb3cb
JM
92* New configure options --with-bugurl and --with-pkgversion, for
93 distributors to use to embed their bug-reporting and package version
94 information in --help and --version output.
95
050af9c4
SP
96* The ttyname and ttyname_r functions on Linux now fall back to searching for
97 the tty file descriptor in /dev/pts or /dev if /proc is not available. This
98 allows creation of chroots without the procfs mounted on /proc.
99
89a3ad0b
AO
100* The `crypt' function now fails if passed salt bytes that violate the
101 specification for those values. On Linux, the `crypt' function will
102 consult /proc/sys/crypto/fips_enabled to determine if "FIPS mode" is
103 enabled, and fail on encrypted strings using the MD5 or DES algorithm
104 when the mode is enabled.
105
6e6249d0
RM
106* The `clock_*' suite of functions (declared in <time.h>) is now available
107 directly in the main C library. Previously it was necessary to link with
108 -lrt to use these functions. This change has the effect that a
109 single-threaded program that uses a function such as `clock_gettime' (and
110 is not linked with -lrt) will no longer implicitly load the pthreads
111 library at runtime and so will not suffer the overheads associated with
112 multi-thread support in other code such as the C++ runtime library.
5a04f376 113
d9286582
NK
114* New locales: ayc_PE, doi_IN, ia_FR, mni_IN, nhn_MX, niu_NU, niu_NZ,
115 sat_IN, and szl_PL.
8d44e150
UD
116\f
117Version 2.16
118
119* The following bugs are resolved with this release:
120
bedee953
PP
121 174, 208, 350, 369, 411, 706, 766, 887, 2074, 2541, 2547, 2548, 2550,
122 2551, 2552, 2553, 2554, 2562, 2563, 2565, 2566, 2570, 2576, 2636, 2678,
123 3335, 3440, 3748, 3768, 3866, 3868, 3906, 3976, 3992, 4026, 4108, 4596,
124 4822, 5077, 5461, 5805, 5993, 6471, 6486, 6578, 6649, 6730, 6770, 6794,
d9dc34cd
TMQMF
125 6884, 6890, 6894, 6895, 6907, 6911, 6959, 7064, 9739, 9902, 10110, 10135,
126 10140, 10153, 10210, 10254, 10346, 10375, 10545, 10716, 10846, 11174,
127 11322, 11365, 11451, 11494, 11521, 11677, 11837, 11959, 12047, 12097,
2174c6dd
AJ
128 12193, 12194, 12297, 12298, 12301, 12340, 12354, 12416, 12495, 13058,
129 13223, 13361, 13525, 13526, 13527, 13528, 13529, 13530, 13531, 13532,
130 13533, 13547, 13551, 13552, 13553, 13555, 13556, 13559, 13563, 13566,
0479b305
AS
131 13576, 13579, 13583, 13592, 13594, 13613, 13618, 13637, 13656, 13658,
132 13673, 13691, 13695, 13704, 13705, 13706, 13718, 13726, 13738, 13739,
133 13743, 13750, 13758, 13760, 13761, 13775, 13786, 13787, 13792, 13806,
134 13824, 13840, 13841, 13844, 13846, 13848, 13851, 13852, 13854, 13871,
135 13872, 13873, 13879, 13882, 13883, 13884, 13885, 13886, 13892, 13895,
136 13908, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917, 13918,
137 13919, 13920, 13921, 13922, 13923, 13924, 13926, 13927, 13928, 13938,
138 13941, 13942, 13954, 13955, 13956, 13963, 13967, 13968, 13970, 13973,
139 13979, 13983, 13986, 13996, 14012, 14027, 14033, 14034, 14036, 14040,
140 14043, 14044, 14048, 14049, 14050, 14053, 14055, 14059, 14064, 14075,
141 14080, 14083, 14103, 14104, 14109, 14112, 14117, 14122, 14123, 14134,
142 14153, 14183, 14188, 14199, 14210, 14218, 14229, 14241, 14273, 14277,
6e6249d0 143 14278.
380d7e87 144
a086b4d6
L
145* Support for the x32 ABI on x86-64 added. The x32 target is selected by
146 configuring glibc with:
147 BUILD_CC='gcc' CC='gcc -mx32' CXX='g++ -mx32'
148 Visit <http://sites.google.com/site/x32abi/> for more x32 ABI info.
149 Implemented by H.J. Lu.
150
380d7e87
UD
151* ISO C11 support:
152
153 + define static_assert
154
155 + do not declare gets
156
157 + declare at_quick_exit and quick_exit also for ISO C11
158
159 + aligned_alloc. NB: The code is deliberately allows the size parameter
160 to not be a multiple of the alignment. This is a moronic requirement
161 in the standard but it is only a requirement on the caller, not the
162 implementation.
8d44e150 163
74033a25 164 + timespec_get added
544563c9
UD
165
166 + uchar.h support added
d75a0a62 167
ac097f5c
UD
168 + CMPLX, CMPLXF, CMPLXL added
169
16dd419d
UD
170 Implemented by Ulrich Drepper.
171
9dc4e1fb 172* Support for the IA-64 has been moved to ports.
33808bf1
UD
173
174* Remove support for anything but ELF binary format
d9a216c0
UD
175
176* Checking versions of poll, ppoll added.
177 Implemented by Ulrich Drepper.
daa891c0
UD
178
179* More generic and 64-bit performance optimizations to math functions.
180 Implemented by Ulrich Drepper.
021db4be
AJ
181
182* New configure option --enable-obsolete-rpc makes the deprecated RPC
183 headers and functions available at compile time as they were before
184 version 2.14. This option will be removed at some time in the future
185 after the TI-RPC library becomes fully sufficient for the needs of
186 existing applications.
ffb7875d 187
21708942 188* Compatibility code for Linux kernel versions before 2.4 has been removed.
ffb7875d
JM
189 Note that glibc is not expected to work with any Linux kernel version
190 before 2.6.
83678f76 191
edb00e4d
RH
192* New header <sys/auxv.h> and function getauxval allowing easy access to
193 the AT_* key-value pairs passed from the Linux kernel. The header also
194 defines the HWCAP_* bits associated with the AT_HWCAP key.
195
83678f76 196* New locales: mag_IN
7b44a2df
RM
197
198* New configure option --enable-systemtap builds SystemTap static probes
199 into libc for setjmp and longjmp and into libpthread for various operations.
200 So far the setjmp/longjmp probes and some of the libpthread probes are
201 provided only for i*86 and x86_64.
202 Implemented by Roland McGrath and Rayson Ho.
47e452cf
JM
203
204* Optimized expf for x86-32 and x86-64. Implemented by Liubov Dmitrieva.
205
d9dc34cd
TMQMF
206* More optimized functions for PowerPC. Implemented by Adhemerval Zanella
207 and Will Schmidt.
47e452cf
JM
208
209* More optimized functions for SPARC. Implemented by David S. Miller.
210
211* Improved support for cross-compilation, especially bootstrap builds
212 without a previously built glibc.
213
214* Ports for the TILE-Gx and TILEPro families of processors. Contributed by
215 Chris Metcalf from Tilera.
216
217* Support for the old ARM ABI has been removed from ports. Only the EABI is
218 now supported for ARM processors.
219
220* The hard-float variant of the ARM EABI now uses /lib/ld-linux-armhf.so.3
221 as the name of the dynamic linker, to distinguish it from the
222 /lib/ld-linux.so.3 dynamic linker used for the base EABI.
223
224* Support for CRIS has been removed from ports.
d9dc34cd
TMQMF
225
226* A new class of installed header has been documented for low-level
227 platform-specific functionality. PowerPC added the first instance with a
228 function to provide time base register access. Contributed by Tulio
229 Magno Quites Machado Filho.
929cc14e
AJ
230
231* ix86 configurations now install header files that are consistent with
232 what x86-64 configurations install. These same header files can be used
233 for -m32, -m64, or -mx32 builds.
234 Contributed by H.J. Lu.
ee9247c3
CD
235
236* Math library bug fixes. A thorough audit of all open math library bugs was
237 conducted by Joseph Myers. Significant progress was made on many math
238 library bugs resulting in more accurate exceptions and function results.
239 Many thanks to all those that contributed including Andreas Jaeger for his
240 patch review and work on the x87 trigonometric instruction issues.
241
242* Timezone data is no longer installed. Timezone-related binaries and scripts
243 will continue to be installed. Users should obtain their timezone data from
244 their distribution provider or from the tzdata package at
245 <ftp://munnari.oz.au/pub/>.
ee1a7fab 246\f
e80fab37 247Version 2.15
11988f8f 248
c0244a9d
UD
249* The following bugs are resolved with this release:
250
aebae053
UD
251 6779, 6783, 9696, 10103, 10709, 11589, 11929, 12403, 12786, 12840, 12847,
252 12868, 12852, 12874, 12885, 12892, 12906, 12907, 12922, 12935, 12962,
253 13007, 13021, 13061, 13062, 13067, 13068, 13085, 13088, 13090, 13092,
254 13096, 13114, 13118, 13123, 13134, 13138, 13147, 13150, 13166, 13179,
255 13185, 13189, 13192, 13268, 13276, 13282, 13291, 13305, 13328, 13335,
256 13337, 13344, 13358, 13367, 13413, 13416, 13423, 13439, 13446, 13472,
257 13484, 13506, 13515, 13523, 13524, 13538, 13540
c0244a9d 258
11988f8f
UD
259* New program pldd to list loaded object of a process
260 Implemented by Ulrich Drepper.
9f2da732
UD
261
262* Add nss_db support back to glibc. No more dependency on Berkeley db
263 and support for initgroups lookups.
264 Implemented by Ulrich Drepper.
0b1cbaae
L
265
266* Optimized strcpy, strncpy, stpcpy, stpncpy for SSE2 and SSSE3 on x86-32.
267 Contributed by HJ Lu.
8912479f
L
268
269* Improved strcpy, strncpy, stpcpy, stpncpy for SSE2 and SSSE3 on x86-64.
270 Contributed by HJ Lu.
99710781 271
fc2ee42a
LD
272* Optimized strcat, strncat on x86-64 and optimized wcscmp, wcslen, strnlen
273 on x86-32 and x86-64.
99710781 274 Contributed by Liubov Dmitrieva.
c55fbd1e 275
d42964a0 276* Optimized strchr and strrchr for SSE on x86-32.
693fb948
LD
277 Contributed by Liubov Dmitrieva.
278
1d3e4b61
UD
279* Optimized memchr, memrchr, rawmemchr, memcmp, wmemcmp, wcschr, wcscpy
280 for x86-64 and x86-32.
093ecf92
LD
281 Contributed by Liubov Dmitrieva.
282
c55fbd1e
UD
283* New interfaces: scandirat, scandirat64
284 Implemented by Ulrich Drepper.
a0f33f99
UD
285
286* Checking versions of FD_SET, FD_CLR, and FD_ISSET added.
287 Implemented by Ulrich Drepper.
684ae515
UD
288
289* nscd now also caches the netgroup database.
290 Implemented by Ulrich Drepper.
0ac5ae23
UD
291
292* Integrate libm with gcc's -ffinite-math-only option.
293 Implemented by Ulrich Drepper.
d9a4d2ab
UD
294
295* Lots of generic, 64-bit, and x86-64-specific performance optimizations
296 to math functions. Implemented by Ulrich Drepper.
297
298* Optimized strcasecmp and strncasecmp for AVX on x86-64.
299 Implemented by Ulrich Drepper.
78239589
UD
300
301* New Linux interfaces: process_vm_readv, process_vm_writev
e188ebba
UD
302
303* Optimized strcasecmp and strncasecmp for SSSE3 and SSE4.2 on x86-32.
304 Implemented by Ulrich Drepper.
a1267ba1 305
f0b264f1
AZ
306* Optimized nearbyint and strcasecmp for PPC.
307 Implemented by Adhemerval Zanella.
2655fd5c 308
6b64057b 309* New locales: bho_IN, unm_US, es_CU, ta_LK
e80fab37 310\f
dded88cd 311Version 2.14
9f94d2ea 312
50934221
UD
313* The following bugs are resolved with this release:
314
553149f6 315 386, 6420, 7101, 9730, 9732, 9809, 10138, 10149, 10157, 11099, 11257,
873ca504
UD
316 11258, 11487, 11532, 11558, 11578, 11634, 11653, 11668, 11697, 11724,
317 11781, 11799, 11820, 11837, 11857, 11869, 11892, 11895, 11901, 11945,
7ae22829 318 11947, 11952, 11987, 12052, 12083, 12158, 12178, 12200, 12346, 12350,
4462fad3
UD
319 12393, 12420, 12432, 12445, 12449, 12453, 12454, 12460, 12469, 12489,
320 12509, 12510, 12511, 12518, 12527, 12541, 12545, 12551, 12582, 12583,
321 12587, 12597, 12601, 12611, 12625, 12626, 12631, 12650, 12653, 12655,
4769ae77
UD
322 12660, 12671, 12681, 12684, 12685, 12711, 12713, 12714, 12717, 12723,
323 12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792,
f16846a5 324 12795, 12811, 12813, 12814, 12841
50934221 325
7b57bfe5
UD
326* The RPC implementation in libc is obsoleted. Old programs keep working
327 but new programs cannot be linked with the routines in libc anymore.
328 Programs in need of RPC functionality must be linked against TI-RPC.
6b1e7d19 329 The TI-RPC implementation is IPv6 enabled and there are other benefits.
018b9e36
UD
330
331 Visible changes of this change include (obviously) the inability to link
a0446976
UD
332 programs using RPC functions without referencing the TI-RPC library and the
333 removal of the RPC headers from the glibc headers.
7b57bfe5
UD
334 Implemented by Ulrich Drepper.
335
c6489db3 336* New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
f1f929d7 337 syncfs, setns, sendmmsg
83fe108b 338
72d1dddb 339* New locales: os_RU, bem_ZA, en_ZA, ff_SN, sw_KE, sw_TZ, lb_LU, wae_CH,
a7b80ed5 340 yue_HK, lij_IT, mhr_RU
bc469bea
UD
341
342* New encodings: CP770, CP771, CP772, CP773, CP774
a9171047
UD
343
344* New program sotruss to trace calls through PLTs
345 Implemented by Ulrich Drepper.
7d17596c
UD
346
347* The malloc hook implementation is marked deprecated and will be removed
348 from the default implementation in the next version. The design never
349 worked ever since the introduction of threads. Even programs which do
350 not create threads themselves can use multiple threads created internally.
9f94d2ea 351\f
4828935d
LM
352Version 2.13
353
ac2b484c
UD
354* The following bugs are resolved with this release:
355
c30b7ee2
UD
356 3268, 6812, 7066, 10085, 10484, 10563, 10851, 11149, 11155, 11577, 11611,
357 11640, 11655, 11701, 11840, 11856, 11883, 11903, 11904, 11968, 11979,
358 12005, 12037, 12067, 12077, 12078, 12092, 12093, 12107, 12108, 12113,
359 12140, 12159, 12167, 12191, 12194, 12201, 12204, 12205, 12207, 12348,
360 12378, 12394, 12397
ac2b484c 361
10b3bedc 362* New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
c08fb0d7 363
ac2b484c 364* POWER7 optimizations: memset, memcmp, strncmp
8d50becc 365
e9f82e0d
UD
366* New optimized string functions for x86-64: strnlen (SSE2),
367 strcasecmp (SSE2, SSSE3, SSE4.2), strncasecmp (SSE2, SSSE3, SSE4.2)
8d50becc 368 Implemented by Ulrich Drepper.
4828935d 369\f
ee1a7fab
UD
370Version 2.12
371
d36b9613
UD
372* The following bugs are resolved with this release:
373
374 3662, 4457, 5553, 10162, 10401, 10414, 10554, 10824, 10864, 10915, 10918,
fc97f36d
UD
375 10936, 10939, 10958, 10968, 10969, 10972, 10992, 11000, 11001, 11007,
376 11010, 11027, 11039, 11040, 11041, 11043, 11046, 11056, 11070, 11093,
377 11115, 11120, 11125, 11126, 11127, 11134, 11141, 11149, 11183, 11184,
378 11185, 11186, 11187, 11188, 11189, 11190, 11191, 11192, 11193, 11194,
379 11200, 11230, 11235, 11242, 11254, 11258, 11271, 11272, 11276, 11279,
380 11287, 11292, 11319, 11332, 11333, 11387, 11389, 11390, 11394, 11397,
5ae958d7 381 11410, 11438, 11449, 11470, 11471, 11520, 11537, 11538, 11571
86a4c67f
UD
382
383* New interfaces: pthread_getname_np, pthread_setname_np
d36b9613 384
ee1a7fab
UD
385* New Linux interface: recvmmsg
386
5e4295fb
UD
387* STT_GNU_IFUNC implemented for Sparc by David Miller.
388
389* The dynamic linker now recognizes supported ABI versions from the
390 EI_ABIVERSION field in the ELF header.
391 Implemented by Ulrich Drepper.
392
71170aa0
UD
393* New NIS mode selector ADJUNCT_AS_SHADOW. The passwd.adjunct.byname table
394 will not be used to fill in password fields in the passwd.byname replies.
395 Instead it is used to synthesize the shadow.byname table, should it be
396 missing. This is a useful mode in some installations involving Solaris.
397 Implemented by Ulrich Drepper.
398
d36b9613 399* New locales: kok_IN, sq_MK, cv_RU
b50f8e42
UD
400\f
401Version 2.11
402
d36b9613
UD
403* The following bugs are resolved with this release:
404
405 3270, 7094, 9924, 9986, 10011, 10085, 10107, 10159, 10162, 10166, 10183,
406 10195, 10196, 10200, 10203, 10207, 10211, 10213, 10217, 10221, 10229,
407 10262, 10286, 10312, 10315, 10319, 10349, 10360, 10391, 10402, 10416,
408 10418, 10422, 10425, 10446, 10448, 10452, 10540, 10553, 10560, 10564,
409 10609, 10643, 10692, 10713, 10717, 10730, 10731, 10742, 10780, 10784,
410 10789, 10817, 10823, 10840, 10847
411
3a83202d
UD
412* New interfaces: execvpe, pthread_sigqueue, mkstemps, mkstemps64, mkostemps,
413 mkostemps64
3d5243d4
UD
414 Implemented by Ulrich Drepper.
415
24ab9c76 416* Checking version of longjmp added that fails if an uninitialized stack
b50f8e42
UD
417 frame would be created. Implemented by Ulrich Drepper.
418
b8706f70
UD
419* STT_GNU_IFUNC is now supported in static executables.
420 Implemented by H.J. Lu.
421
51a71cf0
UD
422* STT_GNU_IFUNC implemented for PPC by Alan Modra.
423
0122f28e 424* New optimized string functions for x86-64: strstr, strcasestr, memcmp,
9d36a6c4 425 strcspn, strpbrk, strspn, strcpy, stpcpy, strncpy, strcmp (SSE2, SSE4.2),
7f3146e7 426 strncmp (SSE2, SSE4.2), strchr (SSE4.2), strrchr (SSE4.2).
0122f28e
UD
427 Contributed by H.J. Lu.
428
9d36a6c4 429 strlen, rawmemchr, strcmp (SSSE3), strncmp (SSSE3).
0122f28e
UD
430 Implemented by Ulrich Drepper.
431
9d36a6c4
UD
432* New optimized string functions for x86: strlen, strcspn, strspn, strpbrk,
433 strstr, strcasestr.
434 Contributed by H.J. Lu.
435
436* Support for fma instruction in AVX on x86-64.
437 Implemented by H.J. Lu and Ulrich Drepper.
438
0122f28e
UD
439* AVX support in x86-64 auditing support in ld.so.
440 Implemented by H.J. Lu.
441
442* STB_GNU_UNIQUE support added.
443 Implemented by Ulrich Drepper.
444
445* Implement second fallback mode for optimized DNS lookup for even more
446 broken environments. If two requests from the same port are not
447 handled correctly close the socket and open a new one before sending
448 the second request. The 'single-request-reopen' option in /etc/resolv.conf
449 can be used to select this mode right away, instead of rediscovering the
450 necessity is every process again.
451 Implemented by Ulrich Drepper.
452
9d36a6c4
UD
453* New resolver flag RES_USE_DNSSEC to enable use of verified lookup.
454 Implemented by Adam Tkac.
455
456* Optimized iconv conversions for S390x.
457 Implemented by Andreas Krebbel.
458
4bc1b896
UD
459* Using condvars with PI mutexes is now more efficient due to kernel
460 support for requeueing to PI futexes. NPTL support added for x86-64.
461 Implemented by Ulrich Drepper.
462
9dd5b8a1 463* New locales: ps_AF, my_MM
f1092afe
UD
464\f
465Version 2.10
466
d36b9613
UD
467* The following bugs are resolved with this release:
468
469 697, 5381, 5807, 6411, 6545, 7040, 7058, 7067, 7080, 7083, 7095, 7098,
470 9677, 9694, 9697, 9701, 9704, 9705, 9706, 9720, 9726, 9730, 9733, 9736,
471 9741, 9750, 9753, 9759, 9781, 9791, 9793, 9823, 9833, 9844, 9880, 9881,
472 9891, 9893, 9895, 9913, 9916, 9920, 9948, 9955, 9957, 9963, 9985, 10052,
473 10069, 10086, 10087, 10090, 10092, 10093, 10100, 10118, 10128
474
bb066545 475* New interfaces: preadv, preadv64, pwritev, pwritev64, malloc_info
e109c612
UD
476 Implemented by Ulrich Drepper.
477
425ce2ed 478* New Linux interfaces: accept4, fallocate, fallocate64.
e109c612 479 Implemented by Ulrich Drepper.
6f5c3117 480
1fdd89a7 481* Correct declarations of string function when used in C++ code. This
735be400 482 could lead to compile errors for invalid C++ code.
1fdd89a7 483
6cbe890a
UD
484* XPG7/POSIX 2008 compilation environment. Many GNU-specific functions are
485 now in POSIX.
77db439e 486
1f04d005 487* New POSIX 2008 interface: psiginfo
6cbe890a 488 Implemented by Ulrich Drepper.
1f04d005 489
610e67ed
UD
490* New ISO C++1x interfaces: quick_exit, at_quick_exit
491 Implemented by Ulrich Drepper.
492
878b72c5
UD
493* Support for selecting between multiple function definitions at runtime
494 using STT_GNU_IFUNC symbols. Implemented by Ulrich Drepper.
495
e109c612
UD
496* The libcrypt library can now use the hash function implementations in
497 NSS. Implemented by Ulrich Drepper.
498
499* The malloc implementation can be compiled to be less memory efficient
500 but higher performing in multi-threaded programs.
501 Implemented by Ulrich Drepper.
502
735be400 503* New locales: nan_TW@latin, ks_IN
878b72c5 504
84aa52d7 505* Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for x86-64.
9d26efa9
UD
506 Implemented by Ulrich Drepper.
507
508* Extended printf hook support. It is possible to use user-defined types
509 and extend existing format specifiers.
a152f366
UD
510 Implemented by Ulrich Drepper.
511
c7e74e59
UD
512* Handling for group shadow files has been added.
513 Implemented by Ulrich Drepper.
514
57be3fd7
UD
515* DNS IPv4-IPv6 parallel lookup now deals better with broken DNS
516 servers (the case, e.g., for some people using the built-in DNS
517 server in ADSL modems/routers). There is a once-per-process timeout
518 in case of a broken server. To avoid it, users can run nscd or put
519 'options single-request' in /etc/resolv.conf.
520 Implemented by Ulrich Drepper.
28919a77 521\f
b29899ae
UD
522Version 2.9
523
d36b9613
UD
524* The following bugs are resolved with this release:
525
526 3406, 5209, 5210, 5381, 5794, 5814, 5911, 6428, 6438, 6442, 6447, 6461,
527 6472, 6505, 6544, 6589, 6612, 6634, 6653, 6654, 6657, 6698, 6712, 6713,
528 6719, 6723, 6724, 6740, 6763, 6771, 6790, 6791, 6817, 6824, 6839, 6843,
529 6845, 6856, 6857, 6860, 6867, 6875, 6919, 6920, 6942, 6947, 6955, 6966,
530 6968, 6974, 6980, 6995, 7008, 7009, 7029
531
b29899ae 532* Unified lookup for getaddrinfo: IPv4 and IPv6 addresses are now looked
f05ac8f5
UD
533 up at the same time. Implemented by Ulrich Drepper.
534
535* TLS descriptors for LD and GD on x86 and x86-64.
536 Implemented by Alexandre Oliva.
18a74157
UD
537
538* getaddrinfo now handles DCCP and UDPlite.
539 Implemented by Ulrich Drepper.
0caca71a
UD
540
541* New fixed-size conversion macros: htobe16, htole16, be16toh, le16toh,
542 htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh.
543 Implemented by Ulrich Drepper.
544
545* New implementation of memmem, strstr, and strcasestr which is O(n).
546 Implemented by Eric Blake.
e038616f 547
8ec2550e 548* New Linux interfaces: inotify_init1, dup3, epoll_create1, pipe2
e038616f
UD
549
550* Implement "e" option for popen to open file descriptor with the
ebcc1f4d 551 close-on-exec flag set. Implemented by Ulrich Drepper.
e038616f 552
7b3ba2c4
UD
553* Implement "b" mode for fmemopen. In this mode writes writes don't
554 implicitly add a NUL byte and seeks from the end of the buffer really
555 use the buffer end, not the string length as the basis.
556 Implemented by Ulrich Drepper.
557
e038616f
UD
558* Many functions, exported and internal, now atomically set the close-on-exec
559 flag when run on a sufficiently new kernel. Implemented by Ulrich Drepper.
48b22986 560
bf837fa3
UD
561* Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu,
562 Sinhala)
48b22986 563 Implemented by Pravin Satpute.
0a26fc4d
UD
564
565* New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW.
b29899ae 566\f
28919a77
UD
567Version 2.8
568
d36b9613
UD
569* The following bugs are resolved with this release:
570
571 2549, 3112, 4314, 4407, 4997, 5012, 5040, 5112, 5204, 5208, 5209, 5220,
572 5222, 5224, 5225, 5237, 5238, 5240, 5245, 5277, 5346, 5375, 5378, 5382,
573 5424, 5427, 5428, 5435, 5436, 5439, 5441, 5442, 5443, 5451, 5452, 5454,
574 5455, 5463, 5464, 5465, 5475, 5477, 5478, 5520, 5541, 5545, 5553, 5600,
575 5602, 5607, 5614, 5627, 5628, 5736, 5737, 5741, 5753, 5760, 5762, 5768,
576 5774, 5777, 5778, 5779, 5786, 5790, 5818, 5854, 5857, 5903, 5939, 5979,
577 5983, 5995, 5998, 6004, 6007, 6020, 6021, 6024, 6040, 6042
578
e038616f 579* New locales: bo_CN, bo_IN, shs_CA.
b4354cf4 580
77751669 581* New encoding: HP-ROMAN9, HP-GREEK8, HP-THAI8, HP-TURKISH8.
aece054b
UD
582
583* Sorting rules for some Indian languages (Devanagari and Gujarati).
584 Implemented by Pravin Satpute.
585
586* IPV6 addresses in /etc/resolv.conf can now have a scope ID
587
588* nscd caches now all timeouts for DNS entries
589 Implemented by Ulrich Drepper.
590
591* nscd is more efficient and wakes up less often.
592 Implemented by Ulrich Drepper.
593
594* More checking functions: asprintf, dprintf, obstack_printf, vasprintf,
595 vdprintf, and obstack_vprintf.
596 Implemented by Jakub Jelinek.
597
598* Faster memset for x86-64.
599 Implemented by Harsha Jagasia and H.J. Lu.
600
601* Faster memcpy on x86.
602 Implemented by Ulrich Drepper.
603
604* ARG_MAX is not anymore constant on Linux. Use sysconf(_SC_ARG_MAX).
605 Implemented by Ulrich Drepper.
3b32d8a2
UD
606
607* Faster sqrt and sqrtf implemention for some PPC variants.
d990b282 608 Implemented by Steven Munroe.
46c38bd7 609\f
e1db0493
UD
610Version 2.7
611
d36b9613
UD
612* The following bugs are resolved with this release:
613
614 4125, 4126, 4178, 4359, 4407, 4512, 4514, 4525, 4554, 4556, 4557, 4566,
615 4582, 4586, 4588, 4599, 4610, 4647, 4702, 4705, 4726, 4745, 4772, 4773,
616 4775, 4776, 4792, 4813, 4814, 4816, 4833, 4858, 4860, 4896, 4905, 4925,
617 4936, 4937, 4938, 4941, 4946, 4963, 4972, 5010, 5028, 5043, 5058, 5063,
618 5071, 5103, 5104, 5112, 5113, 5184, 5186
619
e1db0493
UD
620* More checking functions: fread, fread_unlocked, open*, mq_open.
621 Implemented by Jakub Jelinek and Ulrich Drepper.
622
623* Extend fortification to C++. Implemented by Jakub Jelinek.
624
625* Implement 'm' modifier for scanf. Add stricter C99/SUS compliance
626 by not recognizing 'a' as a modifier when those specs are requested.
627 Implemented by Jakub Jelinek.
628
629* PPC optimizations to math and string functions.
630 Implemented by Steven Munroe.
631
28919a77 632* New interfaces: mkostemp, mkostemp64. Like mkstemp* but allow additional
e1db0493
UD
633 options to be passed. Implemented by Ulrich Drepper.
634
635* More CPU set manipulation functions. Implemented by Ulrich Drepper.
636
0304f168
UD
637* New Linux interfaces: signalfd, eventfd, eventfd_read, and eventfd_write.
638 Implemented by Ulrich Drepper.
639
e1db0493
UD
640* Handle private futexes in the NPTL implementation.
641 Implemented by Jakub Jelinek and Ulrich Drepper.
642
643* Add support for O_CLOEXEC. Implement in Hurd. Use throughout libc.
644 Implemented by Roland McGrath and Ulrich Drepper.
645
646* Linux/x86-64 vDSO support. Implemented by Ulrich Drepper.
647
648* SHA-256 and SHA-512 based password encryption.
649 Implemented by Ulrich Drepper.
0304f168
UD
650
651* New locales: ber_DZ, ber_MA, en_NG, fil_PH, fur_IT, fy_DE, ha_NG, ig_NG,
652 ik_CA, iu_CA, li_BE, li_NL, nds_DE, nds_NL, pap_AN, sc_IT, tk_TM, ug_CN,
653 yo_NG.
654
655+ New iconv modules: MAC-CENTRALEUROPE, ISO-8859-9E, KOI8-RU.
656 Implemented by Ulrich Drepper.
e1db0493 657\f
11bf311e 658Version 2.6
46c38bd7 659
d36b9613
UD
660* The following bugs are resolved with this release:
661
662 3156, 3213, 3285, 3291, 3306, 3313, 3320, 3322, 3325, 3326, 3334, 3348,
663 3352, 3363, 3369, 3426, 3427, 3429, 3451, 3458, 3465, 3480, 3483, 3493,
664 3514, 3515, 3559, 3632, 3664, 3673, 3674, 3745, 3747, 3818, 3840, 3842,
665 3851, 3855, 3884, 3885, 3902, 3905, 3919, 3944, 3954, 3955, 3957, 3991,
666 3995, 3996, 4024, 4040, 4069, 4070, 4074, 4076, 4096, 4101, 4102, 4114,
667 4130, 4131, 4181, 4276, 4306, 4342, 4344, 4349, 4364, 4368, 4381, 4392,
668 4403, 4405, 4406, 4411, 4438, 4439, 4455, 4456, 4465, 4512, 4514, 4586,
669 4702, 4858
670
bce20b9a 671* New Linux interfaces: epoll_pwait, sched_getcpu.
46c38bd7 672
4a44ce79
UD
673* New generic interfaces: strerror_l.
674
b21fa963 675* nscd can now cache the services database. Implemented by Ulrich Drepper.
3af48b5b
UD
676\f
677Version 2.5
678
d36b9613
UD
679* The following bugs are resolved with this release:
680
681 39, 68, 192, 352, 388, 531, 935, 1006, 1201, 1203, 1386, 1782, 1783, 1784,
682 1785, 1786, 1787, 1951, 1974, 1996, 2072, 2098, 2125, 2134, 2158, 2182,
683 2349, 2376, 2386, 2389, 2415, 2418, 2420, 2423, 2450, 2451, 2466, 2472,
684 2473, 2477, 2498, 2499, 2501, 2502, 2505, 2507, 2508, 2509, 2517, 2526,
685 2569, 2571, 2592, 2611, 2625, 2632, 2644, 2662, 2680, 2683, 2684, 2693,
686 2695, 2703, 2734, 2751, 2764, 2766, 2775, 2792, 2821, 2823, 2832, 2841,
687 2843, 2883, 2892, 2908, 2914, 2926, 2961, 2978, 2980, 2987, 2997, 2998,
688 3013, 3018, 3034, 3040, 3044, 3123, 3124, 3137, 3138, 3143, 3155, 3189,
689 3225, 3251, 3252, 3253, 3273
690
3af48b5b 691* For Linux, the sorting of addresses returned by getaddrinfo now also
457b559e
UD
692 handles rules 3, 4, and 7 from RFC 3484. I.e., all rules are handled.
693 Implemented by Ulrich Drepper.
3af48b5b 694
3142b1ac
UD
695* Allow system admin to configure getaddrinfo with the /etc/gai.conf file.
696 Implemented by Ulrich Drepper.
697
871b9158 698* New Linux interfaces: splice, tee, sync_file_range, vmsplice.
1e528c6e
UD
699
700* New iconv module for MIK. Contributed by Alexander Shopov.
3af48b5b 701
3142b1ac
UD
702* For sites with broken group and/or passwd database, the auto-propagate
703 option of nscd can prevent creating ID lookup entries from the results
704 of a name lookup and vice versa. This usually is no problem but some
457b559e 705 site might have problems with the default behavior.
3142b1ac
UD
706 Implemented by Ulrich Drepper.
707
07bfff20 708* Iterating over entire database in NIS can be slow. With the
3142b1ac
UD
709 SETENT_BATCH_READ option in /etc/default/nss a system admin can decide
710 to trade time for memory. The entire database will be read at once.
711 Implemented by Ulrich Drepper.
712
07bfff20
UD
713* The interfaces introduced in RFC 3542 have been implemented by
714 Ulrich Drepper.
715
871b9158
UD
716* Support for the new ELF hash table format was added by Ulrich Drepper.
717
d5ba53f9
UD
718* Support for priority inheritance mutexes added by Jakub Jelinek and
719 Ulrich Drepper.
720
ad2a3c07
UD
721* Support for priority protected mutexes added by Jakub Jelinek.
722
88cc61e8
UD
723* New locales: nr_ZA, pa_PK, ca_AD, ca_FR, ca_IT, el_CY, tr_CY, as_IN,
724 or_IN, csb_PL, fy_NL, sr_ME.
2e92188d 725\f
137e6462
UD
726Version 2.4
727
728* More overflow detection functions.
729
730* New iconv converters for IBM1025, IBM1122, IBM1137, IBM1153,
731 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158 contributed by Jiro Sekiba.
1aa4e40a 732
4973cbe5
UD
733 More converters for IBM803, IBM901, IBM902, IBM921, IBM1008, IBM1097,
734 IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144,
735 IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517,
736 IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712,
737 IBM16804, IBM1364, IBM1371, IBM1388, IBM1390, and IBM1399 contributed
738 by Masahide Washizawa.
739
1aa4e40a
UD
740* It is now possible to install audit libraries for the dynamic linker using
741 LD_AUDIT. Implemented by Ulrich Drepper.
da0eaa47
RM
742
743* The LinuxThreads add-on, providing pthreads on Linux 2.4 kernels, is no
744 longer supported. The new NPTL implementation requires Linux 2.6 kernels.
745 For a libc and libpthread that works well on Linux 2.4 kernels, we
746 recommend using the stable 2.3 branch.
4973cbe5 747
35129bc0
RM
748* The new function open_wmemstream acts like open_memstream,
749 but uses a wchar_t wide character buffer.
750
751* The new function ppoll is an improved version of poll, similar to pselect.
752
753* New interfaces: fdopendir, openat, fstatat, fchmodat, fchownat,
754 futimesat, faccessat, mkdirat, mkfifoat, mknodat,
755 renameat, unlinkat, linkat, symlinkat, readlinkat.
756
757* New Linux kernel system calls: unshare,
758 inotify_init, inotify_add_watch, inotify_rm_watch.
759
760* The euidaccess function is now also known by the alias eaccess,
761 for compatibility with some other systems.
762
763* Timezone data updated to 2006b version.
137e6462 764\f
e6a9beca
RM
765Version 2.3.6
766
767* The following bugs are resolved with this release:
768
769 38, 253, 549, 622, 653, 721, 758, 851, 877, 915, 934, 955, 961,
770 1016, 1037, 1076, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086,
771 1087, 1088, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
772 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109,
773 1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252,
774 1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534
775
776 Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
777
778* As of this release, GCC 4 can be used to compile the C Library.
779
780* Timezone data updated to 2005m version.
781\f
da232bf9
RM
782Version 2.3.5
783
784* The following bugs are resolved with this release:
785
786 284, 592, 602, 626, 633, 640, 650, 661, 671, 681, 693, 700, 710, 719,
787 722, 723, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736,
788 737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776,
789 777, 787, 821, 822, 823, 825
790
791 Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
792\f
a55bda85
UD
793Version 2.3.4
794
795* Support for RFC 3678. Real implementations exist only for Linux so far.
796 Implemented by Ulrich Drepper.
8a1f658b
UD
797
798* nscd can now cache entries persistently. Expiring entries are reloaded.
799 For speedups the cache can be shared in memory with client processes.
800 Implemented by Ulrich Drepper.
801
802* nscd can now perform SELinux checks.
803 Implemented by Matthew Rickard <mjricka@epoch.ncsc.mil>.
804
0325dd20 805* getaddrinfo queries are now cached. Canonical name lookup is performed
8a1f658b
UD
806 efficiently.
807 Implemented by Ulrich Drepper.
808
809* The nothrow function attribute is used when headers are used by gcc when
810 compiling C code. This can avoid significant amounts of exception
811 handling data.
812
813* The malloc functions perform more error checking and are stricter when
814 it comes to reacting on errors. The default action is to terminate
0325dd20 815 the process after showing an error message. Implemented by Ulrich Drepper.
8a1f658b
UD
816
817* Reverse lookups of IPv6 addresses does not use bit string or .ip6.int
0325dd20
UD
818 lookups anymore unless explicitly requested. Implemented by Ulrich Drepper.
819
820* Namespaces in ld.so are implemented. DSOs can be loaded in separate
821 namespaces using the new function dlmopen(). This feature is of course,
822 like most other dynamic loading functionality, not available in statically
823 linked applications. Implemented by Ulrich Drepper.
824
825* Low-overhead boundary checking variants of string and some stdio functions
826 were added. These are to be used in conjunction with a gcc patch by
827 Jakub Jelinek which adds calls to these functions if possible.
720817e7
RM
828 Implemented by Jakub Jelinek and Ulrich Drepper.
829
830* Old code for several operating systems and machine architectures that
831 have not been in working condition in a long time have been removed from
832 the main source tree maintained by the GNU C Library's maintainers.
833 These files are now reside in the separate `ports' source module
834 that is usable as an add-on when building the library.
a55bda85 835\f
3a601d31
RM
836Version 2.3.3
837
45e4762c
RM
838* New functions `dladdr1' and `dlinfo' in <dlfcn.h> provide more ways to
839 interrogate the dynamic linker, compatible with the Solaris interface.
840
3a601d31
RM
841* ELF thread-local storage support (TLS) now works on PowerPC and PowerPC64;
842 implemented by Paul Mackerras, Steven Munroe, and Roland McGrath.
925c3c5c 843
69be6aaf 844* getifaddrs now uses the netlink interface on Linux to get its information.
925c3c5c
UD
845 Implemented by Thorsten Kukuk.
846
847* getaddrinfo now implements AI_V4MAPPED, AI_ALL, and AI_ADDRCONF.
848 Implemented by Ulrich Drepper.
97fd3a30
UD
849
850* support for non-executable stacks on x86 has been added. Changes mostly
851 by Roland McGrath.
852
c5af724c 853* regex is now much faster for multibyte locales. Changes by Jakub Jelinek
97fd3a30
UD
854 and Ulrich Drepper.
855
856* getaddrinfo now performs destination address selection according to
857 RFC 3484.
3a601d31 858\f
747bf98e
RM
859Version 2.3.2
860
f87277f2
RM
861* Thread-safe interfaces for many functions that access locale data
862 were added in version 2.3, but these features were omitted from NEWS.
863 Many functions have variants with an `_l' suffix that take a `locale_t'
864 object as a parameter rather than consulting the current locale.
865 The new functions `newlocale', `duplocale', and `freelocale' in <locale.h>
866 create and maintain `locale_t' objects. Additionally, the new function
867 `uselocale' sets "the current locale" (as used by functions not so
868 parameterized) set for an individual thread. These features were added
869 in version 2.3, implemented by Ulrich Drepper and Roland McGrath.
870
747bf98e
RM
871* The functions getresuid, getresgid, setresuid, and setresgid, which
872 have long been available on Linux, are now declared in <unistd.h>
873 and are now also available on the Hurd.
874
875* ELF thread-local storage support (TLS) now works on x86-64.
d62507dd
RM
876
877* The new dynamic string token $LIB is expanded in shared library names.
878 This normally expands to lib, but on some 64-bit platforms to lib64 instead.
52a16e58 879
f87277f2
RM
880* Aldy Hernandez contributed complete software floating point support for
881 PowerPC machines with no FPU.
882
52a16e58 883* fexecve is implemented on Linux.
f9ad060c 884
f87277f2
RM
885* The `btowc' function should work at least twice as fast due to
886 specialized callbacks in the iconv modules. Implemented by Bruno Haible.
9ef0a840
UD
887
888* With approriate thread add-ons cancelable functions are now implemented
889 in libc.so as well. No need to call the function in libpthread. This
890 change allowed to finally disable the incorrect and expensive handling
891 of weak definition in ld.so.
892
893* Yet more PLT entries in libc.so have been removed. We finally arrived
894 at the bare minimum. Startup times improved appropriately.
895
896* Support for the new Linux/x86 system call interface was added. The
897 AT_SYSINFO auxiliary vector entry is recognized and handled.
747bf98e 898\f
03a2c647 899Version 2.3
37fb1084 900
03a2c647
UD
901* Masahide Washizawa contributed iconv modules for IBM1163 and IBM1164
902 charsets.
903
904* iconv (the program and the interface) now accepts empty names (excluding
905 options like //TRANSLIT) to mean "use charset of current locale".
47e8b443 906
bb0ec5bd 907* localedef can now transliterate characters in strings which are not in
47e8b443 908 the provided charmap. The information from the input locale is used.
c17f665b
UD
909
910* Prelinking support was added for ELF targets. This requires additional
911 tools and recent versions of the GNU binutils. Contributed by Jakub Jelinek.
8e57fc70 912
bb0ec5bd 913* Read-only stdio streams now use mmap to speed up operation by eliminating
91e6367e
UD
914 copying and buffer underflows. To use add 'm' to the mode string of
915 the fopen/fdopen/freopen call. Implemented by Ulrich Drepper.
207b66ce
UD
916
917* The malloc functions were completely rewritten by Wolfram Gloger based
918 on Doug Lea's malloc-2.7.0.c.
3b0bdc72 919
bb0ec5bd 920* Isamu Hasegawa contributed a completely new and POSIX-conformant
3b0bdc72 921 implementation of regex.
02779eaa
UD
922
923* Bruno Haible upgraded the iconv and locale implementation to support
924 Unicode 3.2.
be45f421 925
bb0ec5bd
RM
926* Contents of the LC_* and LANG environment variables in the CEN style are
927 not recognized anymore. It never was used. Change by Ulrich Drepper.
be45f421 928
bb0ec5bd
RM
929* The runtime (ld.so, libc, libpthread for Linux) now can handle the ELF
930 thread-local storage (TLS) ABI on some platforms.
931 Changes by Ulrich Drepper. SH support by Kaz Kojima.
be45f421
UD
932
933* Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
f87277f2 934 EUC-JISX0213, and TSCII.
a753ffb2
RM
935
936* New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':
937 BSD-compatible interface for getting all network interface addresses.
938 Implementation for IPv4 by Roland McGrath.
6a9340b5
UD
939
940* Loading of locale data is faster due to the introduction of a locale
941 archive. Implemented by Roland McGrath and Ulrich Drepper.
dd4f2115
UD
942
943* Startup times are significantly reduced by not using exported functions
944 inside the library itself. Changes by Jakub Jelinek, Roland McGrath,
945 and Ulrich Drepper.
c843e065
RM
946
947* Steven Munroe contributed a port to PowerPC64/Linux.
948\f
45061a15
RM
949Version 2.2.6
950
951* The Hurd now uses the GNU libio implementation of stdio rather than the
952 old GNU stdio implementation, and uses a new ABI (libc.so.0.3).
953
954* The Hurd on x86 now has the `ioperm' function and <sys/io.h> header file
955 with the same behavior as the Linux system call of the same name.
03a2c647 956\f
a8ae31c2
UD
957Version 2.2.5
958
76321a25
AJ
959* Stephen Moshier implemented log2, log10, powl and cbrtl for the
960 128-bit long double format.
a8ae31c2 961
557a9213
UD
962* Masahide Washizawa contributed iconv modules for IBM1132, IBM1133, IBM1160,
963 IBM1161, and IBM1162 charsets.
a8ae31c2 964
ad2e4f18 965* Andreas Jaeger contributed a port to x86-64/Linux.
a8ae31c2 966
7d0c5823
RM
967* Peter Bruin contributed a port to PowerPC/Hurd.
968
a8ae31c2
UD
969* libc functions using I/O streams now can handle wide-oriented streams
970 as well.
971
45061a15
RM
972* optimizations in the dynamic linker. Binaries created by recent binutils
973 versions start up quicker due to reduced time spent on relocations.
8e57fc70
UD
974
975* Support for use of gcc3 added by Jakub Jelinek and HJ Lu.
7d0c5823 976\f
33996419
AJ
977Version 2.2.4
978
2995f70e 979* Stephen Moshier implemented cosh, expm1, log1p, acos, sinh, tanh,
aff17a50 980 asinh, atanh, j0 for the 128-bit long double format.
8fee1bb0
UD
981
982* Bruno Haible updated all the code handling Unicode in some form to
983 support Unicode 3.1.
86dbe05e
UD
984
985* Speed of regex for single-byte locales is back to previous levels.
986 Patch by Isamu Hasegawa.
045fcd26 987
69d5f925 988* Alpha, SPARC, and IA-64 now also using floating stacks.
045fcd26 989
69d5f925 990* Startup time of internationalized applications greatly improved through
045fcd26
UD
991 iconv cache. Use iconvconfig to generate the cache file.
992 Contributed by Ulrich Drepper.
993
994* The IA-64 specific part of ld.so was rewritten to eliminate some pretty
995 severe performance problems. Patch by David Mosberger.
996
997* The Hurd port got a lot more functionality like AIO, various stdio
998 extensions, etc. Mainly done by Roland McGrath.
129d706d
UD
999
1000* mtrace can now lookup symbols in shared libraries.
33996419 1001\f
2ace5721
UD
1002Version 2.2.3
1003
1746f2b0 1004* Intel's IA-64 math library is largely integrated. It provides fast and
2ace5721
UD
1005 accurate implementatations for most basic and standard math functions
1006 in float, double, and long double format.
1007
f128331c 1008* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
b8750342
UD
1009 and asin for the 96-bit long double format and asin, log, tan for the
1010 128-bit long double format.
07f951e4 1011
e4d82761
UD
1012* The beginning of a last-bit accurate math library by IBM Haifa were added.
1013 The basic double functions exist today. Contributed by Abraham Ziv
1014 <ziv@il.ibm.com>, Moshe Olshansky <olshansk@il.ibm.com>, Ealan Henis
1015 <ealan@il.ibm.com>, and Anna Reitman <reitman@il.ibm.com>.
1016
2ace5721
UD
1017* An asynchronous name lookup library was added. The interface is designed
1018 after POSIX AIO. The proposal was circulated beforehand to get comments.
1019 No negative ones came in. Implemented by Ulrich Drepper.
b8a8413c
UD
1020
1021* Port to S390/64bit contributed by Martin Schwidefsky
1022 <schwidefsky@de.ibm.com>.
a66f0958
UD
1023
1024* David Mosberger <davidm@hpl.hp.com> implemented the setcontext family
1025 of functions for Linux/IA-64.
481b550f
UD
1026
1027* The RPC code is now thread safe. Threads can now use the same service
1028 of different services at the same time. Patch by Eric Norum
1029 <eric.norum@usask.ca> with some help by Ulrich Drepper.
f128331c
UD
1030
1031* Martin Schwidefsky <schwidefsky@de.ibm.com> implemented the setcontext
1032 family of functions for Linux/S390.
232fdf8c
UD
1033
1034* Ulrich Drepper <drepper@redhat.com> implemented the setcontext family
1035 of functions for Linux/x86.
eacde9d0
UD
1036
1037* Port to Linux/CRIS contributed by Axis Communications.
2ace5721 1038\f
306eeae5
UD
1039Version 2.2.2
1040
464d97ec 1041* Lots of headers were cleaned up. Using the tool in the conform/ subdir
306eeae5
UD
1042 we can now check for namespace violations and missing declarations. The
1043 result is that almost all headers are now Unix-compliant (as defined in
1044 the upcoming XPG6). The negative side is that some programs might need
1045 corrections, too, if they depend on the incorrect form of the headers in
1046 previous versions which defined too many symbols and included too many
1047 other headers.
464d97ec
UD
1048
1049* regex now handles multibyte character sets correctly.
1050 Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
1051
1052* iconv (the program) does now conform to the upcoming XPG6 and handles
1053 charmaps. Instead of the charset names the path of charmaps can be
1054 provided and the conversion happens based on this data.
1055 Contributed by Ulrich Drepper.
1056
1057* The locale program now provides detailed information about the installed
1058 locales. While
1059
1060 locale -a
1061
1062 only lists the names of the supported locales
1063
1064 locale -a --verbose
1065
1066 provides details such as country, language, and codeset name.
1067 Contributed by Ulrich Drepper.
306eeae5 1068\f
d2defdc4
UD
1069Version 2.2.1
1070
1071* The gencat program now parses the input file according to the charset
1072 selected by the LC_CTYPE category. This is important for stateful
1073 character sets. To make generating catalogs easier there is a way
1074 to overwrite the charset selected by the locale: before the first
1075 message or $ quote line the catalog can contain a line like
1076
1077 $ codeset=ISO-8859-2
1078
1079 to select the charset (ISO-8859-2 in this case).
1080
1081 Implemented by Shinya Hanataka and Ulrich Drepper.
aea6353a
UD
1082
1083* New codeset conversion modules: IBM-922 (Estonia PC codeset),
1084 IBM-1124 (Ukraine PC codeset), IBM-1129 (Vietnamese PC codeset).
1085 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
234669e2
UD
1086
1087* Optimized string functions for Alpha ev6 and ev67 by Richard Henderson
1088 <rth@redhat.com> and Rick Gorton <rick.gorton@alpha-processor.com>.
1089
1090* The LANGUAGE environment variable is now ignored unless the locale is
1091 changed from the default "C" locale.
1092
1093* The usual bug fixes.
d2defdc4 1094\f
2e92188d
UD
1095Version 2.2
1096
08a2e4a0
GM
1097* Greg McGary added runtime support for bounds checking using gcc's
1098 new -fbounded-pointers option. ix86 target is complete. PowerPC
1099 is in progress.
1100
2e92188d
UD
1101* Thorsten Kukuk added secure mode support to nscd.
1102
793bd4d9 1103* The Berkeley db libraries have been removed.
2e92188d 1104
47b853e8
UD
1105 Related, the nss_db module is now in a separate package since it
1106 obviously requires a database library being available.
1107
0013b2b1
UD
1108* Wide character I/O streams implemented by Ulrich Drepper.
1109
abbffdf9 1110* Functions from the extended socket API added by Ulrich Drepper.
01c771d0 1111
6e8afc1c
UD
1112* Functions feenableexcept and fedisableexcept to control the
1113 behaviour of individual exceptions have been added by Andreas Jaeger.
1114
591e1ffb
UD
1115* ldconfig program added by Andreas Jaeger and Jakub Jelinek.
1116
d3436b3c
UD
1117* The resolver code has been updated from bind 8.2.3-T5B which supports
1118 threads. The integration was done by Andreas Jaeger, Adam D. Bradley,
1119 and Mark Kettenis.
2588068b
UD
1120
1121 This change could in some situations effect backward compatibility. Since
1122 now `_res' is a thread-local instead of a global variable, modifying it
1123 in one thread does not have any effect in other threads.
66ac0abe 1124
a00c3ca9 1125 The resolver library was also extended to allow IPv6 as the transport
d3436b3c
UD
1126 protocol for the requests. This work was done by Stig Venaas.
1127
1c5d4617
UD
1128* Compatibility code for K&R C compilers has been removed from the
1129 header files. A ISO C compiler is needed to use the library
1130 (conforming to either C89 or C99 standard).
1131
abbffdf9
UD
1132* Complete rewrite of the localedef program to support multibyte character
1133 sets. Implement handling of ISO 14651 and ISO 14652. Rewrite strcoll,
1134 strxfrm, wcscoll, and wcsxfrm functions. Make isw*() functions work.
1135 Implemented by Ulrich Drepper.
1136
8f3f1e09
UD
1137 Bruno Haible significantly improved the generation and use of the data
1138 structures for the wide character tables.
1139
abbffdf9
UD
1140* Plural handling in gettext implemented by Ulrich Drepper.
1141
69173865
UD
1142* The utmp daemon has been removed.
1143
1144* The port to MIPS-Linux has been finished by Andreas Jaeger.
1145
37fb8add
UD
1146* A port to Hitachi SH3 and SH4 has been contributed by Kazumoto Kojima
1147 and Yutaka Niibe.
1148
594cee6c
UD
1149* POSIX clocks and timers implemented by Kaz Kylheku and Ulrich Drepper.
1150
40c4c9b5
UD
1151* POSIX barriers implemented by Kaz Kylheku.
1152
594cee6c
UD
1153* POSIX spawn function family implemented by Ulrich Drepper.
1154
1155* POSIX spinlocks are now available.
1156
40c4c9b5
UD
1157* Timed wait functions for mutex, rwlock, and semaphores are implemented.
1158
8f3f1e09
UD
1159* the configure option --enable-kernel=X.Y.Z allows to strip out
1160 compatibility for kernel versions before X.Y.Z. This is currently only
1161 implemented for Linux.
1162
3107c0c5
UD
1163* the sockaddr_in6 structure changed. The IPv6 working group added a new
1164 field sin6_scope_id. This means that all programs using IPv6 should be
1165 recompiled. Don't expect binary compatibility with previous glibc
1166 versions.
1167
d2830ba4
UD
1168* various conversion modules for IBM character sets contributed by
1169 Masahide Washizawa.
1170
8f3f1e09 1171* IA-64 port by Jes Sorensen and HJ Lu.
6f2a8167
UD
1172\f
1173Version 2.1.3
1174
1175* bug fixes
1176
01c771d0
UD
1177\f
1178Version 2.1.2
1179
1180* bug fixes
1181
28f540f4 1182\f
e518937a
UD
1183Version 2.1.1
1184
27995311
UD
1185* New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
1186
16b0f634
UD
1187* New xdr functions are added; some rpc functions are now 64bit clean.
1188
407d26b7 1189* Fixed a number of bugs and memory leaks (especially in NIS+ code).
16b0f634
UD
1190
1191* Fixed known incompatibilities with glibc 2.0.
1192
407d26b7 1193* New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
16b0f634 1194
407d26b7 1195* Optimized a number of functions (especially the ELF dynamic loader).
16b0f634
UD
1196
1197* Update timezone data files.
27995311 1198
554b8800
UD
1199* lots of charmaps corrections
1200
1201* some new locale definitions and charmaps
1202
e518937a 1203\f
c84142e8
UD
1204Version 2.1
1205
da2d1bc5
UD
1206* Richard Henderson corrected size of struct timeval on Linux/Alpha to
1207 conform to POSIX member type requirements. Symbol versions have been
1208 adjusted as needed within the library, and for direct use by applications,
1209 but there is potential for problems if third-party libraries use
1210 struct timeval as part of their interface. This does not present
1211 a problem for X and other "essential" system libraries.
1212
c84142e8 1213* An additional locale model to support C++ Standard Library locale
1fb05e3d 1214 model and probably more was implemented by Ulrich Drepper.
c84142e8 1215
1fb05e3d 1216* Eric Youngdale and Ulrich Drepper implemented versioning of objects on
c84142e8
UD
1217 symbol level.
1218
1219* Miles Bader provided the `argp' function family to support hierachical
1220 command line argument parsing, layered on top of getopt.
377a515b 1221
cbdee279 1222* strtod accepts new hexadecimal floating-point format from ISO C 9X.
377a515b
UD
1223
1224* printf has two new specifiers %a and %A to print hexadecimal flaoting-point
cbdee279 1225 numbers.
377a515b 1226
cbdee279 1227* scanf recognizes the %a and %A format for scanning floating point numbers.
e61abf83 1228
48869012
UD
1229* the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
1230 information and interfaces for the available integer types.
e61abf83 1231
813f4f4d
UD
1232* about 130 new math functions were added to implement the ISO C9x math
1233 library.
1234
e61abf83 1235* the new header <complex.h> contains definitions of the complex math
cbdee279
UD
1236 functions from ISO C 9X.
1237
1238* the new header <tgmath.h> defines generic macros to use complex or
1239 real valued functions.
e61abf83 1240
a5a0310d 1241* Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
e61abf83 1242
a5a0310d
UD
1243* Andreas Jaeger provided a test suite for the math library.
1244
1245* Mark Kettenis implemented the utmpx interface and an utmp daemon.
cbdee279 1246
440d13e2 1247* Ulrich Drepper added character set conversion functions (iconv).
cbdee279
UD
1248
1249* Optimized string functions have been added.
1250
1251* The localedata addon is now part of glibc.
2eb45444
UD
1252
1253* An implementation of profiling shared libraries was added by Ulrich Drepper.
ea278354 1254
48244d09
UD
1255* Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
1256 daemon for NSS (nscd).
1257
1258 Missing a better place here are some numbers on improvements. Under
1259 Linux 2.1.125 un-tar-ing the kernel sources takes
1260
0dee6738 1261 user system wall
48244d09 1262
0dee6738 1263 using local files 12.19s 6.88s 22.91s
48244d09 1264
0dee6738 1265 using NIS 13.92s 8.91s 26.34s
48244d09 1266
0dee6738 1267 using NIS & nscd 10.37s 7.34s 25.30s
48244d09 1268
0dee6738
UD
1269 using NIS+ 27.57s 30.37s 640.46s
1270
1271 using NIS+ & nscd 10.25s 7.83s 26.51s
1272
1273 using NIS & old nscd [1] 13.83s 8.32s 29.60s
48244d09 1274
48244d09
UD
1275 Keep in mind that non-namelookup related operations dominate above times.
1276 It was just a common complain that using NIS+ unpacking the kernel is
0dee6738 1277 horribly slow.
48244d09 1278
0dee6738
UD
1279 [1] The old nscd implementation is not available anymore since it was
1280 distributed with glibc up to version 2.0.98 and thus is now replaced.
ea278354
UD
1281
1282* Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
48869012
UD
1283
1284* Mark Kettenis provided a Hesiod NSS module.
20833331
UD
1285
1286* The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
1287 and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
1288
1289* rcmd can now handle netgroups (Dick Streefland).
48244d09 1290
62595351
UD
1291* A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
1292 Bambrough.
1293
1294* Support for the IPv6 protocol has been added to the socket API, as per the
1295 latest draft standards.
1296
1770a20d
UD
1297* Support for Linux 2.2 has been added.
1298
48244d09
UD
1299* Interface changes relative to the latest 2.0.x release:
1300~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62595351 1301addseverity NEW: Unix98
48244d09 1302alphasort64 NEW: LFS
62595351
UD
1303argp_err_exit_status NEW: argp, GNU ext
1304argp_error NEW: argp, GNU ext
1305argp_failure NEW: argp, GNU ext
1306argp_help NEW: argp, GNU ext
1307argp_parse NEW: argp, GNU ext
1308argp_program_bug_address NEW: argp, GNU ext
1309argp_program_version NEW: argp, GNU ext
1310argp_program_version_hook NEW: argp, GNU ext
1311argp_state_help NEW: argp, GNU ext
1312argp_usage NEW: argp, GNU ext
e980ca92
UD
1313authdes_create NEW: Secure RPC
1314authdes_getucred NEW: Secure RPC
1315authdes_pk_create NEW: Secure RPC
48244d09
UD
1316backtrace NEW: GNU ext.
1317backtrace_symbols NEW: GNU ext.
1318backtrace_symbols_fd NEW: GNU ext.
1319cacos NEW: ISO C 9x
1320cacosf NEW: ISO C 9x
1321cacosh NEW: ISO C 9x
1322cacoshf NEW: ISO C 9x
1323cacoshl NEW: ISO C 9x
1324cacosl NEW: ISO C 9x
1325capget NEW: kernel
1326capset NEW: kernel
1327carg NEW: ISO C 9x
1328cargf NEW: ISO C 9x
1329cargl NEW: ISO C 9x
1330casin NEW: ISO C 9x
1331casinf NEW: ISO C 9x
1332casinh NEW: ISO C 9x
1333casinhf NEW: ISO C 9x
1334casinhl NEW: ISO C 9x
1335casinl NEW: ISO C 9x
1336catan NEW: ISO C 9x
1337catanf NEW: ISO C 9x
1338catanh NEW: ISO C 9x
1339catanhf NEW: ISO C 9x
1340catanhl NEW: ISO C 9x
1341catanl NEW: ISO C 9x
e980ca92 1342cbc_crypt NEW: Secure RPC
48244d09
UD
1343ccos NEW: ISO C 9x
1344ccosf NEW: ISO C 9x
1345ccosh NEW: ISO C 9x
1346ccoshf NEW: ISO C 9x
1347ccoshl NEW: ISO C 9x
1348ccosl NEW: ISO C 9x
1349cexp NEW: ISO C 9x
1350cexpf NEW: ISO C 9x
1351cexpl NEW: ISO C 9x
1352cimag NEW: ISO C 9x
1353cimagf NEW: ISO C 9x
1354cimagl NEW: ISO C 9x
1355clearerr_locked REMOVED
1356clntunix_create NEW: sunrpc ext
1357clog NEW: ISO C 9x
1358clog10 NEW: ISO C 9x
1359clog10f NEW: ISO C 9x
1360clog10l NEW: ISO C 9x
1361clogf NEW: ISO C 9x
1362clogl NEW: ISO C 9x
1363conj NEW: ISO C 9x
1364conjf NEW: ISO C 9x
1365conjl NEW: ISO C 9x
1366cpow NEW: ISO C 9x
1367cpowf NEW: ISO C 9x
1368cpowl NEW: ISO C 9x
1369cproj NEW: ISO C 9x
1370cprojf NEW: ISO C 9x
1371cprojl NEW: ISO C 9x
1372creal NEW: ISO C 9x
1373crealf NEW: ISO C 9x
1374creall NEW: ISO C 9x
1375creat64 NEW: LFS
1376csin NEW: ISO C 9x
1377csinf NEW: ISO C 9x
1378csinh NEW: ISO C 9x
1379csinhf NEW: ISO C 9x
1380csinhl NEW: ISO C 9x
1381csinl NEW: ISO C 9x
1382csqrt NEW: ISO C 9x
1383csqrtf NEW: ISO C 9x
1384csqrtl NEW: ISO C 9x
1385ctan NEW: ISO C 9x
1386ctanf NEW: ISO C 9x
1387ctanh NEW: ISO C 9x
1388ctanhf NEW: ISO C 9x
1389ctanhl NEW: ISO C 9x
1390ctanl NEW: ISO C 9x
e980ca92
UD
1391des_setparity NEW: Secure RPC
1392ecb_crypt NEW: Secure RPC
62595351 1393endutxent NEW: Unix98
48244d09
UD
1394exp10 NEW: ISO C 9x
1395exp10f NEW: ISO C 9x
1396exp10l NEW: ISO C 9x
1397exp2 NEW: ISO C 9x
1398exp2f NEW: ISO C 9x
1399exp2l NEW: ISO C 9x
1400fattach NEW: STREAMS
1401fdetach NEW: STREAMS
1402fdim NEW: ISO C 9x
1403fdimf NEW: ISO C 9x
1404fdiml NEW: ISO C 9x
1405feclearexcept NEW: ISO C 9x
1406fegetenv NEW: ISO C 9x
1407fegetexceptflag NEW: ISO C 9x
1408fegetround NEW: ISO C 9x
1409feholdexcept NEW: ISO C 9x
1410feof_locked REMOVED
1411feraiseexcept NEW: ISO C 9x
1412ferror_locked REMOVED
1413fesetenv NEW: ISO C 9x
1414fesetexceptflag NEW: ISO C 9x
1415fesetround NEW: ISO C 9x
1416fetestexcept NEW: ISO C 9x
1417feupdateenv NEW: ISO C 9x
1418fflush_locked REMOVED
1419ffsl NEW: GNU ext.
1420ffsll NEW: GNU ext.
1421fgetpos64 NEW: LFS
1422fgets_unlocked NEW: GNU ext.
1423fileno_locked REMOVED
1424fma NEW: ISO C 9x
1425fmaf NEW: ISO C 9x
1426fmal NEW: ISO C 9x
1427fmax NEW: ISO C 9x
1428fmaxf NEW: ISO C 9x
1429fmaxl NEW: ISO C 9x
1430fmin NEW: ISO C 9x
1431fminf NEW: ISO C 9x
1432fminl NEW: ISO C 9x
62595351 1433fmtmsg NEW: Unix98
48244d09
UD
1434fopen64 NEW: LFS
1435fputc_locked REMOVED
1436fputs_unlocked NEW: GNU ext.
1437fread_unlocked NEW: GNU ext.
1438freopen64 NEW: LFS
1439fseeko NEW: Unix98
1440fsetpos64 NEW: LFS
1441fstatfs64 NEW: LFS
1442fstatvfs NEW: Unix98
1443fstatvfs64 NEW: LFS
1444ftello NEW: Unix98
1445ftello64 NEW: LFS
1446ftruncate64 NEW: LFS
1447ftw64 NEW: LFS
1448fwrite_unlocked NEW: GNU ext.
1449gai_strerror NEW: IPv6
1450gamma_r REMOVED
1451gammaf_r REMOVED
1452gammal_r REMOVED
1453getchar_locked REMOVED
1454getdate NEW: Unix98
1455getdate_err NEW: Unix98
1456getdate_r NEW: GNU ext.
1457getmsg NEW: STREAMS
1458getnameinfo NEW: IPv6
e980ca92 1459getnetname NEW: Secure RPC
48244d09
UD
1460getpmsg NEW: STREAMS
1461getpt NEW: Unix98 PTY
1462getrlimit64 NEW: LFS
62595351
UD
1463getutxent NEW: Unix98
1464getutxid NEW: Unix98
1465getutxline NEW: Unix98
48244d09
UD
1466glob64 NEW: GNU ext.
1467globfree64 NEW: GNU ext.
1468gnu_get_libc_release NEW: GNU ext.
1469gnu_get_libc_version NEW: GNU ext.
1470grantpt NEW: Unix98 PTY
e980ca92 1471host2netname NEW: Secure RPC
48244d09
UD
1472iconv NEW: iconv
1473iconv_close NEW: iconv
1474iconv_open NEW: iconv
1475if_freenameindex NEW: IPv6
1476if_indextoname NEW: IPv6
1477if_nameindex NEW: IPv6
1478if_nametoindex NEW: IPv6
1479in6addr_any NEW: IPv6
1480in6addr_loopback NEW: IPv6
1481inet6_isipv4mapped NEW: IPv6
1482isastream NEW: STREAMS
1483iswblank NEW: GNU ext.
e980ca92
UD
1484key_decryptsession NEW: Secure RPC
1485key_decryptsession_pk NEW: Secure RPC
1486key_encryptsession NEW: Secure RPC
1487key_encryptsession_pk NEW: Secure RPC
1488key_gendes NEW: Secure RPC
1489key_get_conv NEW: Secure RPC
1490key_secretkey_is_set NEW: Secure RPC
1491key_setnet NEW: Secure RPC
1492key_setsecret NEW: Secure RPC
48244d09
UD
1493llrint NEW: ISO C 9x
1494llrintf NEW: ISO C 9x
1495llrintl NEW: ISO C 9x
1496llround NEW: ISO C 9x
1497llroundf NEW: ISO C 9x
1498llroundl NEW: ISO C 9x
1499log2 NEW: ISO C 9x
1500log2f NEW: ISO C 9x
1501log2l NEW: ISO C 9x
1502lrint NEW: ISO C 9x
1503lrintf NEW: ISO C 9x
1504lrintl NEW: ISO C 9x
1505lround NEW: ISO C 9x
1506lroundf NEW: ISO C 9x
1507lroundl NEW: ISO C 9x
1508lseek64 NEW: LFS
1509makecontext NEW: Unix98
1510mempcpy NEW: GNU ext.
1511mmap64 NEW: LFS
1512moncontrol REMOVED
1513modify_ldt NEW: kernel
1514nan NEW: ISO C 9x
1515nanf NEW: ISO C 9x
1516nanl NEW: ISO C 9x
1517nearbyint NEW: ISO C 9x
1518nearbyintf NEW: ISO C 9x
1519nearbyintl NEW: ISO C 9x
e980ca92
UD
1520netname2host NEW: Secure RPC
1521netname2user NEW: Secure RPC
42bd0a85
UD
1522nexttoward NEW: ISO C 9x
1523nexttowardf NEW: ISO C 9x
1524nexttowardl NEW: ISO C 9x
48244d09
UD
1525nftw NEW: Unix98
1526nftw64 NEW: LFS
1527open64 NEW: LFS
e980ca92 1528passwd2des NEW: Secure RPC
48244d09
UD
1529pow10 NEW: GNU ext.
1530pow10f NEW: GNU ext.
1531pow10l NEW: GNU ext.
1532pread NEW: Unix98
1533pread64 NEW: LFS
1534printf_size NEW: GNU ext.
1535printf_size_info NEW: GNU ext.
1536profil_counter REMOVED
1537pthread_mutexattr_getkind_np REPLACED
1538pthread_mutexattr_setkind_np REPLACED
1539ptsname NEW: Unix98 PTY
1540ptsname_r NEW: Unix98 PTY
1541putc_locked REMOVED
1542putchar_locked REMOVED
1543putgrent NEW: GNU ext.
1544putmsg NEW: STREAMS
1545putpmsg NEW: STREAMS
62595351 1546pututxline NEW: Unix98
48244d09
UD
1547pwrite NEW: Unix98
1548pwrite64 NEW: LFS
1549readdir64 NEW: LFS
1550readdir64_r NEW: LFS
1551remquo NEW: ISO C 9x
1552remquof NEW: ISO C 9x
1553remquol NEW: ISO C 9x
1554round NEW: ISO C 9x
1555roundf NEW: ISO C 9x
1556roundl NEW: ISO C 9x
1557rtime NEW: GNU ext.
1558scalbln NEW: ISO C 9x
1559scalblnf NEW: ISO C 9x
1560scalblnl NEW: ISO C 9x
1561scandir64 NEW: LFS
1562sendfile NEW: kernel
1563setcontext NEW: Unix98
1564setrlimit64 NEW: LFS
62595351 1565setutxent NEW: Unix98
48244d09
UD
1566sighold NEW: Unix98
1567sigignore NEW: Unix98
1568sigqueue NEW: POSIX.1b
1569sigrelse NEW: Unix98
1570sigset NEW: POSIX.1b
1571sigtimedwait NEW: POSIX.1b
1572sigwaitinfo NEW: POSIX.1b
1573sincos NEW: GNU ext.
1574sincosf NEW: GNU ext.
1575sincosl NEW: GNU ext.
1576statfs64 NEW: LFS
1577statvfs NEW: Unix98
1578statvfs64 NEW: LFS
1579strcasestr NEW: GNU ext.
48244d09
UD
1580strtoimax NEW: ISO C 9x
1581strtoumax NEW: ISO C 9x
1582strverscmp NEW: GNU ext.
e980ca92 1583svcauthdes_stats NEW: Secure RPC
48244d09
UD
1584svcunix_create NEW: sunrpc etx
1585svcunixfd_create NEW: sunrpc ext
1586swapcontext NEW: Unix98
1587tcgetsid NEW: Unix98 PTY
1588tdestroy NEW: GNU ext.
1589tgamma NEW: ISO C 9x
1590tgammaf NEW: ISO C 9x
1591tgammal NEW: ISO C 9x
1592tmpfile64 NEW: LFS
1593trunc NEW: ISO C 9x
1594truncate64 NEW: LFS
1595truncf NEW: ISO C 9x
1596truncl NEW: ISO C 9x
1597umount2 NEW: kernel
1598unlockpt NEW: Unix98 PTY
62595351 1599updwtmpx NEW: Unix98
e980ca92 1600user2netname NEW: Secure RPC
62595351 1601utmpxname NEW: Unix98
48244d09 1602versionsort NEW: GNU ext.
3ef4002b 1603versionsort64 NEW: GNU ext.
48244d09
UD
1604waitid NEW: Unix98
1605wcscasecmp NEW: GNU ext.
1606wcsncasecmp NEW: GNU ext.
1607wcsnlen NEW: GNU ext.
1608wcstoimax NEW: ISO C 9x
1609wcstoll NEW: ISO C 9x
1610wcstoull NEW: ISO C 9x
1611wcstoumax NEW: ISO C 9x
1612wcswcs NEW: Unix98
1613wordexp NEW: POSIX.2
1614wordfree NEW: POSIX.2
1615write_profiling REMOVED
e980ca92
UD
1616xdecrypt NEW: Secure RPC
1617xdr_authdes_cred NEW: Secure RPC
1618xdr_authdes_verf NEW: Secure RPC
1619xdr_cryptkeyarg NEW: Secure RPC
1620xdr_cryptkeyarg2 NEW: Secure RPC
1621xdr_cryptkeyres NEW: Secure RPC
1622xdr_getcredres NEW: Secure RPC
1623xdr_key_netstarg NEW: Secure RPC
1624xdr_key_netstres NEW: Secure RPC
1625xdr_keybuf NEW: Secure RPC
1626xdr_keystatus NEW: Secure RPC
1627xdr_netnamestr NEW: Secure RPC
1628xdr_sizeof NEW: Secure RPC
48244d09 1629xdr_unixcred NEW: sunrpc ext
e980ca92 1630xencrypt NEW: Secure RPC
48244d09 1631~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1770a20d
UD
1632\f
1633Version 2.0.6
1634
1635* more bug fixes
1636
a5a0310d
UD
1637\f
1638Version 2.0.5
1639
1640* more bug fixes
1641
1642* inet_ntoa is thread-safe
1643
1644* updwtmp is moved from libutil to libc
1645
1646* rewrite of cbrt function
1647
1648* update of timezone data
1649\f
1650Version 2.0.4
1651
1652* more bug fixes
1653\f
1654Version 2.0.3
1655
1656* more bug fixes
c84142e8 1657\f
795fbc9a
UD
1658Version 2.0.2
1659
1660* more bug fixes
1661
1662* add atoll function
1663
1664* fix complex problems in Berkeley DB code
e61abf83
UD
1665
1666* fix math functions
795fbc9a
UD
1667\f
1668Version 2.0.1
1669
1670* fixed lots of header problems (especially Linux/GNU specific)
1671
1672* dynamic loader preserves all registers
1673
1674* Roland McGrath provided support for handling of auxiliary objects in
1675 the ELF dynamic loader.
1676
1677* support for parallel builds is improved
1678\f
40a4b79f 1679Version 2.0
28f540f4 1680
d3669add
RM
1681* GNU extensions are no longer declared by default. To enable them you
1682 must define the macro `_GNU_SOURCE' in your program or compile with
1683 `-D_GNU_SOURCE'.
1684
28f540f4
RM
1685* The library has changed from using GNU ld symbol aliases to using weak
1686 symbols where available. The ELF object file format supports weak
1687 symbols; GNU ld also supports weak symbols in the a.out format. (There
1688 is also now support for other GNU ld extensions in ELF. Use the
787126fe
RM
1689 `--with-elf' option to configure to indicate you have ELF, and
1690 `--with-gnu-ld' if using GNU ld.) This change resulted in the deletion
28f540f4
RM
1691 of many files which contained only symbol aliases, reducing the size of
1692 the source and the compiled library; many other files were renamed to
1693 less cryptic names previously occupied by the symbol alias files.
dcf0671d
UD
1694 There is a new header file <elf.h> for programs which operate on
1695 files in the ELF format.
49e522bf
RM
1696
1697* Converted to Autoconf version 2, so `configure' has more options.
1698 Run `configure --help' to see the details.
1699
1700* The library can now be configured to build profiling, highly-optimized
b25c5d66
RM
1701 (but undebuggable), and/or shared libraries (ELF with GNU ld only). The
1702 `--enable-profile', `--enable-omitfp', and `--enable-shared' options to
1703 `configure' enable building these extra libraries. The shared library is
1704 built by default when using both ELF and GNU ld. When shared libraries
1705 are enabled, the new library `-ldl' is available for arbitrary run-time
1706 loading of shared objects; its interface is defined in <dlfcn.h>. The
1707 new header file <link.h> gives access to the internals of the run-time
33a934a3
UD
1708 dynamic linker, `ld.so'. The shell script `ldd' is similar to the
1709 application of same name on other systems and it provides information
1710 about dynamically linked binaries.
49e522bf 1711
71733723
RM
1712* The C library now provides the run-time support code for profiling
1713 executables compiled with `-pg'. Programs can control the profiling code
d3669add
RM
1714 through the interface in <sys/gmon.h>. The `gmon.out' files written by
1715 the GNU C library can be read only by GNU `gprof' (from GNU binutils);
1716 the support for this file format was contributed by David Mosberger-Tang.
71733723 1717
f7eac6eb 1718* The math code has been replaced with a math library based on fdlibm from
33a934a3
UD
1719 Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
1720 Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
1721 functions. The math functions now reside in a separate library, so
1722 programs using them will need to use `-lm' their linking commands.
1723
1724* John C. Bowman contributed optimized ix87 assembler inline functions.
f7eac6eb 1725
5f0e6fc7
RM
1726* Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
1727 mechanism similar to that found in Solaris 2. This is now used for the
33a934a3
UD
1728 group, passwd, hosts, networks, services, protocols, rpc, ethers,
1729 shadow, netgroup, publickey, and alias databases. The `nsswitch.conf'
1730 file controls what services are used for each individual database. This
1731 works by loading shared libraries with names specified in `nsswitch.conf',
1732 so service modules can be changed or added at any time without even
1733 relinking any program. Currently there are the file, db, and NIS based
1734 NSS services available.
5f0e6fc7 1735
49e522bf
RM
1736* The new functions `strtoq' and `strtouq' parse integer values from
1737 strings, like `strtol' and `strtoul', but they return `long long int' and
1738 `unsigned long long int' values, respectively (64-bit quantities).
1739
1740* The new functions `strtof' and `strtold' parse floating-point values from
1741 strings, like `strtod', but they return `float' and `long double' values,
1742 respectively (on some machines `double' and `long double' are the same).
1743
1744* Ulrich Drepper has contributed new implementations of the floating-point
1745 printing and reading code used in the `printf' family of functions and
1746 `strtod', `strtof', and `strtold'. These new functions are perfectly
1747 accurate, and much faster than the old ones.
1748
33a934a3
UD
1749* The implementation of the POSIX locale model was completely rewritten by
1750 Ulrich Drepper. This includes the new programs `localedef' and `locale'
1751 to compile the POSIX locale definition.
1752
1753* The former dummy implementations of the strcoll and strxfrm function are
1754 now replaced by fully functional code contributed by Ulrich Drepper. The
1755 collation information comes from the POSIX locale definitions.
1756
49e522bf
RM
1757* The new header <langinfo.h> defines an interface for accessing
1758 various locale-dependent data (using the locale chosen with `setlocale').
1759
f7eac6eb 1760* Ulrich Drepper has contributed a new suite of functions for operation on
33a934a3 1761 wide-character and multibyte-character strings, in <wchar.h>;
b7407d63 1762 and classification and case conversion of wide characters, in <wctype.h>.
33a934a3
UD
1763 These new functions are conforming to the ISO C, Amendement 1 specification.
1764
1765* There is now a second implementation of the standard I/O library available.
1766 It comes from GNU libg++ as was written by Per Bothner, heavily modified
1767 by Hongjiu Lu and made thread safe by Ulrich Drepper.
f7eac6eb 1768
71733723 1769* You can now use positional parameter specifications in format strings
49e522bf
RM
1770 for the `printf' and `scanf' families of functions. For example,
1771 `printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
1772 ``Number 6, Mr Jones''. This is mainly useful when providing different
d365fd2c
RM
1773 format strings for different languages, whose grammars may dictate
1774 different orderings of the values being printed. To support this
49e522bf 1775 feature, the interface for `register_printf_handler' has changed; see
d365fd2c 1776 the header file <printf.h> for details.
49e522bf
RM
1777
1778* The `printf' and `scanf' families of functions now understand a new
1779 formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
1780 to group numbers as indicated by the locale; for `scanf' and friends, this
1781 says to accept as valid only a number with all the proper grouping
1782 separators in the right places. In the default "C" locale, numbers are
1783 not grouped; but locales for specific countries will define the usual
1784 conventions (i.e. separate thousands with `,' in the US locale).
28f540f4
RM
1785
1786* The pgrp functions have been regularized, slightly incompatibly but much
1787 less confusingly. The core functions are now `getpgid' and `setpgid',
1788 which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
1789 argument) and BSD `setpgrp' (identical to `setpgid') functions are
1790 provided for compatibility. There is no longer an incompatible `getpgrp'
1791 with an argument declared under _BSD_SOURCE; no BSD code uses it.
1792
1793* The new header file <fts.h> and suite of functions simplify programs that
1794 operate on directory trees. This code comes from 4.4 BSD.
1795
33a934a3
UD
1796* The resolver code has been updated from the BIND 4.9.5-P1 release.
1797 Parts of the code were heavily modified by Ulrich Drepper to fit in the
1798 NSS scheme used in glibc.
28f540f4 1799
28f540f4
RM
1800* There is a new malloc debugging hook `__memalign_hook'.
1801
1802* There are new typedefs `ushort' for `unsigned short int' and `uint' for
1803 `unsigned int' in <sys/types.h>. These are for compatibility only and
1804 their use is discouraged.
1805
1806* The `-lmcheck' library to enable standard malloc debugging hooks is now
1807 done differently, so that it works even without GNU ld.
787126fe 1808
22a1292a
RM
1809* New function `euidaccess' checks allowed access to a file like `access',
1810 but using the effective IDs instead of the real IDs.
49e522bf
RM
1811
1812* The time zone data files have been updated for the latest and greatest
1813 local time conventions of the countries of the world.
1814
1815* The new function `dirfd' extracts the file descriptor used by a DIR stream;
1816 see <dirent.h>.
1817
1818* The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
1819 for formatting floating-point numbers. They are provided only for
33a934a3
UD
1820 compatibility; new programs should use `sprintf' instead. There are
1821 also equivalent function for the `long double' floating-point type and
1822 all functions also exist in a reentrant form.
342414a6
RM
1823
1824* The new auxiliary library `-lutil' from 4.4 BSD contains various
1825 functions for maintaining the login-record files (primarily of use to
1826 system programs such as `login'), and convenient functions for
1827 allocating and initializing a pseudo-terminal (pty) device.
c709e372
RM
1828
1829* Ulrich Drepper has contributed new support for System V style
1830 shared memory and IPC on systems that support it.
1831
1832* Ulrich Drepper has contributed several miscellaneous new functions found
1833 in System V: The `hsearch' family of functions provide an effective
1834 implementation of hash tables; `a64l' and `l64a' provide a very simple
1835 binary to ASCII mapping; `drand48' and friends provide a 48-bit random
1836 number generator.
1837
1838* Ulrich Drepper has contributed new reentrant counterparts for the
1839 `random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
1840
1841* Ulrich Drepper has contributed new, highly-optimized versions of several
1842 string functions for the i486/Pentium family of processors.
1843
71733723 1844* Ulrich Drepper has updated the Linux-specific code, based largely
c709e372 1845 on work done in Hongjiu Lu's version of GNU libc for Linux.
33a934a3
UD
1846 The GNU library now supports Linux versions 2.0.10 and later,
1847 using the ELF object file format (i[3456]86-*-linux).
c709e372 1848
d3669add
RM
1849* Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
1850
33a934a3
UD
1851* David Mosberger-Tang and Richard Henderson have ported the C library
1852 to Linux/Alpha (alpha-*-linux). Richard Henderson contributed the
1853 dynamic linking support for ELF/Alpha.
1854
1855* Richard Henderson contributed several Alpha optimized assembler function
1856 for arithmetic and string handling.
d3669add 1857
c709e372 1858* Ulrich Drepper has contributed a new set of message catalog functions to
40a4b79f
RM
1859 support multiple languages using the <libintl.h> interface, for use with
1860 his new package GNU gettext. Translation volunteers have contributed
1861 catalogs of the library's messages in Spanish, German, and Korean.
1862
1863* For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
1864 program and the `catgets' function for reading the catalog files it
1865 creates. (The <libintl.h> interface is preferred; we include the
1866 <nl_types.h> interface using `catgets' only for source compatibility with
1867 programs already written to use it.)
71733723
RM
1868
1869* New header file <values.h> gives SVID-compatible names for <limits.h>
1870 constants.
1871
1872* Various new macros, declarations, and small header files for compatibility
1873 with 4.4 BSD.
1874
1875* New function `group_member' is a convenient way to check if a process has
1876 a given effective group ID.
1877
1878* When using GCC 2.7 and later, the socket functions are now declared in a
1879 special way so that passing an argument of type `struct sockaddr_in *',
1880 `struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
1881 `struct sockaddr *' type, does not generate a type-clash warning.
1882
1883* New function `error' declared in header file <error.h> is a convenient
6d52618b 1884 function for printing error messages and optionally exiting; this is the
71733723
RM
1885 canonical function used in GNU programs. The new functions `err', `warn',
1886 and friends in header file <err.h> are the canonical 4.4 BSD interface for
1887 doing the same thing.
1888
1889* The <glob.h> interface has several new flags from 4.4 BSD that extend the
1890 POSIX.2 `glob' function to do ~ and {...} expansion.
1891
1892* New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
33a934a3 1893 `clearenv' which is used in POSIX.9 is also available.
71733723
RM
1894
1895* New function `getsid' returns session ID number on systems that support it.
1896
f7eac6eb
RM
1897* We have incorporated the 4.4 BSD `db' library (version 1.85). New header
1898 files <db.h> and <mpool.h> provide a rich set of functions for several
1899 types of simple databases stored in memory and in files, and <ndbm.h> is
6d52618b 1900 an old `ndbm'-compatible interface using the `db' functions. Link with
999493cb 1901 `-ldb' to get these functions.
f7eac6eb
RM
1902
1903* New macro `strdupa' copies a string like `strdup', but uses local stack
1904 space from `alloca' instead of dynamic heap space from `malloc'.
52e9a9d1
RM
1905
1906* New function `strnlen' is like `strlen' but searches only a given maximum
33a934a3
UD
1907 number of characters for the null terminator. `stpncpy', `strndup' and
1908 `strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
1909 function.
40a4b79f
RM
1910
1911* New function `statfs' in header <sys/statfs.h>.
1912
1913* The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
1914 provide convenient functions for operating on blocks of null-terminated
1915 strings.
1916
1917* A new suite of functions in <utmp.h> handle all the details of reading
1918 and writing the utmp file.
33a934a3
UD
1919
1920* An implementation of the NIS/YP(tm) based NSS service was contributed by
1921 Thorsten Kukuk.
1922
1923* Paul Eggert and Ulrich Drepper modified the `strftime' function to be
1924 completely POSIX compliant and also implemented the extended functionality
1925 to handle alternate digit representation and alternate era date formats.
1926
1927* Ulrich Drepper provided an implementation of the `strptime' function
1928 defined in XPG4.2 which transforms a string into a `struct tm' value.
1929
1930* Paul Eggert provided the tzselect shell script as part of the timezone
1931 code. The shell script makes it easy to select the correct timezone
1932 specification.
1933
1934* The implementation of the malloc family of functions is completely replaced
1935 by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
1936 The implementation uses the mmap function (if available) and it is
1937 optimized for the use in multi threaded programs.
1938
1939* Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
1940 functions. This new functionality is usable by specifying a special
1941 salt string and it is compatible with implementation on *BSD systems.
1942
1943* Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
1944 `getsubopt' to handle second level command line options, `bsd_signal'
1945 to access BSD style `signal' functionality, the obsolete `regexp' style
1946 expression matcher.
1947
1948* the `lchown' function is available on system which support this
1949 functionality.
1950
1951* The implementation of the shadow password handling function was contributed
1952 by Ulrich Drepper.
1953
1954* David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
1955
1956* POSIX.1g support was added. The <sys/select.h> header is available,
1957 `isfdtype' and `pselect' are implemented. Craig Metz contributed an
1958 implementation of `getaddrinfo'.
28f540f4
RM
1959\f
1960Version 1.09
1961
1962* For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
1963
1964* New header file <fstab.h> and new functions `getfsspec', `getfsent' and
1965 friends, for parsing /etc/fstab. This code comes from 4.4 BSD.
1966
1967* The new function `daemon' from 4.4 BSD is useful for server programs that
1968 want to put themselves in the background.
1969
1970* Joel Sherrill has contributed support for several standalone boards that
1971 run without an operating system.
1972
1973* `printf', `scanf' and friends now accept a `q' type modifier for long
1974 long int as well as `ll'. Formats using these might be `%qu' or `%lld'.
1975
1976* All of the code taken from BSD (notably most of the math and networking
1977 routines) has been updated from the BSD 4.4-Lite release.
1978
1979* The resolver code has been updated from the BIND-4.9.3-BETA9 release.
1980
1981* The new functions `getdomainname' and `setdomainname' fetch or change the
1982 YP/NIS domain name. These are system calls which exist on systems which
1983 have YP (aka NIS).
1984
1985* The time zone data files have been updated for the latest international
1986 conventions.
1987
1988* The SunRPC programs `portmap' and `rpcinfo' are now installed in
1989 $(sbindir) (usually /usr/local/sbin) instead of $(bindir).
1990\f
1991Version 1.08
1992
1993* The C library now includes support for Sun RPC, from Sun's free
1994 RPCSRC-4.0 distribution. The `portmap', `rpcinfo', and `rpcgen' programs
1995 are included. (There is still no support for YP.)
1996
1997* Tom Quinn has contributed a port of the C library to SGI machines running
1998 Irix 4 (mips-sgi-irix4).
1999
2000* The new `lockf' function is a simplified interface to the locking
2001 facilities of `fcntl', included for compatibility.
2002
2003* New time functions `timegm', `timelocal', and `dysize' for compatibility.
2004
2005* New header file <sys/timeb.h> and new function `ftime' for compatibility.
2006
2007* New header files <poll.h> and <sys/poll.h> and new function `poll' for
2008 compatibility.
2009
2010* The error message printed by `assert' for a failed assertion now includes
2011 the name of the program (if using GNU ld) and the name of the calling
2012 function (with versions of GCC that support this).
2013
2014* The `psignal' function is now declared in <signal.h>, not <stdio.h>.
2015
2016* The library now includes the <sys/mman.h> header file and memory
2017 management functions `mmap', `munmap', `mprotect', `msync', and
2018 `madvise', on systems that support those facilities.
2019
2020* The interface for `mcheck' has changed slightly: the function called to
2021 abort the program when an allocation inconsistency is detected now takes
2022 an argument that indicates the type of failure. The new function
2023 `mprobe' lets you request a consistency check for a particular block at
2024 any time (checks are normally done only when you call `free' or `realloc'
2025 on a block).
2026
2027* It is now possible to easily cross-compile the C library, building on one
2028 system a library to run on another machine and/or operating system. All
2029 you need to do is set the variable `HOST_CC' in `configparms' to the
2030 native compiler for programs to run on the machine you are building on (a
2031 few generator programs are used on Unix systems); set `CC' to the
2032 cross-compiler.
2033
2034* The new function `fexecve' (only implemented on the GNU system) executes
2035 a program file given a file descriptor already open on the file.
2036\f
2037Version 1.07
2038
2039* Brendan Kehoe has contributed most of a port to the DEC Alpha
2040 running OSF/1 (alpha-dec-osf1). He says it is 75% complete.
2041
2042* You can set the variable `libprefix' in `configparms' to specify a prefix
2043 to be prepended to installed library files; this makes it easy to install
2044 the GNU C library to be linked as `-lgnuc' or whatever.
2045
2046* The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
2047 copies a limited number of characters from a string, and returns the
2048 address of the last character written.
2049
2050* You no longer need to check for whether the installed `stddef.h' is
2051 compatible with the GNU C library. configure now checks for you.
2052
2053* You can now define a per-stream `fileno' function to convert the
2054 stream's cookie into an integral file descriptor.
2055
2056* ``malloc (0)'' no longer returns a null pointer. Instead, it
2057 allocates zero bytes of storage, and returns a unique pointer which
2058 you can pass to `realloc' or `free'. The behavior is undefined if
2059 you dereference this pointer.
2060
2061* The C library now runs on Sony NEWS m68k machines running either
2062 NewsOS 3 or NewsOS 4.
2063
2064* The new `syscall' function is a system-dependent primitive function
2065 for invoking system calls. It has the canonical behavior on Unix
2066 systems, including unreliable return values for some calls (such as
2067 `pipe', `fork' and `getppid').
2068
2069* The error code `EWOULDBLOCK' is now obsolete; it is always defined
2070 to `EAGAIN', which is the preferred name. On systems whose kernels
2071 use two distinct codes, the C library now translates EWOULDBLOCK to
2072 EAGAIN in every system call function.
2073\f
2074Version 1.06
2075
2076* The GNU C Library Reference Manual is now distributed with the library.
2077 `make dvi' will produce a DVI file of the printed manual.
2078 `make info' will produce Info files that you can read on line using C-h i
2079 in Emacs or the `info' program.
ea278354 2080 Please send comments on the manual to bug-glibc-manual@gnu.org.
28f540f4
RM
2081
2082* The library now supports SVR4 on i386s (i386-unknown-sysv4).
2083
2084* Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
2085
2086* Jason Merrill has contributed a port to the Sequent Symmetry running
2087 Dynix version 3 (i386-sequent-dynix).
2088
2089* The library has been ported to i386s running SCO 3.2.4 (also known as SCO
2090 ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
2091
2092* New function `memory_warnings' lets you arrange to get warnings when
2093 malloc is running out of memory to allocate, like Emacs gives you.
2094
2095* The C library now contains the relocating allocator used in Emacs 19 for
2096 its editing buffers. This allocator (ralloc) minimizes allocation
2097 overhead and fragmentation by moving allocated regions around whenever it
2098 needs to. You always refer to a ralloc'd region with a "handle" (a
2099 pointer to a pointer--an object of type `void **').
2100
2101* There is a new `printf' format: `%m' gives you the string corresponding
2102 to the error code in `errno'.
2103
2104* In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
2105 or `%[' conversion, but instead of filling in a fixed-sized buffer you
2106 pass, the `a' modifier says to fill in a `char **' you pass with a
2107 malloc'd string.
2108
2109* The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
2110 `FNM_CASEFOLD'. `FNM_LEADING_DIR' lets a pattern like `foo*' match a
2111 name like `foo/bar'. `FNM_CASEFOLD' says to ignore case in matching.
2112
2113* `mkstemp' is a traditional Unix function to atomically create and open a
2114 uniquely-named temporary file.
2115\f
2116Version 1.05
2117
2118* The standard location for the file that says what the local timezone is
2119 has changed again. It is now `/usr/local/etc/localtime' (or more
2120 precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
2121
2122* The distribution no longer contains any files with names longer than 14
2123 characters.
2124
2125* `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
2126 These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
2127
2128* New functions `ttyslot' and `syslog' from 4.4 BSD.
2129\f
2130Version 1.04
2131
2132* The configuration process has changed quite a bit. The `configure'
2133 script is now used just like the configuration scripts for other GNU
2134 packages. The `sysdeps' directory hierarchy is much rearranged.
2135 The file `INSTALL' explains the new scheme in detail.
2136
2137* The header files no longer need to be processed into ANSI C and
2138 traditional C versions. There is just one set of files to install, and
2139 it will work with ANSI or old C compilers (including `gcc -traditional').
2140
2141* Brendan Kehoe and Ian Lance Taylor have ported the library to the
2142 MIPS DECStation running Ultrix 4.
2143
2144* The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
2145 Tom Quinn contributed the initial code. The GNU C library can NOT yet be
2146 made itself into a shared library.
2147
2148* Yet further improved support for the i386, running 4.3 BSD-like systems
2149 (such as Mach 3 with the Unix single-server), or System V.
2150
2151* New function `strncasecmp' to do case-insensitive string comparison
2152 with limited length.
2153
2154* New function `strsep' is a reentrant alternative to `strtok'.
2155
2156* New functions `scandir' and `alphasort' for searching directories.
2157
2158* New function `setenv' is a better interface to `putenv'.
2159
2160* Ian Lance Taylor has contributed an implementation of the SVID `ftw'
2161 function for traversing a directory tree.
2162
2163* The GNU obstack package is now also part of the C library.
2164 The new function `open_obstack_stream' creates a stdio stream that
2165 writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
2166 formatted output directly to an obstack.
2167
2168* Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
2169 cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
2170
2171* `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
2172
2173* The new functions `strfry' and `memfrob' do mysterious and wonderful
2174 things to your strings.
2175
2176* There are some new test programs: test-fseek, testmb, and testrand.
2177
2178* Some work has been done to begin porting the library to 4.4 BSD and Linux.
2179 These ports are not finished, but are a good starting place for really
2180 supporting those systems.
2181
2182* `/etc/localtime' is now the standard location for the file that says what
2183 the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
2184 This follows the general principle that `/etc' is the place for all local
2185 configuration files.
2186
2187* The C library header files now use `extern "C"' when used by the C++
2188 compiler, so the C library should now work with C++ code.
2189
2190* The header file <bstring.h> is gone. <string.h> now declares bcopy,
56ddf355
UD
2191 bcmp, bzero, and ffs. (Update: nowadays these functions are declared
2192 in <strings.h>.)
28f540f4
RM
2193
2194* Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
2195 function which uses the `merge sort' algorithm, and is said to be
2196 significantly faster than the old GNU `qsort' function. Merge sort is
2197 now the standard `qsort' function. The new algorithm can require a lot
2198 of temporary storage; so, the old sorting function is called when the
2199 required storage is not available.
2200
2201* The C library now includes Michael Glad's Ultra Fast Crypt, which
2202 provides the Unix `crypt' function, plus some other entry points.
28f540f4
RM
2203
2204* The code and header files taken from 4.4 BSD have been updated with the
2205 latest files released from Berkeley.
2206\f
2207----------------------------------------------------------------------
2208Copyright information:
2209
e6898b8d 2210Copyright (C) 1992-2013 Free Software Foundation, Inc.
28f540f4
RM
2211
2212 Permission is granted to anyone to make or distribute verbatim copies
2213 of this document as received, in any medium, provided that the
2214 copyright notice and this permission notice are preserved,
2215 thus giving the recipient permission to redistribute in turn.
2216
2217 Permission is granted to distribute modified versions
2218 of this document, or of portions of it,
2219 under the above conditions, provided also that they
2220 carry prominent notices stating who last changed them.
2221\f
2222Local variables:
2223version-control: never
1086d70d 2224fill-column: 76
557a9213 2225End: