]> sourceware.org Git - glibc.git/blame - ChangeLog
* sysdeps/i386/memchr.S: Check high bound against
[glibc.git] / ChangeLog
CommitLineData
ad7534c8
UD
12000-08-25 Ulrich Drepper <drepper@redhat.com>
2
3 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
4 * elf/nodelete.c (fini_ran): New global variable.
5 (do_test): Before every dlclose call clear fini_ran and test
6 afterwards that it is not set by the destructors.
7 * elf/nodelmod1.c: Add destructor which sets fini_ran.
8 * elf/nodelmod2.c: Likewise.
9 * elf/nodelmod4.c: Likewise.
10
bb8d0fd5
UD
112000-08-21 Jes Sorensen <jes@linuxcare.com>
12
13 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
14 getrlimit to the list.
15
162000-08-18 Jes Sorensen <jes@linuxcare.com>
17
18 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
19 long double format so use ldbl-96 instead of ldbl-128.
20
b7fb789d
UD
212000-08-25 Ulrich Drepper <drepper@redhat.com>
22
b0af120f
UD
23 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
24 even if bits 10 a 11 are non-zero.
25 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
26
1bc777b8
UD
27 * Makeconfig: Ensures the soversions.mk part of Makefile gets
28 included before building gnu/lib-names.h
29 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
30
7045878b
UD
31 * elf/dl-close.c (_dl_close): Don't run destructors of objects
32 marked DF_1_NODELETE.
33
b7fb789d
UD
34 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
35 since we call sigaction in the child.
36
700f371b
AJ
372000-08-25 Andreas Jaeger <aj@suse.de>
38
39 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
40 gconv-modules.
41
7a7a7ee5
AJ
422000-08-25 Andreas Jaeger <aj@suse.de>
43
44 * manual/arith.texi (Control Functions): Clarify possible
45 arguments. Closes PR libc/1856.
46
2085b8d1
AJ
472000-08-24 H.J. Lu <hjl@gnu.org>
48
49 * stdio-common/Makefile (tests): Don't do it for cross compiling.
50 * stdio-common/Makefile (tests): Likewise.
51
62c27582
UD
522000-08-24 Ulrich Drepper <drepper@redhat.com>
53
54 * iconvdata/unicode.c (gconv_init): Correct test for direction.
55
469e977f
AJ
562000-08-24 Andreas Jaeger <aj@suse.de>
57
58 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
59 only if LIBGD is available.
60
d46a5ab9
UD
612000-08-24 Ulrich Drepper <drepper@redhat.com>
62
63 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
64 problems with now restrict parameter types.
65 (convaddr4to6): Likewise.
66
672000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
0067c4cf
AJ
68
69 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
70 * sysdeps/s390/fpu/feenablxcpt.c: New file.
71 * sysdeps/s390/fpu/fegetexcept.c: New file.
72 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
73 FPC_VALID_MASK.
74
991dca90
AJ
752000-08-24 Andreas Jaeger <aj@suse.de>
76
77 * malloc/Makefile (extra-objs): Add memusagestat.o.
78 (generated): Added memusage and memusagestat for make clean.
79
80 * libio/tst_putwc.c (do_test): Delete temporary file.
3b526f89
AJ
81 Move inclusion of test-skeleton to front to have prototype for
82 add_temp_file.
991dca90
AJ
83
84 * posix/Makefile (generated): Add wordexp-tst.out.
85
c81459e7
UD
862000-08-24 Ulrich Drepper <drepper@redhat.com>
87
88 * resolv/res_hconf.c (free_mem): Remove not needed if.
89
90 * time/tzset.c (free_mem): New function.
91 * string/strsignal.c (free_mem): New function.
92 * inet/inet_ntoa.c (free_mem): New function.
93 * sunrpc/clnt_perr.c (free_mem): New function.
94
d5fb902b
AJ
952000-08-24 Andreas Jaeger <aj@suse.de>
96
97 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
7e98470d 98 * sysdeps/unix/sysv/syscalls.list: Likewise.
d5fb902b 99
219f2381
AJ
100 * posix/unistd.h: Move internal prototypes from here ...
101 * include/unistd.h: ... to here.
102
103 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
104
80bae720
UD
1052000-08-24 Ulrich Drepper <drepper@redhat.com>
106
84364bf8
UD
107 * grp/initgroups.c (initgroups): Deallocate groups array.
108 Reported by jani.raiha@sonera.com [PR libc/1868].
109
80bae720
UD
110 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
111 * sysdeps/alpha/Dist: Likewise.
112
f4942eca
UD
1132000-08-23 Ulrich Drepper <drepper@redhat.com>
114
0c571040
UD
115 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
116 destructor). Reported by Solar Designer <solar@false.com>.
117
f4942eca
UD
118 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
119 avoid adding double slashes.
120
91ca07d8
UD
1212000-08-23 Jakub Jelinek <jakub@redhat.com>
122
123 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
124 out of the __REDIRECT macro.
125
56ce46d5
UD
1262000-08-23 Ulrich Drepper <drepper@redhat.com>
127
128 * stdio-common/vfscanf.c: Add %F format support.
129
130 * locale/programs/ld-ctype.c (ctype_output): Make sure
131 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
132 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
133 (ctype_read): Enable returning of wide character strings for reading
134 transliteration information.
135
0232a3ae
AJ
1362000-08-23 Andreas Jaeger <aj@suse.de>
137
df9650f1
AJ
138 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
139 Use static __inline instead of _EXTERN_INLINE.
140
141 * misc/sys/select.h: Move prototypes of __select from here ...
142 * include/sys/select.h: ... to here.
143
144 * socket/sys/socket.h: Move prototypes of __send and __connect
145 from here....
146 * include/sys/socket.h: ... to here.
147
0232a3ae
AJ
148 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
149 lr_error.
150
39d4e06f
AJ
1512000-08-23 Jakub Jelinek <jakub@redhat.com>
152
153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
154 __setrlimit as strong name. Takes only 2 arguments.
155
156 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
157 takes only 2 arguments.
158
84056c71
AJ
1592000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
160
ea18f670
AJ
161 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
162
84056c71
AJ
163 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
164
4b156cb2
UD
1652000-08-23 Ulrich Drepper <drepper@redhat.com>
166
167 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
168 default_missing character being specified, pick the first
169 representable.
170
d6585e0b
AJ
1712000-08-23 Andreas Jaeger <aj@suse.de>
172
173 * include/wchar.h: Add some pure attributes.
174
175 * time/time.h: Add const attribute for dysize.
176
177 * include/stdlib.h: Add malloc attribute to __posix memalign.
178
179 * stdlib/stdlib.h: Add some pure and malloc attributes.
180 * wcsmbs/wchar.h: Likewise.
181
182 * dirent/dirent.h: Add some pure attributes.
183 * include/dirent.h: Likewise.
184
24c7f4c1
UD
1852000-08-23 Jakub Jelinek <jakub@redhat.com>
186
187 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
188 on 64bit arches.
189
4cee32dd
UD
1902000-08-22 Ulrich Drepper <drepper@redhat.com>
191
192 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
193 missing buffer size checks.
194
b4246fd6
UD
1952000-08-23 Andreas Jaeger <aj@suse.de>
196
7e7b6007
AJ
197 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
198 strong name.
199 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
200
b4246fd6
UD
201 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
202 otherwise __LINUX_KERNEL_VERSION might not be defined.
203 (MIN): Define if not already defined.
204
dc63ee35
UD
2052000-08-22 Ulrich Drepper <drepper@redhat.com>
206
6c46718f
UD
207 * stdio-common/vfprintf.c: Handle %F format.
208 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
209 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
210
211 * stdio-common/tstdiomisc.c: Add test for %F printf format.
212
213 * po/zh.po: New file.
214
cf970a32
UD
215 * iconvdata/sjis.c: In conversion from UCS4, correct test for
216 enough room in target buffer.
217 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
218 * iconvdata/bug-iconv1.c: New file.
219 * iconvdata/Makefile (tests): Add bug-iconv1.
220
dc63ee35
UD
221 * locale/iso-4217.def: Update entry for Nicaragua.
222
64659255
MK
2232000-08-22 Mark Kettenis <kettenis@gnu.org>
224
225 * hurd/hurdsig.c: Rearrange headers a bit.
226 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
227 when cthreads is being used.
228
ea83223c
UD
2292000-08-22 Ulrich Drepper <drepper@redhat.com>
230
32b4fe6a
UD
231 * elf/Makefile (distribute): Add dl-osinfo.h.
232 * sysdeps/generic/dl-osinfo.h: New file.
233 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
234 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
235 if defined.
236 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
84056c71 237 only for !SHARED case. Get the code from dl-osinfo.h.
32b4fe6a 238
ea83223c
UD
239 * stdlib/random_r.c: Cleanups.
240 * stdlib/tst-random.c: New file.
241 * stdlib/Makefile (tests): Add tst-random.
242 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
243
84056c71 2442000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
26830935 245
ea83223c
UD
246 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
247 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
248 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
249 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
26830935 250
8859f576
UD
2512000-08-22 Jakub Jelinek <jakub@redhat.com>
252
253 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
254 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
255 (__syscall__sysctl): Add.
256
fe615dce
AJ
2572000-08-21 Andreas Jaeger <aj@suse.de>
258
259 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
260 libc/1864).
261 * stdlib/tst-strtoll.c: Likewise.
262
ce19d417
UD
2632000-08-21 Ulrich Drepper <drepper@redhat.com>
264
faa57563
UD
265 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
266 correctly.
267 (__initstate_r): Set errno on error.
268 (__random_r): Likewise.
269 (__setstate_r): Correct offset when computing
270 new rptr and fptr. Test for arg_state being NULL.
271 Reported by Michael Fischer <fischer@cs.yale.edu>.
7ca404ad
UD
272
273 * posix/regex.h: Add macro definitions to allow compiling outside
274 glibc.
275
63336471
UD
276 * sysdeps/i370/Implies: Removed.
277 * sysdeps/mvs/Implies: Removed.
278
279 * catgets/catgets.c (catopen): Filter out env_var values with / if
280 necessary.
281
282 * locale/findlocale.c (_nl_find_locale): Move test for unusable
283 locale name after all getenvs.
284
ce19d417
UD
285 * configure.in: Allow sed versions like 3.02.8.
286 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
287
959eb65d
UD
2882000-08-21 Marko Myllynen <myllynen@lut.fi>
289
290 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
291
9ca00c5b
UD
2922000-08-21 Ulrich Drepper <drepper@redhat.com>
293
fb7268b2
UD
294 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
295 of gethostbyname2_r call.
296
9ca00c5b
UD
297 * intl/locale.alias: Add aliases for Korean.
298
84056c71 2992000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
b7d2cec0 300
b6341471
AJ
301 * sysdeps/s390/__longjmp.c: Remove unused variable result.
302 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
b7d2cec0
AJ
303 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
304 * sysdeps/s390/fpu/fegetenv.c: New file.
305 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
306 * sysdeps/s390/fpu/feholdexcpt.c: New file.
307 * sysdeps/s390/fpu/fenv_libc.h: New file.
308 * sysdeps/s390/fpu/fesetenv.c: New file.
309 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
310 * sysdeps/s390/fpu/feupdateenv.c: New file.
311 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
312 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
313 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
314 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
315 * sysdeps/s390/fpu/ftestexcept.c: New file.
316 * sysdeps/s390/fpu/libm-test-ulps: New file.
317 * sysdeps/s390/gmp-mparam.h: Add end of comment.
318 * sysdeps/s390/initfini.c: New file.
319 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
320 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
321 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
322 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
b6341471 323 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
b7d2cec0
AJ
324 sys/procfs.h as proposed by Mark Kettenis.
325 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
326
d4b0774f
AJ
3272000-08-21 Andreas Jaeger <aj@suse.de>
328
329 * include/poll.h: Include include/sys/poll.h to get __poll
330 declaration.
331
332 * io/sys/poll.h: Move __poll declaration from here...
333 * include/sys/poll.h: ...to here.
334
335 * include/sys/socket.h (__getpeername): Add declaration.
336
337 * include/wchar.h (__vswprintf): Add declaration.
338
339 * include/stdio.h (__flockfile): Add declaration.
340 (__funlockfile): Likewise.
341
a785f6c5
UD
3422000-08-20 Ulrich Drepper <drepper@redhat.com>
343
98cbe360
UD
344 * misc/sys/cdefs.h: Define __restrict_arr.
345 * include/sys/time.h: Add restrict where required by AGd4.
346 * inet/arpa/inet.h: Likewise.
347 * io/sys/stat.h: Likewise.
348 * io/sys/statvfs.h: Likewise.
349 * misc/search.h: Likewise.
350 * misc/sys/select.h: Likewise.
351 * posix/glob.h: Likewise.
352 * posix/regex.h: Likewise.
353 * posix/spawn.h: Likewise.
354 * posix/unistd.h: Likewise.
355 * rt/aio.h: Likewise.
356 * signal/signal.h: Likewise.
357 * socket/sys/socket.h: Likewise.
358 * stdlib/ucontext.h: Likewise.
359 * streams/stropts.h: Likewise.
360 * string/string.h: Likewise.
361 * time/time.h: Likewise.
362 * time/sys/time.h: Likewise.
363
364 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
365 and posix_spawnattr_setscheparam.
366
367 * libio/stdio.h: Make cuserid prototype again available for all
368 XPG versions.
369
4aebaa6b
UD
370 * argp/argp-help.c: Unify use of function aliases to make more compact
371 PLT.
372 * include/libintl.h: Likewise.
373 * inet/rcmd.c: Likewise.
374 * intl/dcigettext.c: Likewise.
375 * libio/iofputws.c: Likewise.
376 * libio/iofputws_u.c: Likewise.
377 * libio/iogetwline.c: Likewise.
378 * libio/swprintf.c: Likewise.
379 * malloc/malloc.c: Likewise.
380 * nss/digits_dots.c: Likewise.
381 * posix/fnmatch.c: Likewise.
382 * posix/spawn_faction_addclose.c: Likewise.
383 * posix/spawn_faction_adddup2.c: Likewise.
384 * posix/spawn_faction_addopen.c: Likewise.
385 * posix/spawni.c: Likewise.
386 * posix/wordexp.c: Likewise.
387 * posix/spawni.c: Likewise.
388 * resolv/res_hconf.c: Likewise.
389 * resolv/res_init.c: Likewise.
390 * shadow/lckpwdf.c: Likewise.
391 * signal/sighold.c: Likewise.
392 * signal/sigrelse.c: Likewise.
393 * stdio-common/printf-parse.h: Likewise.
394 * stdio-common/printf-prs.c: Likewise.
395 * stdio-common/printf_fp.c: Likewise.
396 * stdio-common/vfprintf.c: Likewise.
397 * stdio-common/vfscanf.c: Likewise.
398 * stdlib/rpmatch.c: Likewise.
399 * sunrpc/create_xid.c: Likewise.
400 * sunrpc/key_call.c: Likewise.
401 * sysdeps/generic/setrlimit64.c: Likewise.
402 * sysdeps/generic/utmp_file.c: Likewise.
403 * sysdeps/generic/vlimit.c: Likewise.
404 * sysdeps/posix/posix_fallocate.c: Likewise.
405 * sysdeps/posix/posix_fallocate64.c: Likewise.
406 * sysdeps/posix/sigpause.c: Likewise.
407 * sysdeps/posix/sigset.c: Likewise.
408 * sysdeps/unix/grantpt.c: Likewise.
409 * sysdeps/unix/bsd/ualarm.c: Likewise.
410 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
411 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
412 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
413 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
414 * time/strftime.c: Likewise.
415 * wcsmbs/wcscoll.c: Likewise.
416 * wcsmbs/wcsxfrm.c: Likewise.
417
a785f6c5
UD
418 * time/tst-getdate.c (main): Make error messages more human readable.
419
4aebaa6b
UD
420 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
421 postinc/predec instruction.
a785f6c5
UD
422 (_FPU_SETCW): Likewise.
423 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
424
7a66c585
AJ
4252000-08-20 Andreas Jaeger <aj@suse.de>
426
427 * time/tst-getdate.c (main): Increase error in case of wrong
428 conversion.
429 Fix typo in test case.
430
2f599545
UD
4312000-08-20 Ulrich Drepper <drepper@redhat.com>
432
00d8bc81
UD
433 * ctype/ctype.h (isblank): Make available if ISO C99.
434 * wctype/wctype.h (iswblank): Make available if ISO C99.
435 * math/math.h (signgam): Don't make available if ISO C99.
436 * math/tgmath.h (tgamma): Renamed from gamma.
437 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
438
2f599545
UD
439 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
440 Pretty printing.
441 * intl/plural.y (new_exp): Take number of optional parameters in
442 second parameter. Test for correct number of parameters and free
443 correctly in case of failure. Adjust all callers.
444 (yylex): Allow ';' as terminator character.
445
6145e823
UD
4462000-08-19 Ulrich Drepper <drepper@redhat.com>
447
9b02e868
UD
448 * locale/lc-time.c (free_mem): New function. Free alt_digits and
449 walt_digits.
450
f1ba489e
UD
451 * locale/findlocale.c (free_mem): Also free here->filename.
452
453 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
454
6145e823
UD
455 * math/test-fenv.c (feenv_tests): Clear all exceptions before
456 first test.
457 (feexcp_nomask_test): Correct printf args.
458 (feexcp_mask_test): Likewise.
459
60f0e64b
UD
4602000-08-19 Andreas Jaeger <aj@suse.de>
461
03ae3c1e
AJ
462 * inet/tst-gethnm.c: Include string.h to provide prototype for
463 strcmp.
464
60f0e64b
UD
465 * malloc/mtrace.pl (usage): Inform about --help.
466
4672000-08-19 Wolfram Gloger <wg@malloc.de>
468
f1ba489e 469 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
60f0e64b
UD
470 size HEAP_MAX_SIZE.
471
4722000-08-19 Andreas Jaeger <aj@suse.de>
473
474 * shlib-versions: Remove libnss_db, libdb and libdb1.
475
4762000-08-19 Jakub Jelinek <jakub@redhat.com>
477
478 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
479 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
480 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
481 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
482 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
483 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
484 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
485 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
486 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
487 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
488 getdents.
489 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
490 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
491
4922000-08-18 Jakub Jelinek <jakub@redhat.com>
493
494 * include/glob.h (__glob64): Add prototype.
495 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
496 define glob and glob_in_dir.
497 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
498 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
499 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
500 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
501 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
502 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
503 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
504 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
505
5062000-08-18 Jakub Jelinek <jakub@redhat.com>
507
508 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
509
5102000-08-17 Andreas Jaeger <aj@suse.de>
511
512 * math/test-fenv.c (fe_single_test): New function.
513 (fe_env_tests): Use fe_single_test.
514 (feenable_test): New tests for feenable/fedisable and
515 fegetexcpetions.
516 (feexcp_mask_test): New function.
517 (feexcp_nomask_test): New function.
518
5192000-08-19 Richard Henderson <rth@cygnus.com>
520
521 * sysdeps/alpha/fpu/fenv_libc.h: New file.
522 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
523 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
524 * sysdeps/alpha/fpu/fesetround.c: Likewise.
525 * sysdeps/alpha/fpu/fegetround.c: Likewise.
526 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
527 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
528 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
529 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
530 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
531 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
532 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
533 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
534 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
535 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
536 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
537 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
538
f3322bec
AJ
5392000-08-19 Andreas Jaeger <aj@suse.de>
540
541 * elf/constload1.c: Include <stdio.h> for puts prototype.
542
752a2a50
UD
5432000-08-19 Ulrich Drepper <drepper@redhat.com>
544
545 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
546 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
547 a dynamically loaded object remove old l_initfini list.
548 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
549 remove some dynamically allocated memory blocks in the dynamic
550 loading data structures.
551 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
552 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
553 Instead call _dl_check_map_versions only for the dependencies.
554 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
555 information of initial objects as not free-able.
556 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
557 element.
558
559 * elf/filter.c: Call mtrace.
560 * elf/restest1.c: Likewise. Close the objects.
561 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
562 debug information.
563
564 * elf/constload1.c: Add comment explaining not freed memory.
565
a0c9a28b
AJ
5662000-08-18 Andreas Jaeger <aj@suse.de>
567
568 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
569 alignment for structs stat and stat64.
570 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
571
de9bd685
UD
5722000-08-17 Ulrich Drepper <drepper@redhat.com>
573
09970c4e
UD
574 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
575 handling. Patch by Richard Henderson <rth@twiddle.net>.
576
de9bd685
UD
577 * nss/Versions: Remove libnss_db information.
578
4c4b9518
UD
5792000-08-16 Jakub Jelinek <jakub@redhat.com>
580
581 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
582 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
583 * sysdeps/sparc/fpu/fegetexcept.c: New file.
584 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
585
586 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
587 to match Solaris.
588
0f6b172f
UD
5892000-08-17 Ulrich Drepper <drepper@redhat.com>
590
319b400b
UD
591 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
592 (_FPU_SETCW): Likewise.
593 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
594
0f6b172f
UD
595 * stdio-common/printf_fp.c: Fix chars_needed computation.
596 Patch by Greg McGary <greg@mcgary.org>.
597
5982000-08-17 Jakub Jelinek <jakub@redhat.com>
599
600 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
601 _dl_loaded are NULL.
602
6032000-08-17 Jakub Jelinek <jakub@redhat.com>
604
605 * manual/arith.texi (feholdexcept): Returns 0 on success.
606
6072000-08-17 Andreas Jaeger <aj@suse.de>
608
609 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
610 (ifr_newname): New.
611 Reported by Andi Kleen <ak@suse.de>.
612
6132000-08-17 Jakub Jelinek <jakub@redhat.com>
614
615 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
616 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
617 * sysdeps/alpha/fpu/fegetexcept.c: New file.
618
6192000-08-16 Jakub Jelinek <jakub@redhat.com>
620
621 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
622 of buf->st_ino and kbuf->st_ino, not __st_ino.
623 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
624 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
625 directive so that only linux/getdents.c is used, not some
626 architecture specific one.
627
6282000-08-16 Jakub Jelinek <jakub@redhat.com>
629
630 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
631 enabled, not disabled exceptions.
632 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
633 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
634
e64911d1
GM
6352000-08-17 Greg McGary <greg@mcgary.org>
636
637 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
638 from test program name when constructing suffix for $(LDLIBS-*).
639 (bounded-thread-library): New variable.
640 * crypt/Makefile
641 [build-shared, build-static] (libcrypt-dep): Remove variable.
642 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
643 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
644 * linuxthreads/Makefile (libpthread, librt): Remove variables.
645 (librt-tests): Add variable. (tests): Use it.
646 [build-shared, build-static]
0f6b172f
UD
647 ($(addprefix $(objpfx),$(tests)),
648 $(addprefix $(objpfx),$(librt-tests))):
e64911d1
GM
649 Consolidate individual dependencies.
650 [build-bounded]
651 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
652 Add dependencies.
653 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
654 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
655 * misc/Makefile
656 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
657 * rt/Makefile
658 [build-shared, build-static]
659 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
660 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
661
6622000-08-17 Greg McGary <greg@mcgary.org>
663
664 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
665 * sysdeps/unix/make-syscalls.sh: Likewise.
666 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
667 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
668 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
669 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
671
6722000-08-17 Greg McGary <greg@mcgary.org>
673
674 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
675 Wrap extern symbols in BP_SYM ().
676 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
677 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
678 * sysdeps/i386/fpu/s_remquo.S: Likewise.
679 * sysdeps/i386/fpu/s_remquof.S: Likewise.
680 * sysdeps/i386/fpu/s_remquol.S: Likewise.
681 * sysdeps/i386/fpu/s_sincos.S: Likewise.
682 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
683 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
684 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
685 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
686
9a81430b
AS
6872000-08-16 Andreas Schwab <schwab@suse.de>
688
689 * sysdeps/m68k/fpu/fegetexcept.c: New file.
690 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
691 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
692
1ebba33e
UD
6932000-08-15 Ulrich Drepper <drepper@redhat.com>
694
695 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
696 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
697 * elf/dl-support.c: Define _nl_nloaded.
698 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
699 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
700 object to global list.
701 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
702 from _dl_loaded list.
703 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
704 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
705 number here.
706
707 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
708 unmask, exceptions.
709 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
710 exceptions.
711 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
712
6784ab92
AJ
7132000-08-16 Andreas Jaeger <aj@suse.de>
714
715 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
716
9df76933
UD
7172000-08-15 Marko Myllynen <myllynen@lut.fi>
718
719 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
720
5763742f
UD
7212000-08-15 Ulrich Drepper <drepper@redhat.com>
722
3a41e723
UD
723 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
724 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
725 (sysdep_routines): Add oldgetrlimit64.
726 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
727 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
728
0f6b172f 729 * include/link.h: Undo last patches. Hurd now has stat64.
5763742f
UD
730 * elf/Makefile: Likewise.
731 * elf/dl-load.c: Likewise.
732 * elf/dl-misc.c: Likewise.
733 * elf/dl-profile.c: Likewise.
734 * sysdeps/generic/sysd-link.h: Removed.
735 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
736
737 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
738 thread event callback function.
739 (__aio_notify_only): Use function above.
740 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
741
dee6b86d
MK
7422000-08-16 Mark Kettenis <kettenis@gnu.org>
743
744 * sysdeps/mach/hurd/lseek64.c: New file.
745
724000bc
MK
7462000-08-15 Mark Kettenis <kettenis@gnu.org>
747
748 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
749 Remove typedefs.
750 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
751 typedefs.
752 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
753 typedefs.
754 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
755
fd811dc6
MK
7562000-08-15 Mark Kettenis <kettenis@gnu.org>
757
758 * sysdeps/mach/hurd/xstatconv.c: New file.
759 * sysdeps/mach/hurd/fxstat64.c: New file.
760 * sysdeps/mach/hurd/lxstat64.c: New file.
761 * sysdeps/mach/hurd/xstat64.c: New file.
762 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
763
3142475c
MK
7642000-08-15 Mark Kettenis <kettenis@gnu.org>
765
766 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
767 Initialize, needed for change in common symbol handling in newer
768 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
769
07a3d63e
UD
7702000-08-15 Ulrich Drepper <drepper@redhat.com>
771
805d2e7d
UD
772 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
773 * elf/constload2.c: Add destructor to unload constload3.
774
fc7f617d
UD
775 * include/link.h: Include sysd-link.h.
776 * sysdeps/generic/sysd-link.h: New file.
777 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
778 * elf/Makefile (distribute): Add sysd-link.h.
779 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
780 types and functions directly.
781 * elf/dl-misc.c: Likewise.
782 * elf/dl-profile.c: Likewise.
783
784 * elf/loadfail.c (main): Close all successfully loaded objects.
785
07a3d63e
UD
786 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
787 free wd.
788 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
789 there is already one.
790
791 * elf/dl-close.c: Pretty print.
792
a6bd56c7
UD
7932000-08-14 Ulrich Drepper <drepper@redhat.com>
794
b8fd5502
UD
795 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
796 global (with file scope). Add __libc_subfreeres function to free the
797 string.
798 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
799 in ttyname function.
800
801 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
802
803 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
804
805 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
806 mapping them to /x5c and /x7e respectively.
807
a6bd56c7
UD
808 * locale/programs/ld-ctype.c: Add support for more definitions after
809 copy statement.
810
14860991
UD
8112000-08-14 Jakub Jelinek <jakub@redhat.com>
812
813 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
814 * sysdeps/unix/sysv/linux/kernel-features.h
815 (__ASSUME_GETDENTS64_SYSCALL): Define.
816 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
817 syscall if available to get d_type fields.
818 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
819 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
820 __lxstat64): Export at GLIBC_2.2.
821 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
822 Likewise.
823 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
824 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
825 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
826 getdirentries64, versionsort64): Remove.
827 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
828 getdirentries64, versionsort64): Remove.
829
47b853e8
UD
8302000-08-13 Ulrich Drepper <drepper@redhat.com>
831
832 * posix/Makefile: Remove rules to generate glob package.
833
834 * posix/Makefile (tests): Add tst-regexloc.
835 (tst-regexloc-ENV): Add LOCPATH.
836 * posix/tst-regexloc.c: New file.
837
91bc38d0
UD
8382000-08-12 Andreas Jaeger <aj@suse.de>
839
840 * include/features.h (__STDC_ISO_10646__): Define.
841 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
842
7e3399b3
UD
8432000-08-13 Ulrich Drepper <drepper@redhat.com>
844
91bc38d0
UD
845 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
846
847 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
848 for revision 6 and up).
849
850 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
851 including <time.h>.
852 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
853 to get definitions of just these types.
854
855 * signal/signal.h: Define thread signal handling functions also for
856 POSIX95.
857
858 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
859 POSIX95.
860 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
861 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
862 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
863 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
864
865 * sysvipc/sys/shm.h: Define pid_t for XPG.
866
8de72f53
UD
867 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
868 they are not anymore required here.
869
91bc38d0
UD
870 * wcsmbs/wchar.h: Make the various wide char string and stream
871 functions available for the respective XPG versions.
872
7e3399b3
UD
873 * nss/Makefile: Remove rules to build and distribute nss_db.
874
875 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
876 * sysdeps/generic/scandir64.c: Likewise.
877 * sysdeps/generic/versionsort64.c: Likewise.
878
319d719d
UD
8792000-08-13 Ulrich Drepper <drepper@redhat.com>
880 Benjamin Koznik <bkoz@redhat.com>
881
882 * libio/fileops.c: Merge with libstdc++-v3.
883 * libio/genops.c: Likewise.
884 * libio/iofclose.c: Likewise.
885 * libio/iofopen.c: Likewise.
886 * libio/iofwide.c: Likewise.
887 * libio/libio.h: Likewise.
888 * libio/libioP.h: Likewise.
889 * libio/stdfiles.c: Likewise.
890 * libio/stdio.c: Likewise.
891 * libio/wfileops.c: Likewise.
892 * libio/wgenops.c: Likewise.
893
894 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
895
8868f97b
UD
8962000-08-12 Ulrich Drepper <drepper@redhat.com>
897
8a82cc30
UD
898 * locale/programs/localedef.c: Implement --prefix option to allow
899 writing in standard places of alternative install directories.
900
8868f97b
UD
901 * posix/regex.c (compile_range): Implement collation sequence
902 handling for glibc. Use simple character ordering otherwise and
903 not strcoll.
904
451fc032
UD
9052000-08-12 Mark Kettenis <kettenis@gnu.org>
906
907 * sysdeps/generic/scandir64.c: Include <dirent.h>.
908
2390667f
UD
9092000-08-12 Andreas Jaeger <aj@suse.de>
910
911 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
912 __USE_FILE_OFFSET64 correctly for locking.
913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
914
00c02822
UD
9152000-08-12 Jakub Jelinek <jakub@redhat.com>
916
917 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
918 Define for 2.4.1 on sparc as well.
919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
920 for F_GETLK64, F_SETLK64, and F_SETLKW64.
921 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
922 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
923
977588cd
UD
9242000-08-12 Ulrich Drepper <drepper@redhat.com>
925
926 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
927 defined.
928
590a6393
UD
9292000-08-12 Andreas Jaeger <aj@suse.de>
930
facd11c2
AJ
931 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
932 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
933
e762517d
AJ
934 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
935 mips2 for assembler.
936
590a6393
UD
937 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
938 if fnctl64 is not available for F_*LK*64.
939
940 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
941
21f6a100
UD
9422000-08-12 Ulrich Drepper <drepper@redhat.com>
943
944 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
945 Define for 2.4.1 on x86.
946 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
947 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
948 for F_GETLK64, F_SETLK64, and F_SETLKW64.
949
950 * dirent/dirent.h: Define DT_WHT.
951
952 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
953 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
954 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
955 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
956 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
957 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
958
56ddf355
UD
9592000-08-11 Ulrich Drepper <drepper@redhat.com>
960
8337f053
UD
961 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
962 lookup, pass pointer to array with NULL pointer [PR libc/1858].
11a9c0ce
UD
963 * inet/Makefile (tests): Add tst-gethnm.
964 * inet/tst-gethnm.c: New file.
8337f053 965
56ddf355
UD
966 * rt/aio_cancel.c: If canceling a specific request which is running
967 *really* do nothing.
968 * rt/aio_misc.h: Add `done' to states of a request.
969 * rt/aio_misc.c: Add several tests for the correct state.
970 Simplify request table memory handling.
971
9722000-08-10 Jakub Jelinek <jakub@redhat.com>
973
974 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
975 * dirent/scandir64.c: Move...
976 * sysdeps/generic/scandir64.c: ...here.
977 * dirent/alphasort64.c: Move...
978 * sysdeps/generic/alphasort64.c: ...here.
979 * dirent/versionsort64.c: Move...
980 * sysdeps/generic/versionsort64.c: ...here.
981 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
982 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
983 Export symbols at GLIBC_2.2.
984 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
985 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
986 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
987 __versionsort64): Add prototypes.
988 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
989 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
990 unused prototype.
991 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
992 and GLIBC_2.2.
993 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
994 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
995 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
996 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
997 __u_quad_t.
998 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
999 Adjust for kernel-2.4.0-test6 layout.
1000 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
1001 GLIBC_2.1 and GLIBC_2.2.
1002 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
1003 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
1004 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
1005 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
1006 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
1007 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
1008 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
1009 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
1010 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
1011 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
1012 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
1013 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
1014 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
1015 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
1016 __u_quad_t.
1017 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
1018 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
1019 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
1020 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
1021 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
1022 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
1023 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
1024 __u_quad_t.
1025 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
1027 Define.
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
1031 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
1033 Define.
1034 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
1035 alpha/readdir.c.
1036 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
1037 alpha/readdir_r.c
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
1040 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
1041 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
1042 st_ino from __st_ino.
1043 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1044 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1045 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
1046 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
1047 set __st_ino in addition to st_ino.
1048 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
1049 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
1050 __old_getdents64 as well.
1051 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
1052 getdirentries64 and old_getdirentries64 as well.
1053 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
1054 __GETDENTS): Define.
1055 (GETDENTS64): Remove.
1056 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
1057 Define.
1058 (GETDENTS64): Remove.
1059 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
1060 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
1061 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
1062 as well.
1063 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
1064 __old_readdir64_r as well.
1065 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1066 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
1067
1a5b42af
UD
10682000-08-08 Jes Sorensen <jes@linuxcare.com>
1069
56ddf355 1070 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1a5b42af
UD
1071 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
1072 define of the kernel.
1073 Add missing __SEG_PSTKOVF definition.
1074 Adjust the padding of struct siginfo and struct sigevent to
1075 match the fact that sigval_t is 64 bit.
1076
3459f702
UD
10772000-08-10 Ulrich Drepper <drepper@redhat.com>
1078
1079 * timezone/zic.c: Update from tzcode2000f.
1080 * timezone/australasia: Update from tzdata2000f.
1081 * timezone/europe: Likewise.
1082 * timezone/southamerica: Likewise.
1083 * timezone/yearistype: Likewise.
1084
5c75f32d
AJ
10852000-08-10 Andreas Jaeger <aj@suse.de>
1086
1087 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
1088 stat with current MIPS kernel.
1089
835bf8e0
UD
10902000-08-01 Mark Kettenis <kettenis@gnu.org>
1091
1092 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
1093 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
1094 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
1095 Remove the junk that's only relevant in the Linux kernel itself.
1096 Add a warning saying that this file is now obsolete, and include
1097 <sys/procfs.h>.
1098 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
1099 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
1100 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
1101 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
1102 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
1103 and add the notice that the file is primarily there for GDB.
1104 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
1105
11062000-08-09 Jakub Jelinek <jakub@redhat.com>
1107
1108 * time/tzfile.c (__tzfile_compute): __tzstring zones
1109 from zone_names.
1110
11112000-08-09 Jakub Jelinek <jakub@redhat.com>
1112
1113 * resolv/resolv.h (__res_state): Surround prototype with
1114 __BEGIN_DECLS/__END_DECLS.
1115 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
1116
11172000-08-04 Jes Sorensen <jes@linuxcare.com>
1118
1119 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
1120 Make independant of asm/resource.h from the Linux kernel.
1121
11222000-08-06 Bruno Haible <haible@clisp.cons.org>
1123
1124 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
1125
11262000-08-06 Bruno Haible <haible@clisp.cons.org>
1127
1128 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
1129 * locale/Makefile (locale-CPPFLAGS): Likewise.
1130
11312000-08-09 Ulrich Drepper <drepper@redhat.com>
1132
1133 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
1134 for AMD processors.
1135
11362000-08-03 Jakub Jelinek <jakub@redhat.com>
1137
1138 * misc/Versions (mincore): Export at GLIBC_2.2.
1139
11402000-08-03 Bruno Haible <haible@clisp.cons.org>
1141
1142 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
1143
36f7b1df
MK
11442000-08-02 Mark Kettenis <kettenis@gnu.org>
1145
1146 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
1147 socketpair. Made socketpair a weak alias.
1148 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
1149 __socketpair. Use S_IFIFO protocol to make pipes POSIX
1150 conforming, but fall back on the old protocol if the socket server
1151 doesn't support it.
1152 * include/sys/socket.h: Add prototype for __socketpair.
1153
1d2f626e
AS
11542000-08-09 Andreas Schwab <schwab@suse.de>
1155
1000d1e5
AS
1156 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
1157 long long modifier is seen.
1158
bce0e517
AS
1159 * elf/nodelete.c (do_test): Remove reference to undefined member
1160 sa_restorer.
1161 * rt/tst-aio4.c (do_test): Likewise.
1162
1d2f626e
AS
1163 * configure.in: Add `-lm' when checking for libgd.
1164 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
1165 linking.
1166
2bbc70d5
AJ
11672000-08-09 Andreas Jaeger <aj@suse.de>
1168
1169 * configure.in: Change required make versions.
1170
1171 * manual/install.texi (Tools for Compilation): Document required
1172 make version.
1173 (Supported Configurations): Update list of supported
1174 configurations.
835bf8e0 1175
d364e525
UD
11762000-08-08 Ulrich Drepper <drepper@redhat.com>
1177
1178 * locale/linereader.c (get_string): Don't print an error is a string
1179 contains an unknown character.
1180
91933d23
UD
11812000-08-06 Ulrich Drepper <drepper@redhat.com>
1182
1183 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
1184 (new_symbol): Take new parameters with name of the symbol.
1185 Adjust callers.
1186 (handle_ellipsis): Don't only allow character symbols.
1187 (collate_read): Allow string of collating elements contain invalid
1188 characters; ignore entry in this case.
1189 Handle ellipsis of collating symbols before first order_start.
1190 Allow ellipsis in state 0.
1191
21b2be88
UD
11922000-08-04 Ulrich Drepper <drepper@redhat.com>
1193
1194 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
1195 error message.
1196 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1197
13550428
GM
11982000-08-04 Greg McGary <greg@mcgary.org>
1199
1200 * posix/regex.c (SET_HIGH_BOUND): New macro.
1201 (MOVE_BUFFER_POINTER): Use it.
1202 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
1203 (EXTEND_BUFFER): Use it.
1204
faf8ccab
UD
12052000-08-03 Ulrich Drepper <drepper@redhat.com>
1206
1207 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
1208 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
1209 _wide_data but from _IO_FILE directly.
1210 * libio/iofclose.c: Likewise.
1211 * libio/wfileops.c: Likewise.
1212
1213 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
1214 * libio/libioP.h: Change prototypes.
1215
7f6f3e35
GM
12162000-08-03 Greg McGary <greg@mcgary.org>
1217
eb48f491
GM
1218 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
1219 frame pointer early so that we save caller's frame pointer.
1220 * sysdeps/i386/elf/setjmp.S: Likewise.
1221
7f6f3e35
GM
1222 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
1223 * io/test-utime.c: Test passing NULL as utimbuf* arg.
1224
1225 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
1226 (MOVE_BUFFER_POINTER): Handle high_bound properly.
1227 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
1228
139a4d95
UD
12292000-08-03 Ulrich Drepper <drepper@redhat.com>
1230
1231 * iconvdata/big5.c: Updated.
1232 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1233
aaf688e8
UD
12342000-08-02 Ulrich Drepper <drepper@redhat.com>
1235
1236 * Makeconfig (all-subdirs): Add conform.
1237 * conform/Makefile: Include ../Rules.
1238
1239 * Makefile (README): Add rules to generate here as well.
1240
ea1c96f5
UD
12412000-08-02 Ulrich Drepper <drepper@redhat.com>
1242
bf3888be
UD
1243 * version.h (VERSION): Bump to 2.1.92.
1244
74dd1fee
UD
1245 * sysdeps/ia64/Dist: Add _mcount.S.
1246
1247 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
1248
1249 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
1250
1251 * elf/Makefile (distribute): Add missing modules.
1252
349e00ef
UD
1253 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
1254
21b2be88 1255 * posix/regex.c (compile_range): Translate range start and end
f6cfb13f
UD
1256 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
1257
cfd57cdc
UD
1258 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
1259 asm/resource.h.
1260
ea1c96f5
UD
1261 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
1262
847b055c
AJ
12632000-08-02 Andreas Jaeger <aj@suse.de>
1264
3d2b5f69
AJ
1265 * elf/elf.h (EM_S390): Added.
1266 (R_390_*): New relocs for S390.
1267
847b055c
AJ
1268 * sysdeps/unix/sysv/linux/s390/Dist: New file.
1269 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
1270 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
1271 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
1272 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
1273 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
1275 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
1276 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
1277 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
1278 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
1279 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
1280 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
1281 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
1282 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
1283 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
1284 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
1285 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
1286 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
1287 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
1288 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
1289 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
1290 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
1291 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
1292 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
1293 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
1294 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
1295 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
1296 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
1297 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
1298 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
1299 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
1300 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
1301 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
1302 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
1303 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
1304 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
1305 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
1306 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
1307 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
1308 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
1309 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
1310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
1311 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1312 * sysdeps/s390/sysdep.h: New file.
1313 * sysdeps/s390/sys/ucontext.h: New file.
1314 * sysdeps/s390/sub_n.S: New file.
1315 * sysdeps/s390/strncpy.S: New file.
1316 * sysdeps/s390/strcpy.S: New file.
1317 * sysdeps/s390/stackinfo.h: New file.
1318 * sysdeps/s390/setjmp.S: New file.
1319 * sysdeps/s390/s390-mcount.S: New file.
1320 * sysdeps/s390/mul_1.S: New file.
1321 * sysdeps/s390/memusage.h: New file.
1322 * sysdeps/s390/memset.S: New file.
1323 * sysdeps/s390/memcpy.S: New file.
1324 * sysdeps/s390/memchr.S: New file.
1325 * sysdeps/s390/machine-gmon.h: New file.
1326 * sysdeps/s390/ldbl2mpn.c: New file.
1327 * sysdeps/s390/gmp-mparam.h: New file.
1328 * sysdeps/s390/fpu/fpu_control.h: New file.
1329 * sysdeps/s390/fpu/fesetround.c: New file.
1330 * sysdeps/s390/fpu/fegetround.c: New file.
1331 * sysdeps/s390/fpu/fclrexcpt.c: New file.
1332 * sysdeps/s390/fpu/bits/fenv.h: New file.
1333 * sysdeps/s390/ffs.c: New file.
1334 * sysdeps/s390/elf/start.S: New file.
1335 * sysdeps/s390/elf/setjmp.S: New file.
1336 * sysdeps/s390/elf/bsd-setjmp.S: New file.
1337 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
1338 * sysdeps/s390/dl-machine.h: New file.
1339 * sysdeps/s390/bzero.S: New file.
1340 * sysdeps/s390/bsd-setjmp.S: New file.
1341 * sysdeps/s390/bsd-_setjmp.S: New file.
1342 * sysdeps/s390/bits/string.h: New file.
1343 * sysdeps/s390/bits/setjmp.h: New file.
1344 * sysdeps/s390/bits/huge_val.h: New file.
1345 * sysdeps/s390/bits/endian.h: New file.
1346 * sysdeps/s390/bits/byteswap.h: New file.
1347 * sysdeps/s390/bcopy.S: New file.
1348 * sysdeps/s390/backtrace.c: New file.
1349 * sysdeps/s390/atomicity.h: New file.
1350 * sysdeps/s390/asm-syntax.h: New file.
1351 * sysdeps/s390/addmul_1.S: New file.
1352 * sysdeps/s390/add_n.S: New file.
1353 * sysdeps/s390/abort-instr.h: New file.
1354 * sysdeps/s390/__longjmp.c: New file.
1355 * sysdeps/s390/Makefile: New file.
1356 * sysdeps/s390/Implies: New file.
1357 * sysdeps/s390/Dist: New file.
1358 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1359
ca8d5a5f
UD
13602000-08-01 Ulrich Drepper <drepper@redhat.com>
1361
be18eced
UD
1362 Remove incompatible IPv6 extension of RPC.
1363 * sunrpc/Makefile: Undo changes.
1364 * sunrpc/rpc_main.c: Likewise.
1365 * sunrpc/rpc/clnt.h: Likewise.
1366 * sunrpc/rpc/svc.h: Likewise.
1367 * sunrpc/bindrsvprt6.c: Removed.
1368 * sunrpc/clnt_tcp6.c: Removed.
1369 * sunrpc/clnt_udp6.c: Removed.
1370 * sunrpc/svc_tcp6.c: Removed.
1371 * sunrpc/svc_udp6.c: Removed.
1372
1373 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
1374 dgettext, and dcgettetxt.
1375
1376 * intl/locale.alias: Update japanese aliases.
1377
ca8d5a5f
UD
1378 * sysdeps/ia64/bits/byteswap.h: New file.
1379 Patch by Dan Pop <Dan.Pop@cern.ch>.
1380
1381 * misc/sys/cdefs.h: Define __attribute_format_arg__.
1382 * intl/libintl.h: Use it here instead of using __attribute__ directly.
1383
13842000-07-13 H.J. Lu <hjl@gnu.org>
1385
1386 * posix/regex.c (re_max_failures): Set to 4000.
1387
8fb81470
UD
13882000-08-01 Ulrich Drepper <drepper@redhat.com>
1389
1390 * gnulib/Makefile (tests): Add tst-gcc.
1391 * gnulib/tst-gcc.c: New file.
1392
1393 * assert/Makefile (routines): Add __assert.
1394 * assert/Versions: Export __assert for glibc 2.2.
1395 * assert/__assert.c: New file.
1396 * assert/assert.h: Declare __assert.
1397
13982000-07-27 Bruno Haible <haible@clisp.cons.org>
1399
1400 * locale/localeinfo.h (_ISCTYPE): New macro.
1401 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
1402 LC_CTYPE locale format.
1403 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
1404 (ctype_output): Output class_b[nr] right before class_3level[nr].
1405 (allocate_arrays): Fill class_b, similarly to class_3level.
1406
925e31d9
UD
14072000-08-01 Ulrich Drepper <drepper@redhat.com>
1408 Joseph S. Myers <jsm28@cam.ac.uk>
1409
1410 * math/tgmath.h: Make standard compliant. Don't ask how.
1411
14122000-07-04 H.J. Lu <hjl@gnu.org>
1413
1414 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
1415 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
1416 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
1417
14182000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1419
1420 * include/features.h (_XOPEN_SOURCE): Update the explanation.
1421 (__USE_LARGEFILE): Add an explanation.
1422 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
1423 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
1424
14252000-08-01 Ulrich Drepper <drepper@redhat.com>
1426
1427 * libio/Makefile: Enable exception handling for genops, wgenops,
1428 fileops, and wfileops.
1429
15f033cf
MK
14302000-07-29 Mark Kettenis <kettenis@gnu.org>
1431
1432 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
1433 acount that elf/rtld's main program might remove some varibales
1434 from the environment if we're trying to be secure. Move the Hurd
1435 startup data if necessary, or, if we there is no startup data,
1436 make sure the magical convention that ARGV[0] is stored just after
1437 the environment list.
1438
b73204bf
UD
14392000-08-01 Philip Blundell <philb@gnu.org>
1440
1441 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1442 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
1443 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1444 oldsetrlimit for GLIBC_2.0.
1445
5cc90078
AJ
14462000-08-01 Andreas Jaeger <aj@suse.de>
1447
9bd0bec2 1448 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
b73204bf
UD
1449 (LINE_PARSER): Allow any number of spaces between ip address and
1450 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
9bd0bec2 1451
eba8c0e2
AJ
1452 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
1453
1454 * include/netdb.h: Remove getipnodebyaddr and friends, leave
1455 constants in.
1456
1457 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
1458 _nss_nisplus_getipnodebyname_r.
1459
1460 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
1461 now, getipnodebyname is deprecated.
b73204bf
UD
1462 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1463 Likewise.
eba8c0e2
AJ
1464
1465 * inet/Makefile (routines): Don't build getipnodebyaddr and
1466 friends.
1467
4df4f8b1
AJ
1468 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1469
5cc90078
AJ
1470 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1471
1472 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1473
1474 * wctype/Makefile (distribute): Add wchar-lookup.h.
1475
4df4f8b1 1476 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
5cc90078
AJ
1477
1478 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1479
db54bbfb
AJ
14802000-08-01 Andreas Schwab <schwab@suse.de>
1481
b73204bf 1482 * Make-dist (dist): Resolve `..' in file names.
db54bbfb 1483
d9fd4f33
AJ
14842000-08-01 Andreas Jaeger <aj@suse.de>
1485
1486 * stdio-common/Makefile (distribute): Remove removed files, add
1487 new files.
1488
1489 * Makefile (distribute): Remove include/db_185.h and db.h.
1490
1491 * include/db_185.h: Remove, it's not needed anymore.
1492 * include/db.h: Likewise.
1493
6eace24c
UD
14942000-07-31 Ulrich Drepper <drepper@redhat.com>
1495
68c685f9 1496 * inet/Makefile (tests): Remove tst-ipnode.
6eace24c
UD
1497 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1498 now.
1499
ed80b9ee
UD
15002000-07-31 Jes Sorensen <jes@linuxcare.com>
1501
1502 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1503 endp statements have already been added.
1504
15052000-04-18 David Mosberger <davidm@hpl.hp.com>
1506
1507 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1508 <sysdeps/ia64/sysdep.h>.
1509
1510 * sysdeps/ia64/_mcount.S: New file.
1511
1512 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1513 __gmon_start__. Fix up extraneous whitespace.
1514
15152000-01-12 H.J. Lu <hjl@gnu.org>
1516
1517 * sysdeps/ia64/elf/initfini.c: New file.
1518
15192000-07-31 Jes Sorensen <jes@linuxcare.com>
1520
1521 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1522 dependency between branch and ar.pfs write.
1523
a535ce14
UD
15242000-07-31 H.J. Lu <hjl@gnu.org>
1525
1526 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1527 handle the wchar_t array.
1528
b3cedb09
UD
15292000-07-31 Ulrich Drepper <drepper@redhat.com>
1530
1531 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1532 10646 which are not yet assigned.
1533 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1534
b669ab02
UD
15352000-07-31 Andreas Jaeger <aj@suse.de>
1536
1537 * inet/Versions: Remove getipnodebyaddr and friends from
1538 GLIBC_2.2.
1539
1540 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1541
5134584a
UD
15422000-07-30 Bruno Haible <haible@clisp.cons.org>
1543
1544 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1545 ch >= 0x81 && ch2 < 0x40 as invalid.
1546
15472000-07-30 Bruno Haible <haible@clisp.cons.org>
1548
1549 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1550 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1551
15522000-07-30 Bruno Haible <haible@clisp.cons.org>
1553
1554 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1555 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1556
15572000-07-30 Bruno Haible <haible@clisp.cons.org>
1558
1559 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1560 0xb8.
1561 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1562
15632000-07-30 Bruno Haible <haible@clisp.cons.org>
1564
1565 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1566
15672000-07-30 Bruno Haible <haible@clisp.cons.org>
1568
1569 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1570 (from_ucs4): Change values of U+00A4 and U+00ED.
1571 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1572
15732000-07-30 Bruno Haible <haible@clisp.cons.org>
1574
1575 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1576 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1577
15782000-07-30 Bruno Haible <haible@clisp.cons.org>
1579
1580 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1581 * iconvdata/isiri-3342.h: New file.
1582 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1583 treat 0x80 as a gap.
1584
15852000-07-30 Bruno Haible <haible@clisp.cons.org>
1586
1587 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1588 (utf8_encode): Use simple shifts instead. Fix return value.
1589
89533d41
UD
15902000-07-31 Ulrich Drepper <drepper@redhat.com>
1591
1592 * timezone/private.h: Update from tzcode2000e.
1593 * timezone/asia: Update from tzdata2000e.
1594 * timezone/australasia: Likewise.
1595 * timezone/europe: Likewise.
1596 * timezone/northamerica: Likewise.
1597 * timezone/zone-tab: Likewise.
1598
9316fb42
AJ
15992000-07-30 Ralf Baechle <ralf@gnu.org>
1600
1601 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1602 the order of struct sigaltstack members is different.
1603
e6cc1ee3
UD
16042000-07-26 Philip Blundell <philb@gnu.org>
1605
1606 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1607
a9706118
UD
16082000-07-29 Ulrich Drepper <drepper@redhat.com>
1609
1610 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1611 * locale/programs/ld-ctype.c: Adjust for this.
1612
1613 * locale/programs/ld-collate.c: Add more alignment checks.
1614 * locale/string/strcoll.c: Likewise.
1615
16162000-07-30 Mark Kettenis <kettenis@gnu.org>
1617
1618 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1619 outside USE_IN_LIBIO block.
1620
fb032fbd
UD
16212000-07-26 Philip Blundell <philb@gnu.org>
1622
1623 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1624 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1625
497b8ef4
UD
16262000-07-28 Philip Blundell <philb@gnu.org>
1627
1628 * math/test-fpucw.c: Ignore reserved bits in control word.
1629
16302000-07-28 Philip Blundell <philb@gnu.org>
1631
1632 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1633 (ret): Redefine to PSEUDO_RET.
1634 (PSEUDO): Remove jump to syscall_error.
1635
16362000-07-29 Mark Kettenis <kettenis@gnu.org>
1637
1638 * resolv/README: Add some information about using the resolver in
1639 multi-threaded code and with C++. Spelling fixes.
1640
16412000-07-29 Mark Kettenis <kettenis@gnu.org>
1642
1643 * resolv/resolv.h (struct __sockaddr_in): Remove.
1644 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
1645
41d998a6
GM
16462000-07-29 Greg McGary <greg@mcgary.org>
1647
1648 * Rules (test-bp-inputs, make-test-out): New variables.
1649 ($(objpfx)%-bp.out): New rule.
1650 ($(objpfx)%.out): Rewrite in terms of new variables.
1651
1652 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
1653 internal function that uses vtable.
1654 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1655 * libio/vswprintf.c (_IO_vswprintf): Likewise.
1656
1657 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
1658 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
1659 (chunk_align): Likewise.
1660
1661 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
1662 in a way that conforms to decl, and avoids spurious bounds violation.
1663
1664 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
1665 * sysdeps/generic/frame.h: Likewise.
1666 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
1667 around return value.
1668 (__backtrace): Qualify frame-pointer chain and return address
1669 pointers as __unbounded. Wrap bounds around variable `current'.
1670 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
1671 around return value.
1672 (catch_segfault): Qualify frame-pointer chain and return address
1673 pointers as __unbounded. Wrap bounds around variable `current'.
1674 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
1675 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
497b8ef4
UD
1676 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
1677 __unbounded.
41d998a6
GM
1678 (__backtrace): Qualify frame-pointer chain and return address
1679 pointers as __unbounded. Wrap bounds around variable `current'.
1680
1681 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
1682 * sysdeps/i386/mul_1.S: Likewise.
1683 * sysdeps/i386/submul_1.S: Likewise.
1684 * sysdeps/i386/i586/addmul_1.S: Likewise.
1685 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
1686 * sysdeps/i386/i586/submul_1.S: Likewise.
1687
7f394842
AJ
16882000-07-27 Andreas Jaeger <aj@suse.de>
1689
1690 * libio/Depend: New file, libio needs localedata for tests.
1691 * posix/Depend: Likewise.
1692
69c69fe1
UD
16932000-07-28 Ulrich Drepper <drepper@redhat.com>
1694
1695 * stdio-common/_i18n_itoa.c: Removed.
1696 * stdio-common/_i18n_itoa.h: Removed.
1697 * stdio-common/_i18n_itowa.c: Removed.
1698 * stdio-common/_i18n_itowa.h: Removed.
1699 * stdio-common/_i18n_number.h: New file.
1700 * stdio-common/Depend: New file.
1701 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
1702 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
1703 printing. Change printing of numbers with locale specific digits to
1704 use new code in _i18n_number.h.
c1d835ce
UD
1705 * stdio-common/Makefile (routines): Remove _i18n_itoa and
1706 _i18n_itowa.
69c69fe1
UD
1707
1708 * stdio-common/bug13.c: Improve messages.
1709
1710 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
1711 (set_class_defaults): Always search also for Uxxxx names.
1712 Detect insufficient number of outdigits.
1713
1714 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
1715
5e463393
UD
17162000-07-27 Bruno Haible <haible@clisp.cons.org>
1717
1718 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
1719 _NL_CTYPE_MAP_NAMES.
1720 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
1721 * wctype/wcfuncs.c (towlower, towupper): Use them.
1722 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
1723 * wctype/wctrans.c (wctrans): Likewise.
1724 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1725
17262000-07-27 Bruno Haible <haible@clisp.cons.org>
1727
1728 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
1729 Use the optimized version of this function outside glibc as well.
1730
eac4282f
UD
17312000-07-27 Jakub Jelinek <jakub@redhat.com>
1732
1733 * locale/indigits.h (indigit_value): Correct.
1734 * locale/indigitswc.h (indigitwc_value): Correct.
1735 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
1736 conversion, add GROUP checking for it, fix GROUP number
1737 conversion with strlen(thousands) > 1.
1738 Honour width correctly in the presence of floating
1739 decimal points and thousands separators.
1740 * stdio-common/tst-sscanf.c: New test.
1741 * stdio-common/Makefile: Add it to tests.
1742 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
1743 thousands separators and group argument is non-zero.
1744
f3cfed61
AJ
17452000-07-25 Bruno Haible <haible@clisp.cons.org>
1746
1747 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
1748 starts at GLIBC_2.2.
1749
af9a0841
AJ
17502000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1751
1752 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
1753 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
1754 _test_and_set.
1755 (headers): Add sys/tas.h.
1756 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
1757 GLIBC_2.2 from libc.
1758 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
1759 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
1760 _test_and_set.
1761
00213fe4
AJ
17622000-07-28 Andreas Jaeger <aj@suse.de>
1763
1764 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
1765
1766 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
1767 ($(objpfx)tst-dladdr.out): new.
1768 (tests): Add tst-dladdr.
1769 ($(objpfx)glrefmain): Use libdl.
1770
1771 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
1772 <vs@caldera.de>.
af9a0841 1773
51f46f92
UD
17742000-07-27 Jes Sorensen <jes@linuxcare.com>
1775
1776 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
1777 ftruncate(64) calls.
1778
e4a0c468
UD
17792000-07-27 Jes Sorensen <jes@linuxcare.com>
1780
1781 * intl/tst-translit.c: Include string.h to get prototype for
1782 strcmp().
1783
37d33038
UD
17842000-07-27 Jes Sorensen <jes@linuxcare.com>
1785
1786 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
1787 name and add weak alias for __fork.
1788
1789 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
1790 & pwrite to use __libc_<name> as strong names instead of
1791 __syscall_<name>.
1792
1793 * include/sched.h: Add clone2 prototype.
1794
17952000-07-26 Jes Sorensen <jes@linuxcare.com>
1796
1797 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
1798 procedure name twice.
1799
18002000-07-27 Philip Blundell <philb@gnu.org>
1801
1802 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
1803
aef116ea
AJ
18042000-07-27 Andreas Jaeger <aj@suse.de>
1805
64c81855
AJ
1806 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
1807 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
1808 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
eac4282f 1809 Reported by Andi Kleen <ak@suse.de>.
64c81855 1810
aef116ea
AJ
1811 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
1812 (do_wait): Test requests with aio_return64.
1813 (do_test): Change callers of do_wait.
1814
92806ee9
UD
18152000-07-26 Andreas Jaeger <aj@suse.de>
1816
1817 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
1818 (do_wait): Test requests with aio_return.
1819 (do_test): Change callers of do_wait.
1820
18212000-07-27 Ulrich Drepper <drepper@redhat.com>
1822
1823 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
1824 from request list. Don't do the list handling here, call
1825 __aio_remove_request.
1826 * rt/aio_misc.h: Add prototype for __aio_remove_request.
1827 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
1828 request might already be processed. Don't do the list handling
1829 here, call __aio_remove_request.
1830
1831 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
1832 LIO_DSYNC.
1833
1834 * rt/aio_misc.c: Add comment explaining why writer memory barriers
1835 are missing.
1836
da8f38c5
GM
18372000-07-27 Greg McGary <greg@mcgary.org>
1838
1839 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
1840 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
1841 in union init. Pass zero for ignored semnum arg to semctl.
1842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
1843
d25c879d
GM
18442000-07-26 Greg McGary <greg@mcgary.org>
1845
1846 * sysdeps/gnu/bits/msq.h: Qualify kernel's
1847 data structure pointers as __unbounded.
1848 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1849 * sysdeps/generic/bp-semctl.h: New file.
1850 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
1851 pointers as __unbounded. Check bounds of syscall args.
1852 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1853 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1854 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1855 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1856 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1857 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1858 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1859 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1860 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1861 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1862 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1863 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1864 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1868
476b6d7f
UD
18692000-07-26 Ulrich Drepper <drepper@redhat.com>
1870
1871 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
1872 by default.
1873 * locale/C-ctype.c: Likewise.
1874 * wcsmbs/wcsmbsload.c: Likewise.
1875
2ed5fd9a
GM
18762000-07-26 Greg McGary <greg@mcgary.org>
1877
1878 * Makeconfig (+link-bounded, link-libc-bounded,
1879 link-extra-libs-bounded): New variables.
1880 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
1881 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
1882 * Rules (tests-bp.out): New variable.
1883 (tests): Conditionally add BP tests.
1884 (binaries-bounded): Add variable and associated rule.
1885 * csu/Makefile [build-bounded] (extra-objs, install-lib):
1886 Move conditional stuff after place where condition is defined.
1887
1888 * malloc/malloc.c (bp-checks.h): Add #include.
1889 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
1890 (_bin_at): Add unbounded version of bin_at.
1891 (IAV, chunk_alloc): Use unbounded _bin_at.
1892 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
1893 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
1894 Wrap BOUNDED_N around return value.
1895 (chunk_realloc): Adjust oldsize once.
1896
1897 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
1898 (__ubp_memchr): Add correct decl.
1899 (_CHECK_STRING): Use __ubp_memchr.
1900 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1901 New alias for unbounded-pointer __memchr.
1902 * sysdeps/i386/memchr.S: Likewise.
1903 * sysdeps/ia64/memchr.S: Likewise.
1904 * sysdeps/m68k/memchr.S: Likewise.
1905 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1906 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1907 * sysdeps/vax/memchr.s: Likewise.
1908
1909 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
1910 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
1911 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
1912 * sysdeps/i386/i686/strtok.S: Likewise.
1913 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
1914 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
1915
1916 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
1917 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
1918
1919 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
1920 bounds of copy_result to mount_proc.
1921
e04b831a
UD
19222000-07-25 Bruno Haible <haible@clisp.cons.org>
1923
1924 * wctype/wctype.h (__wctrans_l): New declaration.
1925 * wctype/wctrans_l.c: New file.
1926 * wctype/Makefile (routines): Add wctrans_l.
1927
10301ff8
UD
19282000-07-26 Ulrich Drepper <drepper@redhat.com>
1929
1930 * posix/fnmatch_loop.c: Fixes for use outside glibc.
1931 Patch by MacGyver <macgyver@tos.net>.
1932
9881cbf8
AJ
19332000-07-26 Andreas Jaeger <aj@suse.de>
1934
e04b831a
UD
1935 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
1936 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
9881cbf8
AJ
1937 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
1938
1939 * rt/tst-aio.c (test_file): Fix typo.
1940 * rt/tst-aio64.c (test_file): Likewise.
1941
1942 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
1943 * rt/Makefile: Add rules to build and run tst-aio3.
1944
1945 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
1946 it's not needed and confuses only.
1947
438e8239
UD
19482000-07-26 Ulrich Drepper <drepper@redhat.com>
1949
1950 * resolv/res_init.c: Add support for nameserver communication with
1951 IPv6.
1952 * resolv/res_send.c: Likewise.
1953 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
1954 in nsaddrs field.
1955 Patch by <venaas@nvg.ntnu.no>.
1956
ec08818d
UD
19572000-07-25 Bruno Haible <haible@clisp.cons.org>
1958
1959 * locale/programs/ld-ctype.c (wctype_table_get): New function.
1960 (wcwidth_table_get): New function.
1961 (wcwidth_table_add): Call it.
1962 (wctrans_table_get): New function.
1963 (wctrans_table_add): Call it.
1964
b7ed26c6
UD
19652000-07-25 Ulrich Drepper <drepper@redhat.com>
1966
025a5afa
UD
1967 * rt/lio_listio.c (lio_listio): Always disable individual
1968 notification.
1969 * rt/Makefile: Add rules to build and run tst-aio2.
1970 * rt/tst-aio2.c: New file.
1971
b7ed26c6
UD
1972 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
1973 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
1974
3452aba8
UD
19752000-07-25 Mark Kettenis <kettenis@gnu.org>
1976
1977 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
1978 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
1979 leading and trailing spaces from host, user and domain name.
1980
19812000-07-25 Jes Sorensen <jes@linuxcare.com>
1982
1983 * csu/defs.awk: Add support for need_endp.
1984
19852000-07-25 Mark Kettenis <kettenis@gnu.org>
1986
1987 * resolv/resolv.h: Remove __P from res_send_qhook and
1988 res_send_rhook typedefs.
1989
19902000-07-25 Bruno Haible <haible@clisp.cons.org>
1991
1992 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
1993
16093625
UD
19942000-07-25 Ulrich Drepper <drepper@redhat.com>
1995
1996 * iconv/gconv_builtin.h: Add WCHAR_T alias.
1997
2d3d740b
MK
19982000-07-25 Mark Kettenis <kettenis@gnu.org>
1999
2000 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
2001 calling thread, set the cancellation flag and return success
2002 instead of EINTR.
2003
d54adfd9
UD
20042000-07-25 Ulrich Drepper <drepper@redhat.com>
2005
a3b231b7
UD
2006 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
2007 * libio/tst-widetext.c: New file.
2008 * libio/tst-widetext.input: New file.
2009
2010 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
2011
70e392a3 2012 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
d54adfd9
UD
2013 empty external buffer correctly.
2014
7f6ba52f
AJ
20152000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2016
2017 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
2018 __STRING(entry) and not #entry.
2019 (_RTLD_EPILOGUE): Likewise.
2020 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2021
20222000-07-25 Andreas Jaeger <aj@suse.de>
2023
2024 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
2025 according to changes in test program, run also with static only
2026 builds.
2027 ($(objpfx)tst-printf.out): Likewise.
2028
2029 * stdio-common/tst-unbputc.sh: Likewise.
2030 * stdio-common/tst-printf.sh: Likewise.
2031
9494452c
UD
20322000-07-25 Ulrich Drepper <drepper@redhat.com>
2033
11fd973a
UD
2034 * libio/wfileops.c (_IO_wdo_write): Correct return value.
2035
9494452c
UD
2036 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
2037 loop.
2038
2039 * libio/fileops.c: Pretty print.
2040
ef446144
UD
20412000-07-23 Bruno Haible <haible@clisp.cons.org>
2042
2043 * wctype/wchar-lookup.h: New file.
2044 * wctype/iswctype.c: Include "wchar-lookup.h".
2045 (__iswctype): Support alternate locale format with 3-level tables.
2046 * wctype/iswctype_l.c (__iswctype_l): Likewise.
2047 * wctype/towctrans.c (__towctrans): Likewise.
2048 * wctype/towctrans_l.c (__towctrans_l): Likewise.
2049 * wctype/wcfuncs.c: Include "wchar-lookup.h".
2050 (__ctype32_wctype, __ctype32_wctrans): Declare external.
2051 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
2052 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
2053 __iswxdigit, towlower, towupper): Support alternate locale format
2054 with 3-level tables.
2055 * wctype/wcextra.c (iswblank): Likewise.
2056 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
2057 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2058 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2059 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
2060 format with 3-level tables.
2061 * wctype/wcextra_l.c (__iswblank_l): Likewise.
2062 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
2063 format, return a 3-level table pointer.
2064 * wctype/wctype_l.c (__wctype_l): Likewise.
2065 * wctype/wctrans.c (wctrans): Likewise.
2066 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
2067 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
2068 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
2069 (iswctype): Remove macro definition.
2070 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
2071 (internal_wcwidth): Support alternate locale format with 3-level
2072 tables.
2073 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2074 New nl_items.
2075 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2076 Define them as being type "word".
2077 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
2078 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
2079 __ctype32_width): New exported variables.
2080 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
2081 alternate locale format. Don't initialize __ctype_names and
2082 __ctype_width in the alternate locale format.
2083 * locale/programs/localedef.h (oldstyle_tables): New declaration.
2084 * locale/programs/localedef.c (oldstyle_tables): New variable.
2085 (OPT_OLDSTYLE): New macro.
2086 (options): Add --old-style option.
2087 (parse_opt): Handle --old-style option.
2088 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
2089 map_offset, class_3level, map_3level, width_3level members.
2090 (ctype_output): Support for alternate locale format: Computation of
2091 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
2092 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
2093 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
2094 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
2095 now contain both class and map tables.
2096 (struct wctype_table): New type.
2097 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
2098 functions.
2099 (struct wcwidth_table): New type.
2100 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
2101 functions.
2102 (struct wctrans_table): New type.
2103 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
2104 functions.
2105 (allocate_arrays): Support for alternate locale format: Set
2106 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
2107 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
2108 to the first 256 characters. Compute ctype->map_3level. Set
2109 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
2110 instead of ctype->width.
2111
a64e8af1
UD
21122000-07-24 Ulrich Drepper <drepper@redhat.com>
2113
2114 * libio/iogetwline.c (_IO_getwline_info): Use wide character
2115 string functions.
2116
5bef2820
UD
21172000-07-24 Jakub Jelinek <jakub@redhat.com>
2118
2119 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
2120 in wide characters, not bytes.
2121 * libio/tst_putwc.c (do_test): Add test for writing lots of data
2122 into file.
2123
21242000-07-22 Bruno Haible <haible@clisp.cons.org>
2125
2126 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
2127 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
2128 LC_MEASUREMENT, LC_IDENTIFICATION.
2129
2130 * locale/xlocale.h (struct __locale_struct): Increase size of
2131 __locales array.
2132 * locale/duplocale.c (__duplocale): Copy newly added categories as
2133 well.
2134 * locale/freelocale.c (__freelocale): Free newly added categories.
2135 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
2136 If a base is given, use it, don't simply return it.
2137
21382000-07-22 Bruno Haible <haible@clisp.cons.org>
2139
2140 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
2141 variables, copied_key and copied_salt, instead of boolean variables.
2142
cddad6b2
AJ
21432000-07-24 Andreas Jaeger <aj@suse.de>
2144
02d0efdf
AJ
2145 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
2146 check for offset.
2147
2148 * grp/initgroups.c (initgroups_dyn_function): Renamed from
2149 initgroups_function, adopted prototype for change from 2000-07-23.
2150 (initgroups): Follow type change.
2151
9f4b36ca
AJ
2152 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
2153 & PAGE_MASK case, reformat.
2154
2155 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
2156 from stdin and setup environment.
cddad6b2 2157
9a18638a
AS
21582000-07-24 Andreas Schwab <schwab@suse.de>
2159
2160 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
2161
cf9e9ad9
UD
21622000-07-23 Ulrich Drepper <drepper@redhat.com>
2163
7603ea28
UD
2164 * string/endian.h: Explain the _*_ENDIAN constant values a bit
2165 more. Patch by scarlet@mit.edu [PR libc/1799].
2166
2167 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
2168 [PR libc/1792].
2169
2170 * argp/argp-parse.c (parser_finalize): Reverse order in which
2171 parsers are run for ARGP_KEY_END. [PR libc/1755].
2172
cf9e9ad9
UD
2173 * grp/initgroups.c (initgroups): Don't limit the possible number
2174 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
2175 the setgroups call while the call fails and descrease the number
2176 of groups each round.
2177 The name of the initgroups function in the NSS modules changed.
2178 (compat_call): Adapt for dynamic resizing.
2179 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2180 Implement dynamic resizing.
2181 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2182 Likewise.
2183 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
2184 * hesiod/Versions: Change exported interface name.
2185 * nis/Versions: Change exported interface name.
2186
945b22ed
UD
21872000-07-23 Ulrich Drepper <drepper@redhat.com>
2188
2189 * locale/iso-639.def: Some errors corrected.
2190 Patch by Keld Simonsen.
2191
2192 * include/limits.h: Update non-gcc portion.
2193 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2194
6abc15e9
MK
21952000-07-22 Mark Kettenis <kettenis@gnu.org>
2196
2197 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
2198 program's data space, reallocate only the space that was just
2199 deallocated to release its backing space.
2200
a1d4a3bc
UD
22012000-07-23 Ulrich Drepper <drepper@redhat.com>
2202
6a1fc4ed
UD
2203 * stdio-common/vfprintf.c (process_string_arg): For wide character
2204 version, handle precision also correctly.
2205
3accf5d1
UD
2206 * nss/nss_files/files-hosts.c: Correct problem with three or more
2207 entries with the same name.
2208
a1d4a3bc
UD
2209 * nss/nss_files/files-hosts.c: Implement multi handling.
2210 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2211
3f36c563
UD
22122000-07-22 Ulrich Drepper <drepper@redhat.com>
2213
3b9754f4
UD
2214 * nss/nss_files/files-parse.c: Don't pollute namespace by using
2215 strcasecmp.
2216
3f36c563
UD
2217 * grp/Makefile: Change Makefiles and tests to run only when necessary.
2218 * malloc/Makefile: Likewise.
2219 * malloc/tst-mtrace.sh: Likewise.
2220 * posix/Makefile: Likewise.
2221 * posix/globtest.sh: Likewise.
2222 * posix/wordexp-tst.sh: Likewise.
2223 * string/Makefile: Likewise.
2224
5df3a373
UD
22252000-07-22 Mark Kettenis <kettenis@gnu.org>
2226
2227 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
2228 size instead of LC_ALL to take into account the new locale
2229 categories.
2230
40c014b3
UD
22312000-07-22 Ulrich Drepper <drepper@redhat.com>
2232
04fbc779
UD
2233 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
2234 remainders of hash table.
2235 * locale/categories.def: Remove remainders of transliteration
2236 hash table.
2237 * locale/langinfo.h: Likewise.
2238 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
2239 transliteration tables.
2240
2241 * locale/gen-translit.pl: New file.
2242 * locale/C-translit.h.in: New file.
2243 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
2244 data pointers with data from this file.
2245 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
2246 and gen-translit.pl.
2247 Add rule to generate C-translit.h.
49ba1c12
UD
2248 * intl/tst-translit.c (main): Update for now performed
2249 transliteration.
04fbc779 2250
fcc10ffa
UD
2251 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
2252 (it's no input error).
2253 * stdio-common/tstscanf.c: Add test case for format %f with input --.
2254 * stdio-common/scanf12.c: Correct expected result for first scanf.
2255
40c014b3
UD
2256 * stdio-common/vfprintf.c (process_string_arg): Correct handling
2257 of multibyte character strings in %s format with precision.
2258
dfef32ef
UD
22592000-07-21 Ulrich Drepper <drepper@redhat.com>
2260
d58c3ad0 2261 * locale/programs/ld-collate.c (collate_read): Allow collating
c056ee48 2262 symbols and elements be named in reorder-after instructions.
d58c3ad0
UD
2263 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2264
0c0c8bde
UD
2265 * locale/programs/ld-collate.c (handle_ellipsis): Test for
2266 duplication with generated name, not the name of the first
2267 character.
2268 Patch by Yong Li <yong.li@asu.edu>.
2269
dfef32ef
UD
2270 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
2271 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2272
f74e61f0
UD
22732000-07-21 Wolfram Gloger <wg@malloc.de>
2274
2275 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
2276 allocations only if a non-main arena cannot be extended.
2277
58bad803
UD
22782000-07-21 Ulrich Drepper <drepper@redhat.com>
2279
2280 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
2281 in DF_1_NODEFLIB handling.
2282
c7e6b2e7
AJ
22832000-07-21 Andreas Jaeger <aj@suse.de>
2284
10b36b41
AJ
2285 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
2286 own rule.
2287
c7e6b2e7
AJ
2288 * libio/fwide.c: Include <wchar.h> for prototype.
2289
cb5113c1
GM
22902000-07-21 Greg McGary <greg@mcgary.org>
2291
2292 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
2293 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
2294 Define in terms of chunk_at_offset.
2295 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
2296 (next_bin, prev_bin): offset by size of real array elements.
2297 (chunk_align): Make `m' a scalar, since that's how it's used.
2298
df0f2bf8
GM
22992000-07-21 Greg McGary <greg@mcgary.org>
2300
f74e61f0
UD
2301 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
2302 UNCHECK_BOUNDS.
df0f2bf8
GM
2303 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
2304 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2305 Wrap bounds around argv & envp and each of their string members.
2306 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
2307 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
2308 symbol in BP_SYM (). Discard bounds of address arg.
2309 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
2311 Discard bounds on address arg, add bounds to return value.
2312
2f54c82d
UD
23132000-07-20 Ulrich Drepper <drepper@redhat.com>
2314
fcacb36a
UD
2315 * elf/Makefile (tests): Add filter. Add rules to generate filter.
2316 * elf/filter.c: New file.
2317 * elf/filtmod1.c: New file.
2318 * elf/filtmod2.c: New file.
2319
f53c03c2
UD
2320 * elf/rtld.c: Define _dl_bind_not variable.
2321 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
2322 * elf/dl-support.c: Likewise.
2323 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
2324 * elf/dl-runtime.c (fixup): Don't remember looked up value if
2325 _dl_bind_not.
2326 (profile_fixup): Likewise.
2327
d052b31b
UD
2328 * libio/Makefile (routines): Add fwide.
2329 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
2330 fwide now. Internal calls to _IO_fwide must do locking themselves
2331 or don't need locking.
2332 * libio/fwide.c: New file.
2333
2334 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
266bb989 2335
2cb8cefb
UD
2336 * elf/Makefile: Add no modules for nodelete test.
2337 * elf/nodelmod3.c: New file.
2338 * elf/nodelmod4.c: New file.
2339 * elf/nodelete.c: Also test case where dependency of dlopen() object
2340 is marked nodelete.
2341
2f54c82d 2342 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2cb8cefb
UD
2343 * elf/nodlopen.c: New file.
2344 * elf/nodlopenmod.c: New file.
2f54c82d
UD
2345 * include/dlfcn.h: Define __RTLD_DLOPEN.
2346 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
2347 and this is a dlopen() call, do not load the binary.
2348 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
2349 * dlfcn/dlopenold.c: Likewise.
2350 * configure.in: Add test for -z nodelete option.
2351 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2352
23532000-07-20 Mark Kettenis <kettenis@gnu.org>
2354
2355 Make Hesiod NSS module thread-safe.
2356
2357 * hesiod/README.hesiod: Update.
2358
2359 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
2360 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
2361 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
2362 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
2363 hesiod-proto.
2364 * hesiod/nss_hesiod/hesiod-init.c: New file.
2365 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
2366 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
2367 * hesiod/nss_hesiod/nss_hesiod.h: New file.
2368 * hesiod/nss_hesiod/hesiod-service.c
2369 (_nss_hesiod_getservbyport_r): New function. Provide support for
2370 looking up services by port number.
2371 * hesiod/nss_hesiod/hesiod-proto.c: New file.
2372
2373 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
2374 * hesiod/hesiod.h: Likewise.
2375 * hesiod/hesiod_p.h: Likewise.
2376
23772000-07-20 Mark Kettenis <kettenis@gnu.org>
2378
2379 Fix problems with `struct __res_state' getting too big.
2380 * resolv/resolv.h (struct __sockaddr_in): New definition.
2381 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
2382 the private parts of the structure to save some space.
2383 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
2384 (struct sockaddr_in *) in call to sock_eq.
2385 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
2386
9c38a689
UD
23872000-07-20 Ulrich Drepper <drepper@redhat.com>
2388
bf8b3e74
UD
2389 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
2390 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
2391 with nodelete.
2392 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
2393 to _dl_map_object. Return immediately if no object loaded.
2394 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
2395 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
2396 if it exists into l_flags_1 word.
2397 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
2398 it to determine whether loading is wanted or not.
2399 (_dl_map_object): Likewise.
2400 Call _dl_map_object_from_fd with new parameter.
2401 * sysdeps/generic/ldsodefs.h: Update prototype.
2402 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
2403 * elf/rtld.c: Likewise.
2f54c82d 2404 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
bf8b3e74
UD
2405 * elf/Makefile (tests): Add noload. Add rules to generate noload.
2406 * elf/noload.c: New file.
2407 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
2408 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
2409 * sysdeps/mips/bits/dlfcn.h: Likewise.
0fb7851f
UD
2410 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
2411 (tests-nodelete-yes): Define.
2412 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
2413 Add rules to build nodelete and modules.
2414 * elf/nodelete.c: New file.
2415 * elf/nodelmod1.c: New file.
2416 * elf/nodelmod2.c: New file.
2417 * configure.in: Add test for -z nodelete option.
2418 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
bf8b3e74 2419
9c38a689
UD
2420 * libio/Makefile (tests): Add tst_wprintf2.
2421 (tst_wprintf2-ARGS): Define.
2422 * libio/tst_wprintf2.c: New file.
2423 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
2424
2425 * libio/wfiledoalloc.c: Only allocate external buffer if this
2426 hasn't happened yet.
2427
2428 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
2429 something in the buffer. gconv call can write up to end of the
2430 buffer, not only _IO_write_end.
2431 (_IO_wfile_overflow): Allocate also external buffer.
2432
4e8286ac
UD
24332000-07-19 Ulrich Drepper <drepper@redhat.com>
2434
9c38a689
UD
2435 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
2436 strings with precision in vfwprintf correctly.
2437 * stdio-common/vfprintf.c: Fix completely broken handling of
2438 unbuffered wide character streams.
2439 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2440
4e8286ac
UD
2441 * resolv/Makefile (distribute): Add README.
2442
2443 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
2444
e685e07d
UD
24452000-07-18 Mark Kettenis <kettenis@gnu.org>
2446
2447 Update resolver code to BIND 8.2.3-T5B.
2448
2449 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
2450 __res_nclose.
2451 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
2452 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
2453 __res_search.
2454 * resolv/Banner: BIND-8.2.3-T5B.
2455
2456 * resolv/base64.c: Update from BIND 8.2.3-T5B.
2457 * resolv/herror.c: Likewise.
2458 * resolv/inet_addr.c: Likewise.
2459 * resolv/inet_net_ntop.c: Likewise.
2460 * resolv/inet_net_pton.c: Likewise.
2461 * resolv/inet_neta.c: Likewise.
2462 * resolv/inet_ntop.c: Likewise.
2463 * resolv/nsap_addr.c: Likewise.
2464 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2465 IPv6 addresses (ISC bug #520).
2466
2467 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2468 * resolv/ns_parse.c: Likewise.
2469 * resolv/ns_netint.c: Likewise.
2470 * resolv/ns_samedomain.c: Likewise.
2471 * resolv/ns_ttl.c: Likewise.
2472 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2473 RCS ID in object file.
2474
2475 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2476 * resolv/res_mkquery.c: Likewise.
2477 * resolv/res_query.c: Likewise.
2478 * resolv/res_init.c: Likewise.
2479 (res_setoptions): Mark internal.
2480 * resolv/res_send.c: Likewise.
2481 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2482 by using poll instead.
2483 * resolv/res_comp.c: Likewise.
2484 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2485 weak alias for __dn_expand.
2486 * resolv/res_data.c: Likewise.
2487 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2488 in _res.options. Avoids a potential security risk by avoiding a
2489 close (0).
2490 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2491 res_mkquery, res_query, res_querydomain adn res_search weak
2492 aliases for __res_mkquery, __res_query, __res_querydomain and
2493 __res_search.
2494 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2495 instead to avoid close(0).
2496 (res_init): Always use the static resolver context.
2497 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2498 alias for __res_init.
2499
2500 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2501 RES_SET_H_ERRNO and accompanying comment to...
2502 * include/resolv.h: ... here.
2503
2504 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2505 * resolv/arpa/nameser_compat.h: Likewise.
2506
695a0763
UD
25072000-07-18 Ulrich Drepper <drepper@redhat.com>
2508
247c8869
UD
2509 * nss/makedb.c (main): Compare result of load_db with
2510 NSS_STATUS_SUCCESS and not 0.
2511 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2512
695a0763
UD
2513 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2514
f306e7ff
GM
25152000-07-18 Greg McGary <greg@mcgary.org>
2516
2517 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2518 (EXTEND_BUFFER): Use it.
2519
83142e8f
UD
25202000-07-18 Ulrich Drepper <drepper@redhat.com>
2521
2522 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2523 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2524 __builtin_return_address.
2525 * dlfcn/dlopenold.c: Likewise.
2526 * dlfcn/dlsym.c: Likewise.
2527 * dlfcn/dlvsym.c: Likewise.
2528 * elf/dl-profstub.c: Likewise.
2529 * malloc/malloc.c: Likewise.
2530 * sysdeps/generic/machine-gmon.h: Likewise.
2531 Based on a patch by schwidefsky@de.ibm.com.
2532
626da526
AJ
25332000-07-18 Andreas Jaeger <aj@suse.de>
2534
9f791dcf
AJ
2535 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2536 NULL to elf_machine_fixup_plt t argument to silence GCC.
2537
80f41baa
AJ
2538 * include/string.h: Add prototype for __memchr.
2539
626da526
AJ
2540 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2541
2542 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2543 instead of memrchr.
2544
c6df09ad
UD
25452000-07-18 Ulrich Drepper <drepper@redhat.com>
2546
2547 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2548
2549 * locale/C-ctype.c: Add initializers for gap elements.
2550 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2551 for gap elements.
2552
9aaac141
UD
25532000-07-16 Ulrich Drepper <drepper@redhat.com>
2554
2555 * nscd/nscd.c (print_version): Update copyright year.
2556
4d928e8d
GM
25572000-07-17 Greg McGary <greg@mcgary.org>
2558
2559 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2560 keyletters F, I, S, W. Remove unused keyletter V. Surround
2561 signature argnames with angle-brackets for use as word delimiters,
2562 and to induce syntax errors for any args not handled. Split
2563 multi-echo echoes and comment each stage.
2564 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2565 * sysdeps/unix/inet/syscalls.list: Likewise.
2566 * sysdeps/unix/mman/syscalls.list: Likewise.
2567 * sysdeps/unix/syscalls.list: Likewise.
2568 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2569 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2570 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2571 * sysdeps/unix/sysv/syscalls.list: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2573
14fa17cc
GM
2574 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2575 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2576 qualifiers. Don't check NULL-terminator of argv & envp.
2577 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2578 unbounded pointer type in word-size assertion.
2579 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2580 cases to stifle warnings.
2581
2582 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2583 _IO_file_attach.
2584 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2585
03df72bf
GM
2586 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2587 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2588 ptr as __unbouned.
2589
916c1395
GM
2590 * Makerules (o-objects): Supplement with $(o-objects$o).
2591 * string/Makefile (o-objects.ob): Add variable to pull
2592 unbounded versions of memcpy, memset and memchr into libc_b.
2593
abf70633
GM
2594 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2595 rather than non-existent __ubp_memchr.
2596 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2597 (_CHECK_STRING, _CHECK_N): New macros.
2598 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2599 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2600 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2601 Add weak alias "memchr".
2602 * sysdeps/generic/memchr.c: Likewise.
2603 * sysdeps/i386/memchr.S: Likewise.
2604 * sysdeps/ia64/memchr.S: Likewise.
2605 * sysdeps/m68k/memchr.S: Likewise.
2606 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2607 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2608 * sysdeps/vax/memchr.s: Likewise.
2609
7884bf47
GM
2610 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2611
2612 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2613 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2614 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2615 __BOUNDED_POINTERS__.
2616 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2617 for __BOUNDED_POINTERS__.
2618
8114530a
UD
26192000-07-17 Bruno Haible <haible@clisp.cons.org>
2620
2621 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2622 field of struct __gconv_trans_data differently. Don't pass NULL to
2623 trans_init_fct. Simplify list append operation.
2624
26252000-07-14 Bruno Haible <haible@clisp.cons.org>
2626
2627 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2628 not only those having tsearch.
2629
26302000-07-17 Ulrich Drepper <drepper@redhat.com>
2631
2632 * locale/langinfo.h: Add placeholder values in enum for removed
2633 LC_CTYPE entries.
2634
26352000-07-17 Jakub Jelinek <jakub@redhat.com>
2636
2637 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2638 chain if the PHDR check fails.
2639
26402000-07-17 Mark Kettenis <kettenis@gnu.org>
2641
2642 * nss/getent.c (print_hosts): Make sure we always print a space
2643 between numeric addresses and hostnames.
2644
26452000-07-17 Wolfram Gloger <wg@malloc.de>
2646
2647 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
2648 i.e. if n_mmaps_max>0.
2649
26502000-07-16 Mark Kettenis <kettenis@gnu.org>
2651
2652 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
2653 values to remove possible clash with other AI_* constants.
2654 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
2655 hexadecimal constants to stress the fact they're in fact
2656 bit flags.
2657
26582000-07-15 Mark Kettenis <kettenis@gnu.org>
2659
2660 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
2661 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
2662 instead of res_init.
2663
7f53da19
UD
26642000-07-16 Ulrich Drepper <drepper@redhat.com>
2665
2666 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
2667 parameters of memset calls to avoid warnings.
2668
9ff9add9
UD
26692000-07-15 Ulrich Drepper <drepper@redhat.com>
2670
7f53da19
UD
2671 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
2672 necessary.
2673
9ff9add9
UD
2674 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
2675 Patch by Greg McGary <greg@mcgary.org>.
2676
2677 * io/Makefile (tests): Add tst-getcwd.
2678 * io/tst-getcwd.c: New file.
2679
e0ea35a3
UD
2680 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2681
e993e9cc
UD
26822000-07-15 Jakub Jelinek <jakub@redhat.com>
2683
7f53da19 2684 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
e993e9cc
UD
2685 structure.
2686
26872000-07-13 Jakub Jelinek <jakub@redhat.com>
2688
2689 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
2690 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
2691
101c92fc
UD
26922000-07-12 H.J. Lu <hjl@gnu.org>
2693
2694 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
2695 GLIBC_2.2.
2696 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
2697 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
2698 (sysdep-routines): Add clone2.
2699 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
2700
a9a4127e
UD
27012000-07-13 Jes Sorensen <jes@linuxcare.com>
2702
2703 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
2704 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
2705
27062000-06-05 David Mosberger <davidm@hpl.hp.com>
2707
2708 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
2709 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
2710 Change type of si_band from "int" to "long".
2711 (si_imm) [USE_GNU]: Define
2712 (si_isr) [USE_GNU]: Ditto.
2713 (ILL_BREAK) [USE_GNU]: Ditto.
2714 (FPE_DECOVF) [USE_GNU]: Ditto.
2715 (FPE_DECDIV) [USE_GNU]: Ditto.
2716 (FPE_DECERR) [USE_GNU]: Ditto.
2717 (FPE_INVASC) [USE_GNU]: Ditto.
2718 (FPE_INVDEC) [USE_GNU]: Ditto.
2719 (TRAP_BRANCH) [USE_GNU]: Ditto.
2720 (TRAP_HWBKPT) [USE_GNU]: Ditto.
2721
27222000-07-06 Jes Sorensen <jes@linuxcare.com>
2723
2724 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2725 bits/sigcontext as struct mcontext does not depend on it.
2726
2727 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
2728
27292000-07-04 Jes Sorensen <jes@linuxcare.com>
2730
2731 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
2732
27332000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
2734
2735 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
2736
27372000-06-22 Jes Sorensen <jes@linuxcare.com>
2738
2739 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
2740
4ab8e75a
UD
27412000-07-15 Ulrich Drepper <drepper@redhat.com>
2742
2743 * intl/Makefile (test-srcs): Add tst-translit.
2744 (tests): Likewise.
2745 Add rules to build and run tst-translit.
2746 * intl/tst-translit.c: New file.
2747 * intl/tst-translit.sh: New file.
a9a4127e 2748 * intl/translit.po: New file.
4ab8e75a 2749
7888313d
UD
27502000-07-14 Ulrich Drepper <drepper@redhat.com>
2751
2752 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
2753 transliteration function did its job, continue, don't stop.
2754
2755 * iconvdata/iso646.c: Little optimizations in body for conversion
2756 from UCS4.
2757
ea1efc6f
UD
27582000-07-14 Mark Kettenis <kettenis@gnu.org>
2759
2760 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
2761
c218729d
UD
27622000-07-14 Mark Kettenis <kettenis@gnu.org>
2763
2764 * configure.in: Check for pwd binary.
2765 * config.make.in: Add PWD_P to be subsituted.
2766 * Makerules: Use $(PWD_P) instead of /bin/pwd.
2767
cfd14df5
UD
27682000-07-14 Ulrich Drepper <drepper@redhat.com>
2769
2770 * iconvdata/Makefile (modules): Add GB18030.
2771 (distribute): Add gb18030.c.
2772 * iconvdata/gconv-modules: Add entries for GB18030 module.
2773 * iconvdata/gb18030.c: New file.
2774 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
2775 and Wu Jian.
2776
4ea1f016
AJ
27772000-07-13 Andreas Jaeger <aj@suse.de>
2778
2779 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
2780 patch.
2781
2782 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
2783 * inet/getnetgrent.c (free_mem): Likewise.
2784 * misc/mntent.c (free_mem): Likewise.
2785 * nss/getXXbyYY.c (free_mem): Likewise.
2786 * nss/getXXent.c (free_mem): Likewise.
2787 * pwd/fgetpwent.c (free_mem): Likewise.
2788 * shadow/fgetspent.c (free_mem): Likewise.
2789
f218b5f5
UD
27902000-07-14 Ulrich Drepper <drepper@redhat.com>
2791
2792 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
2793 64-bit architecture correctly [PR libc/1794].
2794
aa4068f2
UD
27952000-07-13 Ulrich Drepper <drepper@redhat.com>
2796
ca3c0135
UD
2797 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
2798 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
2799 report that we are out of memory.
2800 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2801 * elf/dl-libc.c (dlerror_run): Likewise.
2802 * elf/dl-open.c (_dl_open): Likewise.
2803 * elf/rtld.c (dl_main): Likewise.
2804 * elf/dl-error.c: Define _dl_out_of_memory.
383b654b 2805 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
ca3c0135
UD
2806 the error string.
2807 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
383b654b 2808 [PR libc/1813].
ca3c0135
UD
2809
2810 * dlfcn/dlerror.c (free_key_mem): Also free error string.
2811
2812 * iconv/loop.c: Fix comment.
2813
aa4068f2
UD
2814 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
2815
9cd865e0
UD
28162000-07-13 Andreas Jaeger <aj@suse.de>
2817
2818 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
2819 getcwd (NULL, size) with size > 0.
aa4068f2 2820 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
9cd865e0
UD
2821
28222000-07-13 Andreas Jaeger <aj@suse.de>
2823
2824 * posix/Makefile: Remove build rules for libposix.
2825
1338451b
AJ
28262000-07-13 Andreas Schwab <schwab@suse.de>
2827
2828 * sysdeps/generic/glob.c (glob): Fix memory leak.
2829 [SHELL]: Remove reference to undefined variable `files'.
2830 Fixes PR libc/1782.
2831
5f85c7ac
AJ
28322000-07-13 Andreas Jaeger <aj@suse.de>
2833
e940b742
AJ
2834 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
2835 functions.
2836
5f85c7ac
AJ
2837 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
2838 memory if it was allocated.
2839
7039a4c9
UD
28402000-07-12 Ulrich Drepper <drepper@redhat.com>
2841
405b8c60
UD
2842 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
2843 step.
2844
2845 * iconv/gconv_open.c (__gconv_open): Reapply
2846 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2847
aa4068f2 2848 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
405b8c60 2849
7039a4c9
UD
2850 * iconv/gconv_open.c: Undo last two changes for now. They break
2851 everything.
2852
8ca91b36
UD
28532000-07-12 Andreas Jaeger <aj@suse.de>
2854
2855 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
2856 compiler.
2857 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
2858 (CFLAGS-dl-cache.c): Likewise.
2859 (CFLAGS-ldconfig.c): Added, passes directory locations.
2860
2861 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
2862 locate cache.
2863 * elf/ldconfig.c (LD_SO_CONF): Likewise.
2864 (main): Use configured LIBDIR and SLIBDIR.
2865
28662000-07-11 Jakub Jelinek <jakub@redhat.com>
2867
2868 * math/bits/cmathcalls.h (cimag): Add __THROW.
2869 (creal, conj): Likewise.
2870 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
2871 by negative value.
2872
0d655550
UD
28732000-07-12 H.J. Lu <hjl@gnu.org>
2874
2875 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
2876 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
2877
28782000-07-12 Ulrich Drepper <drepper@redhat.com>
2879
2880 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
2881 it is wrong.
2882
9f835f5f
UD
28832000-07-12 Bruno Haible <haible@clisp.cons.org>
2884
2885 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2886
28872000-07-12 Bruno Haible <haible@clisp.cons.org>
2888
2889 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2890 __modname.
2891
28922000-07-12 Bruno Haible <haible@clisp.cons.org>
2893
2894 * iconv/gconv_open.c (__gconv_open): Initialize
2895 result->__steps[cnt].__data.
2896
28972000-07-12 Mark Kettenis <kettenis@gnu.org>
2898
2899 * nss/getent.c (services_keys): Pass port number in network byte
2900 order in call to getservbyport.
2901
29022000-07-11 Andreas Jaeger <aj@suse.de>
2903
2904 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
2905 source dir.
2906 * intl/Makefile (do-gettext-test): Likewise.
2907 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
2908
29092000-07-11 Andreas Schwab <schwab@suse.de>
2910
2911 * Makeconfig (run-program-prefix): New rule.
2912 (built-program-cmd): Use run-program-prefix.
2913
50a65643
UD
29142000-07-12 Ulrich Drepper <drepper@redhat.com>
2915
2916 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
2917 and NOEXPR unconditionally available.
2918
e279e90b
GM
29192000-07-12 Greg McGary <greg@mcgary.org>
2920
2921 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
2922 * sysdeps/posix/open64.c: Likewise.
2923 * sysdeps/generic/fegetenv.c: Likewise.
2924 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2925 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2926 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2927 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2928 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2929 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2930
c62f5cab
GM
29312000-07-11 Greg McGary <greg@mcgary.org>
2932
2933 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
2934 Add extra level of macro expansion.
2935 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
2936 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
2937 is available at the time `select' prototype is declared.
2938 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
2939 Collect non-versioned weak aliases. Consider only non-versioned
2940 aliases for the user-visible systemcall name. Do checks inline with
2941 call to primitive system call.
2942 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
2943 stand-alone bounds checks to suppress unused value warnings.
2944 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2945
f80f1a4a
UD
29462000-07-10 Mark Kettenis <kettenis@gnu.org>
2947
19624ed6
MK
2948 * sysdeps/mach/hurd/check_fds.c: New file. Implements
2949 file descriptor checking in SUID programs for the Hurd.
2950
f80f1a4a
UD
2951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
2952 res_hostalias instead of __hostalias for thread-safety.
2953
47a81620
UD
29542000-07-09 Mark Kettenis <kettenis@gnu.org>
2955
2956 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
2957 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
2958
29592000-07-10 Ulrich Drepper <drepper@redhat.com>
2960
2961 * include/features.h: Include ISO C99 features if the compiler used
2962 is an ISO C99 compiler.
2963 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2964
29652000-07-08 Mark Kettenis <kettenis@gnu.org>
2966
2967 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
2968
02ba6e61
AJ
29692000-07-10 Andreas Jaeger <aj@suse.de>
2970
ab18b1e1
AJ
2971 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
2972 it's overridden by libpthreads.
2973 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2974 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2975 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2978
02ba6e61
AJ
2979 * malloc/Makefile: Run tst-mtrace only with shared libs.
2980
2981 * stdio-common/Makefile: Run unbputc and tst-printf tests only
2982 with shared libs.
2983
29842000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2985
2986 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
2987 that gpreg really points to the GOT section of the calling object.
2988 Scan all PT_LOAD segments of objects for stub_pc, instead of only
2989 checking a start address of first one.
2990 Fix typos.
2991 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
2992 Likewise.
2993
2994 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
2995
989eef3e
AJ
29962000-07-10 Andreas Jaeger <aj@suse.de>
2997
2998 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
2999 (string_alias->strong_alias).
3000
f9812076
MK
30012000-07-08 Mark Kettenis <kettenis@gnu.org>
3002
3003 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
3004
f2c9942e
GM
30052000-07-07 Greg McGary <greg@mcgary.org>
3006
3007 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
3008 have no names without leading underscores.
3009
0755050e
UD
30102000-07-07 Ulrich Drepper <drepper@redhat.com>
3011
6ccf5e67
UD
3012 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
3013 U007E.
3014
0755050e
UD
3015 * stdio-common/Makefile (tests): Remove tst-printf here...
3016 (tests-srcs): ...and add it here.
3017 (distribute): Add tst-unbputc.sh and tst-printf.sh.
3018 Add rules to run tst-printf.sh.
3019 * stdio-common/tst-printf.c: Move code around so that there is really
3020 no further output where it's stated.
3021 * stdio-common/tst-printf.sh: New file.
3022
f5dcffc5
MK
30232000-07-07 Mark Kettenis <kettenis@gnu.org>
3024
3025 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
3026 (do_write): Renamed from pwrite.
3027 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
3028 `struct _IO_cookie_file'.
3029
d6a25063
UD
30302000-07-07 Ulrich Drepper <drepper@redhat.com>
3031
3032 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
3033 detected.
3034 * malloc/tst-mtrace.sh: Run mtrace script.
3035
8ccd2cb1
GM
30362000-07-07 Greg McGary <greg@mcgary.org>
3037
3038 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
3039 Move all three components of a bounded pointer.
3040
89a4f6ff
UD
30412000-07-07 Ulrich Drepper <drepper@redhat.com>
3042
3043 * locale/programs/locale.c (write_locales): Don't simply add all
3044 directories found in the subdir, test whether at least the
3045 LC_CTYPE file is in there.
3046
c0f53cdd
UD
30472000-07-06 Ulrich Drepper <drepper@redhat.com>
3048
2528edd3
UD
3049 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
3050 * iconvdata/euc-kr.c: Likewise.
3051
ca4447d6
UD
3052 * stdio-common/vfprintf.c (process_string_arg): Check result of
3053 wcrtomb call and bail out if it failed.
3054
199d6eb0
UD
3055 * malloc/Makefile (test-srcs): Add tst-mtrace.
3056 (distribute): Add tst-mtrace.sh.
3057 Add rule to run tst-mtrace.sh.
3058 * malloc/tst-mtrace.c: New file.
3059 * malloc/tst-mtrace.sh: New file.
3060
c0f53cdd
UD
3061 * include/signal.h: Declare __libc_sigaction.
3062 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
3063 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
3064 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3065 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3066 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3067 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3069
ca4447d6 3070 * configure.in: Fix CFLAGS-memprofstat.c definition after
c0f53cdd
UD
3071 2000-06-19 change.
3072 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
3073
30742000-07-06 Jakub Jelinek <jakub@redhat.com>
3075
3076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
3077 instead of NULL to elf_machine_fixup_plt t argument.
3078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
3080 cast.
3081
30822000-07-06 Andreas Jaeger <aj@suse.de>
3083
3084 * crypt/Makefile (LDLIBS-cert): Removed.
3085 (LDLIBS-md5c-test): Removed.
3086 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
3087 ($(objpfx)md5c-test): Likewise for md5c-test.out.
3088
f7b0d45a
AJ
30892000-07-06 Andreas Jaeger <aj@suse.de>
3090
3091 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
3092 of the proc system is "proc".
3093
394d3277 3094 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5d7ecaa8 3095 thread library for static programs.
394d3277 3096
1055cf7c
GM
30972000-07-06 Greg McGary <greg@mcgary.org>
3098
4bbb61e4
GM
3099 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
3100 New macros.
3101 * sysdeps/generic/strcpy.c: Add bounds checks.
3102 * sysdeps/unix/fxstat.c: Likewise.
3103 * sysdeps/unix/xstat.c: Likewise.
3104 * sysdeps/unix/common/lxstat.c: Likewise.
3105 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3106 * sysdeps/unix/sysv/linux/execve.c: Likewise.
3107 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3108 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3109 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3110 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3111 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3112 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3113 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3114 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3115 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3116 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3117 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3118 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3119 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3120 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3121 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3122 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3123 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3124 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3125 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3126 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3127 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3128 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3129 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3130 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3131 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3132 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3133 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3134 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3135 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3136 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3137 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3138 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3139 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3141 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3142 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3143 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3144 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3145 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3146 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3147 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3148 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3149 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
3150 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
3151 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3152 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
3153 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3154 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
3155 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
3156 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3157 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3158 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3159 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3160 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3161 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3162 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3163 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
3165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
3169
ca1cde9e
GM
3170 * string/endian.h (__LONG_LONG_PAIR): New macro.
3171 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
3172 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3173 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3174 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3175 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3176 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3177 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3178 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3179 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3180 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3181 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3182 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3183
1055cf7c
GM
3184 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
3185
fe4e204f
AJ
31862000-07-06 Andreas Jaeger <aj@suse.de>
3187
71cebc12
AJ
3188 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3189 Initialize result.
3190
fe4e204f
AJ
3191 * math/test-fpucw.c: Include <stdio.h> for printf.
3192
34173b51
GM
31932000-07-05 Greg McGary <greg@mcgary.org>
3194
3195 * sysdeps/generic/bp-checks.h: New file.
3196 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
3197 with list of #include files.
3198 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3199 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
3200 Don't generate BP thunk if `V' appears in signature.
3201 Generate thunks with complete bounds checks.
3202 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
3203 * sysdeps/unix/inet/syscalls.list: Likewise.
3204 * sysdeps/unix/mman/syscalls.list: Likewise.
3205 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3206 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3207 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3208 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3209
11b34882
UD
32102000-07-05 Ulrich Drepper <drepper@redhat.com>
3211
77432371
UD
3212 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
3213 result. Search first in /etc/mtab (proc/mounts would be stupid).
3214 If mount not in the file fall back on /proc.
3215
11b34882
UD
3216 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
3217 string got copied in.
3218 Patch by Solar Designer <solar@false.com>.
3219
32202000-07-05 Andreas Jaeger <aj@suse.de>
3221
3222 * manual/install.texi (Installation): Update information about
3223 add-ons.
3224 (Configuring and compiling): Update for glibc 2.2.
3225
32262000-07-04 Andreas Jaeger <aj@suse.de>
3227
3228 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
3229 (_FPU_IEEE): Likewise.
3230
3231 * math/Makefile (tests): Add test-fpucw.
3232
3233 * math/test-fpucw.c (main): New file.
3234
f3e29a1a
UD
32352000-07-05 Ulrich Drepper <drepper@redhat.com>
3236
3237 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
3238
3239 * locale/programs/ld-collate.c (collate_output): Also write out the
3240 collation sequence values and the wide character string for the
3241 collation symbol table.
3242
3243 * posix/fnmatch.c: Include "../locale/elem-hash.h".
3244 * posix/fnmatch_loop.c: Implement collating symbol handling.
3245 * posix/tst-fnmatch.input: Add more tests, especially for collating
3246 symbol handling.
3247
3248 * posix/regex.c: Fix comment.
3249
0843ed1c
AJ
32502000-07-05 Andreas Jaeger <aj@suse.de>
3251
a2616aed
AJ
3252 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
3253 (_FPU_GETCW): Remove extra colon.
3254 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3255
0843ed1c
AJ
3256 * posix/fnmatch_loop.c (FCT): Only declare len if
3257 !WIDE_CHAR_VERSION to silence GCC.
3258
3259 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
3260 prototype.
3261 * sysdeps/generic/strchrnul.c: Likewise.
d41293c7
AJ
3262 * sysdeps/generic/strlen.c: Likewise.
3263 * sysdeps/generic/strchr.c: Likewise.
3264 * sysdeps/generic/memchr.c: Likewise.
0843ed1c 3265
3248e3a3
UD
32662000-07-04 Ulrich Drepper <drepper@redhat.com>
3267
ecce00a9
UD
3268 * posix/fnmatch_loop.c: Implement equivalence class handling.
3269 * posix/tst-fnmatch.input: Add tests for equivalence class
3270 handling.
3271
7239b3a4
UD
3272 * posix/fnmatch_loop.c: Improve performance for single-byte
3273 character sets by not using btowc.
3274
ab9afc21
UD
3275 * posix/tst-fnmatch.input: Add tests for locale dependent
3276 behaviour.
3277 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
3278
f5c68a01
UD
3279 * posix/tst-fnmatch.input: Add more test cases.
3280
3248e3a3
UD
3281 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
3282 are not aligned to alignof(md5_uint32) do it before calling
3283 __md5_process_bytes.
3284 * crypt/md5.c: Make sure buffers are aligned.
3285 * crypt/md5.h: Likewise.
3286 Reported by Solar Designer <solar@false.com>.
3287
3288 * crypt/Makefile: Add dependencies for test programs.
3289
3290 * Rules: Define LC_ALL=C in environments of all programs we run.
3291
3292 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
3293
32942000-07-03 H.J. Lu <hjl@gnu.org>
3295
3296 * locale/programs/ld-ctype.c (ctype_output): The size of iov
3297 is 2 + elem + offset, not 2 + elem + offset + 2.
3298
32992000-07-04 Ulrich Drepper <drepper@redhat.com>
3300
3301 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
3302 suite.
3303 * posix/Makefile (tests): Add tst-fnmatch.
3304 (tst-fnmatch-ENV): Define.
3305 * posix/tst-fnmatch.c: New file.
3306 * posix/tst-fnmatch.sh: New file.
3307
a88b96f4
UD
33082000-07-04 NIIBE Yutaka <gniibe@chroot.org>
3309
3310 * locale/programs/charmap.c (charmap_read): Prepend
3311 the condition filename == NULL.
3312
b1fc7a6a
GM
33132000-07-03 Greg McGary <greg@mcgary.org>
3314
293c6b3c 3315 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
a2616aed 3316
98186375
GM
3317 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
3318 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
3319
73c115ed
GM
3320 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
3321 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
3322 (FILEBUF_LITERAL): Add cast for CHAIN init.
3323 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
3324 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3325 Revert type of `fp' to _IO_FILE*.
3326 (_IO_iter_file): Remove cast.
3327 (_IO_iter_next): Elide intermediate member reference.
3328
b1fc7a6a
GM
3329 * sysdeps/powerpc/strchr.S: Check bounds.
3330 Wrap extern symbols in BP_SYM ().
3331
68eefde7 33322000-07-03 Andreas Jaeger <aj@suse.de>
3248e3a3 3333
68eefde7
UD
3334 * dlfcn/Makefile (generated): New.
3335
6f98fd7e
UD
33362000-07-03 Ulrich Drepper <drepper@redhat.com>
3337
3338 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
3339 (__uflow): Likewise.
3340 (__underflow): Likewise.
3341 * libio/wgenops.c (__wunderflow): Likewise.
3342 * stdio-common/tst-unbputc.c: New file.
3343 * stdio-common/tst-unbputc.sh: New file.
3344 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
3345
3346 * po/en_GB.po: New file.
3347 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
3348
40c4c9b5
UD
33492000-07-01 Andreas Jaeger <aj@suse.de>
3350
3351 * intl/Makefile (generated-dirs): New.
3352
3353 * elf/Makefile (generated): trusted-dirs.h is always generated,
3354 move out of build-shared condition.
3355 (generated): Merge the two entries for build-shared.
3356
33572000-07-01 Ulrich Drepper <drepper@redhat.com>
3358
3359 * debug/Makefile (distribute): Add xtrace.sh.
3360
5e087c71
UD
33612000-06-30 Ulrich Drepper <drepper@redhat.com>
3362
a2294e57
UD
3363 * version.h (VERSION): Bump to 2.1.91.
3364
3365 * configure.in: Update warning comment. glibc should not be
3366 broken anymore.
3367
3368 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
3369 ioperm.c, sys/procfs.h, and sys/io.h.
3370
3371 * sysdeps/powerpc/Dist: Add bp-asm.h.
3372
5e087c71
UD
3373 * assert/Depend: Add localedata.
3374 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
3375 (test-assert-perr-ENV): New. Define LANGUAGE=C.
3376
3377 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
3378 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
3379 relocation address to prevent unaligned trap.
3380 Suggested by Richard Henderson <rth@cygnus.com>.
3381
33822000-06-30 Jakub Jelinek <jakub@redhat.com>
3383
3384 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
3385 if redirecting and either redirection is done using defines or
3386 not optimizing.
3387
dbda6079
UD
33882000-06-30 Ulrich Drepper <drepper@redhat.com>
3389
a2294e57 3390 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
b856f875
UD
3391 generated expressions.
3392 Patch by Darren McClelland <dmcclell@zetec.com>.
3393
71d82dbe
UD
3394 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
3395 since zic uses setlocale and gettext but we cannot make it use the
3396 new locale data since zic calls a shell which might not use the
3397 new libc.
3398
3da67f99
UD
3399 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
3400 handling the internation currency symbol. POSIX says that the
3401 fourth character is used to separate the currency symbol from the
3402 value. Therefore it does not have to be printed. But we cannot
3403 remove the space if the currency symbol is printed before the
3404 number since this is what many locales expect.
3da67f99 3405
7f455351
UD
3406 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
3407 whether this information is available.
3408
3409 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
3410 buffers in case the translation is too large. Remember allocated
3411 memory blocks in a list.
3412 (free_mem): Free memory for translations.
3413
3414 * intl/tst-gettext.c: Use correct locale. Improve error messages.
3415
3416 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
3417 information is available set the string length to zero.
3418
dbda6079
UD
3419 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
3420
cb2eb742
GM
34212000-06-30 Greg McGary <greg@mcgary.org>
3422
fa87f403
GM
3423 * sysdeps/powerpc/bp-asm.h: New file.
3424 * sysdeps/powerpc/__longjmp.S: Check bounds.
3425 Wrap extern symbols in BP_SYM ().
3426 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3427 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3428 * sysdeps/powerpc/setjmp.S: Likewise.
3429 * sysdeps/powerpc/add_n.S: Likewise.
3430 * sysdeps/powerpc/addmul_1.S: Likewise.
3431 * sysdeps/powerpc/lshift.S: Likewise.
3432 * sysdeps/powerpc/rshift.S: Likewise.
3433 * sysdeps/powerpc/mul_1.S: Likewise.
3434 * sysdeps/powerpc/sub_n.S: Likewise.
3435 * sysdeps/powerpc/submul_1.S: Likewise.
3436 * sysdeps/powerpc/strlen.S: Likewise.
3437 * sysdeps/powerpc/memset.S: Likewise.
3438 * sysdeps/powerpc/stpcpy.S: Likewise.
3439 * sysdeps/powerpc/strcmp.S: Likewise.
3440 * sysdeps/powerpc/strcpy.S: Likewise.
3441 * sysdeps/powerpc/elf/bzero.S: Likewise.
3442
cb2eb742
GM
3443 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
3444 Line up operands column with tabs.
3445
cb48e60f
UD
34462000-06-30 Ulrich Drepper <drepper@redhat.com>
3447
394679eb
UD
3448 * elf/Makefile (LDFLAGS-origtest): Actually add it.
3449
cb48e60f
UD
3450 * sysdeps/ia64/htonl.S: New file.
3451 * sysdeps/ia64/htons.S: New file.
3452 * sysdeps/ia64/memcpy.S: Replace with version which does not use
3453 floating point registers.
3454 Patches by Dan Pop <Dan.Pop@cern.ch>.
3455
4a3c3ca1
AJ
34562000-06-30 Andreas Jaeger <aj@suse.de>
3457
e8c6a442
AJ
3458 * posix/Makefile (tests): tst-exec and tst-spawn only work with
3459 shared libraries.
3460
4a3c3ca1
AJ
3461 * io/Makefile (CFLAGS-test-lfs.c): New.
3462 (tests): Add test-lfs.
3463
3464 * io/test-lfs.c: New file.
3465
2fc9b742
UD
34662000-06-30 Jakub Jelinek <jakub@redhat.com>
3467
3468 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3469 instruction.
3470
e7262a65
UD
34712000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3472
3473 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3474
34752000-06-29 Jes Sorensen <jes@linuxcare.com>
3476
3477 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3478 alias to the fstatfs call.
3479
3480 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3481 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3482
3483 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3484 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3485
3486 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3487 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3488 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3489 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3490
3491 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3492 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3493
3494 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3495 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3496
3497 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3498 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3499
3500 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3501
c421d4b7
AJ
35022000-06-29 Andreas Jaeger <aj@suse.de>
3503
3504 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3505 with syslog.
3506 (print_err_message): Likewise.
3507 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3508
f175216d
UD
35092000-06-29 Ulrich Drepper <drepper@redhat.com>
3510
e43e0dd6
UD
3511 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3512 used as words is properly aligned.
3513
f175216d
UD
3514 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3515 data files.
3516
e5f88e0c
GM
35172000-06-29 Greg McGary <greg@mcgary.org>
3518
5785c39f
GM
3519 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3520 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3521 length 7..9, just in case...
3522 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3523
e5f88e0c
GM
3524 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3525 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3526 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3527 (PUSH_SIGNAL_MASK): New macro.
3528 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3529 LEAVE is unnecessary. Check bounds of jmp_buf.
3530 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3531 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3532 immediately before tail-call.
3533 * sysdeps/i386/setjmp.S: Likewise.
3534 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3535 * sysdeps/i386/bsd-setjmp.S: Likewise.
3536
d3d89ab3
UD
35372000-06-29 Jakub Jelinek <jakub@redhat.com>
3538
3539 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3540 versioned_symbol.
3541 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3542 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3543 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3544 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3545 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3546 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3547 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3548 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3549
a5707dad
UD
35502000-06-29 Ulrich Drepper <drepper@redhat.com>
3551
3552 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3553 we later need to calling free().
3554 Patch by Matt Wilson <msw@redhat.com>.
3555
a0e5d73a
UD
3556 * stdio-common/tst-printf.c: Add test for above problem.
3557
a5707dad
UD
35582000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3559
3560 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3561 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3562
35632000-06-28 Jes Sorensen <jes@linuxcare.com>
3564
3565 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3566 prototype for abs().
3567 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3568
6fc1dd3f
AJ
35692000-06-23 Andreas Jaeger <aj@suse.de>
3570
3571 * config.h.in: Don't use regparm with bounded pointers.
3572
a748c3c6
UD
35732000-06-29 Ulrich Drepper <drepper@redhat.com>
3574
3575 * stdlib/grouping.h: Correctly handle multibyte thousands
3576 separator and decimal point.
3577 * stdlib/stdtod.c: Likewise.
3578 * sysdeps/generic/strtol.c: Likewise.
3579
3580 * locale/categories.def: Add entries for wide character decimal point
3581 and thousands separator in numeric and monetary category.
3582
35832000-06-28 Ulrich Drepper <drepper@redhat.com>
3584
3585 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3586 second definition and initialization of decimal.
3587
2ca8b1ee
GM
35882000-06-28 Greg McGary <greg@mcgary.org>
3589
a748c3c6
UD
3590 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3591 out.
2ca8b1ee 3592 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
a748c3c6
UD
3593 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3594 in.
3595 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3596 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3597 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3598 THIS, since _IO_JUMPS no longer does it implicitly.
3599 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3600 arg type as (struct _IO_FILE_plus *).
3601 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3602 arg as (_IO_strfile *).
3603 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3604 Declare 1st arg as (_IO_strfile *).
3605 * libio/fileops.c (_IO_new_file_init): Declare
3606 arg type as (struct _IO_FILE_plus *).
3607 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3608 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3609 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3610 Declare iteration pointer as (struct _IO_FILE_plus *).
a748c3c6
UD
3611 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3612 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3613 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3614 * libio/oldstdfiles.c (_IO_list_all): Likewise.
a748c3c6
UD
3615 (_IO_check_libio): Set user-visible handles to
3616 (struct _IO_FILE_plus *).
2ca8b1ee
GM
3617 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3618 to (struct _IO_FILE_plus *).
3619
3620 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3621 whose high bound includes vtable to all functions that will use
3622 vtable. For streambufs, pass pointer whose bounds include struct
3623 _IO_strfile.
3624 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3625 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3626 * libio/iofopen.c (_IO_new_fopen): Likewise.
3627 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3628 * libio/iofopen64.c (_IO_fopen64): Likewise.
3629 * libio/iopopen.c (_IO_new_popen): Likewise.
3630 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3631 * libio/memstream.c (open_memstream): Likewise.
3632 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3633 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3634 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3635 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3636 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3637 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3638 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3639 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3640 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3641 * stdlib/strfmon.c (__strfmon_l): Likewise.
3642 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3643 (vfprintf): Qualify computed-goto targets as unbounded.
3644
72acaddf
UD
36452000-06-28 Ulrich Drepper <drepper@redhat.com>
3646
3647 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
3648 thousands separator correctly.
3649
3650 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
3651 * stdio-common/vfwscanf.c: Likewise.
3652
2d7fb37a
UD
36532000-06-27 Jes Sorensen <jes@linuxcare.com>
3654
3655 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
3656 count into signatures for most calls.
3657
99274b38
UD
36582000-06-28 Ulrich Drepper <drepper@redhat.com>
3659
3660 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
3661 the generic parser now.
3662
aa1b0984
UD
36632000-06-28 Jes Sorensen <jes@linuxcare.com>
3664
3665 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
3666 table entries are 32 bit on the ia64 (as specified by the ABI),
3667 not 64 bit as on the Alpha.
3668
3669 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
3670 change of objects to use 32 bit hash table indices (see above).
3671
36722000-06-28 Jes Sorensen <jes@linuxcare.com>
3673
3674 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
3675 prototype for abs().
3676
07c35131
UD
36772000-06-28 Wolfram Gloger <wg@malloc.de>
3678
3679 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
3680 fails, try mmap_chunk() as a last resort even though n_mmaps_max
3681 may have been reached.
3682
044ff622
UD
36832000-06-28 Ulrich Drepper <drepper@redhat.com>
3684
5295113f
UD
3685 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
3686 symbols in multi-character weights correctly.
3687
f1f1b6b9
UD
3688 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
3689 depending on whether the input string is empty or not.
3690
3691 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
3692 given state and not avoiding this by modifying a local object.
3693 * wcsmbs/wcrtomb.c: Likewise.
3694
3695 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
3696 object since some incomplete characters might be in there.
3697
392ac969 3698 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
72acaddf 3699 sequences with first byte 0x8e correctly.
392ac969 3700
044ff622
UD
3701 * iconvdata/jis0208.h: Remove redundant test.
3702
37696206
UD
37032000-06-27 Ulrich Drepper <drepper@redhat.com>
3704
d1660439
UD
3705 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
3706 Add it where it is needed now.
3707
0e16ecfa
UD
3708 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
3709 the input charset into account when generating the hash table.
3710 (allocate_arrays): Correct setting default width. Not all empty slots
3711 in the table are filled, only those not covert explicitly by the
3712 locale description and in the charset.
3713
37696206
UD
3714 * wctype/towctrans.c (__towctrans): Be graceful and accept error
3715 return values from the wctrans function.
3716
0e16ecfa
UD
3717 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
3718 wide character version.
3719 For %C handling, test correct pointer variable for NULL.
3720
3721 * wcsmbs/wctob.c: Handle WEOF special.
3722
3723 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
3724
3725 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
3726 always-true test to avoid warning.
3727
ebdf53a7
GM
37282000-06-27 Greg McGary <greg@mcgary.org>
3729
3730 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
3731 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
3732 (symbol_version, default_symbol_version): Factor redundant
3733 definitions out of conditional.
ebdf53a7 3734
1cf98aae
UD
37352000-06-27 Jakub Jelinek <jakub@redhat.com>
3736
3737 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
3738 not obstack_blank.
3739
8b943b4a
UD
37402000-06-26 Ulrich Drepper <drepper@redhat.com>
3741
3742 * include/libc-symbols.h (symbol_version): Add extra level of
3743 macro expansion.
3744 (default_symbol_version): Likewise.
3745
f9e7bbce
GM
37462000-06-26 Greg McGary <greg@mcgary.org>
3747
ee63ca21
GM
3748 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
3749 for BP return value & push implicit struct-return pointer to
3750 __errno_location.
3751 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3752 (SYSCALL_ERROR_HANDLER): Likewise.
3753 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3754 (SYSCALL_ERROR_HANDLER): Likewise.
3755
58ff985d
GM
3756 * Makeconfig: Add missing comment.
3757 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
3758 BP-flavored startup object.
3759 ($(objpfx)b$(start-installed-name)): New rule.
3760 * include/libc-symbols.h (symbol_set_declare): Change type
3761 of `__start_##set' and `__stop_##set' to pointer-to-function.
3762 (symbol_set_declare): Change type of `set' to array of
3763 pointer-to-function.
3764 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
3765 pointer-to-function.
3766
7c90419b
GM
3767 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
3768
22fda766
GM
3769 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
3770 Remove clock_* and timer_* entries.
3771 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
3772 arg-count with signatures.
3773
2fc08826
GM
3774 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
3775 Check bounds of arguments.
3776 * sysdeps/i386/addmul_1.S: Likewise.
3777 * sysdeps/i386/lshift.S: Likewise.
3778 * sysdeps/i386/mul_1.S: Likewise.
3779 * sysdeps/i386/rshift.S: Likewise.
3780 * sysdeps/i386/sub_n.S: Likewise.
3781 * sysdeps/i386/submul_1.S: Likewise.
3782 * sysdeps/i386/i586/add_n.S: Likewise.
3783 * sysdeps/i386/i586/addmul_1.S: Likewise.
3784 * sysdeps/i386/i586/lshift.S: Likewise.
3785 * sysdeps/i386/i586/rshift.S: Likewise.
3786 * sysdeps/i386/i586/sub_n.S: Likewise.
3787 * sysdeps/i386/i686/add_n.S: Likewise.
3788
3789 * sysdeps/i386/memchr.S: Likewise.
3790 * sysdeps/i386/memcmp.S: Likewise.
3791 * sysdeps/i386/rawmemchr.S: Likewise.
3792 * sysdeps/i386/i586/bzero.S: Likewise.
3793 * sysdeps/i386/i586/memcpy.S: Likewise.
3794 * sysdeps/i386/i586/mempcpy.S: Likewise.
3795 * sysdeps/i386/i586/memset.S: Likewise.
3796 * sysdeps/i386/i686/bzero.S: Likewise.
3797 * sysdeps/i386/i686/memcpy.S: Likewise.
3798 * sysdeps/i386/i686/mempcpy.S: Likewise.
3799 * sysdeps/i386/i686/memset.S: Likewise.
3800
3801 * sysdeps/i386/stpcpy.S: Likewise.
3802 * sysdeps/i386/stpncpy.S: Likewise.
3803 * sysdeps/i386/strchr.S: Likewise.
3804 * sysdeps/i386/strchrnul.S: Likewise.
3805 * sysdeps/i386/strcspn.S: Likewise.
3806 * sysdeps/i386/strpbrk.S: Likewise.
3807 * sysdeps/i386/strrchr.S: Likewise.
3808 * sysdeps/i386/strspn.S: Likewise.
3809 * sysdeps/i386/strtok.S: Likewise.
3810 * sysdeps/i386/strtok_r.S: Likewise.
3811 * sysdeps/i386/i486/strcat.S: Likewise.
3812 * sysdeps/i386/i486/strlen.S: Likewise.
3813 * sysdeps/i386/i586/strchr.S: Likewise.
3814 * sysdeps/i386/i586/strcpy.S: Likewise.
3815 * sysdeps/i386/i586/strlen.S: Likewise.
3816 * sysdeps/i386/i686/strcmp.S: Likewise.
3817 * sysdeps/i386/i686/strtok.S: Likewise.
3818 * sysdeps/i386/i686/strtok_r.S: Likewise.
3819
3820 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
3821 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3822 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3823 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3824 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3825
f9e7bbce
GM
3826 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
3827 * sysdeps/i386/mul_1.S: Likewise.
3828 * sysdeps/i386/submul_1.S: Likewise.
3829 * sysdeps/i386/i586/add_n.S: Likewise.
3830 * sysdeps/i386/i586/addmul_1.S: Likewise.
3831 * sysdeps/i386/i586/lshift.S: Likewise.
3832 * sysdeps/i386/i586/mul_1.S: Likewise.
3833 * sysdeps/i386/i586/rshift.S: Likewise.
3834 * sysdeps/i386/i586/sub_n.S: Likewise.
3835 * sysdeps/i386/i586/submul_1.S: Likewise.
3836
c000cdad
UD
38372000-06-26 Ulrich Drepper <drepper@redhat.com>
3838
3839 * rt/Makefile (librt-routines): Add clock_nanosleep.
3840 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
3841 * sysdeps/generic/clock_nanosleep.c: New file.
3842 * sysdeps/unix/clock_nanosleep.c: New file.
3843 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
3844 * time/time.h: Declare clock_nanosleep.
3845
43c81906
GM
38462000-06-26 Greg McGary <greg@mcgary.org>
3847
3848 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
3849 INSN1, INSN2, TEXT, GLOBL): Remove macros.
3850 (ALIGN): Cleanup surrounding conditionals.
3851
3852 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
3853 Call ENTER/LEAVE macros.
3854 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
3855 * sysdeps/i386/submul_1.S: Likewise.
3856
3857 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
3858 syntax. Define & use symbolic argument stack offsets. Call
3859 ENTER/LEAVE macros.
3860 * sysdeps/i386/i586/mul_1.S: Likewise.
3861 * sysdeps/i386/i586/submul_1.S: Likewise.
3862
7475d016
UD
38632000-06-25 Greg McGary <greg@mcgary.org>
3864
3865 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
3866 not as bcopy.
3867
07dab0c3
UD
38682000-06-25 Ulrich Drepper <drepper@redhat.com>
3869
8b682b99
UD
3870 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
3871 * iconvdata/gen-8bit-gap.sh: Likewise.
3872 * iconvdata/gen-8bit.sh: Likewise.
3873
3874 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
3875
3876 * locale/programs/ld-collate.c (collate_read): Don't actually read
3877 the copy locale if we are ignoring the content.
3878
45a9eda2
UD
3879 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
3880 unknown character.
3881
07dab0c3
UD
3882 * locale/programs/ld-collate.c: Correct handling of different
3883 collation sections.
3884 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
3885 as extra parameter from which to copy category information.
3886 Change all callers.
3887 (load_locale): Likewise.
3888 * locale/programs/localedef.h: Update prototypes of add_to_readlist
3889 and load_locale.
3890 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
3891 * locale/programs/locfile.h: Likewise.
3892 * locale/programs/locfile-kw.gperf: Add entry for script.
3893 * locale/programs/locfile-token.h: Add tok_script.
3894
3895 * locale/programs/locale.c: Update copyright year.
3896 * locale/programs/localedef.c: Likewise.
3897
eacc6555
AJ
38982000-06-23 Thorsten Kukuk <kukuk@suse.de>
3899
8b682b99
UD
3900 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
3901 Jens Moeller <jens.moeller@waii.com>.
eacc6555 3902
756186e7
UD
39032000-06-24 Ulrich Drepper <drepper@redhat.com>
3904
ae1aff77
UD
3905 * locale/programs/ld-name.c (name_finish): Add missing format
3906 specifier to test for name_fmt.
3907
17955ae2
UD
3908 * locale/programs/ld-address.c (iso639): Correct length of string
3909 elements.
0ea5f1b8 3910 (iso3166): Likewise.
17955ae2
UD
3911
3912 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
756186e7 3913
17955ae2
UD
3914 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
3915 Define.
756186e7
UD
3916
3917 * elf/elf.h (NT_PRFPXREG): Define.
3918
64f022a4
UD
39192000-06-23 Ulrich Drepper <drepper@redhat.com>
3920
3921 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
3922 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
3923
a4b33f03
AS
39242000-06-23 Andreas Schwab <schwab@suse.de>
3925
3926 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
3927 with signatures.
3928
16b02fef
AJ
39292000-06-23 Andreas Jaeger <aj@suse.de>
3930
536f4e87
AJ
3931 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
3932
ffce1bc7
AJ
3933 * io/test-stat.c: Add copyright header, mention Maciej.
3934
16b02fef
AJ
3935 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
3936 SYS_mincore, SYS_madvise): Added.
3937
3938 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
3939 execve.
3940
e7d3a52a
UD
39412000-06-22 Ulrich Drepper <drepper@redhat.com>
3942
e8595e84
UD
3943 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
3944 (CFLAGS-tst_putwc.c): New definition.
3945 * libio/tst_getwc.c: New file.
3946 * libio/tst_getwc.input: New file.
3947 * libio/tst_putwc.c: New file.
3948
e7d3a52a
UD
3949 * include/string.h: Add prototype for __strdup.
3950
6a05c783
GM
39512000-06-22 Greg McGary <greg@mcgary.org>
3952
3953 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
3954 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
3955 Fix signatures.
3956
d2e7a240
UD
39572000-06-23 Jes Sorensen <jes@linuxcare.com>
3958
3959 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
3960
3a10a8bc
UD
39612000-06-22 Jes Sorensen <jes@linuxcare.com>
3962
3963 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
3964
33256e8a
UD
39652000-06-22 Jes Sorensen <jes@linuxcare.com>
3966
3967 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
3968 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
3969
2fcbf75b
UD
39702000-06-22 Ulrich Drepper <drepper@redhat.com>
3971
3972 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
3973 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
3974 and __S_TYPEISSHM.
3975 * sysdeps/mach/hurd/bits/stat.h: Likewise.
3976 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3977 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3978 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3979 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3980 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
3981 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3982 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3983 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3984 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3985 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3986 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3987 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
d0db5a44
UD
3988 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
3989 S_TYPEISSHM.
2fcbf75b 3990
72a96435
AJ
39912000-06-22 Andreas Jaeger <aj@suse.de>
3992
2b22b881
AJ
3993 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
3994 with signatures.
3995
3cfd2d07
AJ
3996 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
3997
72a96435
AJ
3998 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
3999
de568fbe
UD
40002000-06-21 Ulrich Drepper <drepper@redhat.com>
4001
4002 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
4003 ahead.
4004
2b6fb3df
GM
40052000-06-21 Greg McGary <greg@mcgary.org>
4006
4007 * Makerules (elide-routines.*, elide-bp-thunks):
4008 Define unconditionally.
4009
387be087
UD
40102000-06-21 Jes Sorensen <jes@linuxcare.com>
4011
4012 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4013
514f9e32
UD
40142000-06-21 Andreas Jaeger <aj@suse.de>
4015
4016 * io/Makefile (tests): Add test-stat.
4017 (CFLAGS-test-stat.c): New.
4018
4019 * io/test-stat.c: New file from Maciej W. Rozycki
4020 <macro@ds2.pg.gda.pl>.
4021
4cdf2d81
UD
40222000-06-21 Jes Sorensen <jes@linuxcare.com>
4023
4024 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
4025 in __rlimit_resource to make them match the kernel order.
4026 rlim_t is always 64 bit, use __rlim64_t to declare it
4027 unconditionally.
4028
40292000-05-04 Jes Sorensen <jes@linuxcare.com>
4030
4031 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
4032 RLIM_INFINITY before defining it to avoid clash with kernel header
4033
40342000-05-03 Jes Sorensen <jes@linuxcare.com>
4035
4036 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
4037
b1b5152b
UD
40382000-06-21 Ulrich Drepper <drepper@redhat.com>
4039
4040 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
4041
ae0d72a5
AJ
40422000-06-21 Andreas Jaeger <aj@suse.de>
4043
906ec4a2
AJ
4044 * stdio-common/temptest.c: Include <stdlib.h>.
4045 * stdio-common/tst-fileno.c: Likewise.
4046 * stdio-common/scanf4.c: Likewise.
4047 * stdio-common/scanf5.c: Likewise.
4048 * time/clocktest.c: Likewise.
4049 * posix/test-vfork.c: Likewise.
4050 * posix/globtest.c: Likewise.
4051 * io/test-utime.c: Likewise.
4052 * wctype/test_wcfuncs.c: Likewise.
4053 * crypt/cert.c: Likewise.
4054
4055 * stdio-common/tst-printfsz.c: Include <string.h>.
4056 * libio/tst_swscanf.c: Likewise.
4057 * libio/tst_wscanf.c: Likewise.
4058 * posix/runtests.c: Likewise.
4059 * posix/tst-getaddrinfo.c: Likewise.
4060 * posix/wordexp-test.c: Likewise.
4061 * misc/tst-efgcvt.c: Likewise.
4062
4063 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
4064 * nss/test-netdb.c: Likewise.
4065
4066 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
4067 supported kernel for MIPS.
4068
ae0d72a5
AJ
4069 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
4070 * rt/aio_suspend.c: Likewise.
4071
bdf09fab
UD
40722000-06-20 Ulrich Drepper <drepper@redhat.com>
4073
ae0d72a5 4074 * math/libm-test.inc: Include <string.h>.
bdf09fab 4075
697568d1
UD
40762000-06-20 Jes Sorensen <jes@linuxcare.com>
4077
4078 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
4079
40802000-06-20 Jes Sorensen <jes@linuxcare.com>
4081
4082 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
4083 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
4084
40852000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
4086
4087 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
4088
40892000-06-20 Jes Sorensen <jes@linuxcare.com>
4090
4091 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
4092
1b97149d
UD
40932000-06-20 Ulrich Drepper <drepper@redhat.com>
4094
4095 * locale/programs/ld-collate.c (insert_value): Now take string and
4096 length instead of struct token* parameter. Adjust use of token.
4097 (handle_ellipsis): Likewise.
4098 (collate_read): Allow <Uxxxx> names and transform them into names
4099 to be passed to insert_value and handle_ellipsis.
4100
4101 * locale/programs/ld-ctype.c (uninames): New array with names of
4102 digits in <Uxxxxxxxx> format.
4103 (ctype_finish): Correct search for space character value. Likewise
4104 for default outdigits values.
4105
28546617
GM
41062000-06-20 Greg McGary <greg@mcgary.org>
4107
4108 * Makerules (objects): Add BP thunks.
4109
620cdffb
UD
41102000-06-20 Ulrich Drepper <drepper@redhat.com>
4111
4112 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
4113 in width definitions.
4114
a8a9cd6b
AJ
41152000-06-20 Andreas Jaeger <aj@suse.de>
4116
9380bb48
AJ
4117 * sysdeps/mips/fpu/libm-test-ulps: New file.
4118
a8a9cd6b
AJ
4119 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
4120 first.
4121
4122 * sysdeps/mips/fpu/feholdexcpt.c: New file.
4123
4124 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
4125
ea97f90c
UD
41262000-06-19 Ulrich Drepper <drepper@redhat.com>
4127
5d5a23df
UD
4128 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
4129 change in gconv_builtin.h.
4130
ba80a015
UD
4131 * malloc/Makefile: Change all references to memprof into memusage.
4132 * malloc/memprof.c: Rename to...
4133 * malloc/memusage.c: ...this. New file.
4134 * malloc/memprof.sh: Rename to...
4135 * malloc/memusage.sh: ...this. New file.
4136 * malloc/memprofstat.c: Rename to...
4137 * malloc/memusagestat.c: ...this. New file.
fa4a5fe7
UD
4138 * sysdeps/alpha/memprof.h: Rename to..
4139 * sysdeps/alpha/memusage.h: ...this. New file.
4140 * sysdeps/arm/memprof.h: Rename to..
4141 * sysdeps/arm/memusage.h: ...this. New file.
4142 * sysdeps/generic/memprof.h: Rename to..
4143 * sysdeps/generic/memusage.h: ...this. New file.
4144 * sysdeps/i386/memprof.h: Rename to..
4145 * sysdeps/i386/memusage.h: ...this. New file.
4146 * sysdeps/ia64/memprof.h: Rename to..
4147 * sysdeps/ia64/memusage.h: ...this. New file.
4148 * sysdeps/m68k/memprof.h: Rename to..
4149 * sysdeps/m68k/memusage.h: ...this. New file.
4150 * sysdeps/mips/memprof.h: Rename to..
4151 * sysdeps/mips/memusage.h: ...this. New file.
4152 * sysdeps/powerpc/memprof.h: Rename to..
4153 * sysdeps/powerpc/memusage.h: ...this. New file.
4154 * sysdeps/sparc/memprof.h: Rename to..
4155 * sysdeps/sparc/memusage.h: ...this. New file.
4156 * sysdeps/sh/memprof.h: Rename to..
4157 * sysdeps/sh/memusage.h: ...this. New file.
ba80a015 4158
ea97f90c
UD
4159 * elf/sprof.c (print_version): Update year.
4160
4161 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
4162 table entry values. Use D_PTR.
4163 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
4164 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
4165
131bf9f3
UD
41662000-06-20 Jes Sorensen <jes@linuxcare.com>
4167
4168 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4169 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
4170 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
4171 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
4172
41732000-05-05 Jes Sorensen <jes@linuxcare.com>
4174
4175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
4176
0289ab3b
UD
41772000-06-16 Jes Sorensen <jes@linuxcare.com>
4178
4179 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
4180 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
4181 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
4182
4183 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
4184
4185 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
4186 kernel change.
4187
4188 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
4189 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
4190 structure.
4191 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
4192 implementation.
4193
41942000-06-15 Jes Sorensen <jes@linuxcare.com>
4195
4196 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
4197
41982000-06-08 Jes Sorensen <jes@linuxcare.com>
4199
4200 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
4201
d6204268
UD
42022000-06-19 Ulrich Drepper <drepper@redhat.com>
4203
d2dfc5de
UD
4204 * iconv/gconv_int.h (strict gconv_module): Remove all members
4205 associated with regular expressions. Use a simple string as the
4206 from name.
4207 * iconv/gconv_db.c: Remove code handling regular expressions.
4208 * iconv/gconv_conf.c: Likewise.
4209 * iconv/iconv_prog.c: Likewise.
4210 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
4211
d6204268
UD
4212 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
4213 General namespace cleanup.
4214 (struct __gconv_trans_data): Add next field.
4215 (struct __gconv_step_data): Make __trans a pointer.
4216 * iconv/gconv_conf.c: Split out code to find gconv directories from
4217 __gconv_read_conf in new functions.
4218 * iconv/gconv_int.h: Define new data structure and declare new
4219 functions for handling of gconv directory list.
4220 * iconv/gconv_open.c: Allow more than one error handling step being
4221 used. Call function to load error handling module if it is none
4222 of the builtin transformations.
4223 * iconv/gconv_close.c: Add code to free transliteration data.
4224 * iconv/gconv_trans.c: Add functions to load and unload modules
4225 implementing transliteration etc.
4226 * iconv/skeleton.c: Call all context functions now that more than
4227 one module is allowed.
4228 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
4229 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
4230 where the full error handling using transliteration is needed.
4231 * iconvdata/8bit-gap.c: Likewise.
4232 * iconvdata/8bit-generic.c: Likewise.
4233 * iconvdata/ansi_x3.110.c: Likewise.
4234 * iconvdata/big5.c: Likewise.
4235 * iconvdata/big5hkscs.c: Likewise.
4236 * iconvdata/euc-cn.c: Likewise.
4237 * iconvdata/euc-jp.c: Likewise.
4238 * iconvdata/euc-kr.c: Likewise.
4239 * iconvdata/euc-tw.c: Likewise.
4240 * iconvdata/gbgbk.c: Likewise.
4241 * iconvdata/gbk.c: Likewise.
4242 * iconvdata/iso-2022-cn.c: Likewise.
4243 * iconvdata/iso-2022-jp.c: Likewise.
4244 * iconvdata/iso-2022-kr.c: Likewise.
4245 * iconvdata/iso646.c: Likewise.
4246 * iconvdata/iso8859-1.c: Likewise.
4247 * iconvdata/iso_6937-2.c: Likewise.
4248 * iconvdata/iso_6937.c: Likewise.
4249 * iconvdata/johab.c: Likewise.
4250 * iconvdata/sjis.c: Likewise.
4251 * iconvdata/t.61.c: Likewise.
4252 * iconvdata/uhc.c: Likewise.
4253 * iconvdata/unicode.c: Likewise.
4254 * iconvdata/utf-16.c: Likewise.
4255 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
4256 structure correctly after last change.
4257 * wcsmbs/btowc.c: Likewise.
4258 * wcsmbs/mbrtowc.c: Likewise.
4259 * wcsmbs/mbsnrtowcs.c: Likewise.
4260 * wcsmbs/mbsrtowcs.c: Likewise.
4261 * wcsmbs/wcrtomb.c: Likewise.
4262 * wcsmbs/wcsnrtombs.c: Likewise.
4263 * wcsmbs/wcsrtombs.c: Likewise.
4264 * wcsmbs/wctob.c: Likewise.
4265
4266 * localedata/Makefile: Set -Wno-format for some files since gcc does
4267 not know all the format specifiers.
4268
42692000-06-18 Ulrich Drepper <drepper@redhat.com>
4270
4271 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
4272 unneeded code.
4273 * locale/lc-time.c (_nl_init_era_entries): Likewise.
4274
85577882
AJ
42752000-06-18 Andreas Jaeger <aj@suse.de>
4276
4277 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
4278 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4279
a8e4c924
UD
42802000-06-17 Ulrich Drepper <drepper@redhat.com>
4281
89ffa8a8
UD
4282 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
4283 LINUX_LINK_MAX.
4284 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
a9c464ab 4285
498b733e
UD
4286 * locale/programs/ld-ctype.c (ctype_output): Really write out
4287 mboutdigits information.
4288 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
4289 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
4290 * localedata/tests/trans.def: Add outdigit information.
4291
4292 * localedata/tst-mbswcs3.c: Remove comment.
4293
9d54e984 4294 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
ce723583
UD
4295 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
4296 * libio/tst_wprintf.c (main): Add test for I flag.
9d54e984 4297
a8e4c924
UD
4298 * iconv/gconv_trans.c: Implement handling if translit_ignore.
4299 * locale/langinfo.h: Add entries for translit_ignore information.
4300 * locale/categories.def: Add entries for new LC_CTYPE elements.
4301 * locale/C-ctype.c: Add initializers for new fields. Use NULL
4302 pointer instead of "" where possible.
4303 * locale/programs/ld-ctype.c: Write out translit_ignore information.
4304 * intl/Depend: Add localedata.
4305 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
4306 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
4307
323fb88d
UD
43082000-06-16 Ulrich Drepper <drepper@redhat.com>
4309
1d96d74d
UD
4310 * locale/langinfo.h: Add entries for default_missing information.
4311 * locale/C-ctype.c: Add initializers for new fields.
4312 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
4313 information.
4314 * locale/categories.h: Add entries for all LC_CTYPE values.
4315 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
4316 information.
4317
4318 * localedata/tst-trans.c: Write out an error message if class is
4319 not found.
4320
323fb88d
UD
4321 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
4322 * iconv/gconv_open.c: Remove error handling specification from `from'
4323 character set name.
4324 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
4325 new parameter to always enable transliteration.
4326 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
4327 change.
4328 (struct locale_data): Add new members use_translit and options.
4329 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
4330 character set name contained modifier TRANSLIT.
4331 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
4332 and options fields.
4333 (_nl_unload_locale): Free options string if necessary.
4334 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
4335 the locale names suggested this.
4336 * locale/C-address.c: Add two new initialilzers to adjust data
4337 structure for new format.
4338 * locale/C-collate.c: Likewise.
4339 * locale/C-ctype.c: Likewise.
4340 * locale/C-identification.c: Likewise.
4341 * locale/C-measurement.c: Likewise.
4342 * locale/C-messages.c: Likewise.
4343 * locale/C-monetary.c: Likewise.
4344 * locale/C-name.c: Likewise.
4345 * locale/C-numeric.c: Likewise.
4346 * locale/C-paper.c: Likewise.
4347 * locale/C-telephone.c: Likewise.
4348 * locale/C-time.c: Likewise.
4349
4350 * locale/setlocale.c: Add some more __builtin_expect.
4351
f1d5c60d
UD
43522000-06-15 Ulrich Drepper <drepper@redhat.com>
4353
4354 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
4355 unsigned char **.
4356 (__gconv_init_fct): Remove two parameters.
4357 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
4358 gconv_transliterate. Remove two parameters.
4359 Change prototypes of builtin functions according to __gconv_fct change.
4360 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
4361 != NULL only during error handling. Stop in this case after the
4362 conversion.
4363 * iconv/gconv_trans.c: Replace with real implementation for
4364 __gconv_transliterate.
4365 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
4366 * iconv/gconv.c: Change calls to downstream functions once again.
4367 Use NULL for the fifth parameter instead of pointer to output buffer.
4368 * libio/iofwide.c: Likewise.
4369 * wcsmbs/btowc.c: Likewise.
4370 * wcsmbs/mbrtowc.c: Likewise.
4371 * wcsmbs/mbsnrtowcs.c: Likewise.
4372 * wcsmbs/mbsrtowcs.c: Likewise.
4373 * wcsmbs/wcrtomb.c: Likewise.
4374 * wcsmbs/wcsnrtombs.c: Likewise.
4375 * wcsmbs/wcsrtombs.c: Likewise.
4376 * wcsmbs/wctob.c: Likewise.
4377 * iconv/gconv_simple.c: Remove two parameters from error handling
4378 function call.
4379 * iconvdata/8bit-gap.c: Likewise.
4380 * iconvdata/8bit-generic.c: Likewise.
4381 * iconvdata/ansi_x3.110.c: Likewise.
4382 * iconvdata/big5.c: Likewise.
4383 * iconvdata/big5hkscs.c: Likewise.
4384 * iconvdata/euc-cn.c: Likewise.
4385 * iconvdata/euc-jp.c: Likewise.
4386 * iconvdata/euc-kr.c: Likewise.
4387 * iconvdata/euc-tw.c: Likewise.
4388 * iconvdata/gbgbk.c: Likewise.
4389 * iconvdata/gbk.c: Likewise.
4390 * iconvdata/iso-2022-cn.c: Likewise.
4391 * iconvdata/iso-2022-jp.c: Likewise.
4392 * iconvdata/iso-2022-kr.c: Likewise.
4393 * iconvdata/iso646.c: Likewise.
4394 * iconvdata/iso8859-1.c: Likewise.
4395 * iconvdata/iso_6937-2.c: Likewise.
4396 * iconvdata/iso_6937.c: Likewise.
4397 * iconvdata/johab.c: Likewise.
4398 * iconvdata/sjis.c: Likewise.
4399 * iconvdata/t.61.c: Likewise.
4400 * iconvdata/uhc.c: Likewise.
4401 * iconvdata/unicode.c: Likewise.
4402 * iconvdata/utf-16.c: Likewise.
4403
f5361098
UD
44042000-06-15 Greg McGary <greg@mcgary.org>
4405
4406 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
4407 of callnum assignment. Tolerate callnum expressions containing
4408 parens.
4409
6bca0305
UD
44102000-06-14 Ulrich Drepper <drepper@redhat.com>
4411
18b149d8
UD
4412 * login/Makefile (utmpd): Remove rule to build utmpd.
4413
4414 * csu/Versions: Move libgcc frame handling functions from here...
4415 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
4416 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
4417 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
4418 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
4419 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
4420 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
4421 New file.
fcf81e81 4422 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
18b149d8 4423
9ca23765
UD
4424 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
4425
6bca0305
UD
4426 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
4427
e26dd47f
UD
44282000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4429
4430 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
4431 compatibility.
4432 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
4433 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
4434 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
4435 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
4436
44372000-06-14 Jakub Jelinek <jakub@redhat.com>
4438
4439 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
4440 defined, terminate quotes and read them after the comment char.
4441 * configure.in (HAVE_SECTION_QUOTES): Test whether
4442 __attribute__((section ("x"))) puts quotes around x or not.
4443 * config.h.in (HAVE_SECTION_QUOTES): Add.
4444 * configure: Rebuilt.
4445
e85db9de
AJ
44462000-06-14 Andreas Jaeger <aj@suse.de>
4447
cee49e0c
AJ
4448 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
4449 depending on the configure option --sysconfdir.
e3978a35
UD
4450 Closes PR libc/1762.
4451 Patch by Andreas Schwab <schwab@suse.de>.
cee49e0c 4452
e85db9de
AJ
4453 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
4454 entry point.
4455 Reported by Jim Pick <jim@jimpick.com>.
4456
594cee6c
UD
44572000-06-14 Ulrich Drepper <drepper@redhat.com>
4458
4459 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
4460 crashing the application. Emit some simple error message.
4461 Reported by mju@panasas.com [PR libc/1769].
4462
b8d36e83
UD
44632000-06-13 Ulrich Drepper <drepper@redhat.com>
4464
1bfae401
UD
4465 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4466
46462326
UD
4467 * crypt/Makefile (distribute): Add md5.h.
4468
cf2964e2
UD
4469 * Makefile (distribute): Add include/shlib-compat.h.
4470
002ab034
UD
4471 * Make-dist: Search for tests also in sysdeps hierachy.
4472
afa0569f
UD
4473 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4474 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4475
4476 * sysdeps/sparc/Subdirs: New file.
4477
4478 * locale/Makefile (distribute): Add weightwc.h and
4479 programs/localedef.h.
4480
4481 * time/Makefile (distribute): Add datemsk.
4482
4483 * sysdeps/ia64/Dist: Add softpipe.h.
4484
4485 * sysdeps/unix/sysv/aix/Dist: New file.
4486
4487 * posix/setpgrp.c: Moved to...
4488 * sysdeps/generic/setpgrp.c: ...here. New file.
4489 * io/mknod.c: Moved to...
4490 * sysdeps/generic/mknod.c: ...here. New file.
4491
4492 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4493
4494 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4495
4496 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4497
4498 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4499 gprsave0.S, gprrest1.S, and gprrest0.S.
4500
4501 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4502
4503 * posix/Makefile (routines): Add spawnattr_getsigmask,
4504 spawnattr_getschedpolicy, spawnattr_getschedparam,
4505 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4506 spawnattr_setschedparam.
4507 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4508 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4509 posix_spawnattr_setschedparam.
4510
4511 * posix/spawnattr_setschedparam.c: Fix typo.
4512
4513 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4514 Correct typo.
4515
4516 * login/programs/utmpd.c: Removed.
4517 * login/programs/utmpd.h: Removed.
4518 * login/programs/utmpd-private.h: Removed.
4519
4520 * Makefile (distribute): Add include/db_185.h and include/db.h.
4521
4522 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4523 iso-ir-165.h.
4524
4525 * elf/Makefile (distribute): Add missing files.
4526
4527 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4528 * elf/eval.c: Moved to...
4529 * dlfcn/eval.c: ...here. New file.
4530
4531 * Makefile (distribute): Also distribute ChangeLog.1?.
4532
490dc9aa
UD
4533 * Make-dist (+tsrcs): Remove .args handling here as well.
4534
7ae1fe4d
UD
4535 * rt/Makefile (tests): Add tst-timer.
4536 * sysdeps/generic/tst-timer.c: New file.
4537
5539d257
UD
4538 * Makerules (sources): Don't add BP sources here.
4539
4540 * login/Makefile (distribute): Remove xtmp.h.
4541
b8d36e83
UD
4542 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4543 is true. Reported by Bruno Haible <haible@ilog.fr>.
4544
f7b94528
AJ
45452000-06-13 Andreas Jaeger <aj@suse.de>
4546
4547 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4548 Patch by Ralf Baechle <ralf@gnu.org>.
4549
ab95290c
UD
45502000-06-13 Ulrich Drepper <drepper@redhat.com>
4551
b4e3d964
UD
4552 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4553 for mincore syscall.
4554
ab95290c
UD
4555 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4556 __BOUNDED_POINTERS__ is not defined.
4557
45582000-06-07 Greg McGary <greg@mcgary.org>
4559
4560 * sysdeps/generic/bp-sym.h: New file.
4561 * sysdeps/generic/bp-start.h: New file.
4562 * sysdeps/i386/elf/start.S: Designate BP symbols.
4563 * sysdeps/generic/libc-start.c: Wrap bounds around
4564 argv & envp and each of their string members.
4565
45662000-06-07 Greg McGary <greg@mcgary.org>
4567
4568 * sysdeps/unix/make-syscalls.sh: Add comments to
4569 output that aid debugging & comprehension.
4570 Map simple syscall signatures to number of args.
4571 Generate BP syscall thunk definitions.
4572 * sysdeps/generic/bp-thunks.h: New file.
4573 * sysdeps/unix/syscalls.list: Replace arg-count with
4574 simple return+arg signature.
4575 * sysdeps/unix/common/syscalls.list: Likewise.
4576 * sysdeps/unix/inet/syscalls.list: Likewise.
4577 * sysdeps/unix/mman/syscalls.list: Likewise.
4578 * sysdeps/unix/sysv/syscalls.list: Likewise.
4579 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4581
45822000-06-07 Greg McGary <greg@mcgary.org>
4583
ee63ca21
GM
4584 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4585 for all files *.[cS].
ab95290c
UD
4586 (CFLAGS-.ob): Don't optimize sibling calls.
4587 (bppfx): New variable.
4588 * Makerules (elide-bp-thunks): New variable.
4589 (elide-routines.*): Elide BP-* files for all but *.ob.
4590 (sources): Include bp-thunks.
4591
4b40cff4
UD
45922000-06-12 Ulrich Drepper <drepper@redhat.com>
4593
ab95290c
UD
4594 * iconv/gconv_simple.c: Remove unnecessary prototype.
4595
4596 * iconv/gconv_trans.c: Pretty print.
4597
a5c88158
UD
4598 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4599
48d0c5d8
UD
4600 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4601 minimal kernel versions. Add information about IA-64 kernel.
4602
003a02c6
UD
4603 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4604 specific minimal supported kernel versions to be specified.
4605
ff048a13
UD
4606 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4607 step data structure.
4608 * wcsmbs/btowc.c: Likewise.
4609 * wcsmbs/mbrtowc.c: Likewise.
4610 * wcsmbs/mbsnrtowcs.c: Likewise.
4611 * wcsmbs/mbsrtowcs.c: Likewise.
4612 * wcsmbs/wcrtomb.c: Likewise.
4613 * wcsmbs/wcsnrtombs.c: Likewise.
4614 * wcsmbs/wcsrtombs.c: Likewise.
4615 * wcsmbs/wctob.c: Likewise.
4616
0aaf6d96
UD
4617 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4618 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4619
6e62dceb
UD
4620 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4621
fbedbe9d
UD
4622 * misc/sys/cdefs.h: Remove one more __P.
4623
04cdaa08 4624 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
0da2f50b
UD
4625 Reported by HJ Lu.
4626
4b40cff4
UD
4627 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4628 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4629 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4630
88615235
UD
46312000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4632 Yutaka Niibe <gniibe@chroot.org>
4633
4634 * configure.in: Add machine sh3, sh4.
4635 * elf/elf.h: Add SH specific declarations of relocations.
4636 * shlib-versions: Add sh*-*-linux* cases.
4637
37fb8add
UD
46382000-06-12 Ulrich Drepper <drepper@redhat.com>
4639
9405414f
UD
4640 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4641 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4642 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
4643 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
4644 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
4645 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
4646
afa0db7a
UD
4647 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
4648 instead of KERNEL_MATH_EMULATION.
4649 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
4650 KERNEL_MATH_EMULATION.
4651
65074d23
UD
4652 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
4653 * sysdeps/sh/sh3/dl-machine.h: Moved to...
4654 * sysdeps/sh/dl-machine.h: ...here. New file.
4655 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
4656 and include generic SH version.
4657 * sysdeps/sh/sh3/bits/endian.h: Move to...
4658 * sysdeps/sh/bits/endian.h: ...here. New file.
4659 * sysdeps/sh/sh4/bits/endian.h: Removed.
4660 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
4661 * sysdeps/sh/bits/huge_val.h: ...here. New file.
4662 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
4663
37fb8add 4664 * include/libc-symbols.h (link_warning): Work around a change in
65074d23
UD
4665 GAS which warns about changing section attributes.
4666 Proposed by Nick Clifton <nickc@redhat.com>.
37fb8add 4667
2caacb0a
UD
46682000-06-12 H.J. Lu <hjl@gnu.org>
4669
4670 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
4671
46722000-06-11 H.J. Lu <hjl@gnu.org>
4673
4674 * sysdeps/i386/fpu/Versions: New file.
4675
4d37e19c
UD
46762000-06-12 Ulrich Drepper <drepper@redhat.com>
4677
4678 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
4679 parameters.
4680 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
4681 exists.
4682
30010c63
UD
46832000-06-12 Jes Sorensen <jes@linuxcare.com>
4684
4685 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
4686 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
4687 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
4688
4689 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
4690 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
4691 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
4692
3846ef75
UD
46932000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4694 Yutaka Niibe <gniibe@chroot.org>
4695
4696 * sysdeps/sh/Dist: New file.
4697 * sysdeps/sh/Implies: New file.
65074d23 4698 * sysdeps/sh/elf/initfini.c: New file.
3846ef75
UD
4699 * sysdeps/sh/gmp-mparam.h: New file.
4700 * sysdeps/sh/init-first.c: New file.
4701 * sysdeps/sh/machine-gmon.h: New file.
4702 * sysdeps/sh/memcpy.S: New file.
4703 * sysdeps/sh/memprof.h: New file.
4704 * sysdeps/sh/memset.S: New file.
4705 * sysdeps/sh/sh3/__longjmp.S: New file.
4706 * sysdeps/sh/sh3/bits/endian.h: New file.
4707 * sysdeps/sh/sh3/bits/huge_val.h: New file.
4708 * sysdeps/sh/sh3/bits/setjmp.h: New file.
4709 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
4710 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
4711 * sysdeps/sh/sh3/dl-machine.h: New file.
3846ef75 4712 * sysdeps/sh/sh3/setjmp.S: New file.
3846ef75
UD
4713 * sysdeps/sh/sh4/__longjmp.S: New file.
4714 * sysdeps/sh/sh4/bits/endian.h: New file.
4715 * sysdeps/sh/sh4/bits/huge_val.h: New file.
4716 * sysdeps/sh/sh4/bits/setjmp.h: New file.
4717 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
4718 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
4719 * sysdeps/sh/sh4/dl-machine.h: New file.
3846ef75
UD
4720 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
4721 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
4722 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
4723 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
4724 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
4725 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
4726 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
4727 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
4728 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
4729 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
4730 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
4731 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
4732 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
4733 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
4734 * sysdeps/sh/sh4/setjmp.S: New file.
65074d23
UD
4735 * sysdeps/sh/elf/start.S: New file.
4736 * sysdeps/sh/sys/ucontext.h: New file.
3846ef75
UD
4737 * sysdeps/sh/strlen.S: New file.
4738 * sysdeps/sh/sysdep.h: New file.
4739 * sysdeps/unix/sh/sysdep.S: New file.
4740 * sysdeps/unix/sh/sysdep.h: New file.
4741 * sysdeps/unix/sysv/linux/sh/Dist: New file.
4742 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
4743 * sysdeps/unix/sysv/linux/sh/Versions: New file.
4744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
4745 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
4746 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
4747 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
4748 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
4749 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
4750 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
4751 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
4752 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
4753 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
4754 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
4755 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
4756 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
4757 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
4758 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
4759 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
4760 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
4761 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
4762 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
4763 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
4764 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
4765 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
4766 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
4767 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
4768 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
4769 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
4770 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
4771 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
4772 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
4773 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
4774 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
4775 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
4776 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
4777 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
4778 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
4779 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
4780 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
4781 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
4782 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
4783 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
4784 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4785 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
4786 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
4787 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
4788 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
4789 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
4790 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
4791
55985355
UD
47922000-06-12 Ulrich Drepper <drepper@redhat.com>
4793
4794 * Rules (%.out): Define GCONV_PATH in the environment.
4795 * assert/Depend: New file.
4796 * iconvdata/Depend: New file.
4797 * intl/Depend: New file.
4798 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
4799 * intl/tst-gettext.sh: Likewise.
4800 * iconv/Makefile (routines): Add gconv_trans.
4801 * iconv/gconv_trans.c: New file.
4802 * iconv/gconv.h (struct __gconv_trans_data): New type.
4803 (__gconv_fct): New parameter with starting position in output buffer.
4804 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
4805 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
4806 (struct __gconv_step): Add new member __trans.
4807 * iconv/gconv_int.h: Pretty print prototypes.
4808 (gconv_transliterate): New prototype.
4809 (__BUILTIN_TRANS): Update for new conversion function interface.
4810 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
4811 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
4812 in names, find appropriate function, and install in the conversion
4813 steps it can be used.
4814 * iconv/skeleton.c: Add additional parameter for beginning of output
4815 buffer. Change calls of downstream functions.
4816 * iconv/loop.c: Change loop function interface completely. Pass in
4817 step and step_data structure. Remove optimization for BODY with
4818 NEED_LENGTH_TEST == 0.
4819 * iconv/gconv_simple.c: Update interfaces of functions. Insert
4820 appropriate error handling code to use transliteration steps. Remove
4821 optimization for BODY with NEED_LENGTH_TEST == 0.
4822 * iconvdata/8bit-gap.c: Likewise.
4823 * iconvdata/8bit-generic.c: Likewise.
4824 * iconvdata/ansi_x3.110.c: Likewise.
4825 * iconvdata/big5.c: Likewise.
4826 * iconvdata/big5hkscs.c: Likewise.
4827 * iconvdata/euc-cn.c: Likewise.
4828 * iconvdata/euc-jp.c: Likewise.
4829 * iconvdata/euc-kr.c: Likewise.
4830 * iconvdata/euc-tw.c: Likewise.
4831 * iconvdata/gbgbk.c: Likewise.
4832 * iconvdata/gbk.c: Likewise.
4833 * iconvdata/iso-2022-cn.c: Likewise.
4834 * iconvdata/iso-2022-jp.c: Likewise.
4835 * iconvdata/iso-2022-kr.c: Likewise.
4836 * iconvdata/iso646.c: Likewise.
4837 * iconvdata/iso8859-1.c: Likewise.
4838 * iconvdata/iso_6937-2.c: Likewise.
4839 * iconvdata/iso_6937.c: Likewise.
4840 * iconvdata/johab.c: Likewise.
4841 * iconvdata/sjis.c: Likewise.
4842 * iconvdata/t.61.c: Likewise.
4843 * iconvdata/uhc.c: Likewise.
4844 * iconvdata/unicode.c: Likewise.
4845 * iconvdata/utf-16.c: Likewise.
4846 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
4847 DL_CALL_FCT.
4848 * wcsmbs/btowc.c: Likewise.
4849 * wcsmbs/mbrtowc.c: Likewise.
4850 * wcsmbs/mbsnrtowcs.c: Likewise.
4851 * wcsmbs/mbsrtowcs.c: Likewise.
4852 * wcsmbs/wcrtomb.c: Likewise.
4853 * wcsmbs/wcsnrtombs.c: Likewise.
4854 * wcsmbs/wcsrtombs.c: Likewise.
4855 * wcsmbs/wctob.c: Likewise.
4856
b6299091
GK
48572000-04-11 Geoff Keating <geoffk@cygnus.com>
4858
4859 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
4860 other header files. Mention about 128-byte cache line sizes.
4861 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
4862 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
4863 for current calling sequence.
4864 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
4865
4866 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
4867 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4868
4869 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
4870 and setrlimit syscalls for backwards compatibility.
4871
e5221165
UD
48722000-06-10 Ulrich Drepper <drepper@redhat.com>
4873
38677ace
UD
4874 * iconv/skeleton.c: Rename converted written to correcter name
4875 irreversible.
4876 * iconv/gconv.c: Rename converted variable to correcter name
4877 irreversible.
4878 * iconv/gconv_int.h: Likewise.
4879 * iconv/gconv_simple.c: Likewise.
4880 * iconv/iconv.c: Likewise.
4881 * iconv/loop.c: Likewise.
4882 * iconvdata/8bit-gap.c: Likewise.
4883 * iconvdata/8bit-generic.c: Likewise.
4884 * iconvdata/ansi_x3.110.c: Likewise.
4885 * iconvdata/big5.c: Likewise.
4886 * iconvdata/big5hkscs.c: Likewise.
4887 * iconvdata/euc-cn.c: Likewise.
4888 * iconvdata/euc-jp.c: Likewise.
4889 * iconvdata/euc-kr.c: Likewise.
4890 * iconvdata/gbgbk.c: Likewise.
4891 * iconvdata/gbk.c: Likewise.
4892 * iconvdata/iso-2022-cn.c: Likewise.
4893 * iconvdata/iso-2022-jp.c: Likewise.
4894 * iconvdata/iso-2022-kr.c: Likewise.
4895 * iconvdata/iso646.c: Likewise.
4896 * iconvdata/iso8859-1.c: Likewise.
4897 * iconvdata/iso_6937-2.c: Likewise.
4898 * iconvdata/iso_6937.c: Likewise.
4899 * iconvdata/johab.c: Likewise.
4900 * iconvdata/sjis.c: Likewise.
4901 * iconvdata/t.61.c: Likewise.
4902 * iconvdata/uhc.c: Likewise.
4903 * iconvdata/unicode.c: Likewise.
4904 * iconvdata/utf-16.c: Likewise.
4905
e5221165
UD
4906 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
4907 __cmsg_data field with __extension__.
4908
d049b712
UD
49092000-06-10 David Mosberger <davidm@hpl.hp.com>
4910
4911 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
4912
3f912cee
UD
49132000-06-10 Ulrich Drepper <drepper@redhat.com>
4914
3593973b
UD
4915 * iconv/gconv_simple.c: Fix various small bugs in several
4916 functions.
4917
3f912cee
UD
4918 * iconv/loop.c: Fix comment.
4919
7e6d3809
UD
49202000-06-10 Jakub Jelinek <jakub@redhat.com>
4921
4922 * elf/link.h: Remove libc internal declarations.
4923 * include/link.h: Move them here.
4924
8e17ea58
UD
49252000-06-09 Ulrich Drepper <drepper@redhat.com>
4926
000171e5
UD
4927 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
4928 Patch by Dan Pop <Dan.Pop@cern.ch>.
4929
8e17ea58
UD
4930 Rewrite error message handling.
4931 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
4932 _dl_catch_error.
4933 * elf/dl-error (struct catch): Add objname member.
4934 (_dl_signal_error): Take new parameter with object name. When
4935 passing message on simply store object name and duplicate error
4936 message.
4937 (_dl_catch_error): Take new parameter. Store object name in the
4938 place pointed to.
4939 * include/dlfcn.h: Adjust _dl_catch_error prototype.
4940 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
04470dc0
UD
4941 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
4942 (dlerror): Add objname to asprintf() parameters.
4943 (_dl_error_run): Pass new parameter to _dl_catch_error.
8e17ea58
UD
4944 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
4945 * elf/dl-open.c (_dl_open): Likewise.
4946 * elf/rtld.c (dl_main): Likewise.
4947 * elf/dl-close.c: Mark error messages with N_().
4948 * elf/dl-deps.c: Likewise.
4949 * elf/dl-error.c: Likewise.
4950 * elf/dl-load.c: Likewise.
4951 * elf/dl-open.c: Likewise.
4952 * elf/dl-reloc.c: Likewise.
4953 * elf/dl-support.c: Likewise.
4954 * elf/dl-sym.c: Likewise.
4955 * elf/dl-version.c: Likewise.
4956 * elf/dl-lookup.c: Add comments about problems with error message
4957 translations.
4958 * elf/dl-reloc.c: Likewise.
4959 * elf/dl-version.c: Likewise.
4960
d743ba1e
UD
49612000-06-09 H.J. Lu <hjl@gnu.org>
4962
4963 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
4964 after freeing it.
4965
4966 * dlfcn/Makefile (distribute): Add failtestmod.c.
4967 (tests): Add failtest.
4968 Add rules to build and run failtest.
4969 * dlfcn/failtest.c: New file.
4970 * dlfcn/failtestmod.c: New file.
4971
f3863621
UD
49722000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
4973
4974 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
4975 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
4976 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
4977 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
4978 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
4979
af501e15
UD
49802000-06-09 Jes Sorensen <jes@linuxcare.com>
4981
4982 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
4983 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
4984
c79c9039
UD
49852000-06-09 Jes Sorensen <jes@linuxcare.com>
4986 Ulrich Drepper <drepper@redhat.com>
4987
4988 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
4989 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
4990 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
4991 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
4992 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
4993 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
4994
301909fb
UD
49952000-06-09 Ulrich Drepper <drepper@redhat.com>
4996
4997 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
4998 to find correct mount point despite wrong information from the
4999 kernel.
5000
b511d8fc
UD
50012000-06-09 Jes Sorensen <jes@linuxcare.com>
5002
5003 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
5004 the address of a symbol so function pointers are handled properly.
5005
1acc0b55
UD
50062000-06-08 Ulrich Drepper <drepper@redhat.com>
5007
8aa8fc7f
UD
5008 * sysdeps/i386/Dist: Add bp-asm.h.
5009
480a06df
UD
5010 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
5011 defaultdir variable instead of "/var/shm" everywhere.
5012 (defaultdir): Change to /dev/shm/.
1acc0b55 5013
3f02f778
GM
50142000-06-08 Greg McGary <greg@mcgary.org>
5015
5016 * sysdeps/i386/bp-asm.h: New file.
5017 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
5018 offsets. Add ENTER/LEAVE macros for optionally maintaining
5019 frame-pointer chain when debugging.
5020 * sysdeps/i386/add_n.S: Likewise.
5021 * sysdeps/i386/addmul_1.S: Likewise.
5022 * sysdeps/i386/lshift.S: Likewise.
5023 * sysdeps/i386/memchr.S: Likewise.
5024 * sysdeps/i386/memcmp.S: Likewise.
5025 * sysdeps/i386/mul_1.S: Likewise.
5026 * sysdeps/i386/rawmemchr.S: Likewise.
5027 * sysdeps/i386/rshift.S: Likewise.
5028 * sysdeps/i386/stpcpy.S: Likewise.
5029 * sysdeps/i386/stpncpy.S: Likewise.
5030 * sysdeps/i386/strchr.S: Likewise.
5031 * sysdeps/i386/strchrnul.S: Likewise.
5032 * sysdeps/i386/strcspn.S: Likewise.
5033 * sysdeps/i386/strpbrk.S: Likewise.
5034 * sysdeps/i386/strrchr.S: Likewise.
5035 * sysdeps/i386/strspn.S: Likewise.
5036 * sysdeps/i386/strtok.S: Likewise.
5037 * sysdeps/i386/sub_n.S: Likewise.
5038 * sysdeps/i386/submul_1.S: Likewise.
5039 * sysdeps/i386/elf/setjmp.S: Likewise.
5040 * sysdeps/i386/i486/strcat.S: Likewise.
5041 * sysdeps/i386/i486/strlen.S: Likewise.
5042 * sysdeps/i386/i586/add_n.S: Likewise.
5043 * sysdeps/i386/i586/lshift.S: Likewise.
5044 * sysdeps/i386/i586/memcpy.S: Likewise.
5045 * sysdeps/i386/i586/memset.S: Likewise.
5046 * sysdeps/i386/i586/rshift.S: Likewise.
5047 * sysdeps/i386/i586/strchr.S: Likewise.
5048 * sysdeps/i386/i586/strcpy.S: Likewise.
5049 * sysdeps/i386/i586/strlen.S: Likewise.
5050 * sysdeps/i386/i586/sub_n.S: Likewise.
5051 * sysdeps/i386/i686/add_n.S: Likewise.
5052 * sysdeps/i386/i686/memcpy.S: Likewise.
5053 * sysdeps/i386/i686/mempcpy.S: Likewise.
5054 * sysdeps/i386/i686/memset.S: Likewise.
5055 * sysdeps/i386/i686/strcmp.S: Likewise.
5056
9e56352f
UD
50572000-06-08 Ulrich Drepper <drepper@redhat.com>
5058
47bc7a9b
UD
5059 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
5060
9001274d
UD
5061 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
5062 256 and don't use OPEN_MAX.
5063
9e56352f
UD
5064 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
5065 use it instead of LINK_MAX.
de1a7177 5066 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
9e56352f 5067
46a26d45
AJ
50682000-06-08 Andreas Jaeger <aj@suse.de>
5069
5070 * libio/genops.c (_IO_list_lock): Only compile body if we're
5071 thread safe.
5072 (_IO_list_unlock): Likewise.
5073 (_IO_list_resetlock): Likewise.
5074
dc3b5786
UD
50752000-06-07 Ulrich Drepper <drepper@redhat.com>
5076
bb790106
UD
5077 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
5078 unless user defined it.
5079
104d0690
UD
5080 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
5081 if not defined by the user.
5082
a27c96b0
UD
5083 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
5084 * libio/iofwrite.c (_IO_fwrite): Likewise.
5085
77741499
UD
5086 * time/time.h: Add missing __THROW for clock_getcpuclockid
5087 prototype.
5088
ffa8a903 5089 * elf/Makefile (distribute): Add dl-dtprocnum.h.
b0982c4a
UD
5090 * include/elf.h: Include also <dl-dtprocnum.h>.
5091 * elf/dl-deps.c: Likewise.
5092 * elf/dl-lookup.c: Likewise.
5093 * elf/dl-runtime.c: Likewise.
5094 * elf/dl-version.c: Likewise.
5095 * elf/do-rel.h: Likewise.
5096 * elf/dynamic-link.h: Likewise.
5097 * elf/link.h: Likewise.
5098 * elf/rtld.c: Likewise.
5099 * sysdeps/generic/dl-dtprocnum.h: New file.
5100 * sysdeps/ia64/dl-dtprocnum.h: New file.
5101 * sysdeps/mips/dl-dtprocnum.h: New file.
5102 * sysdeps/sparc/dl-dtprocnum.h: New file.
5103
d4f170a9
UD
5104 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
5105
7e281477
UD
5106 * elf/do-lookup.h: Add some __builtin_expect.
5107
dec126b4
UD
5108 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
5109
5110 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
5111 (_dl_dynamic_weak): New variable.
5112 * elf/dl-support.c: Likewise.
5113 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
5114 * elf/do-lookup.h: If we find a weak definition treat it like a
5115 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
5116 case treat it like before.
5117
b8565e78
UD
5118 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
5119 is in main program.
5120 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
5121
1c14af44
UD
5122 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
5123 using l_map_start and l_map_end.
5124
7b228b68
UD
5125 * elf/dl-version.c: Add __builtin_expect in many places.
5126
dc3b5786
UD
5127 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
5128 Update.
5129
3fc9ca4e
UD
51302000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
5131
5132 Lock for stdio stream list becomes global, for use in LinuxThreads.
5133
5134 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
5135 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
5136 _IO_list_resetlock): New interface for iterating global list of
5137 streams without accessing the _IO_list_all global variable,
5138 and for manipulating the lock which protects this list.
5139 * libio/libioP.h: Likewise.
5140 * libio/Version: Add entries for the new functions.
5141
5142 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
5143 pointer to _IO_FILE.
5144
2a631990
UD
51452000-06-07 Ulrich Drepper <drepper@redhat.com>
5146
ce177a84
UD
5147 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
5148 BIT() must actually be BITw().
5149
45c95239
UD
5150 * locale/programs/ld-ctype.c: Handle SP and space consistently.
5151
2a631990
UD
5152 * locale/programs/charmap.c: Allow string arguments for
5153 code_set_name and repertoiremap.
5154
99ac5e47
UD
51552000-06-07 Andreas Jaeger <aj@suse.de>
5156
5157 * elf/Makefile: Build ldconfig only when building shared libraries.
5158
51592000-06-07 Jakub Jelinek <jakub@redhat.com>
5160
5161 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
5162 __USE_ISOC99.
5163 (fdimf, __fdim, fdim): Likewise.
5164
345f9ac0
UD
51652000-06-07 Ulrich Drepper <drepper@redhat.com>
5166
5167 * locale/findlocale.c: Add __builtin_expect in many places.
5168 * locale/loadlocale.c: Likewise.
5169
9b6a9cee
GM
51702000-06-06 Greg McGary <greg@mcgary.org>
5171
d5bc737a
GM
5172 * sysdeps/mips/elf/start.S: Trim redundant code.
5173
1d280d9f
GM
5174 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
5175 Use C comments throughout. Line up operands column with tabs.
5176 * sysdeps/powerpc/strchr.S: Likewise.
5177 * sysdeps/powerpc/strcmp.S: Likewise.
5178 * sysdeps/powerpc/strcpy.S: Likewise.
5179 * sysdeps/powerpc/strlen.S: Likewise.
5180
9b6a9cee
GM
5181 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
5182 Get low part of &__curbrk with @l.
5183
89301d68
UD
51842000-06-06 Ulrich Drepper <drepper@redhat.com>
5185
4c3192f9
UD
5186 * iconvdata/utf-16.c: Add __builtin_expect in many places.
5187 * iconvdata/unicode.c: Likewise.
5188 * iconvdata/uhc.c: Likewise.
5189 * iconvdata/t.61.c: Likewise.
5190 * iconvdata/sjis.c: Likewise.
5191 * iconvdata/johab.c: Likewise.
5192 * iconvdata/iso_6937.c: Likewise.
5193 * iconvdata/iso_6937-2.c: Likewise.
5194 * iconvdata/iso8859-1.c: Likewise.
5195 * iconvdata/iso646.c: Likewise.
5196 * iconvdata/iso-2022-kr.c: Likewise.
89301d68
UD
5197 * iconvdata/iso-2022-jp.c: Likewise.
5198 * iconvdata/iso-2022-cn.c: Likewise.
5199 * iconvdata/gbgbk.c: Likewise.
5200 * iconvdata/gbk.c: Likewise.
5201 * iconvdata/euc-kr.c: Likewise.
5202 * iconvdata/euc-jp.c: Likewise.
5203 * iconvdata/euc-cn.c: Likewise.
5204
b0f1ca68
UD
52052000-06-05 Ulrich Drepper <drepper@redhat.com>
5206
5ea1a82d
UD
5207 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
5208 * iconvdata/big5.c: Likewise.
5209 * iconvdata/ansi_x3.110.c: Likewise.
5210 * iconvdata/8bit-generic.c: Likewise.
5211 * iconvdata/8bit-gap.c: Likewise.
5212 * iconv/loop.c: Likewise.
5213 * iconv/gconv_db.c: Likewise.
5214 * iconv/gconv_dl.c: Likewise.
5215 * iconv/gconv_simple.c: Likewise.
5216 * iconv/skeleton.c: Likewise.
365afefc 5217
85830c4c
UD
5218 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
5219 (struct __gconv_step_data): Rename __is_last to __flags.
5220 * iconv/gconv_close.c: Change all uses of __is_last.
5221 * iconv/skeleton.c: Likewise.
5222 * iconvdata/iso-2022-cn.c: Likewise.
5223 * iconvdata/iso-2022-jp.c: Likewise.
5224 * iconvdata/iso-2022-kr.c: Likewise.
5225 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
5226 Recognize IGNORE error handling, set flag, and remove from name.
5227 * iconv/loop.c (ignore_errors_p): Define.
5228 Add flags parameter to both functions.
5229 * iconv/skeleton.c: Pass flags to all conversion functions.
5230 * iconv/gconv_simple.c: Add flags parameter to all functions.
5231 Don't return error for invald error if ignore flag is set.
5232 (ucs4_internal_loop_single): Add missing pointer increment.
5233 (internal_ucs4le_loop_single): Likewise.
5234 * iconv/iconv_prog.c: Implement handling of -c parameter.
5235 * iconvdata/8bit-gap.c: Don't return error for invald error if
5236 ignore flag is set.
5237 * iconvdata/8bit-generic.c: Likewise.
5238 * iconvdata/ansi_x3.110.c: Likewise.
5239 * iconvdata/big5.c: Likewise.
5240 * iconvdata/big5hkscs.c: Likewise.
5241 * iconvdata/euc-cn.c: Likewise.
5242 * iconvdata/euc-jp.c: Likewise.
5243 * iconvdata/euc-kr.c: Likewise.
5244 * iconvdata/gbgbk.c: Likewise.
5245 * iconvdata/gbk.c: Likewise.
5246 * iconvdata/iso-2022-cn.c: Likewise.
5247 * iconvdata/iso-2022-jp.c: Likewise.
5248 * iconvdata/iso-2022-kr.c: Likewise.
5249 * iconvdata/iso646.c: Likewise.
5250 * iconvdata/iso8859-1.c: Likewise.
5251 * iconvdata/iso_6937-2.c: Likewise.
5252 * iconvdata/iso_6937.c: Likewise.
5253 * iconvdata/johab.c: Likewise.
5254 * iconvdata/sjis.c: Likewise.
5255 * iconvdata/t.61.c: Likewise.
5256 * iconvdata/uhc.c: Likewise.
5257 * iconvdata/unicode.c: Likewise.
5258 * iconvdata/utf-16.c: Likewise.
5259 * libio/fileops.c: Likewise.
5260 * libio/iofwide.c: Likewise.
5261 * wcsmbs/btowc.c: Likewise.
5262 * wcsmbs/mbrtowc.c: Likewise.
5263 * wcsmbs/mbsnrtowcs.c: Likewise.
5264 * wcsmbs/mbsrtowcs.c: Likewise.
5265 * wcsmbs/wcrtomb.c: Likewise.
5266 * wcsmbs/wcsnrtombs.c: Likewise.
5267 * wcsmbs/wcsrtombs.c: Likewise.
5268 * wcsmbs/wctob.c: Likewise.
5269
5270 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
b0f1ca68
UD
5271 an error.
5272
add40772
UD
52732000-06-04 Ulrich Drepper <drepper@redhat.com>
5274
5275 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
5276 counter for the object we are releasing, just decrement it.
5277 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
5278
1dd54850
UD
52792000-06-04 Jakub Jelinek <jakub@redhat.com>
5280
5281 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
5282 if -ffast-math.
5283
dda5c10b
UD
52842000-06-04 Ulrich Drepper <drepper@redhat.com>
5285
5286 * iconvdata/big5hkscs.c: New file.
5287 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
5288
5289 * iconvdata/gconv-modules: Add entry for new module.
61da7687
UD
5290 * iconvdata/Makefile (modules): Add BIG5HKSCS.
5291 (distribute): Add big5hkscs.c.
dda5c10b 5292
cc46c92d
UD
52932000-06-01 Jakub Jelinek <jakub@redhat.com>
5294
5295 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
5296 inlines to match prototypes in mathcalls.h.
5297 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5298 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5299 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
5300 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5301
b7a65b86
UD
53022000-06-03 Ulrich Drepper <drepper@redhat.com>
5303
ec880cc7
UD
5304 * elf/elf.h (SHT_SUNW_move): Define.
5305
b7a65b86
UD
5306 * elf/elf.h: Add more Solaris compatiblity definitions.
5307
ec215d43
AJ
53082000-06-03 Andreas Jaeger <aj@suse.de>
5309
cc46c92d 5310 * sysdeps/powerpc/dl-start.S: Close open comment.
ec215d43
AJ
5311
53122000-06-03 Jakub Jelinek <jakub@redhat.com>
5313
5314 * inet/Versions: Fix typo in rresvport_af export.
5315
a6dd2e55
UD
53162000-06-02 Ulrich Drepper <drepper@redhat.com>
5317
5318 * math/tgmath.h: Pretty print.
5319
7b61638d
AJ
53202000-06-02 Andreas Jaeger <aj@suse.de>
5321
5322 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
5323 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5324
75e8d1f5
UD
53252000-06-02 Ulrich Drepper <drepper@redhat.com>
5326
5327 * elf/rtld.c (process_envvars): Test for = after variable name.
5328
61d655c1
UD
53292000-06-01 Ulrich Drepper <drepper@redhat.com>
5330
6c021fdc
UD
5331 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
5332 have extra call to __gmon_start__, use the pointer we already have.
5333
68979757
UD
5334 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
5335 shifting.
5336
61d655c1
UD
5337 * sysdeps/i386/elf/setjmp.S: Work around change is recent
5338 binutils. gas now emits a jump through the PLT instead of a
5339 relative jump if the jump target is an exported symbol.
5340
9f97f790
UD
53412000-05-31 Ulrich Drepper <drepper@redhat.com>
5342
5343 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
5344
c3e485f1
AJ
53452000-05-31 Andreas Jaeger <aj@suse.de>
5346
5347 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
5348 gregset_t.
5349
5350 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
5351 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9f97f790 5352
c3e485f1
AJ
5353 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
5354 syscall.
5355 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5356
a907bff9
UD
53572000-05-30 Ulrich Drepper <drepper@redhat.com>
5358
a2fa8605
UD
5359 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
5360
9b014809
UD
5361 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
5362 * locale/localeconv.c: Make function versioned (with same definition).
5363
a907bff9
UD
5364 * elf/Makefile (modules-names): Strip before using it.
5365
e82a0295
AJ
53662000-05-30 Andreas Jaeger <aj@suse.de>
5367
5368 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
5369 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
5370 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
5371 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
5372 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
5373 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
5374
3846463e
UD
53752000-05-29 Ulrich Drepper <drepper@redhat.com>
5376
c8d32817
UD
5377 * Makefile: Add GNU make magic.
5378
3846463e
UD
5379 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
5380 Removed.
5381 * inet/rcmd.c: Remove __P. Remove unused variables.
5382 (iruserfopen): Make first parameter const.
5383 (ruserok_sa): Return result of ruserok2_sa.
5384 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
5385 * inet/rexec.c: Remove unused variables. Other small cleanups.
5386 * inet/ruserpass.c: Remove __P. Remove unused variables.
5387 (ruserpass): Check results of memory allocation.
5388 * include/netdb.h: Add prototype for ruserpass.
5389
03fad0ec
AJ
53902000-05-29 Andreas Jaeger <aj@suse.de>
5391
5392 * elf/readlib.c (interpreters): Use LD_SO since this is supported
5393 for all platforms.
5394
a8322b4f
UD
53952000-05-29 Jakub Jelinek <jakub@redhat.com>
5396
5397 * inet/rcmd.c (rresvport_af): Use correct port number.
5398
53992000-05-26 Andreas Schwab <schwab@suse.de>
5400
5401 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
5402 entries in all-sonames.
5403 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
5404 preserving the old name if different for compatibility.
5405
08c7f6b0
UD
54062000-05-29 Ulrich Drepper <drepper@redhat.com>
5407
5408 * posix/Makefile (tests): Add tst-spawn.
5409 (tst-spawn-ARGS): New variable.
5410 * posix/tst-spawn.c: New file.
5411
5412 * posix/spawn_faction_addclose.c: Correctly account for new entry.
5413 * posix/spawn_faction_adddup2.c: Likewise.
5414 * posix/spawn_faction_addopen.c: Likewise.
5415 * posix/spawni.c: Correctly test for success of dup2 calls.
5416
5417 * posix/tst-preadwrite.c: Check success of malloc call.
5418
31eb0a91
UD
54192000-05-28 Ulrich Drepper <drepper@redhat.com>
5420
079199de
UD
5421 * posix/Makefile (tests): Add tst-exec.
5422 (tst-exec-ARGS): New variable.
5423 * posix/tst-exec.c: New file.
5424
31eb0a91
UD
5425 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
5426
84838b8f
UD
54272000-05-04 Andreas Jaeger <aj@suse.de>
5428
5429 * string/string.h: Remove __strdup prototype, it's not needed in
5430 this file anymore.
5431
2588068b
UD
54322000-05-28 Ulrich Drepper <drepper@redhat.com>
5433
c0f3519d 5434 * posix/Makefile (tests): Add tst-fork.
079199de 5435 * posix/tst-fork.c: New file.
c0f3519d 5436
2588068b
UD
5437 * resolv/inet_pton.c: Loose __P.
5438
7163e69e
UD
54392000-05-21 Jakub Jelinek <jakub@redhat.com>
5440
5441 * libio/libioP.h (_IO_CHECK_WIDE): Define.
5442 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7163e69e
UD
5443 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5444 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
5445 _IO_CHECK_WIDE fails.
5446
e6e81391
UD
54472000-05-28 Ulrich Drepper <drepper@redhat.com>
5448
1ef9f0b6
UD
5449 * po/da.po: New file.
5450
e6e81391
UD
5451 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
5452 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
5453
b160422e
UD
5454 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
5455 (Other iconv Implementations): Fix typo.
5456 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
5457
741845cb
AJ
54582000-05-27 Andreas Jaeger <aj@suse.de>
5459
5460 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5461 normal version now.
5462 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5463 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5464 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5465 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5466 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5467 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5468
5469 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5470 endianness to decide how to pass arguments.
5471 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5472
5473 * elf/vismain.c: Use test-skeleton interface.
5474 (TEST_FUNCTION): New macro.
5475 (do_test): Renamed from main.
5476
b455972f
UD
54772000-05-27 Ulrich Drepper <drepper@redhat.com>
5478
5479 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5480 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5481
5482 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5483 handling of AI_V4MAPPED flag.
5484
5485 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5486 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5487 perform lookup for T_A type and tell getanswer_r to convert the
5488 result with new argument.
5489 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5490 Don't convert addresses from IPv4 to IPv6 here.
5491 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5492 IPv6 is wanted. Allow qtype and type from reply to disagree if
5493 IPv4 mapping has to be done. Perform mappings if required by the
5494 caller and not if RES_USE_INET6 bit in _res.options is set.
5495 Add several __builtin_expect.
5496
09bbe3bf
UD
54972000-05-26 Ulrich Drepper <drepper@redhat.com>
5498
e84e339f
UD
5499 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5500
5501 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4c540916
UD
5502 NULL.
5503
0a550321
UD
5504 * posix/tst-preadwrite.c: Allow parallel execution of
5505 tst-preadwrite and tst-preadwrite64.
5506
ad92208d
UD
5507 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5508 * posix/tst-truncate.c: New file.
5509 * posix/tst-truncate64.c: New file.
5510
f0b2767b
UD
5511 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5512 was switched.
5513
bd9df4cd 5514 * posix/Makefile (tests): Add tst-preadwrite64.
09bbe3bf
UD
5515 * posix/tst-preadwrite.c: Alloc file being used also for testing
5516 pread64 and pwrite64.
5517 * posix/tst-preadwrite64.c: New file.
5518
dc95d158
AJ
55192000-05-26 Andreas Jaeger <aj@suse.de>
5520
aac468ae
AJ
5521 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5522 of arguments dependend on endianness.
5523 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5524
088b9917
AJ
5525 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5526 normal version now.
5527 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5528 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5529 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5530 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5531
5532 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5533 endianness to check how to pass argument.
5534 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5535
dc95d158
AJ
5536 * elf/ldconfig.h: Update parameter list for process_elf_file.
5537
5538 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5539 Add parameter file_length and pass it ot process_elf*file.
5540
5541 * sysdeps/generic/readelflib.c (check_ptr): New.
5542 (process_elf_file): Use check_ptr to check all accesses to the
5543 mmapped file. Add parameter file_length.
5544
5545 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5546 library names.
5547
5548 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5549 Closes PR libc/1573, reported by Bradley White
5550 <bww@laurelnetworks.com>.
5551
81e43fc1
UD
55522000-05-25 Ulrich Drepper <drepper@redhat.com>
5553
5554 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5555 __FAST_MATH__ is defined.
5556
378fbeb4
UD
55572000-05-22 Andreas Jaeger <aj@suse.de>
5558
5559 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5560 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5561
5562 * manual/math.texi (FP Function Optimizations): Document gcc
5563 -ffast-math behaviour with mathinlines.
5564
5565 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5566 functions unless -ffast-math is given to gcc.
5567
0f550417
UD
55682000-05-23 Jakub Jelinek <jakub@redhat.com>
5569
5570 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5571 __sincosl): Guard with __USE_GNU.
5572
acb5ee2e
UD
55732000-05-24 Ulrich Drepper <drepper@redhat.com>
5574
db33f7d4
UD
5575 * csu/Makefile (routines): Add check_fds.
5576 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5577 binaries. Add various __builtin_expect.
5578 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5579 * sysdeps/generic/check_fds.c: ...here. New file.
5580
5581 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5582 binaries if file /etc/suid-debug is available.
5583
acb5ee2e
UD
5584 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5585 and wcseqorder members.
5586 (struct locale_collate_t): Likewise.
5587 (collate_finish): Assign collation sequence value to each character.
5588 Create tables for output.
5589 (collate_output): Write out tables with collation sequence information.
5590 * locale/C-collate.c: Provide C locale data for collation sequence
5591 table.
5592 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5593 _NL_COLLATE_COLLSEQWC.
5594 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5595 _NL_COLLATE_COLLSEQWC.
5596 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5597 include fnmatch_loop.c.
5598 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5599 character is matched by range expression. Use collation sequence
5600 table. Outside glibc fall back on simple character value comparison.
5601
ff31ba59
AJ
56022000-05-24 Andreas Jaeger <aj@suse.de>
5603
fff82885
AJ
5604 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5605 words.
5606
ff31ba59
AJ
5607 * intl/Makefile: Run gettext-test only if msgfmt is available.
5608
a074fa3c
AJ
5609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5610 Define it for newer kernels.
5611
eec8ef5a
UD
56122000-05-23 Ulrich Drepper <drepper@redhat.com>
5613
5e76a346
UD
5614 * elf/dl-sym.c: Minor cleanups.
5615
2d499f55
UD
5616 * configure.in: Add test for .protected.
5617 * config.make.in: Add have-protected variable.
eec8ef5a
UD
5618 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5619 (tests-vis-yes): Add vismain.
5620 (modules-names): Add $(modules-vis-$(have-protected)).
5621 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5622 Add rules to generate and run vismain.
5623 * elf/vismain.c: New file.
5624 * elf/vismod1.c: New file.
5625 * elf/vismod2.c: New file.
5626 * elf/vismod3.c: New file.
5627
21ad6b26
AJ
56282000-05-23 Andreas Jaeger <aj@suse.de>
5629
5630 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5631
5632 * manual/search.texi (Array Sort Function): Document that qsort is
5633 not necessarily in-place.
5634
5635 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5636 Closes PR libc/1731.
5637
bcaad6ee
AJ
5638 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5639 * dirent/scandir64.c: Likewise.
5640 * pwd/getpw.c: Likewise.
5641 * stdlib/bsearch.c (bsearch): Likewise.
5642 * stdlib/tst-strtoll.c: Likewise.
5643 * localedata/collate-test.c: Likewise.
5644 * localedata/xfrm-test.c: Likewise.
5645 * posix/bsd-getpgrp.c: Likewise.
5646 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5647 * sysdeps/generic/bits/siginfo.h: Likewise.
5648 * sysdeps/generic/bits/sockaddr.h: Likewise.
5649 * sysdeps/generic/sys/swap.h: Likewise.
5650 * sysdeps/generic/sys/sysinfo.h: Likewise.
5651 * sysdeps/generic/vfork.c: Likewise.
5652 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
5653 * sysdeps/mach/hurd/fdopen.c: Likewise.
5654 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
5655 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5656 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5657 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5658 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5659 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5660 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5661
5662 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
5663 * shadow/lckpwdf.c: Likewise.
5664 * stdlib/tst-strtol.c: Likewise.
5665 * sysdeps/generic/tcsetattr.c: Likewise.
5666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5668
6a7c9bb4
UD
56692000-05-22 Jakub Jelinek <jakub@redhat.com>
5670
5671 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
5672 free it and set to (void *) -1.
5673
3f651a4d
UD
56742000-05-22 Jakub Jelinek <jakub@redhat.com>
5675
5676 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
5677 not the second character in the range.
5678 * stdio-common/tstscanf.c (main): Add testcase for the above.
5679 Reported by jik@kamens.brookline.ma.us.
5680
6aa29abe
UD
56812000-05-21 H.J. Lu <hjl@gnu.org>
5682
5683 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
5684 with noexec and noplt parameter.
5685 (do_lookup): Likewise.
5686
5687 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
5688 do_lookup. Support STV_PROTECTED.
5689 (_dl_lookup_symbol_skip): Likewise.
5690 (_dl_lookup_versioned_symbol): Likewise.
5691 (_dl_lookup_versioned_symbol_skip): Likewise.
5692
5693 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
5694
5695 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
5696
85153f6c
AJ
56972000-05-21 Jakub Jelinek <jakub@redhat.com>
5698
5699 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
5700 * sysdeps/i386/bits/huge_val.h: Likewise.
5701 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5702 * sysdeps/m68k/bits/huge_val.h: Likewise.
5703 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
5704 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
5705
5748f418
AJ
57062000-05-22 Andreas Jaeger <aj@suse.de>
5707
5708 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
5709 change in iconv.h.
5710
4a624ae3
UD
57112000-05-19 Andreas Jaeger <aj@suse.de>
5712
5713 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5714 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
5715 breaks compilation without linuxthreads.
5716
99a20616
UD
57172000-05-21 Ulrich Drepper <drepper@redhat.com>
5718
5bfc4252
UD
5719 * sysdeps/ia64/memccpy.S: New file.
5720 * sysdeps/ia64/memchr.S: New file.
5721 * sysdeps/ia64/memcmp.S: New file.
5722 * sysdeps/ia64/memcpy.S: New file.
5723 * sysdeps/ia64/memmove.S: New file.
5724 * sysdeps/ia64/memset.S: New file.
5725 * sysdeps/ia64/strcat.S: New file.
5726 * sysdeps/ia64/strchr.S: New file.
5727 * sysdeps/ia64/strcmp.S: New file.
5728 * sysdeps/ia64/strcpy.S: New file.
5729 * sysdeps/ia64/strlen.S: New file.
5730 * sysdeps/ia64/strncmp.S: New file.
5731 * sysdeps/ia64/strncpy.S: New file.
5732 * sysdeps/ia64/softpipe.h: New file.
5733 Patches by Dan Pop <Dan.Pop@cern.ch>.
5734
5735 * manual/memory.texi: Document memory handling functions (mlock,
5736 munlock, mlockall, munlockall, brk, and sbrk)
99a20616
UD
5737 * manual/time.texi: Document timespec and friends.
5738 * manual/conf.texi: Fix references.
5739 * manual/ctype.texi: Likewise.
5740 * manual/errno.texi: Likewise.
5741 * manual/intro.texi: Likewise.
5742 * manual/locale.texi: Likewise.
5743 * manual/sysinfo.texi: Likewise.
5744 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5745
371071d5
UD
57462000-05-09 Jes Sorensen <jes@linuxcare.com>
5747
5748 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
5749 * sysdeps/ia64/dl-lookupcfg.h: ...here.
5750
f87e0815
UD
57512000-05-21 Jakub Jelinek <jakub@redhat.com>
5752
5753 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
5754 dxfer_direction.
5755
0efb48a1
UD
57562000-05-21 Ulrich Drepper <drepper@redhat.com>
5757
3b434940
UD
5758 * locale/locale.h (struct lconv): Add new elements from ISO C99.
5759 * locale/localeconv.c: Initialize new elements from ISO C99.
3446e2c3
UD
5760 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
5761 new standard elements.
5762 * locale/categories.def: Adjust accordingly.
3b434940 5763
0efb48a1
UD
5764 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
5765 * iconv/iconv.c: Likewise.
5766 * conform/data/iconv.h-data: Likewise.
3b434940
UD
5767 * iconv/iconv_prog.c (process_block): Remove const from second
5768 parameter.
5769 (main): Remove const from addr definition.
70a1a465
UD
5770 * manual/charset.texi (Generic Conversion Interface): Remove from
5771 inbuf parameter of iconv.
0efb48a1
UD
5772
5773 * intl/dcigettext.c: Fix typo in comment.
5774
5d1fba6d
AJ
57752000-05-20 2000 H.J. Lu <hjl@gnu.org>
5776
5777 * resolv/res_libc.c (_res): Initialize _sock to -1.
5778
57792000-05-18 Jakub Jelinek <jakub@redhat.com>
5780
5781 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
5782 (fopencookie@@GLIBC_2.2): New.
5783 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
5784 (fopencookie@GLIBC_2.0): New.
5785 * libio/Versions: Add fopencookie to GLIBC_2.2.
5786
600a7457
AJ
57872000-05-18 Andreas Jaeger <aj@suse.de>
5788
5d1fba6d
AJ
5789 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5790 Closes PR libc/1731.
5791
600a7457
AJ
5792 * manual/arith.texi (Parsing of Integers): Fix typo.
5793 Closes PR libc/1744, reported by blp@gnu.org.
5794
cc3f0ddb
AJ
57952000-05-17 Jakub Jelinek <jakub@redhat.com>
5796
5797 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
5798 __extension__ to hexadecimal floating constant notation.
5799 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5800 Likewise.
5801 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
5802 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5803 Likewise.
5804 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5805 HUGE_VALL): Likewise.
5806 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5807 HUGE_VALL): Likewise.
5808 (HUGE_VALL): Set to HUGE_VAL on sparc32.
5809
e656498e
AJ
58102000-05-17 Andreas Jaeger <aj@suse.de>
5811
5812 * string/envz.h: Add pure attributes if possible.
5813
5814 * string/argz.h: argz_count is a pure function.
5815
5816 * string/strings.h: Add pure and const attributes if possible.
5817
1261b97d
AJ
5818 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
5819 possibly searching through the whole memory.
5820 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
5821
e25054c4
AJ
58222000-05-17 Jakub Jelinek <jakub@redhat.com>
5823
5824 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
5825 not yet defined.
5826 (_dl_cache_check_flags): Likewise.
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
5828 dl-cache.h.
5829
58302000-05-17 Andreas Jaeger <aj@suse.de>
5831
5832 * manual/creature.texi (Feature Test Macros): Remove paragraph
5833 since the description is wrong.
5834 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
5835
7626e16c
AJ
5836 * scripts/config.sub: New version.
5837 * scripts/config.guess: Likewise.
5838 * manual/texinfo.tex: Likewise.
5839
e25054c4
AJ
5840 * time/test_time.args: Removed.
5841 * time/Makefile (test_time-ARGS): Added contents here instead.
5842
5843 * posix/tstgetopt.args: Removed.
5844 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
5845
5846 * Rules: Allow arguments for test files to be specified in
5847 Makefile with testname-ARGS; remove rules with .args in it.
5848
5849 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
5850 remove old bogus rule for opendir-tst1.args.
5851
5852 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
5853
5854 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
5855 into objdir. This allows a readonly sourcetree.
5856 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
5857
58582000-05-16 Andreas Jaeger <aj@suse.de>,
0efb48a1 5859 David Huggins-Daines <dhd@linuxcare.com>
e25054c4
AJ
5860
5861 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
5862 cache_data in case of only new cache format correctly.
5863
5864 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
5865 cache_file_new.
5866
5867 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
5868 struct cache_file_new.
5869
5870 * elf/cache.c (save_cache): Fix str_offset if only new cache is
5871 present.
5872
5873 * elf/cache.c (save_cache): Align struct new_file_cache.
5874 (print_cache): Likewise.
5875
d7dcf126
AJ
58762000-05-13 Jakub Jelinek <jakub@redhat.com>
5877
5878 * elf/soinit.c (__libc_global_ctors): Move
5879 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
5880 * resolv/resolv.h (__res_state): Added __attribute__((const)).
5881 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
5882 variable, don't define it to __res_state call.
5883
99356b9b
AJ
58842000-05-13 Andreas Jaeger <aj@suse.de>
5885
5886 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
5887 Linux 2.3.99pre7.
5888 (AF_PPPOX): Likewise.
5889 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
5890 (AF_PPPOX): Likewise.
5891
88d9b1b2
AJ
58922000-05-12 Andreas Jaeger <aj@suse.de>
5893
5894 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
5895 Reported by tmoestl@gmx.net, closes PR libc/1732.
5896
ca5a4c3c
AJ
58972000-05-11 Jan Hubicka <jh@suse.cz>
5898
5899 * misc/sys/cdefs.h: Add support for pure attribute.
5900
5901 * include/string.h: Add __attribute_pure__ to various functions.
5902 * string/string.h: Likewise.
5903
b227a3a6
AJ
59042000-05-10 Jakub Jelinek <jakub@redhat.com>
5905
99356b9b
AJ
5906 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
5907 argument.
5908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5909 R_SPARC_UA64.
5910 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
b227a3a6 5911
676d12fd
AJ
59122000-05-10 Jakub Jelinek <jakub@redhat.com>
5913
5914 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5d693ae3 5915 at proper place. Compute the high nibble correctly.
676d12fd 5916
a8571d37
AJ
59172000-05-09 Jakub Jelinek <jakub@redhat.com>
5918
9c95d361
AJ
5919 * elf/ldconfig.c: Include elf.h.
5920
a8571d37
AJ
5921 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
5922 (_dl_vsym): Likewise.
5923 Reported by Owen Taylor <otaylor@redhat.com>.
5924
5925 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
5926 always.
5927
fbd61fc1
AJ
59282000-05-08 Andreas Jaeger <aj@suse.de>
5929
5930 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
5931
5932 * intl/bindtextdom.c (set_binding_values): Add prototype.
5933
470175f1
AJ
59342000-05-08 Jakub Jelinek <jakub@redhat.com>
5935
5936 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
5937 call to elf_machine_fixup_plt.
5938 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5939 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5940
3b3938c9
UD
59412000-05-08 Jakub Jelinek <jakub@redhat.com>
5942
5943 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
5944 they are not dlclose'd from underneath us.
5945
0320a5aa
UD
59462000-05-08 Andreas Schwab <schwab@suse.de>
5947
5948 * posix/execle.c: Fix size parameter of memcpy.
5949
4159408a
AS
59502000-05-08 Andreas Schwab <schwab@suse.de>
5951
5952 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
5953 getpagesize syscall if available.
5954
97d9957b
AJ
59552000-05-08 Andreas Jaeger <aj@suse.de>
5956
5957 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
5958 set errno.
5959
ded812f4
AJ
59602000-05-08 Jakub Jelinek <jakub@redhat.com>
5961
5962 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
5963 sizeof(struct link_map *) chunks, not in bytes.
5964
33f5839f
UD
59652000-05-07 Ulrich Drepper <drepper@redhat.com>
5966
5967 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
5968 only needed for locale.
5969 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
5970 It's only needed for catgets.
5971 Patches by Greg McGary <gkm@eng.ascend.com>.
5972
d1c2a14c
UD
59732000-05-07 Mark Kettenis <kettenis@gnu.org>
5974
5975 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
5976 Remove duplicate <errno.h> include. Remove inclusion of
5977 <libintl.h> and "nsswitch.h".
5978 (set_cloexec_flag): New function, broken out of dbopen.
5979 (dbopen): Changed return type to `enum
5980 nss_status'. Mostly rewritten to make sure that we do not report
5981 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
5982 (internal_setent): Change return type to nss_status.
5983 Document, and make sure that the function
5984 behaves accordingly. Make dynamically loading the database
5985 library really thread-safe and return NSS_STATUS_UNAVAIL if it
5986 failed.
5987 (db_cursor): Return ENOMEM is memory allocation failed. Remove
5988 unecessary casts.
5989 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
5990 documentation.
5991 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
5992 c_get function member.
5993 * nss/nss_db/nss_db.h: Add and tweak some comments.
5994 (DBT): Move typedef before NSS_DBC typedef.
5995 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
5996
93414bb9
UD
59972000-05-07 H.J. Lu <hjl@gnu.org>
5998
5999 * csu/initfini.c: Moved to ....
6000 * sysdeps/generic/initfini.c: ...here.
6001
6002 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
6003
c63b67bd
UD
60042000-05-07 Ulrich Drepper <drepper@redhat.com>
6005
639c6286
UD
6006 * manual/resource.texi: Document POSIX scheduling functions.
6007 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6008
6ac52e83
UD
6009 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
6010 reading anything. Reported by Andries.Brouwer@cwi.nl.
6011
74a0513d
UD
6012 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
6013 for x since promotion in comparison might leads to unexpected
6014 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
6015
c63b67bd
UD
6016 * iconv/Makefile (tests): Add tst-iconv1.
6017 * iconv/tst-iconv1.c: New file.
1336419e
UD
6018 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
6019 empty input buffer over full output buffer.
fc08075d
UD
6020 (ucs4_internal_loop): Likewise.
6021 (ucs4_internal_loop_unaligned): Likewise.
6022 (internal_ucs4le_loop): Likewise.
6023 (internal_ucs4le_loop_unaligned): Likewise.
6024 (ucs4le_internal_loop): Likewise.
6025 (ucs4le_internal_loop_unaligned): Likewise.
c63b67bd
UD
6026 Reported by yaoz@nih.gov.
6027
45eca4d1
UD
60282000-05-06 Bruno Haible <haible@clisp.cons.org>
6029
6030 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
6031 returned != __GCONV_OK, there is nothing to clean up.
6032
60332000-05-06 Bruno Haible <haible@clisp.cons.org>
6034
6035 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
6036 OUTPUT_CHARSET environment variables.
6037
60382000-05-06 Andreas Jaeger <aj@suse.de>
6039
6040 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
6041 (struct cache_file_new): New.
6042 (struct file_entry): New (moved from cache.c).
6043 (struct cache_file): New (moved from cache.c).
6044
6045 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
6046 from _dl_load_cache_lookup.
6047 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
6048 the different cache formats.
6049 New variable cache_new for new format.
6050
6051 * elf/ldconfig.h: Change according to changes in cache.c and
6052 ldconfig.c; remove cache_libcmp; add opt_format.
6053
6054 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
6055 stuff that's defined in those headers.
6056 Add hwcap to struct lib_entry.
6057 (opt_format): New variable to select cache format.
6058 (options): Add format parameter.
6059 (is_hwcap): New function.
6060 (path_hwcap): New function.
6061 (parse_opt): Handle new format parameter.
6062 (search_dir): Handle hwcap, search also subdirectories with hwcap.
6063
6064 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
6065 ldconfig is part of glibc.
6066 Include dl-cache.h and remove stuff that's defined there.
6067 (struct cache_entry): Add new member hwcap.
6068 (print_entry): Print hwcap, cleanup a bit.
6069 (print_cache): Print new and old formats.
6070 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
6071 (save_cache): Save new and old formats.
6072 (add_to_cache): Handle hwcap.
6073
6074 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
6075 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
6076 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
6077 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
6078 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
6079 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
6080
60812000-05-05 Bruno Haible <haible@clisp.cons.org>
6082
6083 * intl/dcigettext.c (alignof): New macro.
6084 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
6085 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
6086 freemem_size to 0.
6087
60882000-05-05 Bruno Haible <haible@clisp.cons.org>
6089
6090 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
6091 return value.
6092
f0a7f742
UD
60932000-05-06 Ulrich Drepper <drepper@redhat.com>
6094
6095 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
6096 (mempcpy): Correct typo is parameter list.
6097
badd9b02
AJ
60982000-05-06 Andreas Jaeger <aj@suse.de>
6099
6100 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
6101 functions unless -ffast-math is given to gcc.
6102
d02b1569
UD
61032000-05-06 Ulrich Drepper <drepper@redhat.com>
6104
6105 * po/ko.po: Update from translation team.
6106
3c38e028
UD
61072000-05-05 Ulrich Drepper <drepper@redhat.com>
6108
6109 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
6110 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
6111 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
6112 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
6113 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
6114 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
6115
6116 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
6117 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
6118 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
6119
6120 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
6121 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
6122 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
6123 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
6124
fda4deac 6125 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3c38e028
UD
6126 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
6127
f1d86a93
UD
61282000-05-05 Jes Sorensen <jes@linuxcare.com>
6129
6130 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
6131 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
6132
6133 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
6134 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
6135
6136 * sysdeps/ia64/Implies: New file.
6137 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
6138 * sysdeps/ia64/Makefile: New file.
6139 * sysdeps/ia64/gmp-mparam.h: New file,
6140
6141 * sysdeps/ia64/elf/start.S: New file.
6142
6143 * sysdeps/ia64/bits/fenv.h: New file.
6144
61452000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
6146
6147 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
6148
61492000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
6150
6151 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
6152 ia64 has 64 bit .hash entries just as the Alpha.
6153
61542000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6155
6156 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
6157
61582000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
6159
6160 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
6161 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
6162 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
6163 * sysdeps/ia64/fpu/fegetenv.c: New file.
6164 * sysdeps/ia64/fpu/fegetexcept.c: New file.
6165 * sysdeps/ia64/fpu/fegetround.c: New file.
6166 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
6167 * sysdeps/ia64/fpu/fesetenv.c: New file.
6168 * sysdeps/ia64/fpu/fesetround.c: New file.
6169 * sysdeps/ia64/fpu/feupdateenv.c: New file.
6170 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
6171 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
6172 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
6173 * sysdeps/ia64/fpu/ftestexcept.c: New file.
6174
621d9092
AJ
61752000-05-05 Andreas Jaeger <aj@suse.de>
6176
6177 * misc/tst-tsearch.c (main): Correct type for initstate argument.
6178
0b630168
AJ
6179 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6180 (_dl_string_hwcap): New, does nothing.
6181
f1d86a93 6182 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
0b630168
AJ
6183 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6184 (_dl_string_hwcap): New function, converts from string to hwcap
6185 encoding.
f1d86a93
UD
6186 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6187 (_DL_HWCAP_COUNT): New.
0b630168
AJ
6188 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6189 (_dl_string_hwcap): New function, converts from string to hwcap
6190 encoding.
f1d86a93
UD
6191 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
6192 (_DL_HWCAP_COUNT): New.
0b630168
AJ
6193 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6194 (_dl_string_hwcap): New function, converts from string to hwcap
6195 encoding.
f1d86a93 6196
c0282c06
UD
61972000-05-05 Ulrich Drepper <drepper@redhat.com>
6198
c77ec56d
UD
6199 * elf/Makefile (distribute): Add dl-lookupcfg.h.
6200 * sysdeps/ia64/Dist: New file.
6201
c0282c06
UD
6202 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
6203 parameter to mprotect and for variable assignments.
6204
62052000-05-03 Jes Sorensen <jes@linuxcare.com>
6206
6207 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
6208 validity of map before dereferencing it.
6209
6210 * elf/dl-reloc.c (RESOLVE_MAP): Define.
6211
62122000-05-02 Jes Sorensen <jes@linuxcare.com>
6213
6214 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
6215 lookup to the arguments to elf_machine_fixup_plt().
6216
6217 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
6218 of the symbol being resolved to input argument list and make the
6219 function return the pointer to the reloc.
6220
6221 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
6222 return valuie to lookup_t and return the value.
6223 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
6224 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
6225 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
6226 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
6227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
6228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
6229
6230 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
6231 Make it an inline function returning value after calling
6232 __elf_machine_fixup_plt().
6233
6234 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
6235 symbol address.
6236
6237 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
6238 obtain the symbol address.
6239
6240 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
6241 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
6242
6243 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
6244 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
6245 inline on non ia64.
6246
62472000-04-28 Jes Sorensen <jes@linuxcare.com>
6248
6249 * elf/dl-runtime.c (fixup): Use the portable macros to get the
6250 symbol address of an object.
6251
6252 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
6253 the symbol address of an object.
6254
6255 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
6256 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
6257 (_dl_lookup_symbol_skip): Likewise.
6258 (_dl_lookup_versioned_symbol): Likewise.
6259 (_dl_lookup_versioned_symbol_skip): Likewise.
6260
62612000-04-27 Jes Sorensen <jes@linuxcare.com>
6262
6263 * elf/rtld.c (_dl_start): Get the function pointer return address
6264 via _dl_start_address for architectures that need a function
6265 pointer descriptor rather than just a pointer (ia64).
6266
6267 * sysdeps/generic/dl-lookupcfg.h: New file.
6268 * sysdeps/ia64/dl-lookupcfg.h: New file.
6269 * sysdeps/ia64/dl-machine.h: New file.
6270 * sysdeps/ia64/dl-symaddr.c: New file.
6271 * sysdeps/ia64/dl-fptr.c: New file.
6272
6273 * elf/elf.h: Add IA-64 specific definitions.
6274
61d357ca
UD
62752000-05-04 Jakub Jelinek <jakub@redhat.com>
6276
6277 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
6278 end of enum.
6279
62802000-05-04 Jakub Jelinek <jakub@redhat.com>
6281
6282 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
6283 happy.
6284
5a59a3a5
GK
62852000-04-11 Geoff Keating <geoffk@cygnus.com>
6286
6287 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
6288 symbol. Call _dl_init rather than the old way.
6289
6c51aa64
UD
62902000-05-04 Ulrich Drepper <drepper@redhat.com>
6291
6292 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
6293 test for pointer in range of DSO address space.
6294
68843294
AJ
62952000-05-04 Andreas Jaeger <aj@suse.de>
6296
6c51aa64 6297 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
68843294 6298
17c389fc
UD
62992000-05-03 Ulrich Drepper <drepper@redhat.com>
6300
229c86ea
UD
6301 * locale/findlocale.c (_nl_find_locale): Add new parameter to
6302 calls of _nl_make_l10nflist.
6303
17c389fc
UD
6304 * libio/stdio.h: Make fseeko and ftello prototypes available is
6305 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
6306
6307 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
6308 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6309
63102000-05-03 Bruno Haible <haible@clisp.cons.org>
6311
6312 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
6313 before calling tfind.
6314
63152000-03-05 Jakub Jelinek <jakub@redhat.com>
6316
6317 * resolv/resolv.h (res_querydomain): Remove redefinition to
6318 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
6319
63202000-05-03 Ulrich Drepper <drepper@redhat.com>
6321
6322 * po/gl.po: Update from translation team.
6323
6324 * manual/intro.texi (Program Basics): Change section title.
6325 * manual/process.texi: Fix reference.
6326 (Executing a File): Add reference exec in other section.
6327 * manual/signal.texi: Fix reference.
6328 * manual/startup.texi: Document syscall function.
6329 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6330
63312000-04-29 Bruno Haible <haible@clisp.cons.org>
6332
6333 * intl/libintl.h (bind_textdomain_codeset): New declaration.
6334 * intl/bindtextdom.c (set_binding_values): New function.
6335 (bindtextdomain): Call it.
6336 (bind_textdomain_codeset): New function.
6337 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
6338 (free_mem): Free each binding's codeset.
6339 * intl/gettextP.h (struct binding): Add codeset field.
6340 (_nl_find_domain): Add domainbinding argument.
6341 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
6342 Pass it to _nl_make_l10nflist.
6343 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
6344 (_nl_make_l10nflist): Add domainbinding argument.
6345 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
6346 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
6347 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
6348 locale_charset().
6349 * manual/message.texi: New node "Charset conversion in gettext".
6350
63512000-04-30 Bruno Haible <haible@clisp.cons.org>
6352
6353 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
6354 appropriate. Handle possible __read error.
6355
63562000-04-29 Bruno Haible <haible@clisp.cons.org>
6357
6358 * intl/gettextP.h (__builtin_expect): Define as empty if not a
6359 compiler builtin.
6360 * intl/loadinfo.h (__builtin_expect): Likewise.
6361 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
6362 __builtin_expect where appropriate.
6363 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6364 * intl/localealias.c (extend_alias_table): Return an error indicator.
6365 (read_alias_file): Bail out if extend_alias_table fails.
6366
63672000-04-29 Bruno Haible <haible@clisp.cons.org>
6368
6369 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
6370 * intl/localealias.c: Likewise.
6371
63722000-05-01 Bruno Haible <haible@clisp.cons.org>
6373
6374 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
6375 Initialize domain->plural and domain->nplurals even if there is no
6376 nullentry.
6377
63782000-05-01 Bruno Haible <haible@clisp.cons.org>
6379
6380 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
6381 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
6382 In case of failure, goto converted.
6383
63842000-05-01 Bruno Haible <haible@clisp.cons.org>
6385
6386 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
6387 * iconv/gconv_int.h (norm_add_slashes): Move to here.
6388 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
6389 __gconv_open.
6390
63912000-04-29 Bruno Haible <haible@clisp.cons.org>
6392
6393 * intl/dcigettext.c (transcmp): Compare the domains as well.
6394 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
6395 not before.
6396 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
6397 <errno.h>.
6398
160016c9
UD
63992000-05-03 Ulrich Drepper <drepper@redhat.com>
6400
6401 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
6402 Reported by Bruno Haible.
6403
64042000-04-29 Bruno Haible <haible@clisp.cons.org>
6405
6406 * manual/arith.texi: Remove @w from @itemize.
6407
20d49639
AJ
64082000-05-02 Andreas Jaeger <aj@suse.de>
6409
75cabb04
AJ
6410 * conform/data/tar.h-data: Add some checks for specific values.
6411
6412 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
6413 and RAND_MAX.
6414
6415 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
6416 FOPEN_MAX.
6417
6418 * conform/data/netinet/in.h-data: Add exact checks for the values
6419 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
6420
6421 * conform/data/float.h-data: Add some minimal values.
6422
20d49639
AJ
6423 * conform/conformtest.pl: Test for macros with string constants,
6424 check for minimum and maximum values.
6425 Add limits.h to headers.
6426
6427 * conform/data/cpio.h-data: Test for value of MAGIC.
6428
6429 * conform/data/limits.h-data: New file.
6430
741befc8
AJ
64312000-04-30 Bruno Haible <haible@clisp.cons.org>
6432
6433 * math/Makefile (headers): Add bits/fenvinline.h.
6434
09411686
UD
64352000-05-01 Ulrich Drepper <drepper@redhat.com>
6436
0f50c8d3
UD
6437 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
6438 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
6439
09411686
UD
6440 * posix/Versions: Change posix_spawnattr_getdefault and
6441 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
6442 and posix_spawnattr_setsigdefault respectively.
6443 * posix/spawn.h: Likewise.
6444 * posix/spawnattr_getdefault.h: Likewise.
6445 * posix/spawnattr_setdefault.h: Likewise.
782af2c0 6446 * conform/data/spawn.h-data: Likewise.
09411686 6447
2c1efeaf
AJ
64482000-05-01 Andreas Jaeger <aj@suse.de>
6449
6450 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
6451
e52236e5
UD
64522000-04-30 Ulrich Drepper <drepper@redhat.com>
6453
4b9a6d7c
UD
6454 * manual/sysinfo.texi: Document getdomainname, setdomainname
6455 and sysctl.
e52236e5
UD
6456 * manual/string.texi: Fix typo.
6457 * manual/terminal.texi: Document gtty and stty.
6458 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6459
93b1a554
UD
64602000-04-30 Andreas Jaeger <aj@suse.de>
6461
6462 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6463 accordance with Austin Draft.
6464
01ed6c51
UD
64652000-04-30 Ulrich Drepper <drepper@redhat.com>
6466
c3880fbd
UD
6467 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6468 to recognize second character in comment line.
6469
edecfcda
UD
6470 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6471 ENOBUFS if we are out of memory.
6472
01ed6c51
UD
6473 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6474 available if __USE_XOPEN2K.
6475 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6476 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6477 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6479 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6481 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6482 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6483
adcf0e4a
UD
64842000-04-29 Ulrich Drepper <drepper@redhat.com>
6485
6486 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6487 Recognize option -s, -c, and -l.
6488
64892000-04-20 Thorsten Kukuk <kukuk@suse.de>
6490
6491 * nscd/nscd.c: Start new session for nscd, drop privilegs
6492 to configured user if requested and no -S parameter are used.
6493 * nscd/nscd.conf: Add new option "server-user".
6494 * nscd/nscd_conf.c: Add support for new "server-user" option.
6495 * nscd/nscd.h: Add declaration for server_user variable.
6496 Based on patch by Chris Wing <wingc@engin.umich.edu>
6497
64982000-04-29 Mark Kettenis <kettenis@gnu.org>
6499
6500 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6501 that changing the __restore and __restore_rt signal return code
6502 will break GDB.
6503
65042000-04-29 Mark Kettenis <kettenis@gnu.org>
6505
6506 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6507 <sys/user.h>.
6508
65092000-04-29 Mark Kettenis <kettenis@gnu.org>
6510
6511 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6512
d2dc3fc9
UD
65132000-04-29 Ulrich Drepper <drepper@redhat.com>
6514
9d4d69b8
UD
6515 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6516 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6517 arpa/inet.h.
6518 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6519 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6520 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6521 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6522 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6523 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6524 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6525 posix_fallocate, and posix_madvise.
6526 * conform/data/netdb.h-data: New file.
6527 * conform/data/pthread.h-data: Add pthread_barrier_t,
6528 pthread_barrierattr_t, pthread_barrier_destroy,
6529 pthread_barrier_init, pthread_barrier_wait,
6530 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6531 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6532 pthread_condattr_getclock, pthread_condattr_setclock,
6533 pthread_getcpuclockid, pthread_mutex_timedlock,
6534 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6535 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6536 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6537 * conform/data/sched.h-data: Add sched_ss_low_priority,
6538 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6539 SCHED_SPORADIC.
6540 * conform/data/semaphore.h-data: Add sem_timedwait.
6541 * conform/data/signal.h-data: Add SIGIO.
6542 * conform/data/spawn.h-data: New file.
6543 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6544 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6545 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6546 Fix typo in gmtime_r definition.
6547 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6548 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6549 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6550 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6551 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6552 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6553 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6554 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6555 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6556 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6557 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6558 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6559 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6560 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6561 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6562 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6563 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6564 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6565 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6566 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6567 typo in off_t definition.
6568 * conform/data/net/if.h-data: New file.
6569 * conform/data/netinet/in.h-data: New file.
6570 * conform/data/netinet/tcp.h-data: New file.
6571 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6572 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6573 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6574 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6575 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6576 and posix_typed_mem_open.
6577 * conform/data/sys/socket.h-data: New file.
6578 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6579 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6580 pthread_barrierattr_t, and pthread_spinlock_t.
6581 * conform/data/sys/un.h-data: New file.
6582 * conform/data/sys/utsname.h-data: New file.
6583
6584 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6585 parameter.
6586 * inet/gethstbyad.c (gethostbyname): Likewise.
6587 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6588 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6589 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6590 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6591 Likewise.
6592 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6593 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6594 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6595 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6596 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6597 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6598 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6599 and second parameter.
6600
d2dc3fc9
UD
6601 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6602 == NULL.
6603
9d4d69b8
UD
66042000-04-29 Andreas Jaeger <aj@suse.de>
6605
6606 * conform/data/arpa/inet.h-data: New file.
6607
cffad2ae
AJ
66082000-04-28 Geoff Clare <gwc@unisoft.com>
6609
6610 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6611 path passed to ftw() or nftw() is an empty string.
6612 Closes PR libc/1710.
6613
0a55a284
UD
66142000-04-27 Ulrich Drepper <drepper@redhat.com>
6615
d4134450
UD
6616 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6617 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6618 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6619 * localedata/tst-mbswcs4.c: New file.
6620 * localedata/tst-mbswcs5.c: New file.
6621
a7f91846
UD
6622 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6623 == NULL. Little optimization.
6624
6625 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6626 DT_PREINIT_ARRAYSZ).
6627 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6628
0a55a284
UD
6629 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6630 overflows in conversion from ASCII.
6631
66322000-04-26 Jakub Jelinek <jakub@redhat.com>
6633
6634 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6635 * Makerules (full_config_sysdirs): Likewise.
6636 * MakeTAGS (full_config_sysdirs): Likewise.
6637
66382000-04-26 Jakub Jelinek <jakub@redhat.com>
6639
6640 * .cvsignore: Remove linuxthreads.
6641 * po/.cvsignore: Remove *.pot.
6642 * posix/glob/.cvsignore: Removed.
6643 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
6644
66452000-04-25 Andreas Jaeger <aj@suse.de>
6646
6647 * conform/Makefile (distribute): Also distribute contents of
6648 subdirectories.
6649
6650 * Makerules (no_deps): Remove abi-versions.h.
6651
6652 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
6653
66542000-04-25 Jakub Jelinek <jakub@redhat.com>
6655
6656 * sysdeps/sparc/sparc64/elf/Dist: Remove.
6657 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
6658 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
6659 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
6660 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
6661 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
6662 objects.
6663
66642000-04-25 Thorsten Kukuk <kukuk@suse.de>
6665
6666 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
6667
8651d8a2 66682000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
6669
6670 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
6671 * intl/l10nflist.c: Likewise.
6672
8651d8a2 66732000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
6674
6675 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
6676 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
6677 * intl/textdomain.c [!_LIBC]: Likewise.
6678 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
6679 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
6680 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
6681 syntax error.
6682
8651d8a2 66832000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
6684
6685 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
6686 character set conversion also in the case the translation was found
8651d8a2
UD
6687 after a hash collision or through binary search. Store the maximum
6688 index together with the converted message. Use iconv() when available.
0a55a284
UD
6689 In case of out of memory during conversion, return the unconverted
6690 translated string, not NULL.
6691
0e4ee106
UD
66922000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6693
6694 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
6695 to avoid name clashes with the ia32 linker.
6696
66972000-04-25 Jakub Jelinek <jakub@redhat.com>
6698
6699 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
6700 handling.
6701
3300816c
UD
67022000-04-27 Ulrich Drepper <drepper@redhat.com>
6703
0e4ee106
UD
6704 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
6705 strtoumax, strfry, and memfrob.
6706 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
6707 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6708
3300816c
UD
6709 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
6710 if this function is available.
6711
6712 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
6713 all values.
6714
159a2a51
AJ
67152000-04-27 Jakub Jelinek <jakub@redhat.com>
6716
6717 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
6718
3c5adb76
UD
67192000-04-27 Ulrich Drepper <drepper@redhat.com>
6720
6721 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
6722 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
6723 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
6724 * localedata/tst-mbswcs3.c: New file.
6725
316518d6
UD
67262000-04-26 Ulrich Drepper <drepper@redhat.com>
6727
1da6cab2
UD
6728 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
6729 characters. Don't handle incomplete characters as errors.
6730 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
6731 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
6732 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
6733 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
6734 * localedata/tst-mbswcs2.c: New file.
6735
316518d6
UD
6736 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
6737 stored character in state in UNPACK_BYTES macro.
6738 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
6739 test for available characters, handle result of BODY code correctly.
6740 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
6741 (distribute): Add tst-mbswcs.sh.
6742 Add rule to run tst-mbswcs.sh.
6743 * localedata/tst-mbswcs.sh: New file.
6744 * localedata/tst-mbswcs1.c: New file.
6745
67462000-04-26 Jakub Jelinek <jakub@redhat.com>
6747
6748 * nis/nis_callback.c (__nis_create_callback): Do failed memory
6749 allocation fixups centrally, fix __builtin_expect call, return NULL
6750 on failure, not NIS_NOMEMORY.
6751
67522000-04-27 Bruno Haible <haible@clisp.cons.org>
fff1a600
AJ
6753
6754 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
6755
6756 * intl/loadinfo.h (internal_function): Define if not already defined.
6757
67582000-04-27 Andreas Jaeger <aj@suse.de>
6759
6760 * intl/libintl.h: Fix typo, reported by Bruno Haible
3300816c 6761 <haible@clisp.cons.org>.
fff1a600 6762
d472655c
UD
67632000-04-25 Ulrich Drepper <drepper@redhat.com>
6764
6765 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
6766 setting the state to GMON_PROF_BUSY.
6767
20b02a2e 67682000-04-24 Ulrich Drepper <drepper@redhat.com>
128e2b0f
UD
6769
6770 * elf/dl-profile.c (_dl_start_profile): define all variables which
6771 do not have to be global as local variables.
20b02a2e 6772
6d5728c8
UD
6773 * nis/nis_callback.c (__nis_create_callback): Partially undo last
6774 patch. Keep needed tests for failed memory allocation.
6775
655ab929
UD
6776 * elf/dl-reloc.c (_dl_relocate_object): Add one more
6777 __builtin_expect saying that we don't normally expect to profile.
6778
20b02a2e
UD
6779 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
6780 __builtin_expect where desirable.
6781
d52b6462
UD
67822000-04-23 Ulrich Drepper <drepper@redhat.com>
6783
6784 * manual/Makefile (chapters): Add syslog.
6785 * manual/syslog.texi: New file.
6786 * manual/math.texi: Fix references.
6787 * manual/terminal.texi: Likewise.
6788 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6789
67902000-04-18 Jakub Jelinek <jakub@redhat.com>
6791
6792 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
6793 stdlib.h was not included or __USE_XOPEN not defined.
6794
bcad2c29
UD
67952000-04-23 Ulrich Drepper <drepper@redhat.com>
6796
4ded1f08 6797 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
bcad2c29
UD
6798 Patch by Zack Weinberg <zack@wolery.cumb.org>.
6799
ef52edfc
UD
68002000-04-22 Ulrich Drepper <drepper@redhat.com>
6801
b1184fcd
UD
6802 * manual/examples/subopt.c (mount_opts): Add missing terminating
6803 entry.
6804 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6805
ef52edfc
UD
6806 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
6807 * libio/ftello.c: Likewise.
6808 * libio/ftello64.c: Likewise.
6809 * libio/ioftell.c: Likewise.
6810 * sysdeps/generic/memrchr.c: Likewise.
6811 * sysdeps/posix/libc_fatal.c: Likewise.
6812 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6813 * misc/fstab.c: Include <string.h> for strcmp prototype.
6814 * sysdeps/generic/ldsodefs.h: Likewise.
6815 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6816 Patch by Kurt Roeckx <Q@ping.be>.
6817
6818 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
6819 Remove db-open. Change all uses.
6820 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
6821
68222000-04-21 Jakub Jelinek <jakub@redhat.com>
6823
6824 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
6825 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
6826 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
6827 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
6828 with .set noat/at to shut up warnings.
6829 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
6830 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
6831 compilation if __NR_pciconfig_iobase is not defined.
6832 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
6833 Add alias.
6834
4fcfc4c6
UD
68352000-04-21 Ulrich Drepper <drepper@redhat.com>
6836
3566d33c
UD
6837 * manual/sysinfo.texi: Fix typo.
6838 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
6839 Replace "high precision time" with "high accuracy clock".
6840 Fix language.
6841 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6842
54eb84d0
UD
6843 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
6844 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
6845 instead of malloc.
6846 * nis/nis_subr.c: Use __builtin_expect.
6847 * nis/ypclnt.c: Likewise.
6848 * nis/nis_getservlist.c: Likewise.
6849 * nis/nis_creategroup.c: Likewise.
6850
4fcfc4c6
UD
6851 * nis/nis_callback.c (__nis_create_callback): Check result of
6852 memory allocation. Fix memory leaks. Use __builtin_expect.
6853 (__nis_destroy_callback): Fix memory leaks.
6854
4f263528
AJ
68552000-04-21 Andreas Jaeger <aj@suse.de>
6856
6857 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
6858 * sysdeps/mips/mips64/add_n.S: Likewise.
6859 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
6860 * sysdeps/mips/mips64/lshift.S: Likewise.
6861 * sysdeps/mips/mips64/mul_1.S: Likewise.
6862 * sysdeps/mips/mips64/rshift.S: Likewise.
6863 * sysdeps/mips/mips64/setjmp.S: Likewise.
6864 * sysdeps/mips/mips64/sub_n.S: Likewise.
abd8a0b5
AJ
6865 * sysdeps/mips/mips64/submul_1.S: Likewise
6866 * sysdeps/unix/mips/sysdep.S: Likewise.
4f263528
AJ
6867
6868 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
6869 and update comment. The strtab from _dl_relocate_object can be
6870 used.
6871
a711dd4b
UD
68722000-04-21 Ulrich Drepper <drepper@redhat.com>
6873
6874 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
6875 * iconv/iconv_close.c (iconv_close): Likewise.
6876 * iconv/iconv_open.c (iconv_open): Likewise.
6877
6878 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
6879 __builtin_expect where useful.
6880
6881 * grp/initgroups.c (initgroups): Test for result of memory
6882 allocation and punt if it fails.
6883
6884 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
6885 * grp/fgetgrent.c (fgetfrent): Likewise.
6886 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6887
761df3a7
UD
68882000-04-21 Jakub Jelinek <jakub@redhat.com>
6889
6890 * libio/vasprintf.c: Include string.h to get memcpy prototype.
6891
978ce92b
UD
68922000-04-20 Ulrich Drepper <drepper@redhat.com>
6893
376b8b3d
UD
6894 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
6895 don't search for NUL byte to decrement counter.
6896 Reported by Ulrich.Brink@sap.com.
6897
4a069c33
UD
6898 * iconv/gconv_simple.c: Define separate functions to convert from
6899 UCS4/UCS4-LE to the internal encoding.
6900 * iconv/gconv_builtin.h: Use separate functions to convert from
6901 UCS4/UCS4-LE to the internal encoding.
6902 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
6903 __gconv_transform_ucs4le_internal.
6904
6905 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
6906 output buffer overflow. Reported by Ulrich.Brink@sap.com.
6907
978ce92b
UD
6908 * iconv/skeleton.c: Add some more __builtin_expect.
6909 * iconv/loop.c: Likewise.
6910
460e040a
UD
69112000-03-08 H.J. Lu <hjl@gnu.org>
6912
6913 * posix/regex.c (regex_compile): Correctly handle "\{" when
6914 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
6915
d879eb85
UD
69162000-04-20 Ulrich Drepper <drepper@redhat.com>
6917
6918 * manual/stdio.texi: Give advise about handling error when using
6919 stream functions.
6920 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
6921
a0edd63e
UD
69222000-04-19 Jakub Jelinek <jakub@redhat.com>
6923
6924 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
6925 field to nelems * sizeof (uint32_t).
6926 * locale/programs/ld-address.c (address_output): Align word fields
6927 properly.
6928 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6929 Don't restart idx pointers to idx end at the duo_int_curr_symbol
6930 field.
6931 Avoid giving arbitrary garbage in the crncystr field.
6932 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
6933 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
6934 fields.
6935 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6936 Don't restart idx pointers to idx end at the decimal_point_wc field.
6937 * locale/programs/ld-time.c (time_output): week_1stday should be
6938 word, not byte. Align it properly.
6939
69402000-04-19 H.J. Lu <hjl@gnu.org>
6941
6942 * csu/gmon-start.c (_start): Declared as "extern void".
6943 (etext): Likewise.
6944
69452000-04-18 Andreas Jaeger <aj@suse.de>
6946
6947 * manual/install.texi (Running make install): Don't mention utmpd
6948 anymore.
6949
69502000-04-18 Andreas Jaeger <aj@suse.de>
6951
6952 * linuxthreads/Versions: Use ld instead of ld.so.
6953
6954 * elf/Makefile (ld-map): Use ld.map.
6955
6956 * Versions.def: Use ld instead of ld.so.
6957 * elf/Versions: Likewise.
6958 * sysdeps/mach/hurd/Versions: Likewise.
6959
8b07d6a8
AJ
69602000-04-20 Andreas Jaeger <aj@suse.de>
6961
6962 * elf/rtld.c (print_statistics): Move ifndef further up.
6963 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
6964 (dl_main): Likewise.
6965
74f99822
UD
69662000-04-18 Ulrich Drepper <drepper@redhat.com>
6967
69173865
UD
6968 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
6969 * gmon/Versions: Move moncontrol to GLIBC_2.2.
6970
17ef6f59
UD
6971 * po/cs.po: Update from translation team.
6972
22b0607b
UD
6973 * sysdeps/generic/updwtmp.c: Remove daemon support.
6974
92da46fc
UD
6975 * login/Makefile (routines): Remove utmp_daemon.
6976
bd4ebb90 6977 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 6978 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
6979 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
6980 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
6981
dc911631
UD
6982 * elf/rtld.c: Display statitics option also if hp timing is not
6983 available.
6984
74f99822
UD
6985 * login/programs/connection.c: Removed.
6986 * login/programs/database.c Removed.
6987 * login/programs/error.c: Removed.
6988 * login/programs/request.c: Removed.
6989 * login/programs/xtmp.c: Removed.
6990 * login/programs/xtmp.h: Removed.
6991 * login/Makefile: Remove rules for utmpd.
6992 * login/README.utmpd: Removed.
33c50f10
UD
6993 * login/utmp_daemon.c: Removed.
6994 * login/getutent_r.c: Remove references to daemon functions.
6995 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
6996 declaration.
74f99822 6997
d1891b39
AJ
69982000-04-18 Andreas Jaeger <aj@suse.de>
6999
69a79602
AJ
7000 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7001 2.2 for libnsl, libresolv, librt, libnss_*.
7002
b034c2b1
AJ
7003 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
7004
d1891b39
AJ
7005 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
7006
dc32d4fe
UD
70072000-04-18 Ulrich Drepper <drepper@redhat.com>
7008
ed7abbd0
UD
7009 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
7010 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
7011 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
7012 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
7013 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
7014 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
7015 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
7016 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
7017 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
7018 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
7019 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
7020 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
7021 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
7022 it here.
7023 * sysdeps/unix/sysv/aix/msync.c: New file.
7024 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
7025 * sysdeps/unix/sysv/aix/net/if.h: New file.
7026 * sysdeps/unix/sysv/aix/pipe.c: New file.
7027 * sysdeps/unix/sysv/aix/poll.c: New file.
7028 * sysdeps/unix/sysv/aix/rename.c: New file.
7029 * sysdeps/unix/sysv/aix/rmdir.c: New file.
7030 * sysdeps/unix/sysv/aix/select.c: New file.
7031 * sysdeps/unix/sysv/aix/semctl.c: New file.
7032 * sysdeps/unix/sysv/aix/semget.c: New file.
7033 * sysdeps/unix/sysv/aix/semop.c: New file.
7034 * sysdeps/unix/sysv/aix/sendto.c: New file.
7035 * sysdeps/unix/sysv/aix/setgroups.c: New file.
7036 * sysdeps/unix/sysv/aix/setpgid.c: New file.
7037 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
7038 * sysdeps/unix/sysv/aix/setpriority.c: New file.
7039 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
7040 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
7041 * sysdeps/unix/sysv/aix/setsid.c: New file.
7042 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
7043 * sysdeps/unix/sysv/aix/shmat.c: New file.
7044 * sysdeps/unix/sysv/aix/shmctl.c: New file.
7045 * sysdeps/unix/sysv/aix/shmdt.c: New file.
7046 * sysdeps/unix/sysv/aix/shmget.c: New file.
7047 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
7048 * sysdeps/unix/sysv/aix/sigstack.c: New file.
7049 * sysdeps/unix/sysv/aix/socket.c: New file.
7050 * sysdeps/unix/sysv/aix/socketpair.c: New file.
7051 * sysdeps/unix/sysv/aix/speed.c: New file.
7052 * sysdeps/unix/sysv/aix/symlink.c: New file.
7053 * sysdeps/unix/sysv/aix/sync.c: New file.
7054 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
7055 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
7056 * sysdeps/unix/sysv/aix/times.c: New file.
7057 * sysdeps/unix/sysv/aix/ulimit.c: New file.
7058 * sysdeps/unix/sysv/aix/umask.c: New file.
7059 * sysdeps/unix/sysv/aix/unlink.c: New file.
7060 * sysdeps/unix/sysv/aix/ustat.c: New file.
7061 * sysdeps/unix/sysv/aix/utimes.c: New file.
7062
1531e094
AJ
70632000-04-18 Andreas Jaeger <aj@suse.de>
7064
18be3f69
AJ
7065 * manual/startup.texi (Environment Access): Fix putenv prototype
7066 according to recent changes.
7067 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
7068 PR libc/1692.
7069
1531e094
AJ
7070 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
7071 needed.
7072
cd43f797
UD
70732000-04-18 Ulrich Drepper <drepper@redhat.com>
7074
7075 * posix/Makefile (tests): Add tst-getaddrinfo.
7076 * posix/tst-getaddrinfo.c: New file.
7077
5732c4df
UD
70782000-04-17 Ulrich Drepper <drepper@redhat.com>
7079
dbacafe5
UD
7080 * manual/sysinfo.texi: Document that umount2 is not widely available.
7081
5732c4df
UD
7082 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
7083 signal timing is not really implemented.
7084
70852000-04-17 Andreas Jaeger <aj@suse.de>
7086
7087 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
7088
70892000-04-17 Jakub Jelinek <jakub@redhat.com>
7090
7091 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
7092 and inst_libdir.
7093
faf2289f
UD
70942000-04-17 Ulrich Drepper <drepper@redhat.com>
7095
7096 * manual/intro.texi: Change reference from System Information to
7097 System Management.
7098 * manual/users.texi: Likewise.
7099 * manual/conf.texi: Likewise.
7100 * manual/sysinfo.texi: Document mount, umount, and umount2.
7101 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7102
71032000-04-17 Jakub Jelinek <jakub@redhat.com>
7104
7105 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
7106 Create wnumstr as well as numstr to support wide character output
7107 correctly.
7108
71092000-04-15 Jakub Jelinek <jakub@redhat.com>
7110
7111 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
7112 modification and move it...
7113 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
7114 Add -melf64_sparc switch to $(LD) on sparc64-linux.
7115 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
7116 switch to $(LD) on sparc-linux.
7117
71182000-04-17 Thorsten Kukuk <kukuk@suse.de>
7119
7120 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 7121 and setresuid from sysdep_routines.
faf2289f 7122
171b7cf1
UD
71232000-04-17 Ulrich Drepper <drepper@redhat.com>
7124
5ce8f203
UD
7125 * manual/Makefile (chapters): Add resource.
7126
7127 * manual/time.texi: Move section on resources to...
faf2289f
UD
7128 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
7129 and vtimes.
5ce8f203
UD
7130 * manual/setjmp.texi: Adjust back reference.
7131 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7132
171b7cf1
UD
7133 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
7134 definition.
7135 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
7136 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
7137 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
7138 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
7139 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
7140 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
7141 * sysdeps/unix/sysv/aix/close.c: Add copyright.
7142 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
7143 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
7144 * sysdeps/unix/sysv/aix/access.c: Add copyright.
7145 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
7146 * sysdeps/unix/sysv/aix/Implies: New file.
7147 * sysdeps/unix/sysv/aix/Versions: New file.
7148 * sysdeps/unix/sysv/aix/bind.c: New file.
7149 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
7150 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
7151 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
7152 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
7153 * sysdeps/unix/sysv/aix/chdir.c: New file.
7154 * sysdeps/unix/sysv/aix/chmod.c: New file.
7155 * sysdeps/unix/sysv/aix/chroot.c: New file.
7156 * sysdeps/unix/sysv/aix/creat.c: New file.
7157 * sysdeps/unix/sysv/aix/dl-close.c: New file.
7158 * sysdeps/unix/sysv/aix/dl-open.c: New file.
7159 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
7160 * sysdeps/unix/sysv/aix/fchdir.c: New file.
7161 * sysdeps/unix/sysv/aix/fchmod.c: New file.
7162 * sysdeps/unix/sysv/aix/getgroups.c: New file.
7163 * sysdeps/unix/sysv/aix/gethostname.c: New file.
7164 * sysdeps/unix/sysv/aix/getpriority.c: New file.
7165 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
7166 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
7167 * sysdeps/unix/sysv/aix/getrusage.c: New file.
7168 * sysdeps/unix/sysv/aix/link.c: New file.
7169 * sysdeps/unix/sysv/aix/madvise.c: New file.
7170 * sysdeps/unix/sysv/aix/mkdir.c: New file.
7171 * sysdeps/unix/sysv/aix/mknod.c: New file.
7172 * sysdeps/unix/sysv/aix/mprotect.c: New file.
7173 * sysdeps/unix/sysv/aix/msgctl.c: New file.
7174 * sysdeps/unix/sysv/aix/msgget.c: New file.
7175 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
7176
42eb5242
AJ
71772000-04-17 Andreas Jaeger <aj@suse.de>
7178
b0a62805
AJ
7179 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
7180 as suggested by Ulrich Drepper.
7181 (__dl_runtime_resolve): Remove unused variable, initialize sym
7182 directly.
7183 (RTLD_START): Document OFFSET_GP_GOT.
7184 (OFFSET_GP_GOT): New magic value.
7185 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
7186 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
7187 (elf_machine_relplt): Removed, it's not needed.
7188 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 7189
42eb5242
AJ
7190 * sysdeps/mips/add_n.S: Add newline at EOF.
7191 * sysdeps/mips/rshift.S: Likewise.
7192 * sysdeps/mips/mul_1.S: Likewise.
7193 * sysdeps/mips/lshift.S: Likewise.
7194 * sysdeps/mips/addmul_1.S: Likewise.
7195
e3265f5b
UD
71962000-04-17 Ulrich Drepper <drepper@redhat.com>
7197
b99a3e9a
UD
7198 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
7199
dc051821
UD
7200 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
7201 * elf/dl-lookup.c: Likewise.
7202 * elf/dl-init.c (_dl_init): Likewise.
7203 * elf/dl-fini.c (_dl_fini): Likewise.
7204 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7205 * elf/dl-close.c (_dl_close): Likewise.
7206 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 7207
e3265f5b
UD
7208 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
7209
29094e48
UD
72102000-04-15 Ulrich Drepper <drepper@redhat.com>
7211
c269fdb4
UD
7212 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
7213 only fall back on using Linux.
7214
145b8413
UD
7215 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
7216 Before testing versions check that we actually loaded the object
7217 and whether we are in trace mode. If not loaded during tracing don't
7218 test versions in this object.
7219 (_dl_check_all_versions): Take new parameter and pass to
7220 _dl_check_map_versions.
7221 * sysdeps/generic/ldsodefs.h: Update prototypes for
7222 _dl_check_all_versions and _dl_check_map_versions.
7223 * elf/rtld.c (struct version_check_args): Add dotrace.
7224 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
7225 (dl_main): Pass info about trace mode to version_check_doit.
7226 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
7227 _dl_check_all_versions.
7228
7229 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
7230 and getutmpx.
7231 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7232
29094e48
UD
7233 * manual/argp.texi: Document index parameter of argp_parse.
7234 Fix typo.
7235 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
7236
afdda55a
UD
72372000-04-14 Andreas Jaeger <aj@suse.de>
7238
7239 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
7240 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
7241
7242 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
7243
a5a6f926
UD
72442000-04-15 Ulrich Drepper <drepper@redhat.com>
7245
150f740a
UD
7246 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
7247 compat_symbol call for old adjtime.
7248
7249 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
7250 function interface. Patch by Richard Henderson <rth@cygnus.com>.
7251
a5a6f926
UD
7252 * posix/Makefile (headers): Add spawn.h.
7253 (distribute): Add spawn_int.h.
7254 (routines): Add spawn_faction_init, spawn_faction_destroy,
7255 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
7256 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
7257 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
7258 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
7259 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
7260 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
7261 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
7262 posix_spawnattr_init, posix_spawnattr_destroy,
7263 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
7264 posix_spawnattr_getflags, posix_spawnattr_setflags,
7265 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
7266 and posix_spawnp.
7267 * posix/spawn.c: New file.
7268 * posix/spawn.h: New file.
7269 * posix/spawn_faction_addclose.c: New file.
7270 * posix/spawn_faction_adddup2.c: New file.
7271 * posix/spawn_faction_addopen.c: New file.
7272 * posix/spawn_faction_destroy.c: New file.
7273 * posix/spawn_faction_init.c: New file.
7274 * posix/spawn_int.h: New file.
7275 * posix/spawnattr_destroy.c: New file.
7276 * posix/spawnattr_getdefault.c: New file.
7277 * posix/spawnattr_getflags.c: New file.
7278 * posix/spawnattr_getpgroup.c: New file.
7279 * posix/spawnattr_getschedparam.c: New file.
7280 * posix/spawnattr_getschedpolicy.c: New file.
7281 * posix/spawnattr_getsigmask.c: New file.
7282 * posix/spawnattr_init.c: New file.
7283 * posix/spawnattr_setdefault.c: New file.
7284 * posix/spawnattr_setflags.c: New file.
7285 * posix/spawnattr_setpgroup.c: New file.
7286 * posix/spawnattr_setschedparam.c: New file.
7287 * posix/spawnattr_setschedpolicy.c: New file.
7288 * posix/spawnattr_setsigmask.c: New file.
7289 * posix/spawni.c: New file.
7290 * posix/spawnp.c: New file.
7291
7292 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
7293 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7294
0758ea0c
UD
72952000-04-14 Ulrich Drepper <drepper@redhat.com>
7296
7297 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
7298 * malloc/malloc.c: Implement posix_memalign for glibc.
7299 * include/stdlib.h: Add prototype for __posix_memalign.
7300 * stdlib/stdlib.h: Add prototype for posix_memalign.
7301
12d3e579
AJ
73022000-04-14 Andreas Jaeger <aj@suse.de>
7303
fe81e988
AJ
7304 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
7305 symidx correctly.
c84956c7 7306 (elf_machine_got_rel): Cast sym correctly.
fe81e988 7307
30c2f3c4 7308 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
7309 * sysdeps/mips/addmul_1.S: Likewise.
7310 * sysdeps/mips/lshift.S: Likewise.
7311 * sysdeps/mips/mul_1.S: Likewise.
7312 * sysdeps/mips/rshift.S: Likewise.
7313 * sysdeps/mips/sub_n.S: Likewise.
7314 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 7315
c8c73ac3
AJ
7316 * stdlib/stdlib.h: Fix typo in comment.
7317
d0a5dae4
AJ
7318 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7319 2.2 for libdl, ld and libm.
7320
12d3e579
AJ
7321 * sysdeps/generic/madvise.c: Fix typos.
7322
7323 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
7324
7325 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
7326
7327 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
7328 warnings.
7329
bb8e0116
UD
73302000-04-14 Ulrich Drepper <drepper@redhat.com>
7331
7332 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
7333 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
7334 Make old name weak alias.
7335 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7336 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
7337 Make old name weak alias.
7338 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7339
7340 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
7341 posix_fallocate, and posix_fallocate64.
7342 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
7343 posix_fallocate, and posix_fallocate64.
7344 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
7345 posix_fallocate, and posix_fallocate64.
7346 * sysdeps/generic/fadvise.c: New file.
7347 * sysdeps/generic/fadvise64.c: New file.
7348 * sysdeps/generic/fallocate.c: New file.
7349 * sysdeps/generic/fallocate64.c: New file.
7350 * sysdeps/posix/fallocate.c: New file.
7351 * sysdeps/posix/fallocate64.c: New file.
7352 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
7353 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
7354 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
7355 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7356 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7357 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7359 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7361
7362 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
7363 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7364
8f6f7a31
UD
73652000-04-13 Ulrich Drepper <drepper@redhat.com>
7366
7367 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
7368 * misc/sys/mman.h (posix_madvise): Add prototype.
7369 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
7370 old name and posix_madvise weak aliases.
7371 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7372 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
7373 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7374 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7377 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7378
490a9ab7
AJ
73792000-04-13 Andreas Jaeger <aj@suse.de>
7380
7381 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
7382 versioning.
0fc95464 7383 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 7384 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 7385
382e7b29
AJ
73862000-04-13 Andreas Jaeger <aj@suse.de>
7387
44a202c0 7388 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 7389
382e7b29
AJ
7390 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
7391 default.
7392
7393 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
7394 with some applications.
7395 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
7396
7397 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
7398 * sysdeps/mips/bsd-_setjmp.S: Likewise.
7399 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
7400
7401 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 7402
3737ff12
UD
74032000-04-13 Ulrich Drepper <drepper@redhat.com>
7404
7405 * posix/globtest.sh: Work around inconsistency with expanding ~/
7406 in shell (PR libc/1690). Reported by patsmith@pobox.com.
7407
aee46704
UD
74082000-04-12 Ulrich Drepper <drepper@redhat.com>
7409
b3ae0650
UD
7410 * posix/getconf.c: Add support for many more POSIX options.
7411 * sysdeps/posix/sysconf.c: Likewise.
7412 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
7413 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
7414 _POSIX_SHELL.
7415 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7416 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
7417 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
7418 CLOCK_THREAD_CPUTIME_ID.
7419 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
7420 CLOCK_PROCESS_CPUTIME_ID.
7421 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
7422 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
7423 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
7424 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7425
aa780bab
UD
7426 * malloc/Makefile (tests): Add tst-calloc.
7427 * malloc/tst-calloc.c: New file.
7428
c49b2a4e
UD
7429 * sysdeps/arm/libm-test-ulps: New file.
7430
13f536d4
UD
7431 * malloc/malloc.c: Undo all of today's changes.
7432
92d2e18f
UD
7433 * locale/programs/locale.c (show_info): Don't try to look into
7434 data for LC_ALL (there is none).
7435
3ea1b82e
UD
7436 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
7437 avoid writing over boundary.
7438 Patch by Greg McGary <gkm@eng.ascend.com>.
7439
aee46704
UD
7440 * sysdeps/arm/memprof.h: New file.
7441
4a199526
UD
74422000-04-12 Andreas Jaeger <aj@suse.de>
7443
7444 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
7445
7446 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
7447 for memmem declaration.
7448
da240c6b
UD
74492000-04-12 Ulrich Drepper <drepper@redhat.com>
7450
4a199526
UD
7451 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
7452 to -1.
7453 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7454
a4dec43d
UD
7455 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
7456 mode is invalid.
7457 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7458 Patch by Bart Veer <bartv@redhat.com>.
7459
da240c6b
UD
7460 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7461 function interface.
7462
bfe42f05
AJ
74632000-04-11 Andreas Jaeger <aj@suse.de>
7464
7465 * sysdeps/mips/dl-machine.h: Update some comments.
7466 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7467
e7c036b3
UD
74682000-04-11 Ulrich Drepper <drepper@redhat.com>
7469
8a31d742
UD
7470 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7471 _POSIX_SHARED_MEMORY_OBJECTS.
7472
ca99b8a0
UD
7473 * rt/Makefile (tests): Add tst-shm.
7474 Add rules to generate tst-shm.
7475 * rt/tst-shm.c: New file.
7476
fb125e0c
UD
7477 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7478 for descriptor.
7479
a63be9f7
UD
7480 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7481 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7482 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7483 * sysdeps/generic/shm_open.c: New file.
7484 * sysdeps/generic/shm_unlink.c: New file.
7485 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7486 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7487 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7488 __endmntent, __getmntent_r, __setmntent, and __statfs.
7489
25728f03
UD
7490 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7491 fragmentation by allocating new memory at the end instead of
7492 reallocating.
7493
e7c036b3
UD
7494 * posix/globtest.sh: Fix last change.
7495
74962000-04-10 Philip Blundell <philb@gnu.org>
7497
7498 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7499 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7500 IPV6_DROP_MEMBERSHIP.
7501 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7502 Likewise.
7503
75042000-04-11 Ulrich Drepper <drepper@redhat.com>
7505
7506 * elf/readlib (process_file): Close streams in case of an error.
7507
75082000-04-09 Andreas Jaeger <aj@suse.de>
7509
7510 * elf/readlib.c (process_file): Check if file is big enough to
7511 contain aout and ELF headers.
7512 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7513
75142000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7515
7516 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7517
75182000-04-11 Ulrich Drepper <drepper@redhat.com>
7519
7520 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7521 stream unbuffered.
7522 * rt/Makefile (tests): Add tst-clock.
7523 Add rules to build tst-clock.
7524 * rt/tst-clock.c: New file.
7525 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7526 about initialization of nsec.
7527 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7528 about initialization of freq. Set retval to zero if successful.
7529 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7530
6689a188
UD
75312000-04-10 Ulrich Drepper <drepper@redhat.com>
7532
7533 * Versions.def (librt): Add GLIBC_2.2.
7534 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7535 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7536 timer_getoverr, timer_gettime, and timer_settime.
7537 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7538 clock_settime, timer_create, timer_delete, timer_getoverrun,
7539 timer_gettime, and timer_settime.
7540 * sysdeps/generic/clock_getcpuclockid.c: New file.
7541 * sysdeps/generic/get_clockfreq.c: New file.
7542 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7543 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7544 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7545 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7546 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7547 * sysdeps/unix/i386/i686/Implies: New file.
7548 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7549 * time/Makefile (routines): Move clock_getres, clock_gettime,
7550 clock_settime, timer_create, timer_delete, timer_getoverr,
7551 timer_gettime, and timer_settime to rt/Makefile.
7552 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7553 clock_settime, timer_create, timer_delete, timer_getoverrun,
7554 timer_gettime, and timer_settime.
094f72c6 7555 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
7556
7557 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7558 and not const as attribute name.
7559
25ee87d6
UD
75602000-04-10 Thorsten Kukuk <kukuk@suse.de>
7561
7562 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7563
3b690639
UD
75642000-04-10 Andreas Schwab <schwab@suse.de>
7565
7566 * posix/globtest.sh: Skip tests that depend on unreadable
7567 directories if run as root.
7568
e79af11c
UD
75692000-04-10 Ulrich Drepper <drepper@redhat.com>
7570
7571 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7572 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7573
8956ac9e
UD
75742000-04-09 Ulrich Drepper <drepper@redhat.com>
7575
13fa3676
UD
7576 * sysdeps/unix/clock_gettime.c: New file.
7577 * sysdeps/unix/clock_settime.c: New file.
7578 * sysdeps/posix/clock_getres.c: New file.
7579
1a8de3e4
UD
7580 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7581
4186c9f4
UD
7582 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7583 lseek call be passing in a buffer which never allow a successful
7584 first getdents syscall if not at leas the initial entry can be
7585 stored in the user buffer.
7586
8956ac9e
UD
7587 * localedata/Makefile: Add rules to clean up directories created by
7588 new strfmon tests.
7589
75902000-04-09 Geoff Clare <gwc@unisoft.com>
7591
7592 * localedata/tst-fmon.data: Added new tests for strfmon()
7593 using test locales with all combinations of cs_precedes,
7594 sign_posn and sep_by_space.
7595 * localedata/tst-fmon.sh: Updated to support the new tests.
7596 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7597 the localedef source for the new strfmon() test locale.
7598 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7599 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7600 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7601 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7602 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7603 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7604 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7605 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7606 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7607 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7608 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7609 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7610 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7611 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7612
7613 * stdlib/strfmon.c: Correct problems with missing or extra
7614 spaces for unusual combinations of sign_posn and sep_by_space.
7615 Improved left-precision alignment code.
7616
fe9d16a5
UD
76172000-04-07 Andreas Jaeger <aj@suse.de>
7618
7619 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7620
ddf0c536
AJ
76212000-04-10 Andreas Jaeger <aj@suse.de>
7622
7623 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7624
fd1b5c0f
UD
76252000-04-09 Ulrich Drepper <drepper@redhat.com>
7626
7627 Implement handling of restartable conversion functions according to
7628 ISO C.
7629 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7630 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7631 * iconv/gconv.c: Pass additional parameter to conversion function.
7632 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7633 (internal_ucs4le_loop_single): New function.
7634 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7635 (__gconv_transform_internal_ascii): Likewise.
7636 (__gconv_transform_internal_utf8): Likewise.
7637 (__gconv_transform_utf8_internal): Likewise.
7638 (__gconv_transform_ucs2_internal): Likewise.
7639 (__gconv_transform_internal_ucs2): Likewise.
7640 (__gconv_transform_ucs2reverse_internal): Likewise.
7641 (__gconv_transform_internal_ucs2reverse): Likewise.
7642 (internal_ucs4le_loop_unaligned): Before return
7643 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
7644 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
7645 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
7646 * iconv/loop.c: Fit in definition of function to convert one character
7647 for processing of left-over bytes from the state object.
7648 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
7649 inend to match names in loop functions.
7650 (RESET_INPUT_BUFFER): Change apprpriately.
7651 (gconv): If needed, call function to process bytes from the state
7652 object. Similar at the end: store left over bytes if input is
7653 incomplete.
7654 Take extra argument and add new argument to all calls of the
7655 conversion function.
7656 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
7657 information in the state object to not conflict with length count.
7658 * iconvdata/iso-2022-jp.c: Likewise.
7659 * iconvdata/iso-2022-kr.c: Likewise.
7660 * iconvdata/unicode.c: Adjust for change change in parameters of
7661 skeleton function.
7662 * iconvdata/utf-16.c: Likewise.
7663 * libio/iofwide.c: Add new parameter to all calls of conversion
7664 function.
7665 * wcsmbs/btowc.c: Likewise.
7666 * wcsmbs/mbrtowc.c: Likewise.
7667 * wcsmbs/mbsnrtowcs.c: Likewise.
7668 * wcsmbs/mbsrtowcs.c: Likewise.
7669 * wcsmbs/wcrtomb.c: Likewise.
7670 * wcsmbs/wcsnrtombs.c: Likewise.
7671 * wcsmbs/wcsrtombs.c: Likewise.
7672 * wcsmbs/wctob.c: Likewise.
7673
7674 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
7675 MAX_NEEDED_INPUT.
7676
22804455
AJ
76772000-04-07 Andreas Jaeger <aj@suse.de>
7678
7679 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
7680 newer kernels.
7681
aa831d6d
UD
76822000-04-07 Ulrich Drepper <drepper@redhat.com>
7683
7684 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
7685 element a union to allow byte access.
7686 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
7687 mbstate_t.
7688 * iconvdata/iso-2022-jp.c: Likewise.
7689 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
7690 * wcsmbs/mbsinit.c: Likewise.
7691 * stdlib/mblen.c: Likewise.
b837918e 7692 * stdio-common/printf-parse.h: Likewise.
aa831d6d 7693
a0dc5206
UD
76942000-04-06 Ulrich Drepper <drepper@redhat.com>
7695
f11b9da6
UD
7696 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
7697 kernel does not allow relative seeks on descriptors associated
7698 with directories. Go back to get the position in the directory
7699 every time we enter the function. Return -1 and set errno if one
7700 entry could be read from the kernel but does not fit into the
7701 buffer passed in by the user.
7702
a0dc5206
UD
7703 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
7704 Support ..(2).. ellipsis.
7705 (parse_charmap): Recognize ..(2).. etc and pass step down.
7706 Correctly generate names for UCS4 characters.
7707
7708 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
7709 (ctype_finish): We know the wide character value for <SP>,
7710 don't search.
7711 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
7712 (charclass_ucs4_ellipsis): Likewise.
7713 (read_translit_ignore_entry): Store ellipsis step.
7714 (ctype_read): Recognize ..(2).. etc and pass step down.
7715
7716 * locale/programs/linereader.c (lr_token): When seeing comment
7717 character ignore only rest of line in sources but stop at escaped
7718 newline.
7719 Recognize ..(2).. and ....(2).....
7720
7721 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
7722 and tok_ellipsis4_2.
7723
372f94ba
UD
77242000-04-06 Andreas Jaeger <aj@suse.de>
7725
7726 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
7727 removed, remove it here also.
7728 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
7729 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
7730 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
7731 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
7732
77332000-04-06 Jakub Jelinek <jakub@redhat.com>
7734
7735 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
7736 include bits/sigcontext.h.
7737 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7738
723faa38
UD
77392000-04-06 Ulrich Drepper <drepper@redhat.com>
7740
5943f0bc
UD
7741 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
7742 collation symbol definition. Value in quivalence definition must
7743 be defined, don't check that it is not.
7744
723faa38
UD
7745 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
7746 values as character names.
7747
7748 * locale/programs/ld-ctype.c (get_character): Handle missing
7749 repertoire map correctly.
7750
a1303dc8
UD
77512000-04-05 Cristian Gafton <gafton@redhat.com>
7752
7753 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
7754 because it is used in generic code.
7755 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
7756 * wcsmbs/wcwidth.h: Declare __ctype32_b.
7757 * intl/gettext.c: Include <locale.h>.
7758 * intl/ngettext.c: Likewise.
7759
77602000-04-05 Jakub Jelinek <jakub@redhat.com>
7761
7762 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
7763 socklen_t type for size.
7764 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
7765 init function interface.
7766 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
7768 sys/ucontext.h.
7769 (__jmp_buf): Declare the whole type structure here, don't use
7770 ucontext.
7771
2a0ff6ff
UD
77722000-04-05 Ulrich Drepper <drepper@redhat.com>
7773
a1303dc8
UD
7774 * iconv/skeleton.c (put16u): Fix typo.
7775 Reported by Bruno Haible <haible@ilog.fr>.
7776
2a0ff6ff
UD
7777 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
7778 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
7779 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
7781 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
7783
7784 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
7785 * Makefile (distribute): Add abi-versions.awk and
7786 firstversions.awk.
7787 Patches by Torsten Duwe <duwe@caldera.de>.
7788
5560eac7
UD
77892000-04-05 Andreas Schwab <schwab@suse.de>
7790
7791 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
7792
a6dd65cd
AS
77932000-04-05 Andreas Schwab <schwab@suse.de>
7794
7795 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
7796 entry point, used on Hurd.
7797
7d4de961
UD
77982000-04-04 Andreas Jaeger <aj@suse.de>
7799
7800 * intl/Makefile: Only run the gettext test with shared libraries.
7801
f0d872e9
UD
78022000-03-16 Mark Kettenis <kettenis@gnu.org>
7803
7804 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7805 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7806
7499a22a
RM
78072000-04-05 Roland McGrath <roland@baalperazim.frob.com>
7808
7809 * Makeconfig: Undo last change.
7810 * configure.in: If --disable-shared was given, don't set VERSIONING,
7811 don't define DO_VERSIONING, and don't give scare warning for no
7812 versioning.
7813 * configure: Regenerated.
7814
2c57ff21
RM
78152000-04-04 Roland McGrath <roland@baalperazim.frob.com>
7816
7817 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
7818
09847c8d
UD
78192000-04-04 Andreas Jaeger <aj@suse.de>
7820
7821 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
7822
3aaad0b6
UD
78232000-04-04 Ulrich Drepper <drepper@redhat.com>
7824
736d0841
UD
7825 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
7826 STV_HIDDEN and STV_INTERNAL during lookup.
7827 (profile_fixup): Likewise.
7828 * elf/dl-reloc.c (RESOLVE): Likewise.
7829
3aaad0b6
UD
7830 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
7831 unaligned so that it compiles for system which need unaligned
7832 access handling.
7833
0b7219cc
UD
78342000-04-04 Andreas Schwab <schwab@suse.de>
7835
7836 * elf/cache.c (print_entry): Only look at the type field when
7837 printing the type.
7838
78392000-04-04 Andreas Schwab <schwab@suse.de>
7840
7841 * iconvdata/big5.c (BODY): Fix typo.
7842
658943b9
AS
78432000-04-04 Andreas Schwab <schwab@suse.de>
7844
7845 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
7846 function interface. Remove unused _dl_start_user entry point.
7847
bd457114
UD
78482000-04-03 Andreas Jaeger <aj@suse.de>
7849
7850 * include/arpa/inet.h (__inet_aton): Add protoype.
7851
41aefe41
UD
78522000-04-01 Andreas Jaeger <aj@suse.de>
7853
7854 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
7855
7856 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
7857 * sysdeps/mach/mips/thread_state.h: Likewise.
7858
7859 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
7860 * sysdeps/generic/fegetenv.c: Likewise.
7861 * sysdeps/generic/fesetenv.c: Likewise.
7862 * sysdeps/generic/feupdateenv.c: Likewise.
7863 * sysdeps/generic/fraiseexcpt.c: Likewise.
7864 * sysdeps/generic/fsetexcptflg.c: Likewise.
7865 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
7866 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7867 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7868 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7869
78702000-04-02 H.J. Lu <hjl@gnu.org>
7871
7872 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
7873
ad085e8a
UD
78742000-04-03 Ulrich Drepper <drepper@redhat.com>
7875
839be784
UD
7876 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
7877 (add_name_to_object): Add cast in malloc call.
7878 (fillin_rpath): Optimize loop to initialize ->status a bit.
7879
f9b798ba
UD
7880 * sysdeps/i386/dl-machine.h: Undo last change.
7881 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
7882 Restore %edx register after call here.
7883
ad085e8a
UD
7884 * sysdeps/arm/atomicity.h: New file.
7885 Contributed by Jesper Skov <jskov@redhat.com>.
7886
c6d80202
RM
78872000-04-03 Roland McGrath <roland@baalperazim.frob.com>
7888
ca5becb0
RM
7889 * Makeconfig (preprocess-versions): Undo last change.
7890 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
7891
c6d80202
RM
7892 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
7893 here, before we might move the stack.
7894 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
7895 (init1): And not here.
7896
7897 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
7898 change, to restore argc value in call-clobbered register after
7899 RTLD_START_SPECIAL_INIT, which will contain a call.
7900
7901 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
7902 allocating and initializing L->l_initfini.
7903
7904 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
7905
152e7964
UD
79062000-04-03 Ulrich Drepper <drepper@redhat.com>
7907
7908 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
7909 RUNPATH, RPATH, and LD_LIBRARY_PATH.
7910 (open_path): Change type of fourth parameter. Make pointer to array
7911 of pointers. Create variable dirs with original type.
7912 Track whether any directory for the object exists and if not,
7913 change *DIRSP to (void*) -1 to signal there is no such search path.
7914 (_dl_map_object): Change all calls of open_path.
7915 Rewrite decompose_rpath calls.
7916
42ba2c11
UD
79172000-03-31 Andreas Schwab <schwab@suse.de>
7918
7919 * string/strfry.c: Declare STATE as array of char instead of int
7920 and do not initialize it (done by initstate_r). Pass correct
7921 size.
7922
0a63529d
UD
79232000-04-03 Ulrich Drepper <drepper@redhat.com>
7924
42ba2c11
UD
7925 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
7926
0a63529d
UD
7927 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
7928 instruction out of the code.
7929
cf197e41
UD
79302000-04-02 Ulrich Drepper <drepper@redhat.com>
7931
7932 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
7933 element at this position.
7934
7935 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
7936 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
7937 l_reldeps elements.
7938 * elf/dl-lookup.c (add_dependency): New function.
7939 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
7940 dynamically loaded object.
7941 (_dl_lookup_symbol_skip): Likewise.
7942 (_dl_lookup_versioned_symbol): Likewise.
7943 (_dl_lookup_versioned_symbol_skip): Likewise.
7944 * elf/dl-open.c: Don't define _dl_load_lock here...
7945 * elf/rtld.c: ...but here...
7946 * elf/dl-support.c: ...and here.
7947 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
7948 through relocation.
7949 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
7950 relocations.
7951 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
7952 anymore.
7953 * dlfcn/glrefmain.c: Add one more debug message.
7954
7955 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
7956 command line.
7957 * Makerules (sysd-versions): Use ( ) instead of { }.
7958
7959 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
7960 optimize for the non-debugging case.
7961 * elf/dl-lookup.c: Likewise.
7962 * sysdeps/generic/libc-start.c: Likewise.
7963
e1724cd7
RM
79642000-04-02 Roland McGrath <roland@baalperazim.frob.com>
7965
5879ee9f
RM
7966 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
7967 (init1): Don't initialize __environ here, since init already does it.
7968 (first_init): New function, broken out of _init.
7969 (_hurd_stack_setup): Use it.
7970 [SHARED] (_dl_init_first): New function, renamed from old _init.
7971 (init1) [SHARED]: Don't call posixland_init here.
7972 (posixland_init): Take ENVP arg, so signature is usual for initializer.
7973 [SHARED] (_init): Define as alias for posixland_init.
7974 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
7975 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
7976 RTLD_START_SPECIAL_INIT before calling initializers.
7977 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
7978 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
7979 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
7980 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
7981
e1724cd7
RM
7982 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
7983 since we define the function with the name `tmpfile'.
7984
7985 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
7986 * hurd/Versions: Likewise.
7987
e10b8512
UD
79882000-04-02 Ulrich Drepper <drepper@redhat.com>
7989
e1724cd7 7990 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 7991
e1724cd7 7992 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
7993 socklen_t.
7994 * inet/getnameinfo.c: Likewise.
7995
0adb8e47
UD
79962000-04-01 Ulrich Drepper <drepper@redhat.com>
7997
750f9af6
UD
7998 * posix/unistd.h (socklen_t): Define if it has not yet happened.
7999 (gethostname): Change type of second parameter to socklen_t.
8000 * include/unistd.h (__gethostname): Change type of second
8001 parameter to socklen_t.
8002 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
8003 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8004 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
8005 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
8006 Likewise.
8007 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
8008 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
8009 Allow definition elsewhere.
8010 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
8011 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8012 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8013 * sysdeps/generic/bits/types.h: Define __socklen_t.
8014 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
8015 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
8016 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8017 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8018 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
8020 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
8021
ad483238
UD
8022 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
8023 (inet_lnaof): Likewise.
8024 (inet_netof): Likewise.
8025 (inet_network): Likewise.
8026 (inet_aton): Likewise.
8027 (inet_makeaddr): Change parameter types to in_addr_t.
8028 (inet_neta): Likewise.
8029 (inet_ntop): Change type of last parameter to socklen_t.
8030 (inet_aton): Only make available if __USE_MISC.
8031 (inet_neta): Likewise.
8032 (inet_net_ntop): Likewise.
8033 (inet_net_pton): Likewise.
8034 (inet_nsap_ntoa): Likewise.
8035
8036 * inet/in.h: Define in_port_t type.
8037 Define in_addr_t type.
8038 (struct in_addr): Use in_addr_t in definition.
8039 (IN_CLASSA): Use cast to in_addr_t.
8040 (IN_CLASSB): Likewise.
8041 (IN_CLASSC): Likewise.
8042 (IN_CLASSD): Likewise.
8043 (IN_EXPERIMENTAL): Likewise.
8044 (IN_BADCLASS): Likewise.
8045 (INADDR_ANY): Likewise.
8046 (INADDR_BROADCAST): Likewise.
8047 (INADDR_NONE): Likewise.
8048 (INADDR_LOOPBACK): Likewise.
8049 (INADDR_UNSPEC_GROUP): Likewise.
8050 (INADDR_ALLHOSTS_GROUP): Likewise.
8051 (INADDR_ALLRTRS_GROUP): Likewise.
8052 (INADDR_MAX_LOCAL_GROUP): Likewise.
8053 (struct sockaddr_in): Use in_port_t for sin_port element.
8054 (struct sockaddr_in6): Use in_port_t for sin6_port element.
8055 Use uint8_t instead of u_int8_t.
8056
8057 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
8058 Call __inet_aton instead of inet_aton.
8059 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
8060
8061 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
8062 (innetgr): Likewise.
8063 (struct addrinfo): Use socklen_t for ai_addrlen element.
8064
8065 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
8066 IPV6_RECVERR): New defines.
8067
9b48fa9b
UD
8068 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
8069 * inet/getnetbyad.c: Likewise.
8070 * inet/getnetbyad_r.c: Likewise.
8071 * nis/nss_nis/nis-network.c: Likewise.
8072 * nis/nssplus_nis/nisplus-network.c: Likewise.
8073 * nss/nss_files/files-network.c: Likewise.
8074 * resolv/netdb.h: Define uint32_t if not already happened.
8075 Include bits/netdb.h. Remove definition of struct netent.
8076 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
8077 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
8078 * sysdeps/generic/bits/netdb.h: New file.
8079 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
8080
4380ef5e
UD
8081 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
8082 (tests): Add glrefmain.
8083 Add rules to build modules and run tests. Ignore result of glrefmain
8084 for now since it fails.
8085 * dlfcn/glrefmain.c: New file.
8086 * dlfcn/glreflib1.c: New file.
8087 * dlfcn/glreflib2.c: New file.
8088
8089 * test-skeleton.c: Include <string.h> for strsignal prototype.
8090
289e8e7e
UD
8091 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
8092 to be missing.
8093
0adb8e47
UD
8094 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
8095 former init-first.h. Initialize __libc_multiple_libcs.
8096
c0c2af07
UD
80972000-03-31 Ulrich Drepper <drepper@redhat.com>
8098
c1db8b0d
UD
8099 * iconv/skeleton.c: Define access macros with u suffix. Adjust
8100 #if expression for use of unaligned function to the one used in
8101 the definition of these functions.
6674e127 8102 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
8103 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
8104 (internal_ucs4le_loop_unaligned): New function.
8105
c0c2af07
UD
8106 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
8107 (tests): Add order.
8108 (module-names): Add dep1, dep2, dep3, and dep4.
8109 Add dependencies for dep* modules and order.
8110 Define rule for order.out which checks the result.
8111 * elf/dep1.c: New file.
8112 * elf/dep2.c: New file.
8113 * elf/dep3.c: New file.
8114 * elf/dep4.c: New file.
8115 * elf/order.c: New file.
8116
e1724cd7 8117 * elf/dl-init.c: Fix typo in comment.
c0c2af07 8118
ad08a5b6
AJ
81192000-03-31 Andreas Jaeger <aj@suse.de>
8120
8121 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
8122 init function interface.
8123 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
8124
e7960df5
AJ
81252000-03-31 Andreas Jaeger <aj@suse.de>
8126
36d04330
AJ
8127 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
8128 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8129 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8130 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
8131 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8132
88fdf42f 8133 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 8134 anymore, update comment.
88fdf42f 8135
e7960df5
AJ
8136 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8137
8138 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
8139 SHLIB_COMPAT - the struct is always needed.
8140
9ad04ff7
UD
81412000-03-31 Ulrich Drepper <drepper@redhat.com>
8142
8143 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
8144 * elf/dl-support.c: Define _dl_starting_up.
8145
924c3f59
UD
81462000-03-30 Ulrich Drepper <drepper@redhat.com>
8147
9ad04ff7 8148 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
8149 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
8150
9ad04ff7 8151 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 8152
d7926ed9
UD
8153 * elf/Makefile (dl-routines): Remove preinit.
8154 * elf/Versions: Remove _dl_preinit.
8155 * elf/dl-preinit.c: Removed. Move content into...
8156 * elf/dl-init.c: ...here.
758cb061 8157 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 8158
924c3f59 8159 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 8160 elements.
924c3f59 8161
9e9e0532
UD
81622000-03-29 Geoff Clare <gwc@unisoft.com>
8163
8164 * stdlib/strfmon.c: Corrected problems with the code that
8165 sets default values for [np]_sep_by_space and
8166 [np]_sign_posn; also the new positive/negative alignment
8167 code from the previous patch was not quite right for
8168 [np]_sign_posn = 0.
8169
8170 * localedata/tst-fmon.data: Changes corresponding to the
8171 two sets of fixes made to stdlib/strfmon.c.
8172
b5567b2a
UD
81732000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
8174
8175 * malloc/malloc.c: Declare bit flags UL so that they will not
8176 default to int size when being inverted.
8177
81782000-03-29 Andreas Jaeger <aj@suse.de>
8179
8180 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
8181 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8182
81832000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 8184 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
8185
8186 * Makeconfig: Introduce new variable SHARED to mark code used in
8187 the shared library.
8188 * elf/dl-close.c: Use it instead of PIC.
8189 * elf/dl-load.c: Likewise.
8190 * elf/dl-open.c: Likewise.
8191 * hurd/geteuids.c: Likewise.
8192 * include/libc-symbols.h: Likewise.
8193 * include/shlib-compat.h: Likewise.
8194 * libio/freopen.c: Likewise.
8195 * linuxthreads/cancel.c: Likewise.
8196 * linuxthreads/pthread.c: Likewise.
8197 * linuxthreads/wrapsyscall.c: Likewise.
8198 * nss/nsswitch.c: Likewise.
8199 * stdio-common/vfprintf.c: Likewise.
8200 * sysdeps/arm/init-first.c: Likewise.
8201 * sysdeps/i386/init-first.c: Likewise
8202 * sysdeps/generic/init-first.c: Likewise.
8203 * sysdeps/generic/libc-start.c: Likewise.
8204 * sysdeps/mips/init-first.c: Likewise.
8205 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8206 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8207 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8208 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8209 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8210
8211 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
8212
b86120ed
UD
82132000-03-29 Andreas Jaeger <aj@suse.de>
8214
8215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8216 Use D_PTR to access relocated entries in l_info.
8217 (elf_machine_rela): Likewise.
8218
8219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8220 Likewise.
8221 (elf_machine_rela): Likewise.
8222
8223 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8224 Likewise.
8225 (__elf_machine_fixup_plt): Likewise.
8226 (__process_machine_rela): Likewise.
8227
8228 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8229 (elf_machine_rela): Likewise.
8230
8231 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
8232 (elf_machine_rel): Likewise.
8233
8234 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8235 (elf_machine_fixup_plt): Likewise.
8236 (elf_machine_rela): Likewise.
8237
82382000-03-29 Andreas Jaeger <aj@suse.de>
8239
8240 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
8241 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8242 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8243 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
8244 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8245 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
8246 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8247 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
8248 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8249 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
8250 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
8251 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
8252 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
8253 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8254 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8255
8256 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
8257 macros, remove K&R prototypes.
8258
05c54d4c
UD
82592000-03-30 Ulrich Drepper <drepper@redhat.com>
8260
8261 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
8262 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
8263 (PR libc/1677).
8264
7f4e0e58
UD
82652000-03-30 Andreas Jaeger <aj@suse.de>
8266
8267 * misc/sys/cdefs.h: Remove K&R support.
8268
fdf64555
UD
82692000-03-30 Ulrich Drepper <drepper@redhat.com>
8270
8271 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9d54e984 8272 more cases.
fdf64555
UD
8273 * iconv/loop.c: Likewise.
8274
99a7e065
UD
82752000-03-29 Bruno Haible <haible@clisp.cons.org>
8276
8277 * iconv/loop.c (put16): Remove __const. Fix access index.
8278 (put32): Remove __const. Use uint32_t instead of uint16_t.
8279 * iconv/skeleton.c: Likewise.
8280
9a95cd1c
RM
82812000-03-30 Roland McGrath <roland@baalperazim.frob.com>
8282
8283 * mach/Versions (libc: GLIBC_2.0)
8284 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
8285 __vm_allocate on this.
8286 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
8287 mutex- and spinlock-related symbols on this.
8288 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8289 New version set. Lock-related symbols go here instead in this case.
8290 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
8291 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
8292 cthread_getspecific, cthread_setspecific, __libc_getspecific.
8293 * hurd/Versions
8294 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
8295 Put them here instead.
8296 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8297 New version set. Those cthreads symbols go here instead in this case.
8298 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
8299
dacc8ffa
UD
83002000-03-30 Ulrich Drepper <drepper@redhat.com>
8301
841288ec
UD
8302 * elf/dl-init.c (_dl_init): We don't need to call constructors
8303 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
8304
dacc8ffa
UD
8305 Implement dynamic determination of constructor/destructor order in
8306 the dynamic linker.
8307 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
8308 (GLIBC_2.2): Add _dl_init.
8309 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
8310 r_duplist is not anymore allocated separately. l_initfini is and
8311 therefore free it if necessary.
8312 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
8313 malloc block. Otherwise allocate l_initfini list only.
8314 Put dependencies for the object in l_initfini list.
8315 Sort dependencies for the object to be loaded topologically.
8316 * elf/dl-fini.c: Before running the destructors sort the topologically.
8317 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
8318 call constructors instead of iterating over the pointers. Get list of
8319 objects for which to run constructors from l_initfini element. Accept
8320 argc, argv, and env as parameters and pass them to the constructors.
8321 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
8322 with size of dynamic section.
8323 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
8324 _dl_init_next and calling constructors ourself.
8325 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
8326 Take argc, argv, and env as parameters and pass them to the
8327 constructors. Rewrite to call all constructors and not iterate over
8328 the pointers.
8329 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
8330 precompute l_initcount and l_preinitcount.
8331 * elf/link.h (struct link_map): Add l_ldnum member.
8332 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
8333 l_initcount, and l_preinitcount. Add l_initfini.
8334 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
8335 one for _dl_init.
8336 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
8337 function interface.
8338 * sysdeps/unix/sysv/linux/init-first.h: Removed.
8339 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
8340 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
8341 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
8342 conventions now match.
8343
8344 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
8345 effect for shared objects. Don't emit message and call only for
8346 static library.
8347
38e986ec
UD
83482000-03-29 Ulrich Drepper <drepper@redhat.com>
8349
8350 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
8351 CSA_Z243.4-1985-1..UCS2.
8352 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
8353 ISO-8859-10..UCS2.
8354
689993b2
AJ
83552000-03-29 Andreas Jaeger <aj@suse.de>
8356
dab715b9
AJ
8357 * include/unistd.h: Remove duplicate entry for __rmdir.
8358 Remove declaration of __mkdir since __mkdir is declared in
8359 sys/stat.h.
8360
56fbd811
AJ
8361 * manual/creature.texi (Feature Test Macros): Fix typo, reported
8362 by Michael Deutschmann <michael@talamasca.ocis.net>.
8363
689993b2
AJ
8364 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
8365 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8366 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8367 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8368 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
8369
300583a7
UD
83702000-03-28 Andreas Jaeger <aj@suse.de>
8371
8372 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
8373 declaration, the prototype is defined via bits/mathcalls.h.
8374 (__sincosf): Likewise.
8375 (__sincosl): Likewise.
8376 (ldexp): Likewise.
8377 (ldexpf): Likewise.
8378 (ldexpl): Likewise.
8379 (__finite): Likewise.
10685cd0 8380 (__inline_mathcodeNP): New macro without prototype
300583a7 8381 declarations.
10685cd0
AJ
8382 (__inline_mathcodeNP2): Likewise.
8383 (__inline_mathcodeNP3): Likewise.
8384 (__inline_mathcodeNP_): Likewise.
8385 (__inline_mathcodeNP2_): Likewise.
8386 (__inline_mathcodeNP3_): Likewise.
8387 (__inline_mathopNP): Likewise.
8388 (__inline_mathop_declNP): Likewise.
8389 (__inline_mathop_declNP_): Likewise.
300583a7
UD
8390 (__inline_mathcode_): Use __inline_mathcodeNP_.
8391 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
8392 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
8393 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
8394 (__expm1l): Don't define prototype, the prototype is defined via
8395 bits/mathcalls.h.
8396 (exp): Likewise.
8397 (__expl): Likewise.
8398 (tan): Likewise.
8399 (atan2): Likewise.
8400 (__atan2l): Likewise.
8401 (fmod): Likewise.
8402 (pow): Likewise.
10685cd0
AJ
8403 (fabsf): Likewise.
8404 (fabsl): Likewise.
8405 (__fabsl): Likewise.
300583a7
UD
8406 (asin): Likewise.
8407 (acos): Likewise.
8408 (sinh): Likewise.
8409 (cosh): Likewise.
8410 (tanh): Likewise.
8411 (floor): Likewise.
8412 (ceil): Likewise.
8413 (expm1): Likewise.
8414 (log1p): Likewise.
8415 (asinh): Likewise.
8416 (acosh): Likewise.
8417 (atanh): Likewise.
8418 (hypot): Likewise.
8419 (logb): Likewise.
8420 (fma): Likewise.
8421 (drem): Likewise.
8422 (sqrt): Likewise.
8423 (__sqrtl): Likewise.
8424 (sin): Likewise.
8425 (cos): Likewise.
8426 (atan): Likewise.
8427 (log): Likewise.
8428 (log10): Likewise.
8429 (asinh): Likewise.
8430 (log2): Likewise.
8431 (rint): Likewise.
8432
77e1d15a
UD
84332000-03-28 Ulrich Drepper <drepper@redhat.com>
8434
d2b9a50e
UD
8435 * Makerules: If make variable md5 is defined to yes after
8436 generating dependencies generate MD5 sum for the object.
8437
9dfa9a5a
UD
8438 * iconv/gconv_builtin.h: Fix length in transformation definition
8439 for UNICODEBIG.
8440
77e1d15a
UD
8441 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
8442
8443 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
8444 allow as well reading from/writing to unaligned addresses on machines
8445 which don't support this in hardware. Use FCTNAME macro to define
8446 function name. Include the file a second time for platforms which
8447 need special unaligned handling.
8448 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
8449 to access potentially unaligned addresses. These macros are intended
8450 to be used only outside the loops.
8451 (unaligned): New definition. In case the machine can handle unaligned
8452 access define as zero. Otherwise as a variable which is initialized
8453 as nonzero in case the buffer passed in at runtime is unaligned with
8454 respect to the character set encoding involved.
8455 Call aligned or unaligned looop functions according to unaligned
8456 variable.
8457 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
8458 of direct casting pointer to potentially handle unaligned memory
8459 accesses.
8460 * iconvdata/8bit-generic.c: Likewise.
8461 * iconvdata/ansi_x3.110.c: Likewise.
8462 * iconvdata/big5.c: Likewise.
8463 * iconvdata/euc-cn.c: Likewise.
8464 * iconvdata/euc-jp.c: Likewise.
8465 * iconvdata/euc-kr.c: Likewise.
8466 * iconvdata/euc-tw.c: Likewise.
8467 * iconvdata/gbk.c: Likewise.
8468 * iconvdata/iso-2022-cn.c: Likewise.
8469 * iconvdata/iso-2022-jp.c: Likewise.
8470 * iconvdata/iso-2022-kr.c: Likewise.
8471 * iconvdata/iso646.c: Likewise.
8472 * iconvdata/iso_6937-2.c: Likewise.
8473 * iconvdata/iso_6937.c: Likewise.
8474 * iconvdata/johab.c: Likewise.
8475 * iconvdata/sjis.c: Likewise.
8476 * iconvdata/t.61.c: Likewise.
8477 * iconvdata/uhc.c: Likewise.
8478 * iconvdata/unicode.c: Likewise.
8479 * iconvdata/utf-16.c: Likewise.
8480
8481 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8482 prototypes.
8483
8484 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8485 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8486 public.
8487 * malloc/mcheck.h (mcheck_check_all): Declare.
8488
8489 * stdio-common/Makefile (tests): Add tst-obprintf.
8490
26c400e6
RM
84912000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8492
8493 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8494 Declare pthread_sigmask.
8495
8496 * csu/version.c: Add 2000 to copyright years.
8497 Remove Emacs local variables section.
8498
428bcea4
UD
84992000-03-23 Bruno Haible <haible@clisp.cons.org>
8500
8501 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8502 __gconv_transform_internal_ucs2little): Remove declarations.
8503 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8504 __gconv_transform_internal_ucs2): Never need to bswap_16.
8505 (__gconv_transform_ucs2reverse_internal,
8506 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8507
58dc1d49
RM
85082000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8509
65b4f10b
RM
8510 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8511 obsoleting version not being defined at all, in which case the
8512 result is always true.
8513
58dc1d49
RM
8514 * Makeconfig (preprocess-versions): New canned sequence for running
8515 cpp on shlib-versions and the like.
8516 (soversions.i): Use it.
8517 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8518 Versions.def and Versions files.
8519
670066c3
UD
85202000-03-27 Ulrich Drepper <drepper@redhat.com>
8521
22d5fbfe
UD
8522 * stdio-common/tst-obprintf.c (main): Add another check to see
8523 obstack_printf handling all possible beginnings of the block
8524 inside an obstack chunk.
8525
670066c3
UD
8526 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8527 install mcheck handler.
8528
8529 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8530 handling problem.
22d5fbfe 8531
3e5155f8
RM
85322000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8533
9010d7f8
RM
8534 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8535
3e5155f8
RM
8536 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8537 on [HAVE_ELF && DO_VERSIONING].
8538
0c04b91e
UD
85392000-03-27 Ulrich Drepper <drepper@redhat.com>
8540
8541 * stdio-common/tst-obprintf.c: New file.
8542
8e605e78
UD
85432000-03-26 Ulrich Drepper <drepper@redhat.com>
8544
9202ffe3
UD
8545 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8546 _IO_OVERFLOW directly instead through __overflow.
8547
30e0f9c3
UD
8548 * locale/programs/localedef.c (construct_output_path): If path
8549 contains a / compute the end of the directory name correctly.
8550
8e605e78
UD
8551 * include/features.h: Undef and document __USE_XOPEN2K.
8552
8553 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8554 whenever a function is called. Initiated by calling mcheck_pedantic
8555 instead of mcheck.
8556 * malloc/mcheck.h: Declare mcheck_pedantic.
8557 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8558 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8559 for now.
8560
4c63ebaa
UD
85612000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8562
16710d58
RM
8563 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8564 * dlfcn/dlopenold.c: Likewise.
8565 * nss/getXXbyYY_r.c: Likewise.
8566 * nss/getXXent_r.c: Likewise.
8567 * hurd/hurdinit.c: Likewise.
8568 * hurd/compat-20.c: Likewise.
8569 * libio/oldiofopen.c: Likewise.
8570 * libio/oldiofclose.c: Likewise.
8571 * libio/oldiofdopen.c: Likewise.
8572 * libio/oldfileops.c: Likewise.
8573 * libio/oldstdfiles.c: Likewise.
8574 * libio/oldiofsetpos.c: Likewise.
8575 * libio/oldiofgetpos.c: Likewise.
8576 * libio/oldiofgetpos64.c: Likewise.
8577 * libio/oldiofsetpos64.c: Likewise.
8578 * libio/oldiopopen.c: Likewise.
8579 * libio/oldpclose.c: Likewise.
8580 * libio/oldtmpfile.c: Likewise.
8581 * libio/freopen.c (freopen): Likewise.
8582 * libio/iofclose.c (_IO_new_fclose): Likewise.
8583
54f6cbb3
RM
8584 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8585 (reboot): Declare it.
8586
1c479f72
RM
8587 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8588
8589 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8590
a7ca88b8
RM
8591 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8592
4c63ebaa
UD
8593 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8594 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8595 We need this for the sbrk decl, which can be included without Unix98.
8596
c7e41631
UD
85972000-03-20 Richard Henderson <rth@cygnus.com>
8598
8599 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8600 argument to yperr2nss is an int, not size_t.
8601 * posix/regex.c (print_partial_compiled_pattern): Cast all
8602 ptrdiff_t to long for printing.
8603 (print_compiled_pattern): Use Z for printing size_t.
8604 * posix/testfnm.c (tests): Avoid trigraphs.
8605 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8606 Use a C comment, not an assembly comment.
8607
8608 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8609 of __ASSUME_32BITUIDS.
8610
6d2e234a
UD
86112000-03-26 Ulrich Drepper <drepper@redhat.com>
8612
8613 * libio/iofopncook.c: Remove K&R prototypes.
8614
2e6f096f
RM
86152000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8616
8617 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8618 an initial value of 1024 instead of RLIM_INFINITY.
8619
8620 * Versions.def (libmachuser, libhurduser): Remove these sections,
8621 since these libraries do not presently use symbol versions.
8622
8623 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8624 is RLIM_INFINITY, return -1 instead.
8625
4fcddf8e
UD
86262000-03-24 Andreas Jaeger <aj@suse.de>
8627
8628 * Makefile (postclean): Added soversions.i.
8629
86302000-03-24 Scott Bambrough <scottb@netwinder.org>
8631
8632 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8633 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8634 and _FPU_IEEE. Change _FPU_RESERVED.
8635
86362000-03-24 Scott Bambrough <scottb@netwinder.org>
8637
8638 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8639
86402000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8641
8642 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8643 (gaih_inet): Remove unused duplicate variable.
8644
8645 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
8646 Don't use __libc_sa_len, which only exists for Linux. Just handle
8647 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
8648 only flavors supported by this function anyway.
8649
86502000-03-24 Geoff Clare <gwc@unisoft.com>
8651
9d54e984 8652 * stdlib/strfmon.c: Corrected problems with missing signs and
4fcddf8e
UD
8653 missing or extra spaces; allow for sign strings longer than
8654 one character; add padding to ensure positive and negative
8655 formats are aligned when a left precision is used.
8656
86572000-03-26 Ulrich Drepper <drepper@redhat.com>
8658
8659 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
8660 Patch by John Mizel <John.Mizel@msdw.com>.
8661
0efadcd9
UD
86622000-03-25 Ulrich Drepper <drepper@redhat.com>
8663
8664 * manual/install.texi: Remove references to crypt add-on.
8665
9e3438be
RM
86662000-03-25 Roland McGrath <roland@baalperazim.frob.com>
8667
8668 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
8669 section while taking the _hurd_rlimit_lock.
8670 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8671
4f173e2c
RM
86722000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8673
6a08db09
RM
8674 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
8675 using $(LN_S).
8676
4f173e2c
RM
8677 * sysdeps/mach/hurd/if_index.c: New file.
8678
8679 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
8680 * sysdeps/gnu/net/if.h: here.
8681 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
8682 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
8683 * sysdeps/generic/net/if.h: New file. Declares just the standard
8684 functions and `struct if_nameindex' type.
8685 * socket/Makefile (headers): Add net/if.h here.
8686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
8687 * sysdeps/mach/hurd/Dist: Remove it here.
8688 * sysdeps/unix/sysv/linux/Dist: And here.
8689 * sysdeps/generic/if_index.c: Include <net/if.h>.
8690
e63721a4
AJ
86912000-03-24 Andreas Jaeger <aj@suse.de>
8692
8693 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
8694 access relocated entries in l_info.
8695 (elf_machine_got_rel): Likewise.
8696 (elf_machine_runtime_setup): Likewise.
8697 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
8698 (elf_machine_runtime_setup): Likewise.
8699 (__dl_runtime_resolve): Likewise.
8700
383052e9
UD
87012000-03-23 Ulrich Drepper <drepper@redhat.com>
8702
8703 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
8704 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
8705 according to RFC 2553.
8706 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
8707 * inet/getnameinfo.c: Likewise.
8708 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8709
c0bc5f7b
UD
87102000-03-23 Bruno Haible <haible@clisp.cons.org>
8711
8712 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
8713 Remove no-op pointer increment.
8714
7392ce9b
UD
87152000-03-23 Andreas Jaeger <aj@suse.de>
8716
8717 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
8718 follow change for libio.h from 2000-03-10.
8719
a42195db
UD
87202000-03-23 Andreas Jaeger <aj@suse.de>
8721
8722 * elf/dl-addr.c: Adjust include paths for ldsodefs location
8723 change.
8724 * elf/dl-debug.c: Likewise.
8725 * elf/dl-deps.c: Likewise.
8726 * elf/dl-error.c: Likewise.
8727 * elf/dl-fini.c: Likewise.
8728 * elf/dl-init.c: Likewise.
8729 * elf/dl-load.c: Likewise.
8730 * elf/dl-lookup.c: Likewise.
8731 * elf/dl-minimal.c: Likewise.
8732 * elf/dl-object.c: Likewise.
8733 * elf/dl-open.c: Likewise.
8734 * elf/dl-preinit.c: Likewise.
8735 * elf/dl-profile.c: Likewise.
8736 * elf/dl-profstub.c: Likewise.
8737 * elf/dl-reloc.c: Likewise.
8738 * elf/dl-runtime.c: Likewise.
8739 * elf/dl-support.c: Likewise.
8740 * elf/dl-symbol.c: Likewise.
8741 * elf/dl-version.c: Likewise.
8742 * elf/rtld.c: Likewise.
8743 * elf/sprof.c: Likewise.
8744 * sysdeps/generic/dl-cache.c: Likewise.
8745 * sysdeps/generic/dl-origin.c: Likewise.
8746 * sysdeps/generic/dl-sysdep.c: Likewise.
8747 * sysdeps/generic/elf/backtracesyms.c: Likewise.
8748 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8749 * sysdeps/generic/libc-start.c: Likewise.
8750 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8751 * sysdeps/powerpc/dl-machine.c: Likewise.
8752 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8753 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8754 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8755 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
8756
8757 * elf/ldsodefs.h: Move file to ...
8758 * sysdeps/generic/ldsodefs.h: ... here.
8759
8760 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 8761
a42195db
UD
8762 * sysdeps/mips/elf/ldsodefs.h: New file.
8763
8764 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
8765 entries in l_info.
8766 (_dl_check_map_versions): Likewise.
8767 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8768 * elf/dl-load.c (_dl_init_paths): Likewise.
8769 (_dl_map_object): Likewise.
8770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
8771 (elf_get_dynamic_info): Likewise.
8772 * elf/do-lookup.h (FCT): Likewise.
8773 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8774 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8775 * elf/dl-addr.c (_dl_addr): Likewise.
8776 * elf/dl-runtime.c (profile_fixup): Likewise.
8777 (fixup): Likewise.
8778 * elf/dl-init.c (_dl_init_next): Likewise.
8779 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
8780 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8781 (DISTINGUISH_LIB_VERSIONS): Likewise.
8782 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
8783 (elf_machine_rel): Likewise.
8784
8785 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
8786 for writable dynamic section.
8787
922809a2
UD
87882000-03-22 Ulrich Drepper <drepper@redhat.com>
8789
8790 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
8791 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8792
87932000-03-22 Andreas Jaeger <aj@suse.de>
8794
8795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
8796 from latest Linux kernel.
8797
0ddd06d1
AJ
87982000-03-21 Andreas Jaeger <aj@suse.de>
8799
8800 * Versions.def: Add version 2.1.4.
8801
1ab1ea76
UD
88022000-03-21 Ulrich Drepper <drepper@redhat.com>
8803
8804 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
8805 * libio/oldiofopen.c: Likewise.
8806 * libio/oldiofclose.c: Likewise.
ef7dddd0 8807 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 8808
42f76b6b
RM
88092000-03-22 Roland McGrath <roland@baalperazim.frob.com>
8810
8811 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
8812 indicating the first version set to obsolete the conditionalized code.
2ae13e20 8813 (compat_symbol): New macro.
42f76b6b
RM
8814 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
8815 rhs be the ABI_* macro for the subsuming version. Assign increasing
8816 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
8817 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
8818 compat_symbol macro.
42f76b6b 8819
cb162e13
UD
88202000-03-21 Ulrich Drepper <drepper@redhat.com>
8821
101edd3f
UD
8822 * nscd/connections.c (nscd_run): Pretty print.
8823 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
8824
bafb8ee9
UD
8825 * manual/charset.texi: Fix typos. Rephrase.
8826 * manual/process.texi: Likewise.
8827 * manual/signal.texi: Likewise.
8828 Patches by Mike Coleman <mkc@kc.net>.
8829
fd091d3f
UD
8830 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
8831 versions.
8832 * libio/iofdopen.c: Likewise.
8833 * libio/iofgetpos.c: Likewise.
8834 * libio/iofgetpos64.c: Likewise.
8835 * libio/iofopen.c: Likewise.
8836 * libio/iofsetpos.c: Likewise.
8837 * libio/iofsetpos64.c: Likewise.
8838 * libio/iopopen.c: Likewise.
8839 * libio/oldiofopen.c: Likewise.
8840 * libio/pclose.c: Likewise.
8841 * sysdeps/gnu/siglist.c: Likewise.
8842 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8843
cb162e13
UD
8844 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
8845 chance to expand VERSION_##lib##_##version.
8846
0bf98029
UD
8847 * libio/fileops.c: Use new macros from shlib-compat.h to define
8848 versions.
8849 * libio/iofclose.c: Likewise.
8850 * libio/oldiofclose.c: Likewise.
75836bc8 8851 Patch by Roland McGrath <roland@frob.com>.
0bf98029 8852
54021487
UD
88532000-03-21 Jakub Jelinek <jakub@redhat.com>
8854
8855 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
8856 Lay out struct sigcontext according to what really gets passed on
8857 the stack.
8858 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
8859 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
8860 (prgregset_t, prfpregset_t): Define to elf_* types.
8861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
8862 Define to correct value.
8863 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
8864 sigcontext.
8865 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
8866
39c57122
RM
88672000-03-21 Roland McGrath <roland@baalperazim.frob.com>
8868
8869 * scripts/firstversions.awk: Allow multiple version sets in the
8870 "earliest version" specification, meaning that version sets in the
8871 gaps between listed versions should be folded into the earliest later
8872 version that is explicitly listed.
8873 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
8874 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
8875
bc4831b9
UD
88762000-03-21 Ulrich Drepper <drepper@redhat.com>
8877
8d617a71
UD
8878 * iconv/gconv_builtin.c: Include <endian.h>.
8879 * iconv/gconv_builtin.h: Add UCS-BE aliases.
8880 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
8881 according to current platform.
8882 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
8883 __gconv_transform_internal_ucs2reverse, and
8884 __gconv_transform_internal_ucs4le.
8885 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
8886 __gconv_transform_ucs2reverse_internal and
8887 __gconv_transform_internal_ucs2reverse.
8888 * iconvdata/Makefile (modules): Add UNICODE.
8889 (distribute): Add unicode.c.
8890 * iconvdata/gconv-modules: Add definitions for UNICODE module.
8891 * iconvdata/unicode.c: New file.
8892
8893 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
8894 determine byte order of input and convert accordingly.
8895
bc4831b9
UD
8896 * iconvdata/utf-16.c (gconv_init): Fix typo.
8897
7e836977
UD
88982000-03-20 Ulrich Drepper <drepper@redhat.com>
8899
6abcde8e
UD
8900 * iconvdata/gconv-modules: Fix typo.
8901
b0c766dd 8902 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
8903 more messages.
8904
7e836977
UD
8905 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
8906
db840914
UD
89072000-03-16 Thorsten Kukuk <kukuk@suse.de>
8908
8909 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
8910
4159e387
UD
89112000-03-20 Ulrich Drepper <drepper@redhat.com>
8912
8913 * misc/Makefile (routines): Add mincore.
8914
89152000-03-20 Andreas Jaeger <aj@suse.de>
8916
8917 * sysdeps/generic/mincore.c: New stub file.
8918
8919 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
8920 from latest Linux kernel.
8921
db766e12
UD
89222000-03-20 Ulrich Drepper <drepper@redhat.com>
8923
8924 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
8925 _SC_GETPW_R_SIZE_MAX.
8926
cf9e0cbc
RH
89272000-03-20 Richard Henderson <rth@cygnus.com>
8928
db766e12 8929 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
8930 in GLIBC_2.1.4.
8931
c069bb98
RH
89322000-03-20 Richard Henderson <rth@cygnus.com>
8933
b7434f82
RH
8934 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
8935 of arithmetic instructions.
8936
8937 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
8938 with the fpcr. Protect from INV exception.
8939 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
8940 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
8941 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
8942
8943 * sysdeps/alpha/fpu/s_copysign.c: New.
8944 * sysdeps/alpha/fpu/s_copysignf.c: New.
8945 * sysdeps/alpha/fpu/s_fabs.c: New.
8946 * sysdeps/alpha/fpu/s_fabsf.c: New.
8947 * sysdeps/alpha/fpu/s_rint.c: New.
8948 * sysdeps/alpha/fpu/s_rintf.c: New.
8949
45159f00
RH
8950 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
8951
c069bb98
RH
8952 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8953 Kill sethae.
8954 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
8955 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
8956 Use physical addresses not KSEG addresses.
8957 (io_system): Add PYXIS.
8958 (io): Remove hae.reg, sys, hae_shift.
8959 (stb_mb, stw_mb, stl_mb, __sethae): New.
8960 (inline_outb, inline_outw, inline_outl): Don't set hae.
8961 (inline_inb, inline_inw, inline_inl): Likewise.
8962 (dense_sethae): New null function.
8963 (struct cpuinfo_data): New.
8964 (process_cpuinfo): Use local and stack variables, not static.
8965 Move readlink check here from init_iosys.
8966 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
8967 (_iopl): Simplify.
8968 (_hae_shift): Calculate it here.
8969 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
8970 add pciconfig_iobase.
8971
d3564d01
RM
89722000-03-20 Roland McGrath <roland@baalperazim.frob.com>
8973
5d431a3e
RM
8974 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
8975 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
8976
d3564d01
RM
8977 * scripts/versions.awk: Fixed version renaming code to distinguish
8978 libraries properly.
8979
41a173e1
UD
89802000-03-19 Ulrich Drepper <drepper@redhat.com>
8981
a6a478e9
UD
8982 * include/stdlib.h: Add prototype for __cxa_atexit.
8983
41a173e1
UD
8984 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
8985 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
8986
89872000-03-17 Cristian Gafton <gafton@redhat.com>
8988
8989 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
8990 existing rtld-installed-name.
8991 ($(rtld-installed-name)): Request libc-$(version) be installed too.
8992 replace existing rtld-installed-name using $(symbolic-link-prog).
8993
89942000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8995
8996 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
8997 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
8998 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
8999 but not the former.
9000
90012000-03-19 Ulrich Drepper <drepper@redhat.com>
9002
9003 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
9004 glob64. Since there is no glob64 in the LFS proposal applications
9005 can assume that glob handles LFS situations. glob64 is only needed
9006 if alternative filesystem functions are used.
9007
90082000-03-19 Geoff Clare <gwc@unisoft.com>
9009
9010 * sysdeps/generic/glob.c: Correct gl_pathc value returned
9011 when GLOB_DOOFFS is set; correct handling of patterns
9012 containing escaped wildcards (and no unescaped ones);
9013 GLOB_ERR flag was being ignored in some situations.
9014
9015 * posix/globtest.c, posix/globtest.sh: Updated to include
9016 tests for the problems fixed by the above changes to glob.c.
9017
9018 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
9019
361742ed
RM
90202000-03-19 Roland McGrath <roland@baalperazim.frob.com>
9021
af260314
RM
9022 * Makeconfig (soversion.i): Use only first match for each lib.
9023
0ecdeb26
RM
9024 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
9025
c95527a1
RM
9026 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
9027 rather than $(sysd-dirs-done) to protect these rules.
9028
3c132532
RM
9029 * Makerules (version-renames.def): Target removed.
9030 (Versions.all): Depend on soversions.i directly and parse it.
9031
ba7e89ec
RM
9032 * Makeconfig (soversions.i): New target, input-reading parts of
9033 soversions.mk generation moved here; result is a canonicalized
9034 list "LIB VERSION [SET]" for this configuration.
9035 (soversions.mk): Use that as input. Don't emit map-firstversions.
9036 * Makerules (version-renames.def): New target, generated from
9037 soversions.i with contents that was in $(map-firstversions).
9038 (Versions.all): Don't depend on soversions.mk, depend on
9039 version-renames.def instead; just cat it into the input.
9040
6b3c3a35
RM
9041 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
9042 for $(map-firstversions), which better handles it being empty.
9043
361742ed
RM
9044 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
9045 supported version for libc 0.2.90.libio to GLIBC_2.2.
9046
9047 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
9048 and use it to emit new variable `map-firstversions'.
9049 * scripts/firstversions.awk: New file.
9050 * Makerules (Versions.all): Use scripts/firstversions.awk and
9051 the $(map-firstversions) value to generate a modified versions list
9052 that includes renames in "A = B" syntax for each version set earlier
9053 than the "earliest symbol version" named in shlib-versions.
9054 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
9055 rename version set A to B in the output to the intermediate file.
9056 * scripts/abi-versions.awk: New file.
9057 * Makerules (abi-versions.h): New target, generated by that script.
9058 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
9059 * include/shlib-compat.h: New file, uses that generated header.
9060
a5733c28
RM
90612000-03-18 Roland McGrath <roland@baalperazim.frob.com>
9062
88268852
RM
9063 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
9064 after stripping # comments, and then run it through cpp.
9065 This allows things like "%ifdef FOO" based on config.h settings.
9066 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
9067
a5733c28
RM
9068 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
9069 and other errors that indicate a pseudo-receive happened, grok through
9070 the message buffer for port rights that need references fixed up.
9071
f5ef7558
UD
90722000-03-16 Andreas Jaeger <aj@suse.de>
9073
9074 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
9075
9076 * sysdeps/unix/sysv/linux/madvise.c: Remove.
9077
9078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
9079 from latest Linux kernel.
9080 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
9081
4ede8b06
UD
9082 * misc/sys/mman.h: Add prototype for mincore.
9083
b9b178ac
UD
90842000-03-17 Ulrich Drepper <drepper@redhat.com>
9085
9086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
9087 entry for GLIBC_2.0 version of setrlimit.
9088 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9089
3b965a7d
UD
90902000-03-16 Thorsten Kukuk <kukuk@suse.de>
9091
9092 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
9093 * nis/nss_compat/compat-initgroups.c: Likewise.
9094 * nis/nss_nis/nis-initgroups.c: Likewise.
9095 * nis/nss_nis/nis-netgrp.c: Likewise.
9096 * nis/nss_nis/nis-proto.c: Likewise.
9097 * nis/nss_nis/nis-rpc.c: Likewise.
9098 * nis/nss_nis/nis-service.c: Likewise.
9099 * nis/ypclnt.c: Likewise.
a5733c28 9100
96888079
UD
91012000-03-16 Andreas Jaeger <aj@suse.de>
9102
9103 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 9104 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 9105
5c7b0fb2
UD
91062000-03-16 Thorsten Kukuk <kukuk@suse.de>
9107
9108 * nscd/hstcache.c: Restore correct UID.
9109 * nscd/pwdcache.c: Likewise.
9110 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
9111
da28fa2a
RM
91122000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9113
4ae18693
RM
9114 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
9115 macros for register names, in line with 2000-03-14 linux change.
9116
da28fa2a
RM
9117 * sysdeps/mach/sched_yield.c: New file.
9118
91192000-03-13 Roland McGrath <roland@baalperazim.frob.com>
9120
9121 * sysdeps/generic/lockfile.c: Include <stdio.h>
9122 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
9123 case <libio.h> defined them.
9124 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
9125 from __internal_*.
9126 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
9127 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
9128
9129 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
9130 for more pleasing parse error.
9131
19cf43be
UD
91322000-03-16 Ulrich Drepper <drepper@redhat.com>
9133
0db0e149
UD
9134 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
9135 memory for eras.
9136 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9137
da28fa2a 9138 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
9139 * elf/constload1.c: New file.
9140 * elf/constload2.c: New file.
9141 * elf/constload3.c: New file.
9142
a96206f4
UD
91432000-03-15 Ulrich Drepper <drepper@redhat.com>
9144
9145 * sysdeps/posix/open64.c: Make __open64 weak alias.
9146 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
9147 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9148 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9149 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9150 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9151 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
9152 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9153 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9154 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9155 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9156
04366d5f
UD
91572000-03-14 Ulrich Drepper <drepper@redhat.com>
9158
9159 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
9160 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
9161
f0d872e9
UD
91622000-03-16 Mark Kettenis <kettenis@gnu.org>
9163
9164 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9165 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9166
5d141597
UD
91672000-03-08 Andreas Jaeger <aj@suse.de>
9168
9169 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
9170
9658516a
UD
91712000-03-14 Ulrich Drepper <drepper@redhat.com>
9172
5d141597
UD
9173 * timezone/africa: Update from tzdata2000d.
9174 * timezone/asia: Likewise.
9175 * timezone/australasia: Likewise.
9176 * timezone/europe: Likewise.
9177 * timezone/northamerica: Likewise.
9178 * timezone/southamerica: Likewise.
9179
9180 * po/fr.po: Update from translation team.
9181 * po/de.po: Likewise.
9182
d9cb1a7d
UD
9183 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
9184 last parameter. Move code to add map to global scope from here...
9185 * elf/dl-open.c (dl_open_worker): ...here.
9186 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
9187 * elf/rtld.c: Adjust call to _dl_map_object_deps.
9188
36388ac4
UD
9189 * locale/programs/ld-collate.c (collate_read): Fix warning.
9190
6213a055
UD
9191 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
9192 values and macros for register names.
9193
9658516a
UD
9194 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
9195 returned by seek cookie function is -1.
9196
f1a53402
UD
91972000-03-14 Andreas Jaeger <aj@suse.de>
9198
9199 * locale/localeconv.c (localeconv): Fix typo.
9200 Reported by Andre Charbonneau <andrec@corel.com>.
9201
0aece08d
UD
92022000-03-14 Ulrich Drepper <drepper@redhat.com>
9203
9204 * iconv/skeleton.c: Increment __invocation_counter in inner loop
9205 since modules depend on it counting the number of times the conversion
9206 function got called.
9207
9208 * iconv/gconv_open.c: Optimize loop to setup step data structure.
9209
9210 * iconv/gconv.h: Pretty print.
9211
92122000-03-04 Ulrich Drepper <drepper@redhat.com>
9213
9214 * posix/wordexp-test.c: Correct one of the tests added in the last
9215 change. Really get the root passwd entry to check again ~root.
9216
d1d62b53
AJ
92172000-03-10 Andreas Jaeger <aj@suse.de>
9218
9219 * manual/filesys.texi (Working Directory): Fix last patch.
9220 Patch by Martin Buchholz <martin@xemacs.org>.
9221
0aa9fad6
AJ
92222000-03-10 Andreas Jaeger <aj@suse.de>
9223
9224 * manual/creature.texi (Feature Test Macros): Fix language.
9225
b4e54243
RM
92262000-03-10 Roland McGrath <roland@baalperazim.frob.com>
9227
9228 * mach/devstream.c (devstream_write, devstream_read): New functions.
9229 (input, output): Functions removed.
9230 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
9231 using only the vanilla fopencookie interface.
9232
9233 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
9234 as macro for __io_functions.
9235 (funcsio): Use cookie_io_functions_t type name.
9236 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
9237
9238 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
9239 fopencookie.
9240 (fopencookie): Use it.
9241 * libio/libio.h: Declare _IO_cookie_init.
9242 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
9243 _IO_cookie_init.
9244
9245 * libio/libio.h (__io_seek_fn): Fix second argument type
9246 to be a pointer, in line with the manual and the old stdio.
9247 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
9248
9249 * sysdeps/generic/bits/stdio-lock.h: New file.
9250 This is a stub with #error, but that's better than no file at all.
9251
d10c8b66
AJ
92522000-03-09 Martin Buchholz <martin@xemacs.org>
9253
9d54e984
UD
9254 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
9255 * manual/message.texi (Using gettextized software): Doc Fixes.
d10c8b66 9256 * manual/message.texi (Message Translation): Doc Fixes.
9d54e984
UD
9257 * manual/filesys.texi (File Size): Doc Fixes.
9258 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
9259 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
9260 * iconv/gconv_db.c (find_derivation): Doc Fixes.
9261 * manual/install.texi: Doc Fixes.
9262 * manual/search.texi (Hash Search Function): Doc Fixes.
9263 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
9264 * FAQ.in: Doc Fixes.
9265 * config.h.in: Doc Fixes.
9266 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
d10c8b66
AJ
9267 Doc Fixes. `allows to' is not correct English.
9268
9269 * elf/rtld.c: Doc fixes.
9270 * manual/creature.texi (Feature Test Macros): Doc fixes.
9271 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
9272
9273 * manual/filesys.texi (Working Directory): Check for ERANGE to
9274 avoid infloop.
9275
f25da8d0
RM
92762000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9277
9278 * string/argz-stringify.c (__argz_stringify): Fix loop termination
9279 conditions so as not to clobber the final '\0' when there is only one
9280 element in the vector.
9281
07760b35
RM
92822000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9283
9284 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
9285 broken by 2000-02-27 change.
9286
9287 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
9288
224a12bc
RM
92892000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9290
9291 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
9292 argument type, for 2000-02-22 change in signal/signal.h declaration.
9293
9ab47461
RM
92942000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9295
224a12bc
RM
9296 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
9297 to getdirentries64 (no __), since the Linux implementation
9298 has no __ name, and there is no declaration for the __ name.
9299
9300 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
9301
9302 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
9303 sed regexp so as not to break directory names including /../ within.
9304
9305 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
9306 The sysdeps/generic file is right for BSD. This file was in fact the
9307 Hurd file, but the only difference was the WNOREAP flag that was never
9308 actually implemented or used anywhere.
9309
9ab47461
RM
9310 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
9311 since AC_PATH_PROG already does it for us.
9312 (PERL): Rewrite check added in 2000-02-29 change for syntactic
9313 correctness and sh portability. I replaced the broken check
9314 with a more sensible implementation of the apparently intended
9315 semantics, which might still be questionable. Using expr causes
9316 a non-numeric value for `perl -V:apiversion` to be accepted,
9317 refusing to use only a perl that reports a number less than 5;
9318 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
9319 * configure: Regenerated.
9320
93773779
AJ
93212000-03-08 Andreas Jaeger <aj@suse.de>
9322
9323 * manual/crypt.texi: Fix paths.
9324
d92c02e8
AJ
93252000-03-07 Andreas Jaeger <aj@suse.de>
9326
9327 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
9328 were swapped.
9329 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
9330 libc/1636.
9331
8f95ad1c
AJ
93322000-03-06 Andreas Jaeger <aj@suse.de>
9333
5d141597
UD
9334 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
9335 in __sgn1l, otherwise g++ fails to parse this.
9336 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 9337
8ed1e7d5
GK
93382000-03-03 Geoff Keating <geoffk@cygnus.com>
9339
9340 * configure.in: Compute sizeof-long-double.
9341 * configure: Regenerated.
9342 * config.make.in: Make sizeof-long-double available to sub-makes.
9343
706546ff
UD
93442000-03-03 Ulrich Drepper <drepper@cygnus.com>
9345
9346 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9347 call.
9348
b11f5954
GK
93492000-03-03 Geoff Keating <geoffk@cygnus.com>
9350
9351 * Makeconfig (rpath-dirs): Add crypt.
9352 (all-subdirs): Remove md5crypt.
9353 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
9354 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
9355 * sysdeps/generic/crypt-entry.c: Delete.
9356 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
9357 * sysdeps/generic/crypt.h: Delete.
9358 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
9359 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
9360 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
9361 * sysdeps/generic/des_impl.c: Delete.
9362 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
9363 * crypt/sysdeps: Delete.
9364 * crypt/crypt_util.c: Don't use `patchlevel.h'.
9365 * md5-crypt/Versions: Move to crypt/.
9366 * md5-crypt/md5-crypt.c: Move to crypt/.
9367 * md5-crypt/md5.c: Move to crypt/.
9368 * md5-crypt/md5c-test.c: Move to crypt/.
9369 * md5-crypt/md5test.c: Move to crypt/.
9370 * md5-crypt: Delete.
9371 * crypt/Makefile: Adjust for new structure.
9372
e3d53b06
UD
93732000-03-03 Paul Eggert <eggert@twinsun.com>
9374
9375 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
9376 define to 1 if not defined.
9377
c88c8399
UD
93782000-03-03 Andreas Jaeger <aj@suse.de>
9379
9380 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
9381
93822000-03-03 Andreas Jaeger <aj@suse.de>
9383
9384 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
9385 cases.
9386 (xdr_int64_t): Correctly handle lower half.
9387 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
9388
bdd5fccd
UD
93892000-03-03 Ulrich Drepper <drepper@cygnus.com>
9390
9391 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9392 call.
9393
2f1afc88
UD
93942000-03-02 Andreas Jaeger <aj@suse.de>
9395
9396 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
9397 2.3.43.
9398
6500dff6
UD
93992000-03-02 Andreas Jaeger <aj@suse.de>
9400
9401 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
9402
fc304e02
UD
94032000-03-01 Andreas Jaeger <aj@suse.de>
9404
9405 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
9406 (tests): Added tst-getdate.
9407
9408 * time/tst-getdate.c: New file.
9409
9410 * time/datemsk: New file, needed for tst-getdate.
9411
ecb06196
UD
94122000-02-29 Cristian Gafton <gafton@redhat.com>
9413
9414 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
9415
3fd759d1
UD
94162000-02-17 H.J. Lu <hjl@gnu.org>
9417
9418 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
9419
9420 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
9421 available.
9422 (svcudp_recv): Set up message with the new "xp_pad" field for
9423 IP_PKTINFO.
9424 (svcudp_reply): Support IP_PKTINFO if available.
9425
06b54322
AJ
94262000-03-01 Andreas Jaeger <aj@suse.de>
9427
9428 * time/getdate.c (check_mday): Fix check for february.
9429 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
9430 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
9431
901a5bd7
AJ
94322000-03-02 Andreas Jaeger <aj@suse.de>
9433
9434 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
9435 g++ fails to parse this.
9436 Reported by Sean Chen <sean.chen@turbolinux.com>.
9437
07e0f7ad
UD
94382000-02-28 Ulrich Drepper <drepper@redhat.com>
9439
6df9984c
UD
9440 * io/creat.c: Moved to...
9441 * sysdeps/generic/creat.c: ...here.
9442 * io/creat64.c: Moved to...
9443 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
9444 * io/lockf.c: Moved to...
9445 * sysdeps/generic/lockf.c: ...here.
6df9984c 9446
6d7496e8 9447 * crypt/crypt.texi: Moved to...
07e0f7ad 9448 * manual/crypt.texi: ...here.
6d7496e8
UD
9449 * crypt/examples/genpass.c: Moved to...
9450 * manual/examples/genpass.c: ...here.
9451 * crypt/examples/mygenpass.c: Moved to...
9452 * manual/examples/mygenpass.c: ...here.
9453 * crypt/examples/testpass.c: Moved to...
9454 * manual/examples/testpass.c: ...here.
9455
9456 * manual/Makefile (chapters): Add crypt.
9457 * manual/conf.texi: Add usual header for not-last chapter.
9458 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 9459
63f791d3
GK
94602000-02-28 Geoff Keating <geoffk@cygnus.com>
9461
9462 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9463 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9464 complain if there is no crypt add-on.
9465 * crypt/configure: Removed.
6d7496e8 9466
63f791d3
GK
9467 * crypt/crypt.texi: Update documentation of US export restrictions
9468 to match the 14 Jan 2000 regulations.
9469
94702000-02-28 Geoff Keating <geoffk@cygnus.com>
9471
9472 * crypt: New subdirectory, merged in from the crypt add-on.
9473
a808d541
UD
94742000-02-28 Ulrich Drepper <drepper@redhat.com>
9475
108c6efa 9476 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 9477
d59e49d8 9478
108c6efa 9479See ChangeLog.10 for earlier changes.
This page took 1.137363 seconds and 5 git commands to generate.