]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2
3 * elf/dl-close.c (_dl_close): Don't run destructors of objects
4 marked DF_1_NODELETE.
5
6 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
7 since we call sigaction in the child.
8
9 2000-08-25 Andreas Jaeger <aj@suse.de>
10
11 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
12 gconv-modules.
13
14 2000-08-25 Andreas Jaeger <aj@suse.de>
15
16 * manual/arith.texi (Control Functions): Clarify possible
17 arguments. Closes PR libc/1856.
18
19 2000-08-24 H.J. Lu <hjl@gnu.org>
20
21 * stdio-common/Makefile (tests): Don't do it for cross compiling.
22 * stdio-common/Makefile (tests): Likewise.
23
24 2000-08-24 Ulrich Drepper <drepper@redhat.com>
25
26 * iconvdata/unicode.c (gconv_init): Correct test for direction.
27
28 2000-08-24 Andreas Jaeger <aj@suse.de>
29
30 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
31 only if LIBGD is available.
32
33 2000-08-24 Ulrich Drepper <drepper@redhat.com>
34
35 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
36 problems with now restrict parameter types.
37 (convaddr4to6): Likewise.
38
39 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
40
41 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
42 * sysdeps/s390/fpu/feenablxcpt.c: New file.
43 * sysdeps/s390/fpu/fegetexcept.c: New file.
44 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
45 FPC_VALID_MASK.
46
47 2000-08-24 Andreas Jaeger <aj@suse.de>
48
49 * malloc/Makefile (extra-objs): Add memusagestat.o.
50 (generated): Added memusage and memusagestat for make clean.
51
52 * libio/tst_putwc.c (do_test): Delete temporary file.
53 Move inclusion of test-skeleton to front to have prototype for
54 add_temp_file.
55
56 * posix/Makefile (generated): Add wordexp-tst.out.
57
58 2000-08-24 Ulrich Drepper <drepper@redhat.com>
59
60 * resolv/res_hconf.c (free_mem): Remove not needed if.
61
62 * time/tzset.c (free_mem): New function.
63 * string/strsignal.c (free_mem): New function.
64 * inet/inet_ntoa.c (free_mem): New function.
65 * sunrpc/clnt_perr.c (free_mem): New function.
66
67 2000-08-24 Andreas Jaeger <aj@suse.de>
68
69 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
70 * sysdeps/unix/sysv/syscalls.list: Likewise.
71
72 * posix/unistd.h: Move internal prototypes from here ...
73 * include/unistd.h: ... to here.
74
75 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
76
77 2000-08-24 Ulrich Drepper <drepper@redhat.com>
78
79 * grp/initgroups.c (initgroups): Deallocate groups array.
80 Reported by jani.raiha@sonera.com [PR libc/1868].
81
82 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
83 * sysdeps/alpha/Dist: Likewise.
84
85 2000-08-23 Ulrich Drepper <drepper@redhat.com>
86
87 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
88 destructor). Reported by Solar Designer <solar@false.com>.
89
90 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
91 avoid adding double slashes.
92
93 2000-08-23 Jakub Jelinek <jakub@redhat.com>
94
95 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
96 out of the __REDIRECT macro.
97
98 2000-08-23 Ulrich Drepper <drepper@redhat.com>
99
100 * stdio-common/vfscanf.c: Add %F format support.
101
102 * locale/programs/ld-ctype.c (ctype_output): Make sure
103 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
104 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
105 (ctype_read): Enable returning of wide character strings for reading
106 transliteration information.
107
108 2000-08-23 Andreas Jaeger <aj@suse.de>
109
110 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
111 Use static __inline instead of _EXTERN_INLINE.
112
113 * misc/sys/select.h: Move prototypes of __select from here ...
114 * include/sys/select.h: ... to here.
115
116 * socket/sys/socket.h: Move prototypes of __send and __connect
117 from here....
118 * include/sys/socket.h: ... to here.
119
120 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
121 lr_error.
122
123 2000-08-23 Jakub Jelinek <jakub@redhat.com>
124
125 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
126 __setrlimit as strong name. Takes only 2 arguments.
127
128 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
129 takes only 2 arguments.
130
131 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
132
133 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
134
135 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
136
137 2000-08-23 Ulrich Drepper <drepper@redhat.com>
138
139 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
140 default_missing character being specified, pick the first
141 representable.
142
143 2000-08-23 Andreas Jaeger <aj@suse.de>
144
145 * include/wchar.h: Add some pure attributes.
146
147 * time/time.h: Add const attribute for dysize.
148
149 * include/stdlib.h: Add malloc attribute to __posix memalign.
150
151 * stdlib/stdlib.h: Add some pure and malloc attributes.
152 * wcsmbs/wchar.h: Likewise.
153
154 * dirent/dirent.h: Add some pure attributes.
155 * include/dirent.h: Likewise.
156
157 2000-08-23 Jakub Jelinek <jakub@redhat.com>
158
159 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
160 on 64bit arches.
161
162 2000-08-22 Ulrich Drepper <drepper@redhat.com>
163
164 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
165 missing buffer size checks.
166
167 2000-08-23 Andreas Jaeger <aj@suse.de>
168
169 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
170 strong name.
171 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
172
173 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
174 otherwise __LINUX_KERNEL_VERSION might not be defined.
175 (MIN): Define if not already defined.
176
177 2000-08-22 Ulrich Drepper <drepper@redhat.com>
178
179 * stdio-common/vfprintf.c: Handle %F format.
180 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
181 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
182
183 * stdio-common/tstdiomisc.c: Add test for %F printf format.
184
185 * po/zh.po: New file.
186
187 * iconvdata/sjis.c: In conversion from UCS4, correct test for
188 enough room in target buffer.
189 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
190 * iconvdata/bug-iconv1.c: New file.
191 * iconvdata/Makefile (tests): Add bug-iconv1.
192
193 * locale/iso-4217.def: Update entry for Nicaragua.
194
195 2000-08-22 Mark Kettenis <kettenis@gnu.org>
196
197 * hurd/hurdsig.c: Rearrange headers a bit.
198 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
199 when cthreads is being used.
200
201 2000-08-22 Ulrich Drepper <drepper@redhat.com>
202
203 * elf/Makefile (distribute): Add dl-osinfo.h.
204 * sysdeps/generic/dl-osinfo.h: New file.
205 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
206 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
207 if defined.
208 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
209 only for !SHARED case. Get the code from dl-osinfo.h.
210
211 * stdlib/random_r.c: Cleanups.
212 * stdlib/tst-random.c: New file.
213 * stdlib/Makefile (tests): Add tst-random.
214 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
215
216 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
217
218 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
219 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
220 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
221 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
222
223 2000-08-22 Jakub Jelinek <jakub@redhat.com>
224
225 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
226 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
227 (__syscall__sysctl): Add.
228
229 2000-08-21 Andreas Jaeger <aj@suse.de>
230
231 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
232 libc/1864).
233 * stdlib/tst-strtoll.c: Likewise.
234
235 2000-08-21 Ulrich Drepper <drepper@redhat.com>
236
237 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
238 correctly.
239 (__initstate_r): Set errno on error.
240 (__random_r): Likewise.
241 (__setstate_r): Correct offset when computing
242 new rptr and fptr. Test for arg_state being NULL.
243 Reported by Michael Fischer <fischer@cs.yale.edu>.
244
245 * posix/regex.h: Add macro definitions to allow compiling outside
246 glibc.
247
248 * sysdeps/i370/Implies: Removed.
249 * sysdeps/mvs/Implies: Removed.
250
251 * catgets/catgets.c (catopen): Filter out env_var values with / if
252 necessary.
253
254 * locale/findlocale.c (_nl_find_locale): Move test for unusable
255 locale name after all getenvs.
256
257 * configure.in: Allow sed versions like 3.02.8.
258 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
259
260 2000-08-21 Marko Myllynen <myllynen@lut.fi>
261
262 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
263
264 2000-08-21 Ulrich Drepper <drepper@redhat.com>
265
266 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
267 of gethostbyname2_r call.
268
269 * intl/locale.alias: Add aliases for Korean.
270
271 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
272
273 * sysdeps/s390/__longjmp.c: Remove unused variable result.
274 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
275 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
276 * sysdeps/s390/fpu/fegetenv.c: New file.
277 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
278 * sysdeps/s390/fpu/feholdexcpt.c: New file.
279 * sysdeps/s390/fpu/fenv_libc.h: New file.
280 * sysdeps/s390/fpu/fesetenv.c: New file.
281 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
282 * sysdeps/s390/fpu/feupdateenv.c: New file.
283 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
284 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
285 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
286 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
287 * sysdeps/s390/fpu/ftestexcept.c: New file.
288 * sysdeps/s390/fpu/libm-test-ulps: New file.
289 * sysdeps/s390/gmp-mparam.h: Add end of comment.
290 * sysdeps/s390/initfini.c: New file.
291 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
292 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
293 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
294 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
295 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
296 sys/procfs.h as proposed by Mark Kettenis.
297 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
298
299 2000-08-21 Andreas Jaeger <aj@suse.de>
300
301 * include/poll.h: Include include/sys/poll.h to get __poll
302 declaration.
303
304 * io/sys/poll.h: Move __poll declaration from here...
305 * include/sys/poll.h: ...to here.
306
307 * include/sys/socket.h (__getpeername): Add declaration.
308
309 * include/wchar.h (__vswprintf): Add declaration.
310
311 * include/stdio.h (__flockfile): Add declaration.
312 (__funlockfile): Likewise.
313
314 2000-08-20 Ulrich Drepper <drepper@redhat.com>
315
316 * misc/sys/cdefs.h: Define __restrict_arr.
317 * include/sys/time.h: Add restrict where required by AGd4.
318 * inet/arpa/inet.h: Likewise.
319 * io/sys/stat.h: Likewise.
320 * io/sys/statvfs.h: Likewise.
321 * misc/search.h: Likewise.
322 * misc/sys/select.h: Likewise.
323 * posix/glob.h: Likewise.
324 * posix/regex.h: Likewise.
325 * posix/spawn.h: Likewise.
326 * posix/unistd.h: Likewise.
327 * rt/aio.h: Likewise.
328 * signal/signal.h: Likewise.
329 * socket/sys/socket.h: Likewise.
330 * stdlib/ucontext.h: Likewise.
331 * streams/stropts.h: Likewise.
332 * string/string.h: Likewise.
333 * time/time.h: Likewise.
334 * time/sys/time.h: Likewise.
335
336 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
337 and posix_spawnattr_setscheparam.
338
339 * libio/stdio.h: Make cuserid prototype again available for all
340 XPG versions.
341
342 * argp/argp-help.c: Unify use of function aliases to make more compact
343 PLT.
344 * include/libintl.h: Likewise.
345 * inet/rcmd.c: Likewise.
346 * intl/dcigettext.c: Likewise.
347 * libio/iofputws.c: Likewise.
348 * libio/iofputws_u.c: Likewise.
349 * libio/iogetwline.c: Likewise.
350 * libio/swprintf.c: Likewise.
351 * malloc/malloc.c: Likewise.
352 * nss/digits_dots.c: Likewise.
353 * posix/fnmatch.c: Likewise.
354 * posix/spawn_faction_addclose.c: Likewise.
355 * posix/spawn_faction_adddup2.c: Likewise.
356 * posix/spawn_faction_addopen.c: Likewise.
357 * posix/spawni.c: Likewise.
358 * posix/wordexp.c: Likewise.
359 * posix/spawni.c: Likewise.
360 * resolv/res_hconf.c: Likewise.
361 * resolv/res_init.c: Likewise.
362 * shadow/lckpwdf.c: Likewise.
363 * signal/sighold.c: Likewise.
364 * signal/sigrelse.c: Likewise.
365 * stdio-common/printf-parse.h: Likewise.
366 * stdio-common/printf-prs.c: Likewise.
367 * stdio-common/printf_fp.c: Likewise.
368 * stdio-common/vfprintf.c: Likewise.
369 * stdio-common/vfscanf.c: Likewise.
370 * stdlib/rpmatch.c: Likewise.
371 * sunrpc/create_xid.c: Likewise.
372 * sunrpc/key_call.c: Likewise.
373 * sysdeps/generic/setrlimit64.c: Likewise.
374 * sysdeps/generic/utmp_file.c: Likewise.
375 * sysdeps/generic/vlimit.c: Likewise.
376 * sysdeps/posix/posix_fallocate.c: Likewise.
377 * sysdeps/posix/posix_fallocate64.c: Likewise.
378 * sysdeps/posix/sigpause.c: Likewise.
379 * sysdeps/posix/sigset.c: Likewise.
380 * sysdeps/unix/grantpt.c: Likewise.
381 * sysdeps/unix/bsd/ualarm.c: Likewise.
382 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
383 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
384 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
385 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
386 * time/strftime.c: Likewise.
387 * wcsmbs/wcscoll.c: Likewise.
388 * wcsmbs/wcsxfrm.c: Likewise.
389
390 * time/tst-getdate.c (main): Make error messages more human readable.
391
392 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
393 postinc/predec instruction.
394 (_FPU_SETCW): Likewise.
395 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
396
397 2000-08-20 Andreas Jaeger <aj@suse.de>
398
399 * time/tst-getdate.c (main): Increase error in case of wrong
400 conversion.
401 Fix typo in test case.
402
403 2000-08-20 Ulrich Drepper <drepper@redhat.com>
404
405 * ctype/ctype.h (isblank): Make available if ISO C99.
406 * wctype/wctype.h (iswblank): Make available if ISO C99.
407 * math/math.h (signgam): Don't make available if ISO C99.
408 * math/tgmath.h (tgamma): Renamed from gamma.
409 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
410
411 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
412 Pretty printing.
413 * intl/plural.y (new_exp): Take number of optional parameters in
414 second parameter. Test for correct number of parameters and free
415 correctly in case of failure. Adjust all callers.
416 (yylex): Allow ';' as terminator character.
417
418 2000-08-19 Ulrich Drepper <drepper@redhat.com>
419
420 * locale/lc-time.c (free_mem): New function. Free alt_digits and
421 walt_digits.
422
423 * locale/findlocale.c (free_mem): Also free here->filename.
424
425 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
426
427 * math/test-fenv.c (feenv_tests): Clear all exceptions before
428 first test.
429 (feexcp_nomask_test): Correct printf args.
430 (feexcp_mask_test): Likewise.
431
432 2000-08-19 Andreas Jaeger <aj@suse.de>
433
434 * inet/tst-gethnm.c: Include string.h to provide prototype for
435 strcmp.
436
437 * malloc/mtrace.pl (usage): Inform about --help.
438
439 2000-08-19 Wolfram Gloger <wg@malloc.de>
440
441 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
442 size HEAP_MAX_SIZE.
443
444 2000-08-19 Andreas Jaeger <aj@suse.de>
445
446 * shlib-versions: Remove libnss_db, libdb and libdb1.
447
448 2000-08-19 Jakub Jelinek <jakub@redhat.com>
449
450 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
451 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
452 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
453 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
454 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
455 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
456 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
457 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
458 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
459 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
460 getdents.
461 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
462 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
463
464 2000-08-18 Jakub Jelinek <jakub@redhat.com>
465
466 * include/glob.h (__glob64): Add prototype.
467 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
468 define glob and glob_in_dir.
469 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
470 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
472 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
473 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
474 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
475 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
476 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
477
478 2000-08-18 Jakub Jelinek <jakub@redhat.com>
479
480 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
481
482 2000-08-17 Andreas Jaeger <aj@suse.de>
483
484 * math/test-fenv.c (fe_single_test): New function.
485 (fe_env_tests): Use fe_single_test.
486 (feenable_test): New tests for feenable/fedisable and
487 fegetexcpetions.
488 (feexcp_mask_test): New function.
489 (feexcp_nomask_test): New function.
490
491 2000-08-19 Richard Henderson <rth@cygnus.com>
492
493 * sysdeps/alpha/fpu/fenv_libc.h: New file.
494 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
495 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
496 * sysdeps/alpha/fpu/fesetround.c: Likewise.
497 * sysdeps/alpha/fpu/fegetround.c: Likewise.
498 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
499 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
500 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
501 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
502 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
503 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
504 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
505 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
506 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
507 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
508 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
509 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
510
511 2000-08-19 Andreas Jaeger <aj@suse.de>
512
513 * elf/constload1.c: Include <stdio.h> for puts prototype.
514
515 2000-08-19 Ulrich Drepper <drepper@redhat.com>
516
517 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
518 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
519 a dynamically loaded object remove old l_initfini list.
520 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
521 remove some dynamically allocated memory blocks in the dynamic
522 loading data structures.
523 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
524 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
525 Instead call _dl_check_map_versions only for the dependencies.
526 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
527 information of initial objects as not free-able.
528 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
529 element.
530
531 * elf/filter.c: Call mtrace.
532 * elf/restest1.c: Likewise. Close the objects.
533 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
534 debug information.
535
536 * elf/constload1.c: Add comment explaining not freed memory.
537
538 2000-08-18 Andreas Jaeger <aj@suse.de>
539
540 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
541 alignment for structs stat and stat64.
542 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
543
544 2000-08-17 Ulrich Drepper <drepper@redhat.com>
545
546 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
547 handling. Patch by Richard Henderson <rth@twiddle.net>.
548
549 * nss/Versions: Remove libnss_db information.
550
551 2000-08-16 Jakub Jelinek <jakub@redhat.com>
552
553 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
554 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
555 * sysdeps/sparc/fpu/fegetexcept.c: New file.
556 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
557
558 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
559 to match Solaris.
560
561 2000-08-17 Ulrich Drepper <drepper@redhat.com>
562
563 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
564 (_FPU_SETCW): Likewise.
565 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
566
567 * stdio-common/printf_fp.c: Fix chars_needed computation.
568 Patch by Greg McGary <greg@mcgary.org>.
569
570 2000-08-17 Jakub Jelinek <jakub@redhat.com>
571
572 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
573 _dl_loaded are NULL.
574
575 2000-08-17 Jakub Jelinek <jakub@redhat.com>
576
577 * manual/arith.texi (feholdexcept): Returns 0 on success.
578
579 2000-08-17 Andreas Jaeger <aj@suse.de>
580
581 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
582 (ifr_newname): New.
583 Reported by Andi Kleen <ak@suse.de>.
584
585 2000-08-17 Jakub Jelinek <jakub@redhat.com>
586
587 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
588 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
589 * sysdeps/alpha/fpu/fegetexcept.c: New file.
590
591 2000-08-16 Jakub Jelinek <jakub@redhat.com>
592
593 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
594 of buf->st_ino and kbuf->st_ino, not __st_ino.
595 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
596 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
597 directive so that only linux/getdents.c is used, not some
598 architecture specific one.
599
600 2000-08-16 Jakub Jelinek <jakub@redhat.com>
601
602 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
603 enabled, not disabled exceptions.
604 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
605 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
606
607 2000-08-17 Greg McGary <greg@mcgary.org>
608
609 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
610 from test program name when constructing suffix for $(LDLIBS-*).
611 (bounded-thread-library): New variable.
612 * crypt/Makefile
613 [build-shared, build-static] (libcrypt-dep): Remove variable.
614 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
615 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
616 * linuxthreads/Makefile (libpthread, librt): Remove variables.
617 (librt-tests): Add variable. (tests): Use it.
618 [build-shared, build-static]
619 ($(addprefix $(objpfx),$(tests)),
620 $(addprefix $(objpfx),$(librt-tests))):
621 Consolidate individual dependencies.
622 [build-bounded]
623 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
624 Add dependencies.
625 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
626 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
627 * misc/Makefile
628 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
629 * rt/Makefile
630 [build-shared, build-static]
631 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
632 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
633
634 2000-08-17 Greg McGary <greg@mcgary.org>
635
636 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
637 * sysdeps/unix/make-syscalls.sh: Likewise.
638 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
639 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
640 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
641 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
642 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
643
644 2000-08-17 Greg McGary <greg@mcgary.org>
645
646 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
647 Wrap extern symbols in BP_SYM ().
648 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
649 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
650 * sysdeps/i386/fpu/s_remquo.S: Likewise.
651 * sysdeps/i386/fpu/s_remquof.S: Likewise.
652 * sysdeps/i386/fpu/s_remquol.S: Likewise.
653 * sysdeps/i386/fpu/s_sincos.S: Likewise.
654 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
655 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
656 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
657 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
658
659 2000-08-16 Andreas Schwab <schwab@suse.de>
660
661 * sysdeps/m68k/fpu/fegetexcept.c: New file.
662 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
663 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
664
665 2000-08-15 Ulrich Drepper <drepper@redhat.com>
666
667 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
668 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
669 * elf/dl-support.c: Define _nl_nloaded.
670 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
671 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
672 object to global list.
673 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
674 from _dl_loaded list.
675 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
676 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
677 number here.
678
679 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
680 unmask, exceptions.
681 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
682 exceptions.
683 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
684
685 2000-08-16 Andreas Jaeger <aj@suse.de>
686
687 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
688
689 2000-08-15 Marko Myllynen <myllynen@lut.fi>
690
691 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
692
693 2000-08-15 Ulrich Drepper <drepper@redhat.com>
694
695 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
696 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
697 (sysdep_routines): Add oldgetrlimit64.
698 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
699 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
700
701 * include/link.h: Undo last patches. Hurd now has stat64.
702 * elf/Makefile: Likewise.
703 * elf/dl-load.c: Likewise.
704 * elf/dl-misc.c: Likewise.
705 * elf/dl-profile.c: Likewise.
706 * sysdeps/generic/sysd-link.h: Removed.
707 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
708
709 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
710 thread event callback function.
711 (__aio_notify_only): Use function above.
712 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
713
714 2000-08-16 Mark Kettenis <kettenis@gnu.org>
715
716 * sysdeps/mach/hurd/lseek64.c: New file.
717
718 2000-08-15 Mark Kettenis <kettenis@gnu.org>
719
720 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
721 Remove typedefs.
722 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
723 typedefs.
724 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
725 typedefs.
726 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
727
728 2000-08-15 Mark Kettenis <kettenis@gnu.org>
729
730 * sysdeps/mach/hurd/xstatconv.c: New file.
731 * sysdeps/mach/hurd/fxstat64.c: New file.
732 * sysdeps/mach/hurd/lxstat64.c: New file.
733 * sysdeps/mach/hurd/xstat64.c: New file.
734 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
735
736 2000-08-15 Mark Kettenis <kettenis@gnu.org>
737
738 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
739 Initialize, needed for change in common symbol handling in newer
740 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
741
742 2000-08-15 Ulrich Drepper <drepper@redhat.com>
743
744 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
745 * elf/constload2.c: Add destructor to unload constload3.
746
747 * include/link.h: Include sysd-link.h.
748 * sysdeps/generic/sysd-link.h: New file.
749 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
750 * elf/Makefile (distribute): Add sysd-link.h.
751 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
752 types and functions directly.
753 * elf/dl-misc.c: Likewise.
754 * elf/dl-profile.c: Likewise.
755
756 * elf/loadfail.c (main): Close all successfully loaded objects.
757
758 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
759 free wd.
760 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
761 there is already one.
762
763 * elf/dl-close.c: Pretty print.
764
765 2000-08-14 Ulrich Drepper <drepper@redhat.com>
766
767 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
768 global (with file scope). Add __libc_subfreeres function to free the
769 string.
770 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
771 in ttyname function.
772
773 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
774
775 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
776
777 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
778 mapping them to /x5c and /x7e respectively.
779
780 * locale/programs/ld-ctype.c: Add support for more definitions after
781 copy statement.
782
783 2000-08-14 Jakub Jelinek <jakub@redhat.com>
784
785 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
786 * sysdeps/unix/sysv/linux/kernel-features.h
787 (__ASSUME_GETDENTS64_SYSCALL): Define.
788 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
789 syscall if available to get d_type fields.
790 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
791 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
792 __lxstat64): Export at GLIBC_2.2.
793 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
794 Likewise.
795 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
796 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
797 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
798 getdirentries64, versionsort64): Remove.
799 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
800 getdirentries64, versionsort64): Remove.
801
802 2000-08-13 Ulrich Drepper <drepper@redhat.com>
803
804 * posix/Makefile: Remove rules to generate glob package.
805
806 * posix/Makefile (tests): Add tst-regexloc.
807 (tst-regexloc-ENV): Add LOCPATH.
808 * posix/tst-regexloc.c: New file.
809
810 2000-08-12 Andreas Jaeger <aj@suse.de>
811
812 * include/features.h (__STDC_ISO_10646__): Define.
813 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
814
815 2000-08-13 Ulrich Drepper <drepper@redhat.com>
816
817 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
818
819 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
820 for revision 6 and up).
821
822 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
823 including <time.h>.
824 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
825 to get definitions of just these types.
826
827 * signal/signal.h: Define thread signal handling functions also for
828 POSIX95.
829
830 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
831 POSIX95.
832 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
833 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
834 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
835 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
836
837 * sysvipc/sys/shm.h: Define pid_t for XPG.
838
839 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
840 they are not anymore required here.
841
842 * wcsmbs/wchar.h: Make the various wide char string and stream
843 functions available for the respective XPG versions.
844
845 * nss/Makefile: Remove rules to build and distribute nss_db.
846
847 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
848 * sysdeps/generic/scandir64.c: Likewise.
849 * sysdeps/generic/versionsort64.c: Likewise.
850
851 2000-08-13 Ulrich Drepper <drepper@redhat.com>
852 Benjamin Koznik <bkoz@redhat.com>
853
854 * libio/fileops.c: Merge with libstdc++-v3.
855 * libio/genops.c: Likewise.
856 * libio/iofclose.c: Likewise.
857 * libio/iofopen.c: Likewise.
858 * libio/iofwide.c: Likewise.
859 * libio/libio.h: Likewise.
860 * libio/libioP.h: Likewise.
861 * libio/stdfiles.c: Likewise.
862 * libio/stdio.c: Likewise.
863 * libio/wfileops.c: Likewise.
864 * libio/wgenops.c: Likewise.
865
866 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
867
868 2000-08-12 Ulrich Drepper <drepper@redhat.com>
869
870 * locale/programs/localedef.c: Implement --prefix option to allow
871 writing in standard places of alternative install directories.
872
873 * posix/regex.c (compile_range): Implement collation sequence
874 handling for glibc. Use simple character ordering otherwise and
875 not strcoll.
876
877 2000-08-12 Mark Kettenis <kettenis@gnu.org>
878
879 * sysdeps/generic/scandir64.c: Include <dirent.h>.
880
881 2000-08-12 Andreas Jaeger <aj@suse.de>
882
883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
884 __USE_FILE_OFFSET64 correctly for locking.
885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
886
887 2000-08-12 Jakub Jelinek <jakub@redhat.com>
888
889 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
890 Define for 2.4.1 on sparc as well.
891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
892 for F_GETLK64, F_SETLK64, and F_SETLKW64.
893 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
894 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
895
896 2000-08-12 Ulrich Drepper <drepper@redhat.com>
897
898 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
899 defined.
900
901 2000-08-12 Andreas Jaeger <aj@suse.de>
902
903 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
904 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
905
906 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
907 mips2 for assembler.
908
909 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
910 if fnctl64 is not available for F_*LK*64.
911
912 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
913
914 2000-08-12 Ulrich Drepper <drepper@redhat.com>
915
916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
917 Define for 2.4.1 on x86.
918 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
919 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
920 for F_GETLK64, F_SETLK64, and F_SETLKW64.
921
922 * dirent/dirent.h: Define DT_WHT.
923
924 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
925 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
926 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
927 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
928 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
929 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
930
931 2000-08-11 Ulrich Drepper <drepper@redhat.com>
932
933 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
934 lookup, pass pointer to array with NULL pointer [PR libc/1858].
935 * inet/Makefile (tests): Add tst-gethnm.
936 * inet/tst-gethnm.c: New file.
937
938 * rt/aio_cancel.c: If canceling a specific request which is running
939 *really* do nothing.
940 * rt/aio_misc.h: Add `done' to states of a request.
941 * rt/aio_misc.c: Add several tests for the correct state.
942 Simplify request table memory handling.
943
944 2000-08-10 Jakub Jelinek <jakub@redhat.com>
945
946 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
947 * dirent/scandir64.c: Move...
948 * sysdeps/generic/scandir64.c: ...here.
949 * dirent/alphasort64.c: Move...
950 * sysdeps/generic/alphasort64.c: ...here.
951 * dirent/versionsort64.c: Move...
952 * sysdeps/generic/versionsort64.c: ...here.
953 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
954 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
955 Export symbols at GLIBC_2.2.
956 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
957 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
958 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
959 __versionsort64): Add prototypes.
960 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
961 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
962 unused prototype.
963 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
964 and GLIBC_2.2.
965 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
966 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
967 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
968 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
969 __u_quad_t.
970 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
971 Adjust for kernel-2.4.0-test6 layout.
972 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
973 GLIBC_2.1 and GLIBC_2.2.
974 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
975 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
976 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
977 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
978 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
979 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
980 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
981 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
982 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
983 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
984 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
985 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
986 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
987 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
988 __u_quad_t.
989 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
990 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
991 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
992 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
993 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
994 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
995 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
996 __u_quad_t.
997 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
998 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
999 Define.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
1001 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
1003 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
1005 Define.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
1007 alpha/readdir.c.
1008 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
1009 alpha/readdir_r.c
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
1011 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
1012 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
1013 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
1014 st_ino from __st_ino.
1015 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1016 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1017 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
1018 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
1019 set __st_ino in addition to st_ino.
1020 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
1021 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
1022 __old_getdents64 as well.
1023 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
1024 getdirentries64 and old_getdirentries64 as well.
1025 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
1026 __GETDENTS): Define.
1027 (GETDENTS64): Remove.
1028 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
1029 Define.
1030 (GETDENTS64): Remove.
1031 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
1032 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
1033 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
1034 as well.
1035 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
1036 __old_readdir64_r as well.
1037 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1038 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
1039
1040 2000-08-08 Jes Sorensen <jes@linuxcare.com>
1041
1042 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1043 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
1044 define of the kernel.
1045 Add missing __SEG_PSTKOVF definition.
1046 Adjust the padding of struct siginfo and struct sigevent to
1047 match the fact that sigval_t is 64 bit.
1048
1049 2000-08-10 Ulrich Drepper <drepper@redhat.com>
1050
1051 * timezone/zic.c: Update from tzcode2000f.
1052 * timezone/australasia: Update from tzdata2000f.
1053 * timezone/europe: Likewise.
1054 * timezone/southamerica: Likewise.
1055 * timezone/yearistype: Likewise.
1056
1057 2000-08-10 Andreas Jaeger <aj@suse.de>
1058
1059 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
1060 stat with current MIPS kernel.
1061
1062 2000-08-01 Mark Kettenis <kettenis@gnu.org>
1063
1064 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
1065 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
1066 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
1067 Remove the junk that's only relevant in the Linux kernel itself.
1068 Add a warning saying that this file is now obsolete, and include
1069 <sys/procfs.h>.
1070 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
1071 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
1072 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
1073 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
1074 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
1075 and add the notice that the file is primarily there for GDB.
1076 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
1077
1078 2000-08-09 Jakub Jelinek <jakub@redhat.com>
1079
1080 * time/tzfile.c (__tzfile_compute): __tzstring zones
1081 from zone_names.
1082
1083 2000-08-09 Jakub Jelinek <jakub@redhat.com>
1084
1085 * resolv/resolv.h (__res_state): Surround prototype with
1086 __BEGIN_DECLS/__END_DECLS.
1087 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
1088
1089 2000-08-04 Jes Sorensen <jes@linuxcare.com>
1090
1091 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
1092 Make independant of asm/resource.h from the Linux kernel.
1093
1094 2000-08-06 Bruno Haible <haible@clisp.cons.org>
1095
1096 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
1097
1098 2000-08-06 Bruno Haible <haible@clisp.cons.org>
1099
1100 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
1101 * locale/Makefile (locale-CPPFLAGS): Likewise.
1102
1103 2000-08-09 Ulrich Drepper <drepper@redhat.com>
1104
1105 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
1106 for AMD processors.
1107
1108 2000-08-03 Jakub Jelinek <jakub@redhat.com>
1109
1110 * misc/Versions (mincore): Export at GLIBC_2.2.
1111
1112 2000-08-03 Bruno Haible <haible@clisp.cons.org>
1113
1114 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
1115
1116 2000-08-02 Mark Kettenis <kettenis@gnu.org>
1117
1118 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
1119 socketpair. Made socketpair a weak alias.
1120 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
1121 __socketpair. Use S_IFIFO protocol to make pipes POSIX
1122 conforming, but fall back on the old protocol if the socket server
1123 doesn't support it.
1124 * include/sys/socket.h: Add prototype for __socketpair.
1125
1126 2000-08-09 Andreas Schwab <schwab@suse.de>
1127
1128 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
1129 long long modifier is seen.
1130
1131 * elf/nodelete.c (do_test): Remove reference to undefined member
1132 sa_restorer.
1133 * rt/tst-aio4.c (do_test): Likewise.
1134
1135 * configure.in: Add `-lm' when checking for libgd.
1136 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
1137 linking.
1138
1139 2000-08-09 Andreas Jaeger <aj@suse.de>
1140
1141 * configure.in: Change required make versions.
1142
1143 * manual/install.texi (Tools for Compilation): Document required
1144 make version.
1145 (Supported Configurations): Update list of supported
1146 configurations.
1147
1148 2000-08-08 Ulrich Drepper <drepper@redhat.com>
1149
1150 * locale/linereader.c (get_string): Don't print an error is a string
1151 contains an unknown character.
1152
1153 2000-08-06 Ulrich Drepper <drepper@redhat.com>
1154
1155 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
1156 (new_symbol): Take new parameters with name of the symbol.
1157 Adjust callers.
1158 (handle_ellipsis): Don't only allow character symbols.
1159 (collate_read): Allow string of collating elements contain invalid
1160 characters; ignore entry in this case.
1161 Handle ellipsis of collating symbols before first order_start.
1162 Allow ellipsis in state 0.
1163
1164 2000-08-04 Ulrich Drepper <drepper@redhat.com>
1165
1166 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
1167 error message.
1168 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1169
1170 2000-08-04 Greg McGary <greg@mcgary.org>
1171
1172 * posix/regex.c (SET_HIGH_BOUND): New macro.
1173 (MOVE_BUFFER_POINTER): Use it.
1174 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
1175 (EXTEND_BUFFER): Use it.
1176
1177 2000-08-03 Ulrich Drepper <drepper@redhat.com>
1178
1179 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
1180 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
1181 _wide_data but from _IO_FILE directly.
1182 * libio/iofclose.c: Likewise.
1183 * libio/wfileops.c: Likewise.
1184
1185 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
1186 * libio/libioP.h: Change prototypes.
1187
1188 2000-08-03 Greg McGary <greg@mcgary.org>
1189
1190 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
1191 frame pointer early so that we save caller's frame pointer.
1192 * sysdeps/i386/elf/setjmp.S: Likewise.
1193
1194 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
1195 * io/test-utime.c: Test passing NULL as utimbuf* arg.
1196
1197 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
1198 (MOVE_BUFFER_POINTER): Handle high_bound properly.
1199 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
1200
1201 2000-08-03 Ulrich Drepper <drepper@redhat.com>
1202
1203 * iconvdata/big5.c: Updated.
1204 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1205
1206 2000-08-02 Ulrich Drepper <drepper@redhat.com>
1207
1208 * Makeconfig (all-subdirs): Add conform.
1209 * conform/Makefile: Include ../Rules.
1210
1211 * Makefile (README): Add rules to generate here as well.
1212
1213 2000-08-02 Ulrich Drepper <drepper@redhat.com>
1214
1215 * version.h (VERSION): Bump to 2.1.92.
1216
1217 * sysdeps/ia64/Dist: Add _mcount.S.
1218
1219 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
1220
1221 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
1222
1223 * elf/Makefile (distribute): Add missing modules.
1224
1225 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
1226
1227 * posix/regex.c (compile_range): Translate range start and end
1228 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
1229
1230 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
1231 asm/resource.h.
1232
1233 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
1234
1235 2000-08-02 Andreas Jaeger <aj@suse.de>
1236
1237 * elf/elf.h (EM_S390): Added.
1238 (R_390_*): New relocs for S390.
1239
1240 * sysdeps/unix/sysv/linux/s390/Dist: New file.
1241 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
1242 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
1243 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
1244 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
1245 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1246 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
1247 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
1248 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
1249 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
1250 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
1251 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
1252 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
1253 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
1254 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
1255 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
1256 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
1257 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
1258 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
1259 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
1260 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
1261 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
1262 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
1263 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
1264 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
1265 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
1266 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
1267 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
1268 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
1269 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
1270 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
1271 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
1272 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
1273 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
1274 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
1275 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
1276 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
1277 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
1278 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
1279 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
1280 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
1281 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
1282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
1283 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1284 * sysdeps/s390/sysdep.h: New file.
1285 * sysdeps/s390/sys/ucontext.h: New file.
1286 * sysdeps/s390/sub_n.S: New file.
1287 * sysdeps/s390/strncpy.S: New file.
1288 * sysdeps/s390/strcpy.S: New file.
1289 * sysdeps/s390/stackinfo.h: New file.
1290 * sysdeps/s390/setjmp.S: New file.
1291 * sysdeps/s390/s390-mcount.S: New file.
1292 * sysdeps/s390/mul_1.S: New file.
1293 * sysdeps/s390/memusage.h: New file.
1294 * sysdeps/s390/memset.S: New file.
1295 * sysdeps/s390/memcpy.S: New file.
1296 * sysdeps/s390/memchr.S: New file.
1297 * sysdeps/s390/machine-gmon.h: New file.
1298 * sysdeps/s390/ldbl2mpn.c: New file.
1299 * sysdeps/s390/gmp-mparam.h: New file.
1300 * sysdeps/s390/fpu/fpu_control.h: New file.
1301 * sysdeps/s390/fpu/fesetround.c: New file.
1302 * sysdeps/s390/fpu/fegetround.c: New file.
1303 * sysdeps/s390/fpu/fclrexcpt.c: New file.
1304 * sysdeps/s390/fpu/bits/fenv.h: New file.
1305 * sysdeps/s390/ffs.c: New file.
1306 * sysdeps/s390/elf/start.S: New file.
1307 * sysdeps/s390/elf/setjmp.S: New file.
1308 * sysdeps/s390/elf/bsd-setjmp.S: New file.
1309 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
1310 * sysdeps/s390/dl-machine.h: New file.
1311 * sysdeps/s390/bzero.S: New file.
1312 * sysdeps/s390/bsd-setjmp.S: New file.
1313 * sysdeps/s390/bsd-_setjmp.S: New file.
1314 * sysdeps/s390/bits/string.h: New file.
1315 * sysdeps/s390/bits/setjmp.h: New file.
1316 * sysdeps/s390/bits/huge_val.h: New file.
1317 * sysdeps/s390/bits/endian.h: New file.
1318 * sysdeps/s390/bits/byteswap.h: New file.
1319 * sysdeps/s390/bcopy.S: New file.
1320 * sysdeps/s390/backtrace.c: New file.
1321 * sysdeps/s390/atomicity.h: New file.
1322 * sysdeps/s390/asm-syntax.h: New file.
1323 * sysdeps/s390/addmul_1.S: New file.
1324 * sysdeps/s390/add_n.S: New file.
1325 * sysdeps/s390/abort-instr.h: New file.
1326 * sysdeps/s390/__longjmp.c: New file.
1327 * sysdeps/s390/Makefile: New file.
1328 * sysdeps/s390/Implies: New file.
1329 * sysdeps/s390/Dist: New file.
1330 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1331
1332 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1333
1334 Remove incompatible IPv6 extension of RPC.
1335 * sunrpc/Makefile: Undo changes.
1336 * sunrpc/rpc_main.c: Likewise.
1337 * sunrpc/rpc/clnt.h: Likewise.
1338 * sunrpc/rpc/svc.h: Likewise.
1339 * sunrpc/bindrsvprt6.c: Removed.
1340 * sunrpc/clnt_tcp6.c: Removed.
1341 * sunrpc/clnt_udp6.c: Removed.
1342 * sunrpc/svc_tcp6.c: Removed.
1343 * sunrpc/svc_udp6.c: Removed.
1344
1345 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
1346 dgettext, and dcgettetxt.
1347
1348 * intl/locale.alias: Update japanese aliases.
1349
1350 * sysdeps/ia64/bits/byteswap.h: New file.
1351 Patch by Dan Pop <Dan.Pop@cern.ch>.
1352
1353 * misc/sys/cdefs.h: Define __attribute_format_arg__.
1354 * intl/libintl.h: Use it here instead of using __attribute__ directly.
1355
1356 2000-07-13 H.J. Lu <hjl@gnu.org>
1357
1358 * posix/regex.c (re_max_failures): Set to 4000.
1359
1360 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1361
1362 * gnulib/Makefile (tests): Add tst-gcc.
1363 * gnulib/tst-gcc.c: New file.
1364
1365 * assert/Makefile (routines): Add __assert.
1366 * assert/Versions: Export __assert for glibc 2.2.
1367 * assert/__assert.c: New file.
1368 * assert/assert.h: Declare __assert.
1369
1370 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1371
1372 * locale/localeinfo.h (_ISCTYPE): New macro.
1373 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
1374 LC_CTYPE locale format.
1375 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
1376 (ctype_output): Output class_b[nr] right before class_3level[nr].
1377 (allocate_arrays): Fill class_b, similarly to class_3level.
1378
1379 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1380 Joseph S. Myers <jsm28@cam.ac.uk>
1381
1382 * math/tgmath.h: Make standard compliant. Don't ask how.
1383
1384 2000-07-04 H.J. Lu <hjl@gnu.org>
1385
1386 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
1387 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
1388 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
1389
1390 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1391
1392 * include/features.h (_XOPEN_SOURCE): Update the explanation.
1393 (__USE_LARGEFILE): Add an explanation.
1394 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
1395 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
1396
1397 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1398
1399 * libio/Makefile: Enable exception handling for genops, wgenops,
1400 fileops, and wfileops.
1401
1402 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1403
1404 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
1405 acount that elf/rtld's main program might remove some varibales
1406 from the environment if we're trying to be secure. Move the Hurd
1407 startup data if necessary, or, if we there is no startup data,
1408 make sure the magical convention that ARGV[0] is stored just after
1409 the environment list.
1410
1411 2000-08-01 Philip Blundell <philb@gnu.org>
1412
1413 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1414 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
1415 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1416 oldsetrlimit for GLIBC_2.0.
1417
1418 2000-08-01 Andreas Jaeger <aj@suse.de>
1419
1420 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
1421 (LINE_PARSER): Allow any number of spaces between ip address and
1422 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
1423
1424 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
1425
1426 * include/netdb.h: Remove getipnodebyaddr and friends, leave
1427 constants in.
1428
1429 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
1430 _nss_nisplus_getipnodebyname_r.
1431
1432 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
1433 now, getipnodebyname is deprecated.
1434 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1435 Likewise.
1436
1437 * inet/Makefile (routines): Don't build getipnodebyaddr and
1438 friends.
1439
1440 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1441
1442 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1443
1444 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1445
1446 * wctype/Makefile (distribute): Add wchar-lookup.h.
1447
1448 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
1449
1450 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1451
1452 2000-08-01 Andreas Schwab <schwab@suse.de>
1453
1454 * Make-dist (dist): Resolve `..' in file names.
1455
1456 2000-08-01 Andreas Jaeger <aj@suse.de>
1457
1458 * stdio-common/Makefile (distribute): Remove removed files, add
1459 new files.
1460
1461 * Makefile (distribute): Remove include/db_185.h and db.h.
1462
1463 * include/db_185.h: Remove, it's not needed anymore.
1464 * include/db.h: Likewise.
1465
1466 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1467
1468 * inet/Makefile (tests): Remove tst-ipnode.
1469 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1470 now.
1471
1472 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1473
1474 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1475 endp statements have already been added.
1476
1477 2000-04-18 David Mosberger <davidm@hpl.hp.com>
1478
1479 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1480 <sysdeps/ia64/sysdep.h>.
1481
1482 * sysdeps/ia64/_mcount.S: New file.
1483
1484 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1485 __gmon_start__. Fix up extraneous whitespace.
1486
1487 2000-01-12 H.J. Lu <hjl@gnu.org>
1488
1489 * sysdeps/ia64/elf/initfini.c: New file.
1490
1491 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1492
1493 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1494 dependency between branch and ar.pfs write.
1495
1496 2000-07-31 H.J. Lu <hjl@gnu.org>
1497
1498 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1499 handle the wchar_t array.
1500
1501 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1502
1503 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1504 10646 which are not yet assigned.
1505 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1506
1507 2000-07-31 Andreas Jaeger <aj@suse.de>
1508
1509 * inet/Versions: Remove getipnodebyaddr and friends from
1510 GLIBC_2.2.
1511
1512 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1513
1514 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1515
1516 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1517 ch >= 0x81 && ch2 < 0x40 as invalid.
1518
1519 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1520
1521 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1522 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1523
1524 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1525
1526 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1527 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1528
1529 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1530
1531 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1532 0xb8.
1533 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1534
1535 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1536
1537 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1538
1539 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1540
1541 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1542 (from_ucs4): Change values of U+00A4 and U+00ED.
1543 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1544
1545 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1546
1547 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1548 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1549
1550 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1551
1552 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1553 * iconvdata/isiri-3342.h: New file.
1554 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1555 treat 0x80 as a gap.
1556
1557 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1558
1559 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1560 (utf8_encode): Use simple shifts instead. Fix return value.
1561
1562 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1563
1564 * timezone/private.h: Update from tzcode2000e.
1565 * timezone/asia: Update from tzdata2000e.
1566 * timezone/australasia: Likewise.
1567 * timezone/europe: Likewise.
1568 * timezone/northamerica: Likewise.
1569 * timezone/zone-tab: Likewise.
1570
1571 2000-07-30 Ralf Baechle <ralf@gnu.org>
1572
1573 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1574 the order of struct sigaltstack members is different.
1575
1576 2000-07-26 Philip Blundell <philb@gnu.org>
1577
1578 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1579
1580 2000-07-29 Ulrich Drepper <drepper@redhat.com>
1581
1582 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1583 * locale/programs/ld-ctype.c: Adjust for this.
1584
1585 * locale/programs/ld-collate.c: Add more alignment checks.
1586 * locale/string/strcoll.c: Likewise.
1587
1588 2000-07-30 Mark Kettenis <kettenis@gnu.org>
1589
1590 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1591 outside USE_IN_LIBIO block.
1592
1593 2000-07-26 Philip Blundell <philb@gnu.org>
1594
1595 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1596 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1597
1598 2000-07-28 Philip Blundell <philb@gnu.org>
1599
1600 * math/test-fpucw.c: Ignore reserved bits in control word.
1601
1602 2000-07-28 Philip Blundell <philb@gnu.org>
1603
1604 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1605 (ret): Redefine to PSEUDO_RET.
1606 (PSEUDO): Remove jump to syscall_error.
1607
1608 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1609
1610 * resolv/README: Add some information about using the resolver in
1611 multi-threaded code and with C++. Spelling fixes.
1612
1613 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1614
1615 * resolv/resolv.h (struct __sockaddr_in): Remove.
1616 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
1617
1618 2000-07-29 Greg McGary <greg@mcgary.org>
1619
1620 * Rules (test-bp-inputs, make-test-out): New variables.
1621 ($(objpfx)%-bp.out): New rule.
1622 ($(objpfx)%.out): Rewrite in terms of new variables.
1623
1624 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
1625 internal function that uses vtable.
1626 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1627 * libio/vswprintf.c (_IO_vswprintf): Likewise.
1628
1629 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
1630 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
1631 (chunk_align): Likewise.
1632
1633 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
1634 in a way that conforms to decl, and avoids spurious bounds violation.
1635
1636 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
1637 * sysdeps/generic/frame.h: Likewise.
1638 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
1639 around return value.
1640 (__backtrace): Qualify frame-pointer chain and return address
1641 pointers as __unbounded. Wrap bounds around variable `current'.
1642 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
1643 around return value.
1644 (catch_segfault): Qualify frame-pointer chain and return address
1645 pointers as __unbounded. Wrap bounds around variable `current'.
1646 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
1647 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
1648 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
1649 __unbounded.
1650 (__backtrace): Qualify frame-pointer chain and return address
1651 pointers as __unbounded. Wrap bounds around variable `current'.
1652
1653 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
1654 * sysdeps/i386/mul_1.S: Likewise.
1655 * sysdeps/i386/submul_1.S: Likewise.
1656 * sysdeps/i386/i586/addmul_1.S: Likewise.
1657 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
1658 * sysdeps/i386/i586/submul_1.S: Likewise.
1659
1660 2000-07-27 Andreas Jaeger <aj@suse.de>
1661
1662 * libio/Depend: New file, libio needs localedata for tests.
1663 * posix/Depend: Likewise.
1664
1665 2000-07-28 Ulrich Drepper <drepper@redhat.com>
1666
1667 * stdio-common/_i18n_itoa.c: Removed.
1668 * stdio-common/_i18n_itoa.h: Removed.
1669 * stdio-common/_i18n_itowa.c: Removed.
1670 * stdio-common/_i18n_itowa.h: Removed.
1671 * stdio-common/_i18n_number.h: New file.
1672 * stdio-common/Depend: New file.
1673 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
1674 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
1675 printing. Change printing of numbers with locale specific digits to
1676 use new code in _i18n_number.h.
1677 * stdio-common/Makefile (routines): Remove _i18n_itoa and
1678 _i18n_itowa.
1679
1680 * stdio-common/bug13.c: Improve messages.
1681
1682 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
1683 (set_class_defaults): Always search also for Uxxxx names.
1684 Detect insufficient number of outdigits.
1685
1686 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
1687
1688 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1689
1690 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
1691 _NL_CTYPE_MAP_NAMES.
1692 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
1693 * wctype/wcfuncs.c (towlower, towupper): Use them.
1694 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
1695 * wctype/wctrans.c (wctrans): Likewise.
1696 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1697
1698 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1699
1700 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
1701 Use the optimized version of this function outside glibc as well.
1702
1703 2000-07-27 Jakub Jelinek <jakub@redhat.com>
1704
1705 * locale/indigits.h (indigit_value): Correct.
1706 * locale/indigitswc.h (indigitwc_value): Correct.
1707 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
1708 conversion, add GROUP checking for it, fix GROUP number
1709 conversion with strlen(thousands) > 1.
1710 Honour width correctly in the presence of floating
1711 decimal points and thousands separators.
1712 * stdio-common/tst-sscanf.c: New test.
1713 * stdio-common/Makefile: Add it to tests.
1714 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
1715 thousands separators and group argument is non-zero.
1716
1717 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1718
1719 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
1720 starts at GLIBC_2.2.
1721
1722 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1723
1724 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
1725 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
1726 _test_and_set.
1727 (headers): Add sys/tas.h.
1728 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
1729 GLIBC_2.2 from libc.
1730 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
1731 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
1732 _test_and_set.
1733
1734 2000-07-28 Andreas Jaeger <aj@suse.de>
1735
1736 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
1737
1738 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
1739 ($(objpfx)tst-dladdr.out): new.
1740 (tests): Add tst-dladdr.
1741 ($(objpfx)glrefmain): Use libdl.
1742
1743 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
1744 <vs@caldera.de>.
1745
1746 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1747
1748 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
1749 ftruncate(64) calls.
1750
1751 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1752
1753 * intl/tst-translit.c: Include string.h to get prototype for
1754 strcmp().
1755
1756 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1757
1758 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
1759 name and add weak alias for __fork.
1760
1761 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
1762 & pwrite to use __libc_<name> as strong names instead of
1763 __syscall_<name>.
1764
1765 * include/sched.h: Add clone2 prototype.
1766
1767 2000-07-26 Jes Sorensen <jes@linuxcare.com>
1768
1769 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
1770 procedure name twice.
1771
1772 2000-07-27 Philip Blundell <philb@gnu.org>
1773
1774 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
1775
1776 2000-07-27 Andreas Jaeger <aj@suse.de>
1777
1778 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
1779 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
1780 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1781 Reported by Andi Kleen <ak@suse.de>.
1782
1783 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
1784 (do_wait): Test requests with aio_return64.
1785 (do_test): Change callers of do_wait.
1786
1787 2000-07-26 Andreas Jaeger <aj@suse.de>
1788
1789 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
1790 (do_wait): Test requests with aio_return.
1791 (do_test): Change callers of do_wait.
1792
1793 2000-07-27 Ulrich Drepper <drepper@redhat.com>
1794
1795 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
1796 from request list. Don't do the list handling here, call
1797 __aio_remove_request.
1798 * rt/aio_misc.h: Add prototype for __aio_remove_request.
1799 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
1800 request might already be processed. Don't do the list handling
1801 here, call __aio_remove_request.
1802
1803 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
1804 LIO_DSYNC.
1805
1806 * rt/aio_misc.c: Add comment explaining why writer memory barriers
1807 are missing.
1808
1809 2000-07-27 Greg McGary <greg@mcgary.org>
1810
1811 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
1812 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
1813 in union init. Pass zero for ignored semnum arg to semctl.
1814 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
1815
1816 2000-07-26 Greg McGary <greg@mcgary.org>
1817
1818 * sysdeps/gnu/bits/msq.h: Qualify kernel's
1819 data structure pointers as __unbounded.
1820 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1821 * sysdeps/generic/bp-semctl.h: New file.
1822 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
1823 pointers as __unbounded. Check bounds of syscall args.
1824 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1825 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1826 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1827 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1828 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1829 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1830 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1831 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1832 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1833 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1834 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1835 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1836 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1839 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1840
1841 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1842
1843 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
1844 by default.
1845 * locale/C-ctype.c: Likewise.
1846 * wcsmbs/wcsmbsload.c: Likewise.
1847
1848 2000-07-26 Greg McGary <greg@mcgary.org>
1849
1850 * Makeconfig (+link-bounded, link-libc-bounded,
1851 link-extra-libs-bounded): New variables.
1852 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
1853 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
1854 * Rules (tests-bp.out): New variable.
1855 (tests): Conditionally add BP tests.
1856 (binaries-bounded): Add variable and associated rule.
1857 * csu/Makefile [build-bounded] (extra-objs, install-lib):
1858 Move conditional stuff after place where condition is defined.
1859
1860 * malloc/malloc.c (bp-checks.h): Add #include.
1861 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
1862 (_bin_at): Add unbounded version of bin_at.
1863 (IAV, chunk_alloc): Use unbounded _bin_at.
1864 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
1865 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
1866 Wrap BOUNDED_N around return value.
1867 (chunk_realloc): Adjust oldsize once.
1868
1869 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
1870 (__ubp_memchr): Add correct decl.
1871 (_CHECK_STRING): Use __ubp_memchr.
1872 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1873 New alias for unbounded-pointer __memchr.
1874 * sysdeps/i386/memchr.S: Likewise.
1875 * sysdeps/ia64/memchr.S: Likewise.
1876 * sysdeps/m68k/memchr.S: Likewise.
1877 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1878 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1879 * sysdeps/vax/memchr.s: Likewise.
1880
1881 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
1882 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
1883 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
1884 * sysdeps/i386/i686/strtok.S: Likewise.
1885 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
1886 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
1887
1888 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
1889 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
1890
1891 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
1892 bounds of copy_result to mount_proc.
1893
1894 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1895
1896 * wctype/wctype.h (__wctrans_l): New declaration.
1897 * wctype/wctrans_l.c: New file.
1898 * wctype/Makefile (routines): Add wctrans_l.
1899
1900 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1901
1902 * posix/fnmatch_loop.c: Fixes for use outside glibc.
1903 Patch by MacGyver <macgyver@tos.net>.
1904
1905 2000-07-26 Andreas Jaeger <aj@suse.de>
1906
1907 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
1908 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
1909 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
1910
1911 * rt/tst-aio.c (test_file): Fix typo.
1912 * rt/tst-aio64.c (test_file): Likewise.
1913
1914 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
1915 * rt/Makefile: Add rules to build and run tst-aio3.
1916
1917 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
1918 it's not needed and confuses only.
1919
1920 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1921
1922 * resolv/res_init.c: Add support for nameserver communication with
1923 IPv6.
1924 * resolv/res_send.c: Likewise.
1925 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
1926 in nsaddrs field.
1927 Patch by <venaas@nvg.ntnu.no>.
1928
1929 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1930
1931 * locale/programs/ld-ctype.c (wctype_table_get): New function.
1932 (wcwidth_table_get): New function.
1933 (wcwidth_table_add): Call it.
1934 (wctrans_table_get): New function.
1935 (wctrans_table_add): Call it.
1936
1937 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1938
1939 * rt/lio_listio.c (lio_listio): Always disable individual
1940 notification.
1941 * rt/Makefile: Add rules to build and run tst-aio2.
1942 * rt/tst-aio2.c: New file.
1943
1944 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
1945 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
1946
1947 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1948
1949 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
1950 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
1951 leading and trailing spaces from host, user and domain name.
1952
1953 2000-07-25 Jes Sorensen <jes@linuxcare.com>
1954
1955 * csu/defs.awk: Add support for need_endp.
1956
1957 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1958
1959 * resolv/resolv.h: Remove __P from res_send_qhook and
1960 res_send_rhook typedefs.
1961
1962 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1963
1964 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
1965
1966 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1967
1968 * iconv/gconv_builtin.h: Add WCHAR_T alias.
1969
1970 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1971
1972 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
1973 calling thread, set the cancellation flag and return success
1974 instead of EINTR.
1975
1976 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1977
1978 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
1979 * libio/tst-widetext.c: New file.
1980 * libio/tst-widetext.input: New file.
1981
1982 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
1983
1984 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
1985 empty external buffer correctly.
1986
1987 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1988
1989 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
1990 __STRING(entry) and not #entry.
1991 (_RTLD_EPILOGUE): Likewise.
1992 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1993
1994 2000-07-25 Andreas Jaeger <aj@suse.de>
1995
1996 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
1997 according to changes in test program, run also with static only
1998 builds.
1999 ($(objpfx)tst-printf.out): Likewise.
2000
2001 * stdio-common/tst-unbputc.sh: Likewise.
2002 * stdio-common/tst-printf.sh: Likewise.
2003
2004 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2005
2006 * libio/wfileops.c (_IO_wdo_write): Correct return value.
2007
2008 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
2009 loop.
2010
2011 * libio/fileops.c: Pretty print.
2012
2013 2000-07-23 Bruno Haible <haible@clisp.cons.org>
2014
2015 * wctype/wchar-lookup.h: New file.
2016 * wctype/iswctype.c: Include "wchar-lookup.h".
2017 (__iswctype): Support alternate locale format with 3-level tables.
2018 * wctype/iswctype_l.c (__iswctype_l): Likewise.
2019 * wctype/towctrans.c (__towctrans): Likewise.
2020 * wctype/towctrans_l.c (__towctrans_l): Likewise.
2021 * wctype/wcfuncs.c: Include "wchar-lookup.h".
2022 (__ctype32_wctype, __ctype32_wctrans): Declare external.
2023 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
2024 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
2025 __iswxdigit, towlower, towupper): Support alternate locale format
2026 with 3-level tables.
2027 * wctype/wcextra.c (iswblank): Likewise.
2028 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
2029 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2030 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2031 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
2032 format with 3-level tables.
2033 * wctype/wcextra_l.c (__iswblank_l): Likewise.
2034 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
2035 format, return a 3-level table pointer.
2036 * wctype/wctype_l.c (__wctype_l): Likewise.
2037 * wctype/wctrans.c (wctrans): Likewise.
2038 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
2039 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
2040 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
2041 (iswctype): Remove macro definition.
2042 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
2043 (internal_wcwidth): Support alternate locale format with 3-level
2044 tables.
2045 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2046 New nl_items.
2047 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2048 Define them as being type "word".
2049 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
2050 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
2051 __ctype32_width): New exported variables.
2052 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
2053 alternate locale format. Don't initialize __ctype_names and
2054 __ctype_width in the alternate locale format.
2055 * locale/programs/localedef.h (oldstyle_tables): New declaration.
2056 * locale/programs/localedef.c (oldstyle_tables): New variable.
2057 (OPT_OLDSTYLE): New macro.
2058 (options): Add --old-style option.
2059 (parse_opt): Handle --old-style option.
2060 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
2061 map_offset, class_3level, map_3level, width_3level members.
2062 (ctype_output): Support for alternate locale format: Computation of
2063 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
2064 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
2065 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
2066 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
2067 now contain both class and map tables.
2068 (struct wctype_table): New type.
2069 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
2070 functions.
2071 (struct wcwidth_table): New type.
2072 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
2073 functions.
2074 (struct wctrans_table): New type.
2075 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
2076 functions.
2077 (allocate_arrays): Support for alternate locale format: Set
2078 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
2079 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
2080 to the first 256 characters. Compute ctype->map_3level. Set
2081 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
2082 instead of ctype->width.
2083
2084 2000-07-24 Ulrich Drepper <drepper@redhat.com>
2085
2086 * libio/iogetwline.c (_IO_getwline_info): Use wide character
2087 string functions.
2088
2089 2000-07-24 Jakub Jelinek <jakub@redhat.com>
2090
2091 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
2092 in wide characters, not bytes.
2093 * libio/tst_putwc.c (do_test): Add test for writing lots of data
2094 into file.
2095
2096 2000-07-22 Bruno Haible <haible@clisp.cons.org>
2097
2098 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
2099 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
2100 LC_MEASUREMENT, LC_IDENTIFICATION.
2101
2102 * locale/xlocale.h (struct __locale_struct): Increase size of
2103 __locales array.
2104 * locale/duplocale.c (__duplocale): Copy newly added categories as
2105 well.
2106 * locale/freelocale.c (__freelocale): Free newly added categories.
2107 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
2108 If a base is given, use it, don't simply return it.
2109
2110 2000-07-22 Bruno Haible <haible@clisp.cons.org>
2111
2112 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
2113 variables, copied_key and copied_salt, instead of boolean variables.
2114
2115 2000-07-24 Andreas Jaeger <aj@suse.de>
2116
2117 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
2118 check for offset.
2119
2120 * grp/initgroups.c (initgroups_dyn_function): Renamed from
2121 initgroups_function, adopted prototype for change from 2000-07-23.
2122 (initgroups): Follow type change.
2123
2124 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
2125 & PAGE_MASK case, reformat.
2126
2127 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
2128 from stdin and setup environment.
2129
2130 2000-07-24 Andreas Schwab <schwab@suse.de>
2131
2132 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
2133
2134 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2135
2136 * string/endian.h: Explain the _*_ENDIAN constant values a bit
2137 more. Patch by scarlet@mit.edu [PR libc/1799].
2138
2139 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
2140 [PR libc/1792].
2141
2142 * argp/argp-parse.c (parser_finalize): Reverse order in which
2143 parsers are run for ARGP_KEY_END. [PR libc/1755].
2144
2145 * grp/initgroups.c (initgroups): Don't limit the possible number
2146 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
2147 the setgroups call while the call fails and descrease the number
2148 of groups each round.
2149 The name of the initgroups function in the NSS modules changed.
2150 (compat_call): Adapt for dynamic resizing.
2151 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2152 Implement dynamic resizing.
2153 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2154 Likewise.
2155 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
2156 * hesiod/Versions: Change exported interface name.
2157 * nis/Versions: Change exported interface name.
2158
2159 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2160
2161 * locale/iso-639.def: Some errors corrected.
2162 Patch by Keld Simonsen.
2163
2164 * include/limits.h: Update non-gcc portion.
2165 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2166
2167 2000-07-22 Mark Kettenis <kettenis@gnu.org>
2168
2169 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
2170 program's data space, reallocate only the space that was just
2171 deallocated to release its backing space.
2172
2173 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2174
2175 * stdio-common/vfprintf.c (process_string_arg): For wide character
2176 version, handle precision also correctly.
2177
2178 * nss/nss_files/files-hosts.c: Correct problem with three or more
2179 entries with the same name.
2180
2181 * nss/nss_files/files-hosts.c: Implement multi handling.
2182 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2183
2184 2000-07-22 Ulrich Drepper <drepper@redhat.com>
2185
2186 * nss/nss_files/files-parse.c: Don't pollute namespace by using
2187 strcasecmp.
2188
2189 * grp/Makefile: Change Makefiles and tests to run only when necessary.
2190 * malloc/Makefile: Likewise.
2191 * malloc/tst-mtrace.sh: Likewise.
2192 * posix/Makefile: Likewise.
2193 * posix/globtest.sh: Likewise.
2194 * posix/wordexp-tst.sh: Likewise.
2195 * string/Makefile: Likewise.
2196
2197 2000-07-22 Mark Kettenis <kettenis@gnu.org>
2198
2199 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
2200 size instead of LC_ALL to take into account the new locale
2201 categories.
2202
2203 2000-07-22 Ulrich Drepper <drepper@redhat.com>
2204
2205 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
2206 remainders of hash table.
2207 * locale/categories.def: Remove remainders of transliteration
2208 hash table.
2209 * locale/langinfo.h: Likewise.
2210 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
2211 transliteration tables.
2212
2213 * locale/gen-translit.pl: New file.
2214 * locale/C-translit.h.in: New file.
2215 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
2216 data pointers with data from this file.
2217 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
2218 and gen-translit.pl.
2219 Add rule to generate C-translit.h.
2220 * intl/tst-translit.c (main): Update for now performed
2221 transliteration.
2222
2223 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
2224 (it's no input error).
2225 * stdio-common/tstscanf.c: Add test case for format %f with input --.
2226 * stdio-common/scanf12.c: Correct expected result for first scanf.
2227
2228 * stdio-common/vfprintf.c (process_string_arg): Correct handling
2229 of multibyte character strings in %s format with precision.
2230
2231 2000-07-21 Ulrich Drepper <drepper@redhat.com>
2232
2233 * locale/programs/ld-collate.c (collate_read): Allow collating
2234 symbols and elements be named in reorder-after instructions.
2235 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2236
2237 * locale/programs/ld-collate.c (handle_ellipsis): Test for
2238 duplication with generated name, not the name of the first
2239 character.
2240 Patch by Yong Li <yong.li@asu.edu>.
2241
2242 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
2243 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2244
2245 2000-07-21 Wolfram Gloger <wg@malloc.de>
2246
2247 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
2248 allocations only if a non-main arena cannot be extended.
2249
2250 2000-07-21 Ulrich Drepper <drepper@redhat.com>
2251
2252 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
2253 in DF_1_NODEFLIB handling.
2254
2255 2000-07-21 Andreas Jaeger <aj@suse.de>
2256
2257 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
2258 own rule.
2259
2260 * libio/fwide.c: Include <wchar.h> for prototype.
2261
2262 2000-07-21 Greg McGary <greg@mcgary.org>
2263
2264 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
2265 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
2266 Define in terms of chunk_at_offset.
2267 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
2268 (next_bin, prev_bin): offset by size of real array elements.
2269 (chunk_align): Make `m' a scalar, since that's how it's used.
2270
2271 2000-07-21 Greg McGary <greg@mcgary.org>
2272
2273 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
2274 UNCHECK_BOUNDS.
2275 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
2276 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2277 Wrap bounds around argv & envp and each of their string members.
2278 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
2279 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
2280 symbol in BP_SYM (). Discard bounds of address arg.
2281 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
2283 Discard bounds on address arg, add bounds to return value.
2284
2285 2000-07-20 Ulrich Drepper <drepper@redhat.com>
2286
2287 * elf/Makefile (tests): Add filter. Add rules to generate filter.
2288 * elf/filter.c: New file.
2289 * elf/filtmod1.c: New file.
2290 * elf/filtmod2.c: New file.
2291
2292 * elf/rtld.c: Define _dl_bind_not variable.
2293 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
2294 * elf/dl-support.c: Likewise.
2295 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
2296 * elf/dl-runtime.c (fixup): Don't remember looked up value if
2297 _dl_bind_not.
2298 (profile_fixup): Likewise.
2299
2300 * libio/Makefile (routines): Add fwide.
2301 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
2302 fwide now. Internal calls to _IO_fwide must do locking themselves
2303 or don't need locking.
2304 * libio/fwide.c: New file.
2305
2306 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
2307
2308 * elf/Makefile: Add no modules for nodelete test.
2309 * elf/nodelmod3.c: New file.
2310 * elf/nodelmod4.c: New file.
2311 * elf/nodelete.c: Also test case where dependency of dlopen() object
2312 is marked nodelete.
2313
2314 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2315 * elf/nodlopen.c: New file.
2316 * elf/nodlopenmod.c: New file.
2317 * include/dlfcn.h: Define __RTLD_DLOPEN.
2318 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
2319 and this is a dlopen() call, do not load the binary.
2320 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
2321 * dlfcn/dlopenold.c: Likewise.
2322 * configure.in: Add test for -z nodelete option.
2323 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2324
2325 2000-07-20 Mark Kettenis <kettenis@gnu.org>
2326
2327 Make Hesiod NSS module thread-safe.
2328
2329 * hesiod/README.hesiod: Update.
2330
2331 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
2332 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
2333 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
2334 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
2335 hesiod-proto.
2336 * hesiod/nss_hesiod/hesiod-init.c: New file.
2337 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
2338 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
2339 * hesiod/nss_hesiod/nss_hesiod.h: New file.
2340 * hesiod/nss_hesiod/hesiod-service.c
2341 (_nss_hesiod_getservbyport_r): New function. Provide support for
2342 looking up services by port number.
2343 * hesiod/nss_hesiod/hesiod-proto.c: New file.
2344
2345 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
2346 * hesiod/hesiod.h: Likewise.
2347 * hesiod/hesiod_p.h: Likewise.
2348
2349 2000-07-20 Mark Kettenis <kettenis@gnu.org>
2350
2351 Fix problems with `struct __res_state' getting too big.
2352 * resolv/resolv.h (struct __sockaddr_in): New definition.
2353 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
2354 the private parts of the structure to save some space.
2355 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
2356 (struct sockaddr_in *) in call to sock_eq.
2357 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
2358
2359 2000-07-20 Ulrich Drepper <drepper@redhat.com>
2360
2361 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
2362 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
2363 with nodelete.
2364 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
2365 to _dl_map_object. Return immediately if no object loaded.
2366 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
2367 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
2368 if it exists into l_flags_1 word.
2369 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
2370 it to determine whether loading is wanted or not.
2371 (_dl_map_object): Likewise.
2372 Call _dl_map_object_from_fd with new parameter.
2373 * sysdeps/generic/ldsodefs.h: Update prototype.
2374 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
2375 * elf/rtld.c: Likewise.
2376 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2377 * elf/Makefile (tests): Add noload. Add rules to generate noload.
2378 * elf/noload.c: New file.
2379 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
2380 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
2381 * sysdeps/mips/bits/dlfcn.h: Likewise.
2382 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
2383 (tests-nodelete-yes): Define.
2384 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
2385 Add rules to build nodelete and modules.
2386 * elf/nodelete.c: New file.
2387 * elf/nodelmod1.c: New file.
2388 * elf/nodelmod2.c: New file.
2389 * configure.in: Add test for -z nodelete option.
2390 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2391
2392 * libio/Makefile (tests): Add tst_wprintf2.
2393 (tst_wprintf2-ARGS): Define.
2394 * libio/tst_wprintf2.c: New file.
2395 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
2396
2397 * libio/wfiledoalloc.c: Only allocate external buffer if this
2398 hasn't happened yet.
2399
2400 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
2401 something in the buffer. gconv call can write up to end of the
2402 buffer, not only _IO_write_end.
2403 (_IO_wfile_overflow): Allocate also external buffer.
2404
2405 2000-07-19 Ulrich Drepper <drepper@redhat.com>
2406
2407 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
2408 strings with precision in vfwprintf correctly.
2409 * stdio-common/vfprintf.c: Fix completely broken handling of
2410 unbuffered wide character streams.
2411 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2412
2413 * resolv/Makefile (distribute): Add README.
2414
2415 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
2416
2417 2000-07-18 Mark Kettenis <kettenis@gnu.org>
2418
2419 Update resolver code to BIND 8.2.3-T5B.
2420
2421 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
2422 __res_nclose.
2423 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
2424 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
2425 __res_search.
2426 * resolv/Banner: BIND-8.2.3-T5B.
2427
2428 * resolv/base64.c: Update from BIND 8.2.3-T5B.
2429 * resolv/herror.c: Likewise.
2430 * resolv/inet_addr.c: Likewise.
2431 * resolv/inet_net_ntop.c: Likewise.
2432 * resolv/inet_net_pton.c: Likewise.
2433 * resolv/inet_neta.c: Likewise.
2434 * resolv/inet_ntop.c: Likewise.
2435 * resolv/nsap_addr.c: Likewise.
2436 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2437 IPv6 addresses (ISC bug #520).
2438
2439 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2440 * resolv/ns_parse.c: Likewise.
2441 * resolv/ns_netint.c: Likewise.
2442 * resolv/ns_samedomain.c: Likewise.
2443 * resolv/ns_ttl.c: Likewise.
2444 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2445 RCS ID in object file.
2446
2447 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2448 * resolv/res_mkquery.c: Likewise.
2449 * resolv/res_query.c: Likewise.
2450 * resolv/res_init.c: Likewise.
2451 (res_setoptions): Mark internal.
2452 * resolv/res_send.c: Likewise.
2453 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2454 by using poll instead.
2455 * resolv/res_comp.c: Likewise.
2456 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2457 weak alias for __dn_expand.
2458 * resolv/res_data.c: Likewise.
2459 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2460 in _res.options. Avoids a potential security risk by avoiding a
2461 close (0).
2462 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2463 res_mkquery, res_query, res_querydomain adn res_search weak
2464 aliases for __res_mkquery, __res_query, __res_querydomain and
2465 __res_search.
2466 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2467 instead to avoid close(0).
2468 (res_init): Always use the static resolver context.
2469 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2470 alias for __res_init.
2471
2472 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2473 RES_SET_H_ERRNO and accompanying comment to...
2474 * include/resolv.h: ... here.
2475
2476 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2477 * resolv/arpa/nameser_compat.h: Likewise.
2478
2479 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2480
2481 * nss/makedb.c (main): Compare result of load_db with
2482 NSS_STATUS_SUCCESS and not 0.
2483 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2484
2485 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2486
2487 2000-07-18 Greg McGary <greg@mcgary.org>
2488
2489 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2490 (EXTEND_BUFFER): Use it.
2491
2492 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2493
2494 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2495 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2496 __builtin_return_address.
2497 * dlfcn/dlopenold.c: Likewise.
2498 * dlfcn/dlsym.c: Likewise.
2499 * dlfcn/dlvsym.c: Likewise.
2500 * elf/dl-profstub.c: Likewise.
2501 * malloc/malloc.c: Likewise.
2502 * sysdeps/generic/machine-gmon.h: Likewise.
2503 Based on a patch by schwidefsky@de.ibm.com.
2504
2505 2000-07-18 Andreas Jaeger <aj@suse.de>
2506
2507 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2508 NULL to elf_machine_fixup_plt t argument to silence GCC.
2509
2510 * include/string.h: Add prototype for __memchr.
2511
2512 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2513
2514 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2515 instead of memrchr.
2516
2517 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2518
2519 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2520
2521 * locale/C-ctype.c: Add initializers for gap elements.
2522 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2523 for gap elements.
2524
2525 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2526
2527 * nscd/nscd.c (print_version): Update copyright year.
2528
2529 2000-07-17 Greg McGary <greg@mcgary.org>
2530
2531 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2532 keyletters F, I, S, W. Remove unused keyletter V. Surround
2533 signature argnames with angle-brackets for use as word delimiters,
2534 and to induce syntax errors for any args not handled. Split
2535 multi-echo echoes and comment each stage.
2536 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2537 * sysdeps/unix/inet/syscalls.list: Likewise.
2538 * sysdeps/unix/mman/syscalls.list: Likewise.
2539 * sysdeps/unix/syscalls.list: Likewise.
2540 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2541 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2542 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2543 * sysdeps/unix/sysv/syscalls.list: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2545
2546 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2547 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2548 qualifiers. Don't check NULL-terminator of argv & envp.
2549 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2550 unbounded pointer type in word-size assertion.
2551 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2552 cases to stifle warnings.
2553
2554 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2555 _IO_file_attach.
2556 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2557
2558 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2559 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2560 ptr as __unbouned.
2561
2562 * Makerules (o-objects): Supplement with $(o-objects$o).
2563 * string/Makefile (o-objects.ob): Add variable to pull
2564 unbounded versions of memcpy, memset and memchr into libc_b.
2565
2566 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2567 rather than non-existent __ubp_memchr.
2568 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2569 (_CHECK_STRING, _CHECK_N): New macros.
2570 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2571 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2572 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2573 Add weak alias "memchr".
2574 * sysdeps/generic/memchr.c: Likewise.
2575 * sysdeps/i386/memchr.S: Likewise.
2576 * sysdeps/ia64/memchr.S: Likewise.
2577 * sysdeps/m68k/memchr.S: Likewise.
2578 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2579 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2580 * sysdeps/vax/memchr.s: Likewise.
2581
2582 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2583
2584 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2585 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2586 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2587 __BOUNDED_POINTERS__.
2588 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2589 for __BOUNDED_POINTERS__.
2590
2591 2000-07-17 Bruno Haible <haible@clisp.cons.org>
2592
2593 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2594 field of struct __gconv_trans_data differently. Don't pass NULL to
2595 trans_init_fct. Simplify list append operation.
2596
2597 2000-07-14 Bruno Haible <haible@clisp.cons.org>
2598
2599 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2600 not only those having tsearch.
2601
2602 2000-07-17 Ulrich Drepper <drepper@redhat.com>
2603
2604 * locale/langinfo.h: Add placeholder values in enum for removed
2605 LC_CTYPE entries.
2606
2607 2000-07-17 Jakub Jelinek <jakub@redhat.com>
2608
2609 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2610 chain if the PHDR check fails.
2611
2612 2000-07-17 Mark Kettenis <kettenis@gnu.org>
2613
2614 * nss/getent.c (print_hosts): Make sure we always print a space
2615 between numeric addresses and hostnames.
2616
2617 2000-07-17 Wolfram Gloger <wg@malloc.de>
2618
2619 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
2620 i.e. if n_mmaps_max>0.
2621
2622 2000-07-16 Mark Kettenis <kettenis@gnu.org>
2623
2624 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
2625 values to remove possible clash with other AI_* constants.
2626 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
2627 hexadecimal constants to stress the fact they're in fact
2628 bit flags.
2629
2630 2000-07-15 Mark Kettenis <kettenis@gnu.org>
2631
2632 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
2633 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
2634 instead of res_init.
2635
2636 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2637
2638 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
2639 parameters of memset calls to avoid warnings.
2640
2641 2000-07-15 Ulrich Drepper <drepper@redhat.com>
2642
2643 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
2644 necessary.
2645
2646 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
2647 Patch by Greg McGary <greg@mcgary.org>.
2648
2649 * io/Makefile (tests): Add tst-getcwd.
2650 * io/tst-getcwd.c: New file.
2651
2652 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2653
2654 2000-07-15 Jakub Jelinek <jakub@redhat.com>
2655
2656 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
2657 structure.
2658
2659 2000-07-13 Jakub Jelinek <jakub@redhat.com>
2660
2661 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
2662 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
2663
2664 2000-07-12 H.J. Lu <hjl@gnu.org>
2665
2666 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
2667 GLIBC_2.2.
2668 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
2669 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
2670 (sysdep-routines): Add clone2.
2671 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
2672
2673 2000-07-13 Jes Sorensen <jes@linuxcare.com>
2674
2675 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
2676 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
2677
2678 2000-06-05 David Mosberger <davidm@hpl.hp.com>
2679
2680 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
2681 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
2682 Change type of si_band from "int" to "long".
2683 (si_imm) [USE_GNU]: Define
2684 (si_isr) [USE_GNU]: Ditto.
2685 (ILL_BREAK) [USE_GNU]: Ditto.
2686 (FPE_DECOVF) [USE_GNU]: Ditto.
2687 (FPE_DECDIV) [USE_GNU]: Ditto.
2688 (FPE_DECERR) [USE_GNU]: Ditto.
2689 (FPE_INVASC) [USE_GNU]: Ditto.
2690 (FPE_INVDEC) [USE_GNU]: Ditto.
2691 (TRAP_BRANCH) [USE_GNU]: Ditto.
2692 (TRAP_HWBKPT) [USE_GNU]: Ditto.
2693
2694 2000-07-06 Jes Sorensen <jes@linuxcare.com>
2695
2696 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2697 bits/sigcontext as struct mcontext does not depend on it.
2698
2699 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
2700
2701 2000-07-04 Jes Sorensen <jes@linuxcare.com>
2702
2703 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
2704
2705 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
2706
2707 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
2708
2709 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2710
2711 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
2712
2713 2000-07-15 Ulrich Drepper <drepper@redhat.com>
2714
2715 * intl/Makefile (test-srcs): Add tst-translit.
2716 (tests): Likewise.
2717 Add rules to build and run tst-translit.
2718 * intl/tst-translit.c: New file.
2719 * intl/tst-translit.sh: New file.
2720 * intl/translit.po: New file.
2721
2722 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2723
2724 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
2725 transliteration function did its job, continue, don't stop.
2726
2727 * iconvdata/iso646.c: Little optimizations in body for conversion
2728 from UCS4.
2729
2730 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2731
2732 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
2733
2734 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2735
2736 * configure.in: Check for pwd binary.
2737 * config.make.in: Add PWD_P to be subsituted.
2738 * Makerules: Use $(PWD_P) instead of /bin/pwd.
2739
2740 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2741
2742 * iconvdata/Makefile (modules): Add GB18030.
2743 (distribute): Add gb18030.c.
2744 * iconvdata/gconv-modules: Add entries for GB18030 module.
2745 * iconvdata/gb18030.c: New file.
2746 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
2747 and Wu Jian.
2748
2749 2000-07-13 Andreas Jaeger <aj@suse.de>
2750
2751 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
2752 patch.
2753
2754 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
2755 * inet/getnetgrent.c (free_mem): Likewise.
2756 * misc/mntent.c (free_mem): Likewise.
2757 * nss/getXXbyYY.c (free_mem): Likewise.
2758 * nss/getXXent.c (free_mem): Likewise.
2759 * pwd/fgetpwent.c (free_mem): Likewise.
2760 * shadow/fgetspent.c (free_mem): Likewise.
2761
2762 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2763
2764 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
2765 64-bit architecture correctly [PR libc/1794].
2766
2767 2000-07-13 Ulrich Drepper <drepper@redhat.com>
2768
2769 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
2770 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
2771 report that we are out of memory.
2772 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2773 * elf/dl-libc.c (dlerror_run): Likewise.
2774 * elf/dl-open.c (_dl_open): Likewise.
2775 * elf/rtld.c (dl_main): Likewise.
2776 * elf/dl-error.c: Define _dl_out_of_memory.
2777 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
2778 the error string.
2779 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
2780 [PR libc/1813].
2781
2782 * dlfcn/dlerror.c (free_key_mem): Also free error string.
2783
2784 * iconv/loop.c: Fix comment.
2785
2786 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
2787
2788 2000-07-13 Andreas Jaeger <aj@suse.de>
2789
2790 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
2791 getcwd (NULL, size) with size > 0.
2792 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
2793
2794 2000-07-13 Andreas Jaeger <aj@suse.de>
2795
2796 * posix/Makefile: Remove build rules for libposix.
2797
2798 2000-07-13 Andreas Schwab <schwab@suse.de>
2799
2800 * sysdeps/generic/glob.c (glob): Fix memory leak.
2801 [SHELL]: Remove reference to undefined variable `files'.
2802 Fixes PR libc/1782.
2803
2804 2000-07-13 Andreas Jaeger <aj@suse.de>
2805
2806 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
2807 functions.
2808
2809 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
2810 memory if it was allocated.
2811
2812 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2813
2814 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
2815 step.
2816
2817 * iconv/gconv_open.c (__gconv_open): Reapply
2818 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2819
2820 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2821
2822 * iconv/gconv_open.c: Undo last two changes for now. They break
2823 everything.
2824
2825 2000-07-12 Andreas Jaeger <aj@suse.de>
2826
2827 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
2828 compiler.
2829 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
2830 (CFLAGS-dl-cache.c): Likewise.
2831 (CFLAGS-ldconfig.c): Added, passes directory locations.
2832
2833 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
2834 locate cache.
2835 * elf/ldconfig.c (LD_SO_CONF): Likewise.
2836 (main): Use configured LIBDIR and SLIBDIR.
2837
2838 2000-07-11 Jakub Jelinek <jakub@redhat.com>
2839
2840 * math/bits/cmathcalls.h (cimag): Add __THROW.
2841 (creal, conj): Likewise.
2842 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
2843 by negative value.
2844
2845 2000-07-12 H.J. Lu <hjl@gnu.org>
2846
2847 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
2848 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
2849
2850 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2851
2852 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
2853 it is wrong.
2854
2855 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2856
2857 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2858
2859 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2860
2861 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2862 __modname.
2863
2864 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2865
2866 * iconv/gconv_open.c (__gconv_open): Initialize
2867 result->__steps[cnt].__data.
2868
2869 2000-07-12 Mark Kettenis <kettenis@gnu.org>
2870
2871 * nss/getent.c (services_keys): Pass port number in network byte
2872 order in call to getservbyport.
2873
2874 2000-07-11 Andreas Jaeger <aj@suse.de>
2875
2876 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
2877 source dir.
2878 * intl/Makefile (do-gettext-test): Likewise.
2879 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
2880
2881 2000-07-11 Andreas Schwab <schwab@suse.de>
2882
2883 * Makeconfig (run-program-prefix): New rule.
2884 (built-program-cmd): Use run-program-prefix.
2885
2886 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2887
2888 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
2889 and NOEXPR unconditionally available.
2890
2891 2000-07-12 Greg McGary <greg@mcgary.org>
2892
2893 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
2894 * sysdeps/posix/open64.c: Likewise.
2895 * sysdeps/generic/fegetenv.c: Likewise.
2896 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2897 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2898 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2899 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2900 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2901 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2902
2903 2000-07-11 Greg McGary <greg@mcgary.org>
2904
2905 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
2906 Add extra level of macro expansion.
2907 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
2908 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
2909 is available at the time `select' prototype is declared.
2910 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
2911 Collect non-versioned weak aliases. Consider only non-versioned
2912 aliases for the user-visible systemcall name. Do checks inline with
2913 call to primitive system call.
2914 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
2915 stand-alone bounds checks to suppress unused value warnings.
2916 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2917
2918 2000-07-10 Mark Kettenis <kettenis@gnu.org>
2919
2920 * sysdeps/mach/hurd/check_fds.c: New file. Implements
2921 file descriptor checking in SUID programs for the Hurd.
2922
2923 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
2924 res_hostalias instead of __hostalias for thread-safety.
2925
2926 2000-07-09 Mark Kettenis <kettenis@gnu.org>
2927
2928 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
2929 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
2930
2931 2000-07-10 Ulrich Drepper <drepper@redhat.com>
2932
2933 * include/features.h: Include ISO C99 features if the compiler used
2934 is an ISO C99 compiler.
2935 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2936
2937 2000-07-08 Mark Kettenis <kettenis@gnu.org>
2938
2939 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
2940
2941 2000-07-10 Andreas Jaeger <aj@suse.de>
2942
2943 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
2944 it's overridden by libpthreads.
2945 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2946 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2947 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2949 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2950
2951 * malloc/Makefile: Run tst-mtrace only with shared libs.
2952
2953 * stdio-common/Makefile: Run unbputc and tst-printf tests only
2954 with shared libs.
2955
2956 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2957
2958 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
2959 that gpreg really points to the GOT section of the calling object.
2960 Scan all PT_LOAD segments of objects for stub_pc, instead of only
2961 checking a start address of first one.
2962 Fix typos.
2963 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
2964 Likewise.
2965
2966 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
2967
2968 2000-07-10 Andreas Jaeger <aj@suse.de>
2969
2970 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
2971 (string_alias->strong_alias).
2972
2973 2000-07-08 Mark Kettenis <kettenis@gnu.org>
2974
2975 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
2976
2977 2000-07-07 Greg McGary <greg@mcgary.org>
2978
2979 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
2980 have no names without leading underscores.
2981
2982 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2983
2984 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
2985 U007E.
2986
2987 * stdio-common/Makefile (tests): Remove tst-printf here...
2988 (tests-srcs): ...and add it here.
2989 (distribute): Add tst-unbputc.sh and tst-printf.sh.
2990 Add rules to run tst-printf.sh.
2991 * stdio-common/tst-printf.c: Move code around so that there is really
2992 no further output where it's stated.
2993 * stdio-common/tst-printf.sh: New file.
2994
2995 2000-07-07 Mark Kettenis <kettenis@gnu.org>
2996
2997 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
2998 (do_write): Renamed from pwrite.
2999 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
3000 `struct _IO_cookie_file'.
3001
3002 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3003
3004 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
3005 detected.
3006 * malloc/tst-mtrace.sh: Run mtrace script.
3007
3008 2000-07-07 Greg McGary <greg@mcgary.org>
3009
3010 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
3011 Move all three components of a bounded pointer.
3012
3013 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3014
3015 * locale/programs/locale.c (write_locales): Don't simply add all
3016 directories found in the subdir, test whether at least the
3017 LC_CTYPE file is in there.
3018
3019 2000-07-06 Ulrich Drepper <drepper@redhat.com>
3020
3021 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
3022 * iconvdata/euc-kr.c: Likewise.
3023
3024 * stdio-common/vfprintf.c (process_string_arg): Check result of
3025 wcrtomb call and bail out if it failed.
3026
3027 * malloc/Makefile (test-srcs): Add tst-mtrace.
3028 (distribute): Add tst-mtrace.sh.
3029 Add rule to run tst-mtrace.sh.
3030 * malloc/tst-mtrace.c: New file.
3031 * malloc/tst-mtrace.sh: New file.
3032
3033 * include/signal.h: Declare __libc_sigaction.
3034 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
3035 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
3036 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3037 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3038 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3041
3042 * configure.in: Fix CFLAGS-memprofstat.c definition after
3043 2000-06-19 change.
3044 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
3045
3046 2000-07-06 Jakub Jelinek <jakub@redhat.com>
3047
3048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
3049 instead of NULL to elf_machine_fixup_plt t argument.
3050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3051 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
3052 cast.
3053
3054 2000-07-06 Andreas Jaeger <aj@suse.de>
3055
3056 * crypt/Makefile (LDLIBS-cert): Removed.
3057 (LDLIBS-md5c-test): Removed.
3058 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
3059 ($(objpfx)md5c-test): Likewise for md5c-test.out.
3060
3061 2000-07-06 Andreas Jaeger <aj@suse.de>
3062
3063 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
3064 of the proc system is "proc".
3065
3066 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
3067 thread library for static programs.
3068
3069 2000-07-06 Greg McGary <greg@mcgary.org>
3070
3071 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
3072 New macros.
3073 * sysdeps/generic/strcpy.c: Add bounds checks.
3074 * sysdeps/unix/fxstat.c: Likewise.
3075 * sysdeps/unix/xstat.c: Likewise.
3076 * sysdeps/unix/common/lxstat.c: Likewise.
3077 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3078 * sysdeps/unix/sysv/linux/execve.c: Likewise.
3079 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3080 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3081 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3082 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3083 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3084 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3085 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3086 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3087 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3088 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3089 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3090 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3091 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3092 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3093 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3094 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3095 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3096 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3097 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3098 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3099 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3100 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3101 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3102 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3103 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3104 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3105 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3106 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3107 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3108 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3109 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3110 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3111 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3112 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3113 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3114 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3115 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3116 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3117 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3118 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3119 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3120 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3121 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
3122 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
3123 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3124 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
3125 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3126 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
3127 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
3128 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3129 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3130 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3131 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3132 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3133 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3134 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3135 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3140 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
3141
3142 * string/endian.h (__LONG_LONG_PAIR): New macro.
3143 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
3144 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3145 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3146 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3147 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3148 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3149 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3150 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3151 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3152 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3153 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3154 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3155
3156 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
3157
3158 2000-07-06 Andreas Jaeger <aj@suse.de>
3159
3160 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3161 Initialize result.
3162
3163 * math/test-fpucw.c: Include <stdio.h> for printf.
3164
3165 2000-07-05 Greg McGary <greg@mcgary.org>
3166
3167 * sysdeps/generic/bp-checks.h: New file.
3168 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
3169 with list of #include files.
3170 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3171 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
3172 Don't generate BP thunk if `V' appears in signature.
3173 Generate thunks with complete bounds checks.
3174 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
3175 * sysdeps/unix/inet/syscalls.list: Likewise.
3176 * sysdeps/unix/mman/syscalls.list: Likewise.
3177 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3178 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3179 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3180 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3181
3182 2000-07-05 Ulrich Drepper <drepper@redhat.com>
3183
3184 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
3185 result. Search first in /etc/mtab (proc/mounts would be stupid).
3186 If mount not in the file fall back on /proc.
3187
3188 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
3189 string got copied in.
3190 Patch by Solar Designer <solar@false.com>.
3191
3192 2000-07-05 Andreas Jaeger <aj@suse.de>
3193
3194 * manual/install.texi (Installation): Update information about
3195 add-ons.
3196 (Configuring and compiling): Update for glibc 2.2.
3197
3198 2000-07-04 Andreas Jaeger <aj@suse.de>
3199
3200 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
3201 (_FPU_IEEE): Likewise.
3202
3203 * math/Makefile (tests): Add test-fpucw.
3204
3205 * math/test-fpucw.c (main): New file.
3206
3207 2000-07-05 Ulrich Drepper <drepper@redhat.com>
3208
3209 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
3210
3211 * locale/programs/ld-collate.c (collate_output): Also write out the
3212 collation sequence values and the wide character string for the
3213 collation symbol table.
3214
3215 * posix/fnmatch.c: Include "../locale/elem-hash.h".
3216 * posix/fnmatch_loop.c: Implement collating symbol handling.
3217 * posix/tst-fnmatch.input: Add more tests, especially for collating
3218 symbol handling.
3219
3220 * posix/regex.c: Fix comment.
3221
3222 2000-07-05 Andreas Jaeger <aj@suse.de>
3223
3224 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
3225 (_FPU_GETCW): Remove extra colon.
3226 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3227
3228 * posix/fnmatch_loop.c (FCT): Only declare len if
3229 !WIDE_CHAR_VERSION to silence GCC.
3230
3231 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
3232 prototype.
3233 * sysdeps/generic/strchrnul.c: Likewise.
3234 * sysdeps/generic/strlen.c: Likewise.
3235 * sysdeps/generic/strchr.c: Likewise.
3236 * sysdeps/generic/memchr.c: Likewise.
3237
3238 2000-07-04 Ulrich Drepper <drepper@redhat.com>
3239
3240 * posix/fnmatch_loop.c: Implement equivalence class handling.
3241 * posix/tst-fnmatch.input: Add tests for equivalence class
3242 handling.
3243
3244 * posix/fnmatch_loop.c: Improve performance for single-byte
3245 character sets by not using btowc.
3246
3247 * posix/tst-fnmatch.input: Add tests for locale dependent
3248 behaviour.
3249 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
3250
3251 * posix/tst-fnmatch.input: Add more test cases.
3252
3253 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
3254 are not aligned to alignof(md5_uint32) do it before calling
3255 __md5_process_bytes.
3256 * crypt/md5.c: Make sure buffers are aligned.
3257 * crypt/md5.h: Likewise.
3258 Reported by Solar Designer <solar@false.com>.
3259
3260 * crypt/Makefile: Add dependencies for test programs.
3261
3262 * Rules: Define LC_ALL=C in environments of all programs we run.
3263
3264 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
3265
3266 2000-07-03 H.J. Lu <hjl@gnu.org>
3267
3268 * locale/programs/ld-ctype.c (ctype_output): The size of iov
3269 is 2 + elem + offset, not 2 + elem + offset + 2.
3270
3271 2000-07-04 Ulrich Drepper <drepper@redhat.com>
3272
3273 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
3274 suite.
3275 * posix/Makefile (tests): Add tst-fnmatch.
3276 (tst-fnmatch-ENV): Define.
3277 * posix/tst-fnmatch.c: New file.
3278 * posix/tst-fnmatch.sh: New file.
3279
3280 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
3281
3282 * locale/programs/charmap.c (charmap_read): Prepend
3283 the condition filename == NULL.
3284
3285 2000-07-03 Greg McGary <greg@mcgary.org>
3286
3287 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
3288
3289 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
3290 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
3291
3292 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
3293 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
3294 (FILEBUF_LITERAL): Add cast for CHAIN init.
3295 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
3296 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3297 Revert type of `fp' to _IO_FILE*.
3298 (_IO_iter_file): Remove cast.
3299 (_IO_iter_next): Elide intermediate member reference.
3300
3301 * sysdeps/powerpc/strchr.S: Check bounds.
3302 Wrap extern symbols in BP_SYM ().
3303
3304 2000-07-03 Andreas Jaeger <aj@suse.de>
3305
3306 * dlfcn/Makefile (generated): New.
3307
3308 2000-07-03 Ulrich Drepper <drepper@redhat.com>
3309
3310 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
3311 (__uflow): Likewise.
3312 (__underflow): Likewise.
3313 * libio/wgenops.c (__wunderflow): Likewise.
3314 * stdio-common/tst-unbputc.c: New file.
3315 * stdio-common/tst-unbputc.sh: New file.
3316 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
3317
3318 * po/en_GB.po: New file.
3319 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
3320
3321 2000-07-01 Andreas Jaeger <aj@suse.de>
3322
3323 * intl/Makefile (generated-dirs): New.
3324
3325 * elf/Makefile (generated): trusted-dirs.h is always generated,
3326 move out of build-shared condition.
3327 (generated): Merge the two entries for build-shared.
3328
3329 2000-07-01 Ulrich Drepper <drepper@redhat.com>
3330
3331 * debug/Makefile (distribute): Add xtrace.sh.
3332
3333 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3334
3335 * version.h (VERSION): Bump to 2.1.91.
3336
3337 * configure.in: Update warning comment. glibc should not be
3338 broken anymore.
3339
3340 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
3341 ioperm.c, sys/procfs.h, and sys/io.h.
3342
3343 * sysdeps/powerpc/Dist: Add bp-asm.h.
3344
3345 * assert/Depend: Add localedata.
3346 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
3347 (test-assert-perr-ENV): New. Define LANGUAGE=C.
3348
3349 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
3350 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
3351 relocation address to prevent unaligned trap.
3352 Suggested by Richard Henderson <rth@cygnus.com>.
3353
3354 2000-06-30 Jakub Jelinek <jakub@redhat.com>
3355
3356 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
3357 if redirecting and either redirection is done using defines or
3358 not optimizing.
3359
3360 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3361
3362 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
3363 generated expressions.
3364 Patch by Darren McClelland <dmcclell@zetec.com>.
3365
3366 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
3367 since zic uses setlocale and gettext but we cannot make it use the
3368 new locale data since zic calls a shell which might not use the
3369 new libc.
3370
3371 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
3372 handling the internation currency symbol. POSIX says that the
3373 fourth character is used to separate the currency symbol from the
3374 value. Therefore it does not have to be printed. But we cannot
3375 remove the space if the currency symbol is printed before the
3376 number since this is what many locales expect.
3377
3378 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
3379 whether this information is available.
3380
3381 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
3382 buffers in case the translation is too large. Remember allocated
3383 memory blocks in a list.
3384 (free_mem): Free memory for translations.
3385
3386 * intl/tst-gettext.c: Use correct locale. Improve error messages.
3387
3388 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
3389 information is available set the string length to zero.
3390
3391 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
3392
3393 2000-06-30 Greg McGary <greg@mcgary.org>
3394
3395 * sysdeps/powerpc/bp-asm.h: New file.
3396 * sysdeps/powerpc/__longjmp.S: Check bounds.
3397 Wrap extern symbols in BP_SYM ().
3398 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3399 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3400 * sysdeps/powerpc/setjmp.S: Likewise.
3401 * sysdeps/powerpc/add_n.S: Likewise.
3402 * sysdeps/powerpc/addmul_1.S: Likewise.
3403 * sysdeps/powerpc/lshift.S: Likewise.
3404 * sysdeps/powerpc/rshift.S: Likewise.
3405 * sysdeps/powerpc/mul_1.S: Likewise.
3406 * sysdeps/powerpc/sub_n.S: Likewise.
3407 * sysdeps/powerpc/submul_1.S: Likewise.
3408 * sysdeps/powerpc/strlen.S: Likewise.
3409 * sysdeps/powerpc/memset.S: Likewise.
3410 * sysdeps/powerpc/stpcpy.S: Likewise.
3411 * sysdeps/powerpc/strcmp.S: Likewise.
3412 * sysdeps/powerpc/strcpy.S: Likewise.
3413 * sysdeps/powerpc/elf/bzero.S: Likewise.
3414
3415 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
3416 Line up operands column with tabs.
3417
3418 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3419
3420 * elf/Makefile (LDFLAGS-origtest): Actually add it.
3421
3422 * sysdeps/ia64/htonl.S: New file.
3423 * sysdeps/ia64/htons.S: New file.
3424 * sysdeps/ia64/memcpy.S: Replace with version which does not use
3425 floating point registers.
3426 Patches by Dan Pop <Dan.Pop@cern.ch>.
3427
3428 2000-06-30 Andreas Jaeger <aj@suse.de>
3429
3430 * posix/Makefile (tests): tst-exec and tst-spawn only work with
3431 shared libraries.
3432
3433 * io/Makefile (CFLAGS-test-lfs.c): New.
3434 (tests): Add test-lfs.
3435
3436 * io/test-lfs.c: New file.
3437
3438 2000-06-30 Jakub Jelinek <jakub@redhat.com>
3439
3440 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3441 instruction.
3442
3443 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3444
3445 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3446
3447 2000-06-29 Jes Sorensen <jes@linuxcare.com>
3448
3449 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3450 alias to the fstatfs call.
3451
3452 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3453 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3454
3455 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3456 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3457
3458 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3459 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3460 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3461 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3462
3463 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3464 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3465
3466 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3467 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3468
3469 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3470 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3471
3472 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3473
3474 2000-06-29 Andreas Jaeger <aj@suse.de>
3475
3476 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3477 with syslog.
3478 (print_err_message): Likewise.
3479 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3480
3481 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3482
3483 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3484 used as words is properly aligned.
3485
3486 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3487 data files.
3488
3489 2000-06-29 Greg McGary <greg@mcgary.org>
3490
3491 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3492 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3493 length 7..9, just in case...
3494 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3495
3496 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3497 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3498 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3499 (PUSH_SIGNAL_MASK): New macro.
3500 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3501 LEAVE is unnecessary. Check bounds of jmp_buf.
3502 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3503 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3504 immediately before tail-call.
3505 * sysdeps/i386/setjmp.S: Likewise.
3506 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3507 * sysdeps/i386/bsd-setjmp.S: Likewise.
3508
3509 2000-06-29 Jakub Jelinek <jakub@redhat.com>
3510
3511 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3512 versioned_symbol.
3513 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3514 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3515 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3516 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3517 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3518 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3519 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3520 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3521
3522 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3523
3524 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3525 we later need to calling free().
3526 Patch by Matt Wilson <msw@redhat.com>.
3527
3528 * stdio-common/tst-printf.c: Add test for above problem.
3529
3530 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3531
3532 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3533 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3534
3535 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3536
3537 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3538 prototype for abs().
3539 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3540
3541 2000-06-23 Andreas Jaeger <aj@suse.de>
3542
3543 * config.h.in: Don't use regparm with bounded pointers.
3544
3545 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3546
3547 * stdlib/grouping.h: Correctly handle multibyte thousands
3548 separator and decimal point.
3549 * stdlib/stdtod.c: Likewise.
3550 * sysdeps/generic/strtol.c: Likewise.
3551
3552 * locale/categories.def: Add entries for wide character decimal point
3553 and thousands separator in numeric and monetary category.
3554
3555 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3556
3557 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3558 second definition and initialization of decimal.
3559
3560 2000-06-28 Greg McGary <greg@mcgary.org>
3561
3562 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3563 out.
3564 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
3565 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3566 in.
3567 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3568 (struct _IO_FILE_plus *).
3569 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3570 THIS, since _IO_JUMPS no longer does it implicitly.
3571 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3572 arg type as (struct _IO_FILE_plus *).
3573 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3574 arg as (_IO_strfile *).
3575 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3576 Declare 1st arg as (_IO_strfile *).
3577 * libio/fileops.c (_IO_new_file_init): Declare
3578 arg type as (struct _IO_FILE_plus *).
3579 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3580 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3581 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3582 Declare iteration pointer as (struct _IO_FILE_plus *).
3583 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3584 (struct _IO_FILE_plus *).
3585 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3586 * libio/oldstdfiles.c (_IO_list_all): Likewise.
3587 (_IO_check_libio): Set user-visible handles to
3588 (struct _IO_FILE_plus *).
3589 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3590 to (struct _IO_FILE_plus *).
3591
3592 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3593 whose high bound includes vtable to all functions that will use
3594 vtable. For streambufs, pass pointer whose bounds include struct
3595 _IO_strfile.
3596 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3597 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3598 * libio/iofopen.c (_IO_new_fopen): Likewise.
3599 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3600 * libio/iofopen64.c (_IO_fopen64): Likewise.
3601 * libio/iopopen.c (_IO_new_popen): Likewise.
3602 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3603 * libio/memstream.c (open_memstream): Likewise.
3604 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3605 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3606 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3607 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3608 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3609 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3610 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3611 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3612 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3613 * stdlib/strfmon.c (__strfmon_l): Likewise.
3614 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3615 (vfprintf): Qualify computed-goto targets as unbounded.
3616
3617 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3618
3619 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
3620 thousands separator correctly.
3621
3622 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
3623 * stdio-common/vfwscanf.c: Likewise.
3624
3625 2000-06-27 Jes Sorensen <jes@linuxcare.com>
3626
3627 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
3628 count into signatures for most calls.
3629
3630 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3631
3632 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
3633 the generic parser now.
3634
3635 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3636
3637 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
3638 table entries are 32 bit on the ia64 (as specified by the ABI),
3639 not 64 bit as on the Alpha.
3640
3641 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
3642 change of objects to use 32 bit hash table indices (see above).
3643
3644 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3645
3646 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
3647 prototype for abs().
3648
3649 2000-06-28 Wolfram Gloger <wg@malloc.de>
3650
3651 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
3652 fails, try mmap_chunk() as a last resort even though n_mmaps_max
3653 may have been reached.
3654
3655 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3656
3657 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
3658 symbols in multi-character weights correctly.
3659
3660 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
3661 depending on whether the input string is empty or not.
3662
3663 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
3664 given state and not avoiding this by modifying a local object.
3665 * wcsmbs/wcrtomb.c: Likewise.
3666
3667 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
3668 object since some incomplete characters might be in there.
3669
3670 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
3671 sequences with first byte 0x8e correctly.
3672
3673 * iconvdata/jis0208.h: Remove redundant test.
3674
3675 2000-06-27 Ulrich Drepper <drepper@redhat.com>
3676
3677 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
3678 Add it where it is needed now.
3679
3680 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
3681 the input charset into account when generating the hash table.
3682 (allocate_arrays): Correct setting default width. Not all empty slots
3683 in the table are filled, only those not covert explicitly by the
3684 locale description and in the charset.
3685
3686 * wctype/towctrans.c (__towctrans): Be graceful and accept error
3687 return values from the wctrans function.
3688
3689 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
3690 wide character version.
3691 For %C handling, test correct pointer variable for NULL.
3692
3693 * wcsmbs/wctob.c: Handle WEOF special.
3694
3695 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
3696
3697 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
3698 always-true test to avoid warning.
3699
3700 2000-06-27 Greg McGary <greg@mcgary.org>
3701
3702 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
3703 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
3704 (symbol_version, default_symbol_version): Factor redundant
3705 definitions out of conditional.
3706
3707 2000-06-27 Jakub Jelinek <jakub@redhat.com>
3708
3709 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
3710 not obstack_blank.
3711
3712 2000-06-26 Ulrich Drepper <drepper@redhat.com>
3713
3714 * include/libc-symbols.h (symbol_version): Add extra level of
3715 macro expansion.
3716 (default_symbol_version): Likewise.
3717
3718 2000-06-26 Greg McGary <greg@mcgary.org>
3719
3720 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
3721 for BP return value & push implicit struct-return pointer to
3722 __errno_location.
3723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3724 (SYSCALL_ERROR_HANDLER): Likewise.
3725 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3726 (SYSCALL_ERROR_HANDLER): Likewise.
3727
3728 * Makeconfig: Add missing comment.
3729 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
3730 BP-flavored startup object.
3731 ($(objpfx)b$(start-installed-name)): New rule.
3732 * include/libc-symbols.h (symbol_set_declare): Change type
3733 of `__start_##set' and `__stop_##set' to pointer-to-function.
3734 (symbol_set_declare): Change type of `set' to array of
3735 pointer-to-function.
3736 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
3737 pointer-to-function.
3738
3739 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
3740
3741 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
3742 Remove clock_* and timer_* entries.
3743 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
3744 arg-count with signatures.
3745
3746 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
3747 Check bounds of arguments.
3748 * sysdeps/i386/addmul_1.S: Likewise.
3749 * sysdeps/i386/lshift.S: Likewise.
3750 * sysdeps/i386/mul_1.S: Likewise.
3751 * sysdeps/i386/rshift.S: Likewise.
3752 * sysdeps/i386/sub_n.S: Likewise.
3753 * sysdeps/i386/submul_1.S: Likewise.
3754 * sysdeps/i386/i586/add_n.S: Likewise.
3755 * sysdeps/i386/i586/addmul_1.S: Likewise.
3756 * sysdeps/i386/i586/lshift.S: Likewise.
3757 * sysdeps/i386/i586/rshift.S: Likewise.
3758 * sysdeps/i386/i586/sub_n.S: Likewise.
3759 * sysdeps/i386/i686/add_n.S: Likewise.
3760
3761 * sysdeps/i386/memchr.S: Likewise.
3762 * sysdeps/i386/memcmp.S: Likewise.
3763 * sysdeps/i386/rawmemchr.S: Likewise.
3764 * sysdeps/i386/i586/bzero.S: Likewise.
3765 * sysdeps/i386/i586/memcpy.S: Likewise.
3766 * sysdeps/i386/i586/mempcpy.S: Likewise.
3767 * sysdeps/i386/i586/memset.S: Likewise.
3768 * sysdeps/i386/i686/bzero.S: Likewise.
3769 * sysdeps/i386/i686/memcpy.S: Likewise.
3770 * sysdeps/i386/i686/mempcpy.S: Likewise.
3771 * sysdeps/i386/i686/memset.S: Likewise.
3772
3773 * sysdeps/i386/stpcpy.S: Likewise.
3774 * sysdeps/i386/stpncpy.S: Likewise.
3775 * sysdeps/i386/strchr.S: Likewise.
3776 * sysdeps/i386/strchrnul.S: Likewise.
3777 * sysdeps/i386/strcspn.S: Likewise.
3778 * sysdeps/i386/strpbrk.S: Likewise.
3779 * sysdeps/i386/strrchr.S: Likewise.
3780 * sysdeps/i386/strspn.S: Likewise.
3781 * sysdeps/i386/strtok.S: Likewise.
3782 * sysdeps/i386/strtok_r.S: Likewise.
3783 * sysdeps/i386/i486/strcat.S: Likewise.
3784 * sysdeps/i386/i486/strlen.S: Likewise.
3785 * sysdeps/i386/i586/strchr.S: Likewise.
3786 * sysdeps/i386/i586/strcpy.S: Likewise.
3787 * sysdeps/i386/i586/strlen.S: Likewise.
3788 * sysdeps/i386/i686/strcmp.S: Likewise.
3789 * sysdeps/i386/i686/strtok.S: Likewise.
3790 * sysdeps/i386/i686/strtok_r.S: Likewise.
3791
3792 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
3793 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3794 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3795 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3796 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3797
3798 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
3799 * sysdeps/i386/mul_1.S: Likewise.
3800 * sysdeps/i386/submul_1.S: Likewise.
3801 * sysdeps/i386/i586/add_n.S: Likewise.
3802 * sysdeps/i386/i586/addmul_1.S: Likewise.
3803 * sysdeps/i386/i586/lshift.S: Likewise.
3804 * sysdeps/i386/i586/mul_1.S: Likewise.
3805 * sysdeps/i386/i586/rshift.S: Likewise.
3806 * sysdeps/i386/i586/sub_n.S: Likewise.
3807 * sysdeps/i386/i586/submul_1.S: Likewise.
3808
3809 2000-06-26 Ulrich Drepper <drepper@redhat.com>
3810
3811 * rt/Makefile (librt-routines): Add clock_nanosleep.
3812 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
3813 * sysdeps/generic/clock_nanosleep.c: New file.
3814 * sysdeps/unix/clock_nanosleep.c: New file.
3815 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
3816 * time/time.h: Declare clock_nanosleep.
3817
3818 2000-06-26 Greg McGary <greg@mcgary.org>
3819
3820 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
3821 INSN1, INSN2, TEXT, GLOBL): Remove macros.
3822 (ALIGN): Cleanup surrounding conditionals.
3823
3824 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
3825 Call ENTER/LEAVE macros.
3826 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
3827 * sysdeps/i386/submul_1.S: Likewise.
3828
3829 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
3830 syntax. Define & use symbolic argument stack offsets. Call
3831 ENTER/LEAVE macros.
3832 * sysdeps/i386/i586/mul_1.S: Likewise.
3833 * sysdeps/i386/i586/submul_1.S: Likewise.
3834
3835 2000-06-25 Greg McGary <greg@mcgary.org>
3836
3837 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
3838 not as bcopy.
3839
3840 2000-06-25 Ulrich Drepper <drepper@redhat.com>
3841
3842 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
3843 * iconvdata/gen-8bit-gap.sh: Likewise.
3844 * iconvdata/gen-8bit.sh: Likewise.
3845
3846 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
3847
3848 * locale/programs/ld-collate.c (collate_read): Don't actually read
3849 the copy locale if we are ignoring the content.
3850
3851 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
3852 unknown character.
3853
3854 * locale/programs/ld-collate.c: Correct handling of different
3855 collation sections.
3856 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
3857 as extra parameter from which to copy category information.
3858 Change all callers.
3859 (load_locale): Likewise.
3860 * locale/programs/localedef.h: Update prototypes of add_to_readlist
3861 and load_locale.
3862 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
3863 * locale/programs/locfile.h: Likewise.
3864 * locale/programs/locfile-kw.gperf: Add entry for script.
3865 * locale/programs/locfile-token.h: Add tok_script.
3866
3867 * locale/programs/locale.c: Update copyright year.
3868 * locale/programs/localedef.c: Likewise.
3869
3870 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
3871
3872 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
3873 Jens Moeller <jens.moeller@waii.com>.
3874
3875 2000-06-24 Ulrich Drepper <drepper@redhat.com>
3876
3877 * locale/programs/ld-name.c (name_finish): Add missing format
3878 specifier to test for name_fmt.
3879
3880 * locale/programs/ld-address.c (iso639): Correct length of string
3881 elements.
3882 (iso3166): Likewise.
3883
3884 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
3885
3886 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
3887 Define.
3888
3889 * elf/elf.h (NT_PRFPXREG): Define.
3890
3891 2000-06-23 Ulrich Drepper <drepper@redhat.com>
3892
3893 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
3894 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
3895
3896 2000-06-23 Andreas Schwab <schwab@suse.de>
3897
3898 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
3899 with signatures.
3900
3901 2000-06-23 Andreas Jaeger <aj@suse.de>
3902
3903 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
3904
3905 * io/test-stat.c: Add copyright header, mention Maciej.
3906
3907 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
3908 SYS_mincore, SYS_madvise): Added.
3909
3910 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
3911 execve.
3912
3913 2000-06-22 Ulrich Drepper <drepper@redhat.com>
3914
3915 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
3916 (CFLAGS-tst_putwc.c): New definition.
3917 * libio/tst_getwc.c: New file.
3918 * libio/tst_getwc.input: New file.
3919 * libio/tst_putwc.c: New file.
3920
3921 * include/string.h: Add prototype for __strdup.
3922
3923 2000-06-22 Greg McGary <greg@mcgary.org>
3924
3925 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
3926 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
3927 Fix signatures.
3928
3929 2000-06-23 Jes Sorensen <jes@linuxcare.com>
3930
3931 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
3932
3933 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3934
3935 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
3936
3937 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3938
3939 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
3940 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
3941
3942 2000-06-22 Ulrich Drepper <drepper@redhat.com>
3943
3944 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
3945 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
3946 and __S_TYPEISSHM.
3947 * sysdeps/mach/hurd/bits/stat.h: Likewise.
3948 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3949 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3950 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3951 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3952 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
3953 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3954 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3955 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3956 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3957 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3958 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3959 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
3960 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
3961 S_TYPEISSHM.
3962
3963 2000-06-22 Andreas Jaeger <aj@suse.de>
3964
3965 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
3966 with signatures.
3967
3968 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
3969
3970 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
3971
3972 2000-06-21 Ulrich Drepper <drepper@redhat.com>
3973
3974 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
3975 ahead.
3976
3977 2000-06-21 Greg McGary <greg@mcgary.org>
3978
3979 * Makerules (elide-routines.*, elide-bp-thunks):
3980 Define unconditionally.
3981
3982 2000-06-21 Jes Sorensen <jes@linuxcare.com>
3983
3984 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3985
3986 2000-06-21 Andreas Jaeger <aj@suse.de>
3987
3988 * io/Makefile (tests): Add test-stat.
3989 (CFLAGS-test-stat.c): New.
3990
3991 * io/test-stat.c: New file from Maciej W. Rozycki
3992 <macro@ds2.pg.gda.pl>.
3993
3994 2000-06-21 Jes Sorensen <jes@linuxcare.com>
3995
3996 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
3997 in __rlimit_resource to make them match the kernel order.
3998 rlim_t is always 64 bit, use __rlim64_t to declare it
3999 unconditionally.
4000
4001 2000-05-04 Jes Sorensen <jes@linuxcare.com>
4002
4003 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
4004 RLIM_INFINITY before defining it to avoid clash with kernel header
4005
4006 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4007
4008 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
4009
4010 2000-06-21 Ulrich Drepper <drepper@redhat.com>
4011
4012 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
4013
4014 2000-06-21 Andreas Jaeger <aj@suse.de>
4015
4016 * stdio-common/temptest.c: Include <stdlib.h>.
4017 * stdio-common/tst-fileno.c: Likewise.
4018 * stdio-common/scanf4.c: Likewise.
4019 * stdio-common/scanf5.c: Likewise.
4020 * time/clocktest.c: Likewise.
4021 * posix/test-vfork.c: Likewise.
4022 * posix/globtest.c: Likewise.
4023 * io/test-utime.c: Likewise.
4024 * wctype/test_wcfuncs.c: Likewise.
4025 * crypt/cert.c: Likewise.
4026
4027 * stdio-common/tst-printfsz.c: Include <string.h>.
4028 * libio/tst_swscanf.c: Likewise.
4029 * libio/tst_wscanf.c: Likewise.
4030 * posix/runtests.c: Likewise.
4031 * posix/tst-getaddrinfo.c: Likewise.
4032 * posix/wordexp-test.c: Likewise.
4033 * misc/tst-efgcvt.c: Likewise.
4034
4035 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
4036 * nss/test-netdb.c: Likewise.
4037
4038 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
4039 supported kernel for MIPS.
4040
4041 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
4042 * rt/aio_suspend.c: Likewise.
4043
4044 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4045
4046 * math/libm-test.inc: Include <string.h>.
4047
4048 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4049
4050 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
4051
4052 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4053
4054 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
4055 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
4056
4057 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
4058
4059 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
4060
4061 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4062
4063 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
4064
4065 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4066
4067 * locale/programs/ld-collate.c (insert_value): Now take string and
4068 length instead of struct token* parameter. Adjust use of token.
4069 (handle_ellipsis): Likewise.
4070 (collate_read): Allow <Uxxxx> names and transform them into names
4071 to be passed to insert_value and handle_ellipsis.
4072
4073 * locale/programs/ld-ctype.c (uninames): New array with names of
4074 digits in <Uxxxxxxxx> format.
4075 (ctype_finish): Correct search for space character value. Likewise
4076 for default outdigits values.
4077
4078 2000-06-20 Greg McGary <greg@mcgary.org>
4079
4080 * Makerules (objects): Add BP thunks.
4081
4082 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4083
4084 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
4085 in width definitions.
4086
4087 2000-06-20 Andreas Jaeger <aj@suse.de>
4088
4089 * sysdeps/mips/fpu/libm-test-ulps: New file.
4090
4091 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
4092 first.
4093
4094 * sysdeps/mips/fpu/feholdexcpt.c: New file.
4095
4096 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
4097
4098 2000-06-19 Ulrich Drepper <drepper@redhat.com>
4099
4100 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
4101 change in gconv_builtin.h.
4102
4103 * malloc/Makefile: Change all references to memprof into memusage.
4104 * malloc/memprof.c: Rename to...
4105 * malloc/memusage.c: ...this. New file.
4106 * malloc/memprof.sh: Rename to...
4107 * malloc/memusage.sh: ...this. New file.
4108 * malloc/memprofstat.c: Rename to...
4109 * malloc/memusagestat.c: ...this. New file.
4110 * sysdeps/alpha/memprof.h: Rename to..
4111 * sysdeps/alpha/memusage.h: ...this. New file.
4112 * sysdeps/arm/memprof.h: Rename to..
4113 * sysdeps/arm/memusage.h: ...this. New file.
4114 * sysdeps/generic/memprof.h: Rename to..
4115 * sysdeps/generic/memusage.h: ...this. New file.
4116 * sysdeps/i386/memprof.h: Rename to..
4117 * sysdeps/i386/memusage.h: ...this. New file.
4118 * sysdeps/ia64/memprof.h: Rename to..
4119 * sysdeps/ia64/memusage.h: ...this. New file.
4120 * sysdeps/m68k/memprof.h: Rename to..
4121 * sysdeps/m68k/memusage.h: ...this. New file.
4122 * sysdeps/mips/memprof.h: Rename to..
4123 * sysdeps/mips/memusage.h: ...this. New file.
4124 * sysdeps/powerpc/memprof.h: Rename to..
4125 * sysdeps/powerpc/memusage.h: ...this. New file.
4126 * sysdeps/sparc/memprof.h: Rename to..
4127 * sysdeps/sparc/memusage.h: ...this. New file.
4128 * sysdeps/sh/memprof.h: Rename to..
4129 * sysdeps/sh/memusage.h: ...this. New file.
4130
4131 * elf/sprof.c (print_version): Update year.
4132
4133 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
4134 table entry values. Use D_PTR.
4135 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
4136 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
4137
4138 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4139
4140 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4141 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
4142 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
4143 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
4144
4145 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4146
4147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
4148
4149 2000-06-16 Jes Sorensen <jes@linuxcare.com>
4150
4151 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
4152 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
4153 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
4154
4155 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
4156
4157 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
4158 kernel change.
4159
4160 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
4161 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
4162 structure.
4163 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
4164 implementation.
4165
4166 2000-06-15 Jes Sorensen <jes@linuxcare.com>
4167
4168 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
4169
4170 2000-06-08 Jes Sorensen <jes@linuxcare.com>
4171
4172 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
4173
4174 2000-06-19 Ulrich Drepper <drepper@redhat.com>
4175
4176 * iconv/gconv_int.h (strict gconv_module): Remove all members
4177 associated with regular expressions. Use a simple string as the
4178 from name.
4179 * iconv/gconv_db.c: Remove code handling regular expressions.
4180 * iconv/gconv_conf.c: Likewise.
4181 * iconv/iconv_prog.c: Likewise.
4182 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
4183
4184 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
4185 General namespace cleanup.
4186 (struct __gconv_trans_data): Add next field.
4187 (struct __gconv_step_data): Make __trans a pointer.
4188 * iconv/gconv_conf.c: Split out code to find gconv directories from
4189 __gconv_read_conf in new functions.
4190 * iconv/gconv_int.h: Define new data structure and declare new
4191 functions for handling of gconv directory list.
4192 * iconv/gconv_open.c: Allow more than one error handling step being
4193 used. Call function to load error handling module if it is none
4194 of the builtin transformations.
4195 * iconv/gconv_close.c: Add code to free transliteration data.
4196 * iconv/gconv_trans.c: Add functions to load and unload modules
4197 implementing transliteration etc.
4198 * iconv/skeleton.c: Call all context functions now that more than
4199 one module is allowed.
4200 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
4201 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
4202 where the full error handling using transliteration is needed.
4203 * iconvdata/8bit-gap.c: Likewise.
4204 * iconvdata/8bit-generic.c: Likewise.
4205 * iconvdata/ansi_x3.110.c: Likewise.
4206 * iconvdata/big5.c: Likewise.
4207 * iconvdata/big5hkscs.c: Likewise.
4208 * iconvdata/euc-cn.c: Likewise.
4209 * iconvdata/euc-jp.c: Likewise.
4210 * iconvdata/euc-kr.c: Likewise.
4211 * iconvdata/euc-tw.c: Likewise.
4212 * iconvdata/gbgbk.c: Likewise.
4213 * iconvdata/gbk.c: Likewise.
4214 * iconvdata/iso-2022-cn.c: Likewise.
4215 * iconvdata/iso-2022-jp.c: Likewise.
4216 * iconvdata/iso-2022-kr.c: Likewise.
4217 * iconvdata/iso646.c: Likewise.
4218 * iconvdata/iso8859-1.c: Likewise.
4219 * iconvdata/iso_6937-2.c: Likewise.
4220 * iconvdata/iso_6937.c: Likewise.
4221 * iconvdata/johab.c: Likewise.
4222 * iconvdata/sjis.c: Likewise.
4223 * iconvdata/t.61.c: Likewise.
4224 * iconvdata/uhc.c: Likewise.
4225 * iconvdata/unicode.c: Likewise.
4226 * iconvdata/utf-16.c: Likewise.
4227 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
4228 structure correctly after last change.
4229 * wcsmbs/btowc.c: Likewise.
4230 * wcsmbs/mbrtowc.c: Likewise.
4231 * wcsmbs/mbsnrtowcs.c: Likewise.
4232 * wcsmbs/mbsrtowcs.c: Likewise.
4233 * wcsmbs/wcrtomb.c: Likewise.
4234 * wcsmbs/wcsnrtombs.c: Likewise.
4235 * wcsmbs/wcsrtombs.c: Likewise.
4236 * wcsmbs/wctob.c: Likewise.
4237
4238 * localedata/Makefile: Set -Wno-format for some files since gcc does
4239 not know all the format specifiers.
4240
4241 2000-06-18 Ulrich Drepper <drepper@redhat.com>
4242
4243 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
4244 unneeded code.
4245 * locale/lc-time.c (_nl_init_era_entries): Likewise.
4246
4247 2000-06-18 Andreas Jaeger <aj@suse.de>
4248
4249 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
4250 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4251
4252 2000-06-17 Ulrich Drepper <drepper@redhat.com>
4253
4254 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
4255 LINUX_LINK_MAX.
4256 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
4257
4258 * locale/programs/ld-ctype.c (ctype_output): Really write out
4259 mboutdigits information.
4260 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
4261 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
4262 * localedata/tests/trans.def: Add outdigit information.
4263
4264 * localedata/tst-mbswcs3.c: Remove comment.
4265
4266 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
4267 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
4268 * libio/tst_wprintf.c (main): Add test for I flag.
4269
4270 * iconv/gconv_trans.c: Implement handling if translit_ignore.
4271 * locale/langinfo.h: Add entries for translit_ignore information.
4272 * locale/categories.def: Add entries for new LC_CTYPE elements.
4273 * locale/C-ctype.c: Add initializers for new fields. Use NULL
4274 pointer instead of "" where possible.
4275 * locale/programs/ld-ctype.c: Write out translit_ignore information.
4276 * intl/Depend: Add localedata.
4277 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
4278 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
4279
4280 2000-06-16 Ulrich Drepper <drepper@redhat.com>
4281
4282 * locale/langinfo.h: Add entries for default_missing information.
4283 * locale/C-ctype.c: Add initializers for new fields.
4284 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
4285 information.
4286 * locale/categories.h: Add entries for all LC_CTYPE values.
4287 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
4288 information.
4289
4290 * localedata/tst-trans.c: Write out an error message if class is
4291 not found.
4292
4293 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
4294 * iconv/gconv_open.c: Remove error handling specification from `from'
4295 character set name.
4296 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
4297 new parameter to always enable transliteration.
4298 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
4299 change.
4300 (struct locale_data): Add new members use_translit and options.
4301 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
4302 character set name contained modifier TRANSLIT.
4303 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
4304 and options fields.
4305 (_nl_unload_locale): Free options string if necessary.
4306 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
4307 the locale names suggested this.
4308 * locale/C-address.c: Add two new initialilzers to adjust data
4309 structure for new format.
4310 * locale/C-collate.c: Likewise.
4311 * locale/C-ctype.c: Likewise.
4312 * locale/C-identification.c: Likewise.
4313 * locale/C-measurement.c: Likewise.
4314 * locale/C-messages.c: Likewise.
4315 * locale/C-monetary.c: Likewise.
4316 * locale/C-name.c: Likewise.
4317 * locale/C-numeric.c: Likewise.
4318 * locale/C-paper.c: Likewise.
4319 * locale/C-telephone.c: Likewise.
4320 * locale/C-time.c: Likewise.
4321
4322 * locale/setlocale.c: Add some more __builtin_expect.
4323
4324 2000-06-15 Ulrich Drepper <drepper@redhat.com>
4325
4326 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
4327 unsigned char **.
4328 (__gconv_init_fct): Remove two parameters.
4329 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
4330 gconv_transliterate. Remove two parameters.
4331 Change prototypes of builtin functions according to __gconv_fct change.
4332 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
4333 != NULL only during error handling. Stop in this case after the
4334 conversion.
4335 * iconv/gconv_trans.c: Replace with real implementation for
4336 __gconv_transliterate.
4337 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
4338 * iconv/gconv.c: Change calls to downstream functions once again.
4339 Use NULL for the fifth parameter instead of pointer to output buffer.
4340 * libio/iofwide.c: Likewise.
4341 * wcsmbs/btowc.c: Likewise.
4342 * wcsmbs/mbrtowc.c: Likewise.
4343 * wcsmbs/mbsnrtowcs.c: Likewise.
4344 * wcsmbs/mbsrtowcs.c: Likewise.
4345 * wcsmbs/wcrtomb.c: Likewise.
4346 * wcsmbs/wcsnrtombs.c: Likewise.
4347 * wcsmbs/wcsrtombs.c: Likewise.
4348 * wcsmbs/wctob.c: Likewise.
4349 * iconv/gconv_simple.c: Remove two parameters from error handling
4350 function call.
4351 * iconvdata/8bit-gap.c: Likewise.
4352 * iconvdata/8bit-generic.c: Likewise.
4353 * iconvdata/ansi_x3.110.c: Likewise.
4354 * iconvdata/big5.c: Likewise.
4355 * iconvdata/big5hkscs.c: Likewise.
4356 * iconvdata/euc-cn.c: Likewise.
4357 * iconvdata/euc-jp.c: Likewise.
4358 * iconvdata/euc-kr.c: Likewise.
4359 * iconvdata/euc-tw.c: Likewise.
4360 * iconvdata/gbgbk.c: Likewise.
4361 * iconvdata/gbk.c: Likewise.
4362 * iconvdata/iso-2022-cn.c: Likewise.
4363 * iconvdata/iso-2022-jp.c: Likewise.
4364 * iconvdata/iso-2022-kr.c: Likewise.
4365 * iconvdata/iso646.c: Likewise.
4366 * iconvdata/iso8859-1.c: Likewise.
4367 * iconvdata/iso_6937-2.c: Likewise.
4368 * iconvdata/iso_6937.c: Likewise.
4369 * iconvdata/johab.c: Likewise.
4370 * iconvdata/sjis.c: Likewise.
4371 * iconvdata/t.61.c: Likewise.
4372 * iconvdata/uhc.c: Likewise.
4373 * iconvdata/unicode.c: Likewise.
4374 * iconvdata/utf-16.c: Likewise.
4375
4376 2000-06-15 Greg McGary <greg@mcgary.org>
4377
4378 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
4379 of callnum assignment. Tolerate callnum expressions containing
4380 parens.
4381
4382 2000-06-14 Ulrich Drepper <drepper@redhat.com>
4383
4384 * login/Makefile (utmpd): Remove rule to build utmpd.
4385
4386 * csu/Versions: Move libgcc frame handling functions from here...
4387 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
4388 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
4389 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
4390 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
4391 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
4393 New file.
4394 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
4395
4396 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
4397
4398 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
4399
4400 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4401
4402 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
4403 compatibility.
4404 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
4405 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
4406 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
4407 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
4408
4409 2000-06-14 Jakub Jelinek <jakub@redhat.com>
4410
4411 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
4412 defined, terminate quotes and read them after the comment char.
4413 * configure.in (HAVE_SECTION_QUOTES): Test whether
4414 __attribute__((section ("x"))) puts quotes around x or not.
4415 * config.h.in (HAVE_SECTION_QUOTES): Add.
4416 * configure: Rebuilt.
4417
4418 2000-06-14 Andreas Jaeger <aj@suse.de>
4419
4420 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
4421 depending on the configure option --sysconfdir.
4422 Closes PR libc/1762.
4423 Patch by Andreas Schwab <schwab@suse.de>.
4424
4425 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
4426 entry point.
4427 Reported by Jim Pick <jim@jimpick.com>.
4428
4429 2000-06-14 Ulrich Drepper <drepper@redhat.com>
4430
4431 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
4432 crashing the application. Emit some simple error message.
4433 Reported by mju@panasas.com [PR libc/1769].
4434
4435 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4436
4437 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4438
4439 * crypt/Makefile (distribute): Add md5.h.
4440
4441 * Makefile (distribute): Add include/shlib-compat.h.
4442
4443 * Make-dist: Search for tests also in sysdeps hierachy.
4444
4445 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4446 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4447
4448 * sysdeps/sparc/Subdirs: New file.
4449
4450 * locale/Makefile (distribute): Add weightwc.h and
4451 programs/localedef.h.
4452
4453 * time/Makefile (distribute): Add datemsk.
4454
4455 * sysdeps/ia64/Dist: Add softpipe.h.
4456
4457 * sysdeps/unix/sysv/aix/Dist: New file.
4458
4459 * posix/setpgrp.c: Moved to...
4460 * sysdeps/generic/setpgrp.c: ...here. New file.
4461 * io/mknod.c: Moved to...
4462 * sysdeps/generic/mknod.c: ...here. New file.
4463
4464 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4465
4466 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4467
4468 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4469
4470 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4471 gprsave0.S, gprrest1.S, and gprrest0.S.
4472
4473 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4474
4475 * posix/Makefile (routines): Add spawnattr_getsigmask,
4476 spawnattr_getschedpolicy, spawnattr_getschedparam,
4477 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4478 spawnattr_setschedparam.
4479 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4480 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4481 posix_spawnattr_setschedparam.
4482
4483 * posix/spawnattr_setschedparam.c: Fix typo.
4484
4485 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4486 Correct typo.
4487
4488 * login/programs/utmpd.c: Removed.
4489 * login/programs/utmpd.h: Removed.
4490 * login/programs/utmpd-private.h: Removed.
4491
4492 * Makefile (distribute): Add include/db_185.h and include/db.h.
4493
4494 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4495 iso-ir-165.h.
4496
4497 * elf/Makefile (distribute): Add missing files.
4498
4499 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4500 * elf/eval.c: Moved to...
4501 * dlfcn/eval.c: ...here. New file.
4502
4503 * Makefile (distribute): Also distribute ChangeLog.1?.
4504
4505 * Make-dist (+tsrcs): Remove .args handling here as well.
4506
4507 * rt/Makefile (tests): Add tst-timer.
4508 * sysdeps/generic/tst-timer.c: New file.
4509
4510 * Makerules (sources): Don't add BP sources here.
4511
4512 * login/Makefile (distribute): Remove xtmp.h.
4513
4514 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4515 is true. Reported by Bruno Haible <haible@ilog.fr>.
4516
4517 2000-06-13 Andreas Jaeger <aj@suse.de>
4518
4519 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4520 Patch by Ralf Baechle <ralf@gnu.org>.
4521
4522 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4523
4524 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4525 for mincore syscall.
4526
4527 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4528 __BOUNDED_POINTERS__ is not defined.
4529
4530 2000-06-07 Greg McGary <greg@mcgary.org>
4531
4532 * sysdeps/generic/bp-sym.h: New file.
4533 * sysdeps/generic/bp-start.h: New file.
4534 * sysdeps/i386/elf/start.S: Designate BP symbols.
4535 * sysdeps/generic/libc-start.c: Wrap bounds around
4536 argv & envp and each of their string members.
4537
4538 2000-06-07 Greg McGary <greg@mcgary.org>
4539
4540 * sysdeps/unix/make-syscalls.sh: Add comments to
4541 output that aid debugging & comprehension.
4542 Map simple syscall signatures to number of args.
4543 Generate BP syscall thunk definitions.
4544 * sysdeps/generic/bp-thunks.h: New file.
4545 * sysdeps/unix/syscalls.list: Replace arg-count with
4546 simple return+arg signature.
4547 * sysdeps/unix/common/syscalls.list: Likewise.
4548 * sysdeps/unix/inet/syscalls.list: Likewise.
4549 * sysdeps/unix/mman/syscalls.list: Likewise.
4550 * sysdeps/unix/sysv/syscalls.list: Likewise.
4551 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4553
4554 2000-06-07 Greg McGary <greg@mcgary.org>
4555
4556 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4557 for all files *.[cS].
4558 (CFLAGS-.ob): Don't optimize sibling calls.
4559 (bppfx): New variable.
4560 * Makerules (elide-bp-thunks): New variable.
4561 (elide-routines.*): Elide BP-* files for all but *.ob.
4562 (sources): Include bp-thunks.
4563
4564 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4565
4566 * iconv/gconv_simple.c: Remove unnecessary prototype.
4567
4568 * iconv/gconv_trans.c: Pretty print.
4569
4570 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4571
4572 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4573 minimal kernel versions. Add information about IA-64 kernel.
4574
4575 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4576 specific minimal supported kernel versions to be specified.
4577
4578 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4579 step data structure.
4580 * wcsmbs/btowc.c: Likewise.
4581 * wcsmbs/mbrtowc.c: Likewise.
4582 * wcsmbs/mbsnrtowcs.c: Likewise.
4583 * wcsmbs/mbsrtowcs.c: Likewise.
4584 * wcsmbs/wcrtomb.c: Likewise.
4585 * wcsmbs/wcsnrtombs.c: Likewise.
4586 * wcsmbs/wcsrtombs.c: Likewise.
4587 * wcsmbs/wctob.c: Likewise.
4588
4589 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4590 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4591
4592 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4593
4594 * misc/sys/cdefs.h: Remove one more __P.
4595
4596 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
4597 Reported by HJ Lu.
4598
4599 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4600 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4601 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4602
4603 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4604 Yutaka Niibe <gniibe@chroot.org>
4605
4606 * configure.in: Add machine sh3, sh4.
4607 * elf/elf.h: Add SH specific declarations of relocations.
4608 * shlib-versions: Add sh*-*-linux* cases.
4609
4610 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4611
4612 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4613 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4614 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
4615 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
4616 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
4617 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
4618
4619 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
4620 instead of KERNEL_MATH_EMULATION.
4621 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
4622 KERNEL_MATH_EMULATION.
4623
4624 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
4625 * sysdeps/sh/sh3/dl-machine.h: Moved to...
4626 * sysdeps/sh/dl-machine.h: ...here. New file.
4627 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
4628 and include generic SH version.
4629 * sysdeps/sh/sh3/bits/endian.h: Move to...
4630 * sysdeps/sh/bits/endian.h: ...here. New file.
4631 * sysdeps/sh/sh4/bits/endian.h: Removed.
4632 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
4633 * sysdeps/sh/bits/huge_val.h: ...here. New file.
4634 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
4635
4636 * include/libc-symbols.h (link_warning): Work around a change in
4637 GAS which warns about changing section attributes.
4638 Proposed by Nick Clifton <nickc@redhat.com>.
4639
4640 2000-06-12 H.J. Lu <hjl@gnu.org>
4641
4642 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
4643
4644 2000-06-11 H.J. Lu <hjl@gnu.org>
4645
4646 * sysdeps/i386/fpu/Versions: New file.
4647
4648 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4649
4650 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
4651 parameters.
4652 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
4653 exists.
4654
4655 2000-06-12 Jes Sorensen <jes@linuxcare.com>
4656
4657 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
4658 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
4659 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
4660
4661 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
4662 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
4663 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
4664
4665 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4666 Yutaka Niibe <gniibe@chroot.org>
4667
4668 * sysdeps/sh/Dist: New file.
4669 * sysdeps/sh/Implies: New file.
4670 * sysdeps/sh/elf/initfini.c: New file.
4671 * sysdeps/sh/gmp-mparam.h: New file.
4672 * sysdeps/sh/init-first.c: New file.
4673 * sysdeps/sh/machine-gmon.h: New file.
4674 * sysdeps/sh/memcpy.S: New file.
4675 * sysdeps/sh/memprof.h: New file.
4676 * sysdeps/sh/memset.S: New file.
4677 * sysdeps/sh/sh3/__longjmp.S: New file.
4678 * sysdeps/sh/sh3/bits/endian.h: New file.
4679 * sysdeps/sh/sh3/bits/huge_val.h: New file.
4680 * sysdeps/sh/sh3/bits/setjmp.h: New file.
4681 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
4682 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
4683 * sysdeps/sh/sh3/dl-machine.h: New file.
4684 * sysdeps/sh/sh3/setjmp.S: New file.
4685 * sysdeps/sh/sh4/__longjmp.S: New file.
4686 * sysdeps/sh/sh4/bits/endian.h: New file.
4687 * sysdeps/sh/sh4/bits/huge_val.h: New file.
4688 * sysdeps/sh/sh4/bits/setjmp.h: New file.
4689 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
4690 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
4691 * sysdeps/sh/sh4/dl-machine.h: New file.
4692 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
4693 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
4694 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
4695 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
4696 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
4697 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
4698 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
4699 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
4700 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
4701 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
4702 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
4703 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
4704 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
4705 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
4706 * sysdeps/sh/sh4/setjmp.S: New file.
4707 * sysdeps/sh/elf/start.S: New file.
4708 * sysdeps/sh/sys/ucontext.h: New file.
4709 * sysdeps/sh/strlen.S: New file.
4710 * sysdeps/sh/sysdep.h: New file.
4711 * sysdeps/unix/sh/sysdep.S: New file.
4712 * sysdeps/unix/sh/sysdep.h: New file.
4713 * sysdeps/unix/sysv/linux/sh/Dist: New file.
4714 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
4715 * sysdeps/unix/sysv/linux/sh/Versions: New file.
4716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
4717 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
4718 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
4719 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
4720 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
4721 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
4722 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
4723 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
4724 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
4725 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
4726 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
4727 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
4728 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
4729 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
4730 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
4731 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
4732 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
4733 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
4734 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
4735 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
4736 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
4737 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
4738 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
4739 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
4740 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
4741 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
4742 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
4743 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
4744 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
4745 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
4746 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
4747 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
4748 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
4749 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
4750 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
4751 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
4752 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
4753 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
4754 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
4755 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
4756 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4757 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
4758 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
4759 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
4760 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
4761 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
4762 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
4763
4764 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4765
4766 * Rules (%.out): Define GCONV_PATH in the environment.
4767 * assert/Depend: New file.
4768 * iconvdata/Depend: New file.
4769 * intl/Depend: New file.
4770 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
4771 * intl/tst-gettext.sh: Likewise.
4772 * iconv/Makefile (routines): Add gconv_trans.
4773 * iconv/gconv_trans.c: New file.
4774 * iconv/gconv.h (struct __gconv_trans_data): New type.
4775 (__gconv_fct): New parameter with starting position in output buffer.
4776 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
4777 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
4778 (struct __gconv_step): Add new member __trans.
4779 * iconv/gconv_int.h: Pretty print prototypes.
4780 (gconv_transliterate): New prototype.
4781 (__BUILTIN_TRANS): Update for new conversion function interface.
4782 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
4783 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
4784 in names, find appropriate function, and install in the conversion
4785 steps it can be used.
4786 * iconv/skeleton.c: Add additional parameter for beginning of output
4787 buffer. Change calls of downstream functions.
4788 * iconv/loop.c: Change loop function interface completely. Pass in
4789 step and step_data structure. Remove optimization for BODY with
4790 NEED_LENGTH_TEST == 0.
4791 * iconv/gconv_simple.c: Update interfaces of functions. Insert
4792 appropriate error handling code to use transliteration steps. Remove
4793 optimization for BODY with NEED_LENGTH_TEST == 0.
4794 * iconvdata/8bit-gap.c: Likewise.
4795 * iconvdata/8bit-generic.c: Likewise.
4796 * iconvdata/ansi_x3.110.c: Likewise.
4797 * iconvdata/big5.c: Likewise.
4798 * iconvdata/big5hkscs.c: Likewise.
4799 * iconvdata/euc-cn.c: Likewise.
4800 * iconvdata/euc-jp.c: Likewise.
4801 * iconvdata/euc-kr.c: Likewise.
4802 * iconvdata/euc-tw.c: Likewise.
4803 * iconvdata/gbgbk.c: Likewise.
4804 * iconvdata/gbk.c: Likewise.
4805 * iconvdata/iso-2022-cn.c: Likewise.
4806 * iconvdata/iso-2022-jp.c: Likewise.
4807 * iconvdata/iso-2022-kr.c: Likewise.
4808 * iconvdata/iso646.c: Likewise.
4809 * iconvdata/iso8859-1.c: Likewise.
4810 * iconvdata/iso_6937-2.c: Likewise.
4811 * iconvdata/iso_6937.c: Likewise.
4812 * iconvdata/johab.c: Likewise.
4813 * iconvdata/sjis.c: Likewise.
4814 * iconvdata/t.61.c: Likewise.
4815 * iconvdata/uhc.c: Likewise.
4816 * iconvdata/unicode.c: Likewise.
4817 * iconvdata/utf-16.c: Likewise.
4818 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
4819 DL_CALL_FCT.
4820 * wcsmbs/btowc.c: Likewise.
4821 * wcsmbs/mbrtowc.c: Likewise.
4822 * wcsmbs/mbsnrtowcs.c: Likewise.
4823 * wcsmbs/mbsrtowcs.c: Likewise.
4824 * wcsmbs/wcrtomb.c: Likewise.
4825 * wcsmbs/wcsnrtombs.c: Likewise.
4826 * wcsmbs/wcsrtombs.c: Likewise.
4827 * wcsmbs/wctob.c: Likewise.
4828
4829 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4830
4831 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
4832 other header files. Mention about 128-byte cache line sizes.
4833 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
4834 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
4835 for current calling sequence.
4836 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
4837
4838 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
4839 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4840
4841 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
4842 and setrlimit syscalls for backwards compatibility.
4843
4844 2000-06-10 Ulrich Drepper <drepper@redhat.com>
4845
4846 * iconv/skeleton.c: Rename converted written to correcter name
4847 irreversible.
4848 * iconv/gconv.c: Rename converted variable to correcter name
4849 irreversible.
4850 * iconv/gconv_int.h: Likewise.
4851 * iconv/gconv_simple.c: Likewise.
4852 * iconv/iconv.c: Likewise.
4853 * iconv/loop.c: Likewise.
4854 * iconvdata/8bit-gap.c: Likewise.
4855 * iconvdata/8bit-generic.c: Likewise.
4856 * iconvdata/ansi_x3.110.c: Likewise.
4857 * iconvdata/big5.c: Likewise.
4858 * iconvdata/big5hkscs.c: Likewise.
4859 * iconvdata/euc-cn.c: Likewise.
4860 * iconvdata/euc-jp.c: Likewise.
4861 * iconvdata/euc-kr.c: Likewise.
4862 * iconvdata/gbgbk.c: Likewise.
4863 * iconvdata/gbk.c: Likewise.
4864 * iconvdata/iso-2022-cn.c: Likewise.
4865 * iconvdata/iso-2022-jp.c: Likewise.
4866 * iconvdata/iso-2022-kr.c: Likewise.
4867 * iconvdata/iso646.c: Likewise.
4868 * iconvdata/iso8859-1.c: Likewise.
4869 * iconvdata/iso_6937-2.c: Likewise.
4870 * iconvdata/iso_6937.c: Likewise.
4871 * iconvdata/johab.c: Likewise.
4872 * iconvdata/sjis.c: Likewise.
4873 * iconvdata/t.61.c: Likewise.
4874 * iconvdata/uhc.c: Likewise.
4875 * iconvdata/unicode.c: Likewise.
4876 * iconvdata/utf-16.c: Likewise.
4877
4878 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
4879 __cmsg_data field with __extension__.
4880
4881 2000-06-10 David Mosberger <davidm@hpl.hp.com>
4882
4883 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
4884
4885 2000-06-10 Ulrich Drepper <drepper@redhat.com>
4886
4887 * iconv/gconv_simple.c: Fix various small bugs in several
4888 functions.
4889
4890 * iconv/loop.c: Fix comment.
4891
4892 2000-06-10 Jakub Jelinek <jakub@redhat.com>
4893
4894 * elf/link.h: Remove libc internal declarations.
4895 * include/link.h: Move them here.
4896
4897 2000-06-09 Ulrich Drepper <drepper@redhat.com>
4898
4899 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
4900 Patch by Dan Pop <Dan.Pop@cern.ch>.
4901
4902 Rewrite error message handling.
4903 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
4904 _dl_catch_error.
4905 * elf/dl-error (struct catch): Add objname member.
4906 (_dl_signal_error): Take new parameter with object name. When
4907 passing message on simply store object name and duplicate error
4908 message.
4909 (_dl_catch_error): Take new parameter. Store object name in the
4910 place pointed to.
4911 * include/dlfcn.h: Adjust _dl_catch_error prototype.
4912 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
4913 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
4914 (dlerror): Add objname to asprintf() parameters.
4915 (_dl_error_run): Pass new parameter to _dl_catch_error.
4916 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
4917 * elf/dl-open.c (_dl_open): Likewise.
4918 * elf/rtld.c (dl_main): Likewise.
4919 * elf/dl-close.c: Mark error messages with N_().
4920 * elf/dl-deps.c: Likewise.
4921 * elf/dl-error.c: Likewise.
4922 * elf/dl-load.c: Likewise.
4923 * elf/dl-open.c: Likewise.
4924 * elf/dl-reloc.c: Likewise.
4925 * elf/dl-support.c: Likewise.
4926 * elf/dl-sym.c: Likewise.
4927 * elf/dl-version.c: Likewise.
4928 * elf/dl-lookup.c: Add comments about problems with error message
4929 translations.
4930 * elf/dl-reloc.c: Likewise.
4931 * elf/dl-version.c: Likewise.
4932
4933 2000-06-09 H.J. Lu <hjl@gnu.org>
4934
4935 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
4936 after freeing it.
4937
4938 * dlfcn/Makefile (distribute): Add failtestmod.c.
4939 (tests): Add failtest.
4940 Add rules to build and run failtest.
4941 * dlfcn/failtest.c: New file.
4942 * dlfcn/failtestmod.c: New file.
4943
4944 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
4945
4946 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
4947 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
4948 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
4949 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
4950 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
4951
4952 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4953
4954 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
4955 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
4956
4957 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4958 Ulrich Drepper <drepper@redhat.com>
4959
4960 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
4961 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
4962 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
4963 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
4964 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
4965 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
4966
4967 2000-06-09 Ulrich Drepper <drepper@redhat.com>
4968
4969 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
4970 to find correct mount point despite wrong information from the
4971 kernel.
4972
4973 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4974
4975 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
4976 the address of a symbol so function pointers are handled properly.
4977
4978 2000-06-08 Ulrich Drepper <drepper@redhat.com>
4979
4980 * sysdeps/i386/Dist: Add bp-asm.h.
4981
4982 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
4983 defaultdir variable instead of "/var/shm" everywhere.
4984 (defaultdir): Change to /dev/shm/.
4985
4986 2000-06-08 Greg McGary <greg@mcgary.org>
4987
4988 * sysdeps/i386/bp-asm.h: New file.
4989 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
4990 offsets. Add ENTER/LEAVE macros for optionally maintaining
4991 frame-pointer chain when debugging.
4992 * sysdeps/i386/add_n.S: Likewise.
4993 * sysdeps/i386/addmul_1.S: Likewise.
4994 * sysdeps/i386/lshift.S: Likewise.
4995 * sysdeps/i386/memchr.S: Likewise.
4996 * sysdeps/i386/memcmp.S: Likewise.
4997 * sysdeps/i386/mul_1.S: Likewise.
4998 * sysdeps/i386/rawmemchr.S: Likewise.
4999 * sysdeps/i386/rshift.S: Likewise.
5000 * sysdeps/i386/stpcpy.S: Likewise.
5001 * sysdeps/i386/stpncpy.S: Likewise.
5002 * sysdeps/i386/strchr.S: Likewise.
5003 * sysdeps/i386/strchrnul.S: Likewise.
5004 * sysdeps/i386/strcspn.S: Likewise.
5005 * sysdeps/i386/strpbrk.S: Likewise.
5006 * sysdeps/i386/strrchr.S: Likewise.
5007 * sysdeps/i386/strspn.S: Likewise.
5008 * sysdeps/i386/strtok.S: Likewise.
5009 * sysdeps/i386/sub_n.S: Likewise.
5010 * sysdeps/i386/submul_1.S: Likewise.
5011 * sysdeps/i386/elf/setjmp.S: Likewise.
5012 * sysdeps/i386/i486/strcat.S: Likewise.
5013 * sysdeps/i386/i486/strlen.S: Likewise.
5014 * sysdeps/i386/i586/add_n.S: Likewise.
5015 * sysdeps/i386/i586/lshift.S: Likewise.
5016 * sysdeps/i386/i586/memcpy.S: Likewise.
5017 * sysdeps/i386/i586/memset.S: Likewise.
5018 * sysdeps/i386/i586/rshift.S: Likewise.
5019 * sysdeps/i386/i586/strchr.S: Likewise.
5020 * sysdeps/i386/i586/strcpy.S: Likewise.
5021 * sysdeps/i386/i586/strlen.S: Likewise.
5022 * sysdeps/i386/i586/sub_n.S: Likewise.
5023 * sysdeps/i386/i686/add_n.S: Likewise.
5024 * sysdeps/i386/i686/memcpy.S: Likewise.
5025 * sysdeps/i386/i686/mempcpy.S: Likewise.
5026 * sysdeps/i386/i686/memset.S: Likewise.
5027 * sysdeps/i386/i686/strcmp.S: Likewise.
5028
5029 2000-06-08 Ulrich Drepper <drepper@redhat.com>
5030
5031 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
5032
5033 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
5034 256 and don't use OPEN_MAX.
5035
5036 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
5037 use it instead of LINK_MAX.
5038 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
5039
5040 2000-06-08 Andreas Jaeger <aj@suse.de>
5041
5042 * libio/genops.c (_IO_list_lock): Only compile body if we're
5043 thread safe.
5044 (_IO_list_unlock): Likewise.
5045 (_IO_list_resetlock): Likewise.
5046
5047 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5048
5049 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
5050 unless user defined it.
5051
5052 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
5053 if not defined by the user.
5054
5055 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
5056 * libio/iofwrite.c (_IO_fwrite): Likewise.
5057
5058 * time/time.h: Add missing __THROW for clock_getcpuclockid
5059 prototype.
5060
5061 * elf/Makefile (distribute): Add dl-dtprocnum.h.
5062 * include/elf.h: Include also <dl-dtprocnum.h>.
5063 * elf/dl-deps.c: Likewise.
5064 * elf/dl-lookup.c: Likewise.
5065 * elf/dl-runtime.c: Likewise.
5066 * elf/dl-version.c: Likewise.
5067 * elf/do-rel.h: Likewise.
5068 * elf/dynamic-link.h: Likewise.
5069 * elf/link.h: Likewise.
5070 * elf/rtld.c: Likewise.
5071 * sysdeps/generic/dl-dtprocnum.h: New file.
5072 * sysdeps/ia64/dl-dtprocnum.h: New file.
5073 * sysdeps/mips/dl-dtprocnum.h: New file.
5074 * sysdeps/sparc/dl-dtprocnum.h: New file.
5075
5076 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
5077
5078 * elf/do-lookup.h: Add some __builtin_expect.
5079
5080 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
5081
5082 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
5083 (_dl_dynamic_weak): New variable.
5084 * elf/dl-support.c: Likewise.
5085 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
5086 * elf/do-lookup.h: If we find a weak definition treat it like a
5087 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
5088 case treat it like before.
5089
5090 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
5091 is in main program.
5092 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
5093
5094 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
5095 using l_map_start and l_map_end.
5096
5097 * elf/dl-version.c: Add __builtin_expect in many places.
5098
5099 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
5100 Update.
5101
5102 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
5103
5104 Lock for stdio stream list becomes global, for use in LinuxThreads.
5105
5106 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
5107 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
5108 _IO_list_resetlock): New interface for iterating global list of
5109 streams without accessing the _IO_list_all global variable,
5110 and for manipulating the lock which protects this list.
5111 * libio/libioP.h: Likewise.
5112 * libio/Version: Add entries for the new functions.
5113
5114 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
5115 pointer to _IO_FILE.
5116
5117 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5118
5119 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
5120 BIT() must actually be BITw().
5121
5122 * locale/programs/ld-ctype.c: Handle SP and space consistently.
5123
5124 * locale/programs/charmap.c: Allow string arguments for
5125 code_set_name and repertoiremap.
5126
5127 2000-06-07 Andreas Jaeger <aj@suse.de>
5128
5129 * elf/Makefile: Build ldconfig only when building shared libraries.
5130
5131 2000-06-07 Jakub Jelinek <jakub@redhat.com>
5132
5133 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
5134 __USE_ISOC99.
5135 (fdimf, __fdim, fdim): Likewise.
5136
5137 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5138
5139 * locale/findlocale.c: Add __builtin_expect in many places.
5140 * locale/loadlocale.c: Likewise.
5141
5142 2000-06-06 Greg McGary <greg@mcgary.org>
5143
5144 * sysdeps/mips/elf/start.S: Trim redundant code.
5145
5146 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
5147 Use C comments throughout. Line up operands column with tabs.
5148 * sysdeps/powerpc/strchr.S: Likewise.
5149 * sysdeps/powerpc/strcmp.S: Likewise.
5150 * sysdeps/powerpc/strcpy.S: Likewise.
5151 * sysdeps/powerpc/strlen.S: Likewise.
5152
5153 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
5154 Get low part of &__curbrk with @l.
5155
5156 2000-06-06 Ulrich Drepper <drepper@redhat.com>
5157
5158 * iconvdata/utf-16.c: Add __builtin_expect in many places.
5159 * iconvdata/unicode.c: Likewise.
5160 * iconvdata/uhc.c: Likewise.
5161 * iconvdata/t.61.c: Likewise.
5162 * iconvdata/sjis.c: Likewise.
5163 * iconvdata/johab.c: Likewise.
5164 * iconvdata/iso_6937.c: Likewise.
5165 * iconvdata/iso_6937-2.c: Likewise.
5166 * iconvdata/iso8859-1.c: Likewise.
5167 * iconvdata/iso646.c: Likewise.
5168 * iconvdata/iso-2022-kr.c: Likewise.
5169 * iconvdata/iso-2022-jp.c: Likewise.
5170 * iconvdata/iso-2022-cn.c: Likewise.
5171 * iconvdata/gbgbk.c: Likewise.
5172 * iconvdata/gbk.c: Likewise.
5173 * iconvdata/euc-kr.c: Likewise.
5174 * iconvdata/euc-jp.c: Likewise.
5175 * iconvdata/euc-cn.c: Likewise.
5176
5177 2000-06-05 Ulrich Drepper <drepper@redhat.com>
5178
5179 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
5180 * iconvdata/big5.c: Likewise.
5181 * iconvdata/ansi_x3.110.c: Likewise.
5182 * iconvdata/8bit-generic.c: Likewise.
5183 * iconvdata/8bit-gap.c: Likewise.
5184 * iconv/loop.c: Likewise.
5185 * iconv/gconv_db.c: Likewise.
5186 * iconv/gconv_dl.c: Likewise.
5187 * iconv/gconv_simple.c: Likewise.
5188 * iconv/skeleton.c: Likewise.
5189
5190 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
5191 (struct __gconv_step_data): Rename __is_last to __flags.
5192 * iconv/gconv_close.c: Change all uses of __is_last.
5193 * iconv/skeleton.c: Likewise.
5194 * iconvdata/iso-2022-cn.c: Likewise.
5195 * iconvdata/iso-2022-jp.c: Likewise.
5196 * iconvdata/iso-2022-kr.c: Likewise.
5197 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
5198 Recognize IGNORE error handling, set flag, and remove from name.
5199 * iconv/loop.c (ignore_errors_p): Define.
5200 Add flags parameter to both functions.
5201 * iconv/skeleton.c: Pass flags to all conversion functions.
5202 * iconv/gconv_simple.c: Add flags parameter to all functions.
5203 Don't return error for invald error if ignore flag is set.
5204 (ucs4_internal_loop_single): Add missing pointer increment.
5205 (internal_ucs4le_loop_single): Likewise.
5206 * iconv/iconv_prog.c: Implement handling of -c parameter.
5207 * iconvdata/8bit-gap.c: Don't return error for invald error if
5208 ignore flag is set.
5209 * iconvdata/8bit-generic.c: Likewise.
5210 * iconvdata/ansi_x3.110.c: Likewise.
5211 * iconvdata/big5.c: Likewise.
5212 * iconvdata/big5hkscs.c: Likewise.
5213 * iconvdata/euc-cn.c: Likewise.
5214 * iconvdata/euc-jp.c: Likewise.
5215 * iconvdata/euc-kr.c: Likewise.
5216 * iconvdata/gbgbk.c: Likewise.
5217 * iconvdata/gbk.c: Likewise.
5218 * iconvdata/iso-2022-cn.c: Likewise.
5219 * iconvdata/iso-2022-jp.c: Likewise.
5220 * iconvdata/iso-2022-kr.c: Likewise.
5221 * iconvdata/iso646.c: Likewise.
5222 * iconvdata/iso8859-1.c: Likewise.
5223 * iconvdata/iso_6937-2.c: Likewise.
5224 * iconvdata/iso_6937.c: Likewise.
5225 * iconvdata/johab.c: Likewise.
5226 * iconvdata/sjis.c: Likewise.
5227 * iconvdata/t.61.c: Likewise.
5228 * iconvdata/uhc.c: Likewise.
5229 * iconvdata/unicode.c: Likewise.
5230 * iconvdata/utf-16.c: Likewise.
5231 * libio/fileops.c: Likewise.
5232 * libio/iofwide.c: Likewise.
5233 * wcsmbs/btowc.c: Likewise.
5234 * wcsmbs/mbrtowc.c: Likewise.
5235 * wcsmbs/mbsnrtowcs.c: Likewise.
5236 * wcsmbs/mbsrtowcs.c: Likewise.
5237 * wcsmbs/wcrtomb.c: Likewise.
5238 * wcsmbs/wcsnrtombs.c: Likewise.
5239 * wcsmbs/wcsrtombs.c: Likewise.
5240 * wcsmbs/wctob.c: Likewise.
5241
5242 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
5243 an error.
5244
5245 2000-06-04 Ulrich Drepper <drepper@redhat.com>
5246
5247 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
5248 counter for the object we are releasing, just decrement it.
5249 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
5250
5251 2000-06-04 Jakub Jelinek <jakub@redhat.com>
5252
5253 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
5254 if -ffast-math.
5255
5256 2000-06-04 Ulrich Drepper <drepper@redhat.com>
5257
5258 * iconvdata/big5hkscs.c: New file.
5259 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
5260
5261 * iconvdata/gconv-modules: Add entry for new module.
5262 * iconvdata/Makefile (modules): Add BIG5HKSCS.
5263 (distribute): Add big5hkscs.c.
5264
5265 2000-06-01 Jakub Jelinek <jakub@redhat.com>
5266
5267 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
5268 inlines to match prototypes in mathcalls.h.
5269 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5270 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5271 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
5272 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5273
5274 2000-06-03 Ulrich Drepper <drepper@redhat.com>
5275
5276 * elf/elf.h (SHT_SUNW_move): Define.
5277
5278 * elf/elf.h: Add more Solaris compatiblity definitions.
5279
5280 2000-06-03 Andreas Jaeger <aj@suse.de>
5281
5282 * sysdeps/powerpc/dl-start.S: Close open comment.
5283
5284 2000-06-03 Jakub Jelinek <jakub@redhat.com>
5285
5286 * inet/Versions: Fix typo in rresvport_af export.
5287
5288 2000-06-02 Ulrich Drepper <drepper@redhat.com>
5289
5290 * math/tgmath.h: Pretty print.
5291
5292 2000-06-02 Andreas Jaeger <aj@suse.de>
5293
5294 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
5295 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5296
5297 2000-06-02 Ulrich Drepper <drepper@redhat.com>
5298
5299 * elf/rtld.c (process_envvars): Test for = after variable name.
5300
5301 2000-06-01 Ulrich Drepper <drepper@redhat.com>
5302
5303 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
5304 have extra call to __gmon_start__, use the pointer we already have.
5305
5306 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
5307 shifting.
5308
5309 * sysdeps/i386/elf/setjmp.S: Work around change is recent
5310 binutils. gas now emits a jump through the PLT instead of a
5311 relative jump if the jump target is an exported symbol.
5312
5313 2000-05-31 Ulrich Drepper <drepper@redhat.com>
5314
5315 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
5316
5317 2000-05-31 Andreas Jaeger <aj@suse.de>
5318
5319 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
5320 gregset_t.
5321
5322 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
5323 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5324
5325 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
5326 syscall.
5327 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5328
5329 2000-05-30 Ulrich Drepper <drepper@redhat.com>
5330
5331 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
5332
5333 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
5334 * locale/localeconv.c: Make function versioned (with same definition).
5335
5336 * elf/Makefile (modules-names): Strip before using it.
5337
5338 2000-05-30 Andreas Jaeger <aj@suse.de>
5339
5340 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
5341 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
5342 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
5343 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
5344 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
5345 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
5346
5347 2000-05-29 Ulrich Drepper <drepper@redhat.com>
5348
5349 * Makefile: Add GNU make magic.
5350
5351 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
5352 Removed.
5353 * inet/rcmd.c: Remove __P. Remove unused variables.
5354 (iruserfopen): Make first parameter const.
5355 (ruserok_sa): Return result of ruserok2_sa.
5356 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
5357 * inet/rexec.c: Remove unused variables. Other small cleanups.
5358 * inet/ruserpass.c: Remove __P. Remove unused variables.
5359 (ruserpass): Check results of memory allocation.
5360 * include/netdb.h: Add prototype for ruserpass.
5361
5362 2000-05-29 Andreas Jaeger <aj@suse.de>
5363
5364 * elf/readlib.c (interpreters): Use LD_SO since this is supported
5365 for all platforms.
5366
5367 2000-05-29 Jakub Jelinek <jakub@redhat.com>
5368
5369 * inet/rcmd.c (rresvport_af): Use correct port number.
5370
5371 2000-05-26 Andreas Schwab <schwab@suse.de>
5372
5373 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
5374 entries in all-sonames.
5375 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
5376 preserving the old name if different for compatibility.
5377
5378 2000-05-29 Ulrich Drepper <drepper@redhat.com>
5379
5380 * posix/Makefile (tests): Add tst-spawn.
5381 (tst-spawn-ARGS): New variable.
5382 * posix/tst-spawn.c: New file.
5383
5384 * posix/spawn_faction_addclose.c: Correctly account for new entry.
5385 * posix/spawn_faction_adddup2.c: Likewise.
5386 * posix/spawn_faction_addopen.c: Likewise.
5387 * posix/spawni.c: Correctly test for success of dup2 calls.
5388
5389 * posix/tst-preadwrite.c: Check success of malloc call.
5390
5391 2000-05-28 Ulrich Drepper <drepper@redhat.com>
5392
5393 * posix/Makefile (tests): Add tst-exec.
5394 (tst-exec-ARGS): New variable.
5395 * posix/tst-exec.c: New file.
5396
5397 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
5398
5399 2000-05-04 Andreas Jaeger <aj@suse.de>
5400
5401 * string/string.h: Remove __strdup prototype, it's not needed in
5402 this file anymore.
5403
5404 2000-05-28 Ulrich Drepper <drepper@redhat.com>
5405
5406 * posix/Makefile (tests): Add tst-fork.
5407 * posix/tst-fork.c: New file.
5408
5409 * resolv/inet_pton.c: Loose __P.
5410
5411 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5412
5413 * libio/libioP.h (_IO_CHECK_WIDE): Define.
5414 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
5415 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5416 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
5417 _IO_CHECK_WIDE fails.
5418
5419 2000-05-28 Ulrich Drepper <drepper@redhat.com>
5420
5421 * po/da.po: New file.
5422
5423 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
5424 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
5425
5426 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
5427 (Other iconv Implementations): Fix typo.
5428 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
5429
5430 2000-05-27 Andreas Jaeger <aj@suse.de>
5431
5432 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5433 normal version now.
5434 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5435 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5436 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5437 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5438 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5439 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5440
5441 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5442 endianness to decide how to pass arguments.
5443 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5444
5445 * elf/vismain.c: Use test-skeleton interface.
5446 (TEST_FUNCTION): New macro.
5447 (do_test): Renamed from main.
5448
5449 2000-05-27 Ulrich Drepper <drepper@redhat.com>
5450
5451 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5452 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5453
5454 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5455 handling of AI_V4MAPPED flag.
5456
5457 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5458 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5459 perform lookup for T_A type and tell getanswer_r to convert the
5460 result with new argument.
5461 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5462 Don't convert addresses from IPv4 to IPv6 here.
5463 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5464 IPv6 is wanted. Allow qtype and type from reply to disagree if
5465 IPv4 mapping has to be done. Perform mappings if required by the
5466 caller and not if RES_USE_INET6 bit in _res.options is set.
5467 Add several __builtin_expect.
5468
5469 2000-05-26 Ulrich Drepper <drepper@redhat.com>
5470
5471 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5472
5473 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
5474 NULL.
5475
5476 * posix/tst-preadwrite.c: Allow parallel execution of
5477 tst-preadwrite and tst-preadwrite64.
5478
5479 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5480 * posix/tst-truncate.c: New file.
5481 * posix/tst-truncate64.c: New file.
5482
5483 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5484 was switched.
5485
5486 * posix/Makefile (tests): Add tst-preadwrite64.
5487 * posix/tst-preadwrite.c: Alloc file being used also for testing
5488 pread64 and pwrite64.
5489 * posix/tst-preadwrite64.c: New file.
5490
5491 2000-05-26 Andreas Jaeger <aj@suse.de>
5492
5493 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5494 of arguments dependend on endianness.
5495 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5496
5497 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5498 normal version now.
5499 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5500 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5501 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5502 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5503
5504 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5505 endianness to check how to pass argument.
5506 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5507
5508 * elf/ldconfig.h: Update parameter list for process_elf_file.
5509
5510 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5511 Add parameter file_length and pass it ot process_elf*file.
5512
5513 * sysdeps/generic/readelflib.c (check_ptr): New.
5514 (process_elf_file): Use check_ptr to check all accesses to the
5515 mmapped file. Add parameter file_length.
5516
5517 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5518 library names.
5519
5520 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5521 Closes PR libc/1573, reported by Bradley White
5522 <bww@laurelnetworks.com>.
5523
5524 2000-05-25 Ulrich Drepper <drepper@redhat.com>
5525
5526 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5527 __FAST_MATH__ is defined.
5528
5529 2000-05-22 Andreas Jaeger <aj@suse.de>
5530
5531 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5532 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5533
5534 * manual/math.texi (FP Function Optimizations): Document gcc
5535 -ffast-math behaviour with mathinlines.
5536
5537 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5538 functions unless -ffast-math is given to gcc.
5539
5540 2000-05-23 Jakub Jelinek <jakub@redhat.com>
5541
5542 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5543 __sincosl): Guard with __USE_GNU.
5544
5545 2000-05-24 Ulrich Drepper <drepper@redhat.com>
5546
5547 * csu/Makefile (routines): Add check_fds.
5548 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5549 binaries. Add various __builtin_expect.
5550 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5551 * sysdeps/generic/check_fds.c: ...here. New file.
5552
5553 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5554 binaries if file /etc/suid-debug is available.
5555
5556 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5557 and wcseqorder members.
5558 (struct locale_collate_t): Likewise.
5559 (collate_finish): Assign collation sequence value to each character.
5560 Create tables for output.
5561 (collate_output): Write out tables with collation sequence information.
5562 * locale/C-collate.c: Provide C locale data for collation sequence
5563 table.
5564 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5565 _NL_COLLATE_COLLSEQWC.
5566 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5567 _NL_COLLATE_COLLSEQWC.
5568 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5569 include fnmatch_loop.c.
5570 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5571 character is matched by range expression. Use collation sequence
5572 table. Outside glibc fall back on simple character value comparison.
5573
5574 2000-05-24 Andreas Jaeger <aj@suse.de>
5575
5576 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5577 words.
5578
5579 * intl/Makefile: Run gettext-test only if msgfmt is available.
5580
5581 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5582 Define it for newer kernels.
5583
5584 2000-05-23 Ulrich Drepper <drepper@redhat.com>
5585
5586 * elf/dl-sym.c: Minor cleanups.
5587
5588 * configure.in: Add test for .protected.
5589 * config.make.in: Add have-protected variable.
5590 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5591 (tests-vis-yes): Add vismain.
5592 (modules-names): Add $(modules-vis-$(have-protected)).
5593 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5594 Add rules to generate and run vismain.
5595 * elf/vismain.c: New file.
5596 * elf/vismod1.c: New file.
5597 * elf/vismod2.c: New file.
5598 * elf/vismod3.c: New file.
5599
5600 2000-05-23 Andreas Jaeger <aj@suse.de>
5601
5602 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5603
5604 * manual/search.texi (Array Sort Function): Document that qsort is
5605 not necessarily in-place.
5606
5607 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5608 Closes PR libc/1731.
5609
5610 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5611 * dirent/scandir64.c: Likewise.
5612 * pwd/getpw.c: Likewise.
5613 * stdlib/bsearch.c (bsearch): Likewise.
5614 * stdlib/tst-strtoll.c: Likewise.
5615 * localedata/collate-test.c: Likewise.
5616 * localedata/xfrm-test.c: Likewise.
5617 * posix/bsd-getpgrp.c: Likewise.
5618 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5619 * sysdeps/generic/bits/siginfo.h: Likewise.
5620 * sysdeps/generic/bits/sockaddr.h: Likewise.
5621 * sysdeps/generic/sys/swap.h: Likewise.
5622 * sysdeps/generic/sys/sysinfo.h: Likewise.
5623 * sysdeps/generic/vfork.c: Likewise.
5624 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
5625 * sysdeps/mach/hurd/fdopen.c: Likewise.
5626 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
5627 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5628 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5629 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5630 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5632 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5633
5634 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
5635 * shadow/lckpwdf.c: Likewise.
5636 * stdlib/tst-strtol.c: Likewise.
5637 * sysdeps/generic/tcsetattr.c: Likewise.
5638 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5639 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5640
5641 2000-05-22 Jakub Jelinek <jakub@redhat.com>
5642
5643 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
5644 free it and set to (void *) -1.
5645
5646 2000-05-22 Jakub Jelinek <jakub@redhat.com>
5647
5648 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
5649 not the second character in the range.
5650 * stdio-common/tstscanf.c (main): Add testcase for the above.
5651 Reported by jik@kamens.brookline.ma.us.
5652
5653 2000-05-21 H.J. Lu <hjl@gnu.org>
5654
5655 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
5656 with noexec and noplt parameter.
5657 (do_lookup): Likewise.
5658
5659 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
5660 do_lookup. Support STV_PROTECTED.
5661 (_dl_lookup_symbol_skip): Likewise.
5662 (_dl_lookup_versioned_symbol): Likewise.
5663 (_dl_lookup_versioned_symbol_skip): Likewise.
5664
5665 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
5666
5667 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
5668
5669 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5670
5671 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
5672 * sysdeps/i386/bits/huge_val.h: Likewise.
5673 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5674 * sysdeps/m68k/bits/huge_val.h: Likewise.
5675 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
5676 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
5677
5678 2000-05-22 Andreas Jaeger <aj@suse.de>
5679
5680 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
5681 change in iconv.h.
5682
5683 2000-05-19 Andreas Jaeger <aj@suse.de>
5684
5685 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5686 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
5687 breaks compilation without linuxthreads.
5688
5689 2000-05-21 Ulrich Drepper <drepper@redhat.com>
5690
5691 * sysdeps/ia64/memccpy.S: New file.
5692 * sysdeps/ia64/memchr.S: New file.
5693 * sysdeps/ia64/memcmp.S: New file.
5694 * sysdeps/ia64/memcpy.S: New file.
5695 * sysdeps/ia64/memmove.S: New file.
5696 * sysdeps/ia64/memset.S: New file.
5697 * sysdeps/ia64/strcat.S: New file.
5698 * sysdeps/ia64/strchr.S: New file.
5699 * sysdeps/ia64/strcmp.S: New file.
5700 * sysdeps/ia64/strcpy.S: New file.
5701 * sysdeps/ia64/strlen.S: New file.
5702 * sysdeps/ia64/strncmp.S: New file.
5703 * sysdeps/ia64/strncpy.S: New file.
5704 * sysdeps/ia64/softpipe.h: New file.
5705 Patches by Dan Pop <Dan.Pop@cern.ch>.
5706
5707 * manual/memory.texi: Document memory handling functions (mlock,
5708 munlock, mlockall, munlockall, brk, and sbrk)
5709 * manual/time.texi: Document timespec and friends.
5710 * manual/conf.texi: Fix references.
5711 * manual/ctype.texi: Likewise.
5712 * manual/errno.texi: Likewise.
5713 * manual/intro.texi: Likewise.
5714 * manual/locale.texi: Likewise.
5715 * manual/sysinfo.texi: Likewise.
5716 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5717
5718 2000-05-09 Jes Sorensen <jes@linuxcare.com>
5719
5720 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
5721 * sysdeps/ia64/dl-lookupcfg.h: ...here.
5722
5723 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5724
5725 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
5726 dxfer_direction.
5727
5728 2000-05-21 Ulrich Drepper <drepper@redhat.com>
5729
5730 * locale/locale.h (struct lconv): Add new elements from ISO C99.
5731 * locale/localeconv.c: Initialize new elements from ISO C99.
5732 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
5733 new standard elements.
5734 * locale/categories.def: Adjust accordingly.
5735
5736 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
5737 * iconv/iconv.c: Likewise.
5738 * conform/data/iconv.h-data: Likewise.
5739 * iconv/iconv_prog.c (process_block): Remove const from second
5740 parameter.
5741 (main): Remove const from addr definition.
5742 * manual/charset.texi (Generic Conversion Interface): Remove from
5743 inbuf parameter of iconv.
5744
5745 * intl/dcigettext.c: Fix typo in comment.
5746
5747 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
5748
5749 * resolv/res_libc.c (_res): Initialize _sock to -1.
5750
5751 2000-05-18 Jakub Jelinek <jakub@redhat.com>
5752
5753 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
5754 (fopencookie@@GLIBC_2.2): New.
5755 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
5756 (fopencookie@GLIBC_2.0): New.
5757 * libio/Versions: Add fopencookie to GLIBC_2.2.
5758
5759 2000-05-18 Andreas Jaeger <aj@suse.de>
5760
5761 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5762 Closes PR libc/1731.
5763
5764 * manual/arith.texi (Parsing of Integers): Fix typo.
5765 Closes PR libc/1744, reported by blp@gnu.org.
5766
5767 2000-05-17 Jakub Jelinek <jakub@redhat.com>
5768
5769 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
5770 __extension__ to hexadecimal floating constant notation.
5771 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5772 Likewise.
5773 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
5774 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5775 Likewise.
5776 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5777 HUGE_VALL): Likewise.
5778 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5779 HUGE_VALL): Likewise.
5780 (HUGE_VALL): Set to HUGE_VAL on sparc32.
5781
5782 2000-05-17 Andreas Jaeger <aj@suse.de>
5783
5784 * string/envz.h: Add pure attributes if possible.
5785
5786 * string/argz.h: argz_count is a pure function.
5787
5788 * string/strings.h: Add pure and const attributes if possible.
5789
5790 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
5791 possibly searching through the whole memory.
5792 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
5793
5794 2000-05-17 Jakub Jelinek <jakub@redhat.com>
5795
5796 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
5797 not yet defined.
5798 (_dl_cache_check_flags): Likewise.
5799 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
5800 dl-cache.h.
5801
5802 2000-05-17 Andreas Jaeger <aj@suse.de>
5803
5804 * manual/creature.texi (Feature Test Macros): Remove paragraph
5805 since the description is wrong.
5806 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
5807
5808 * scripts/config.sub: New version.
5809 * scripts/config.guess: Likewise.
5810 * manual/texinfo.tex: Likewise.
5811
5812 * time/test_time.args: Removed.
5813 * time/Makefile (test_time-ARGS): Added contents here instead.
5814
5815 * posix/tstgetopt.args: Removed.
5816 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
5817
5818 * Rules: Allow arguments for test files to be specified in
5819 Makefile with testname-ARGS; remove rules with .args in it.
5820
5821 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
5822 remove old bogus rule for opendir-tst1.args.
5823
5824 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
5825
5826 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
5827 into objdir. This allows a readonly sourcetree.
5828 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
5829
5830 2000-05-16 Andreas Jaeger <aj@suse.de>,
5831 David Huggins-Daines <dhd@linuxcare.com>
5832
5833 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
5834 cache_data in case of only new cache format correctly.
5835
5836 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
5837 cache_file_new.
5838
5839 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
5840 struct cache_file_new.
5841
5842 * elf/cache.c (save_cache): Fix str_offset if only new cache is
5843 present.
5844
5845 * elf/cache.c (save_cache): Align struct new_file_cache.
5846 (print_cache): Likewise.
5847
5848 2000-05-13 Jakub Jelinek <jakub@redhat.com>
5849
5850 * elf/soinit.c (__libc_global_ctors): Move
5851 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
5852 * resolv/resolv.h (__res_state): Added __attribute__((const)).
5853 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
5854 variable, don't define it to __res_state call.
5855
5856 2000-05-13 Andreas Jaeger <aj@suse.de>
5857
5858 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
5859 Linux 2.3.99pre7.
5860 (AF_PPPOX): Likewise.
5861 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
5862 (AF_PPPOX): Likewise.
5863
5864 2000-05-12 Andreas Jaeger <aj@suse.de>
5865
5866 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
5867 Reported by tmoestl@gmx.net, closes PR libc/1732.
5868
5869 2000-05-11 Jan Hubicka <jh@suse.cz>
5870
5871 * misc/sys/cdefs.h: Add support for pure attribute.
5872
5873 * include/string.h: Add __attribute_pure__ to various functions.
5874 * string/string.h: Likewise.
5875
5876 2000-05-10 Jakub Jelinek <jakub@redhat.com>
5877
5878 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
5879 argument.
5880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5881 R_SPARC_UA64.
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
5883
5884 2000-05-10 Jakub Jelinek <jakub@redhat.com>
5885
5886 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5887 at proper place. Compute the high nibble correctly.
5888
5889 2000-05-09 Jakub Jelinek <jakub@redhat.com>
5890
5891 * elf/ldconfig.c: Include elf.h.
5892
5893 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
5894 (_dl_vsym): Likewise.
5895 Reported by Owen Taylor <otaylor@redhat.com>.
5896
5897 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
5898 always.
5899
5900 2000-05-08 Andreas Jaeger <aj@suse.de>
5901
5902 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
5903
5904 * intl/bindtextdom.c (set_binding_values): Add prototype.
5905
5906 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5907
5908 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
5909 call to elf_machine_fixup_plt.
5910 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5912
5913 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5914
5915 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
5916 they are not dlclose'd from underneath us.
5917
5918 2000-05-08 Andreas Schwab <schwab@suse.de>
5919
5920 * posix/execle.c: Fix size parameter of memcpy.
5921
5922 2000-05-08 Andreas Schwab <schwab@suse.de>
5923
5924 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
5925 getpagesize syscall if available.
5926
5927 2000-05-08 Andreas Jaeger <aj@suse.de>
5928
5929 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
5930 set errno.
5931
5932 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5933
5934 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
5935 sizeof(struct link_map *) chunks, not in bytes.
5936
5937 2000-05-07 Ulrich Drepper <drepper@redhat.com>
5938
5939 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
5940 only needed for locale.
5941 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
5942 It's only needed for catgets.
5943 Patches by Greg McGary <gkm@eng.ascend.com>.
5944
5945 2000-05-07 Mark Kettenis <kettenis@gnu.org>
5946
5947 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
5948 Remove duplicate <errno.h> include. Remove inclusion of
5949 <libintl.h> and "nsswitch.h".
5950 (set_cloexec_flag): New function, broken out of dbopen.
5951 (dbopen): Changed return type to `enum
5952 nss_status'. Mostly rewritten to make sure that we do not report
5953 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
5954 (internal_setent): Change return type to nss_status.
5955 Document, and make sure that the function
5956 behaves accordingly. Make dynamically loading the database
5957 library really thread-safe and return NSS_STATUS_UNAVAIL if it
5958 failed.
5959 (db_cursor): Return ENOMEM is memory allocation failed. Remove
5960 unecessary casts.
5961 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
5962 documentation.
5963 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
5964 c_get function member.
5965 * nss/nss_db/nss_db.h: Add and tweak some comments.
5966 (DBT): Move typedef before NSS_DBC typedef.
5967 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
5968
5969 2000-05-07 H.J. Lu <hjl@gnu.org>
5970
5971 * csu/initfini.c: Moved to ....
5972 * sysdeps/generic/initfini.c: ...here.
5973
5974 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
5975
5976 2000-05-07 Ulrich Drepper <drepper@redhat.com>
5977
5978 * manual/resource.texi: Document POSIX scheduling functions.
5979 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5980
5981 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
5982 reading anything. Reported by Andries.Brouwer@cwi.nl.
5983
5984 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
5985 for x since promotion in comparison might leads to unexpected
5986 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
5987
5988 * iconv/Makefile (tests): Add tst-iconv1.
5989 * iconv/tst-iconv1.c: New file.
5990 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
5991 empty input buffer over full output buffer.
5992 (ucs4_internal_loop): Likewise.
5993 (ucs4_internal_loop_unaligned): Likewise.
5994 (internal_ucs4le_loop): Likewise.
5995 (internal_ucs4le_loop_unaligned): Likewise.
5996 (ucs4le_internal_loop): Likewise.
5997 (ucs4le_internal_loop_unaligned): Likewise.
5998 Reported by yaoz@nih.gov.
5999
6000 2000-05-06 Bruno Haible <haible@clisp.cons.org>
6001
6002 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
6003 returned != __GCONV_OK, there is nothing to clean up.
6004
6005 2000-05-06 Bruno Haible <haible@clisp.cons.org>
6006
6007 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
6008 OUTPUT_CHARSET environment variables.
6009
6010 2000-05-06 Andreas Jaeger <aj@suse.de>
6011
6012 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
6013 (struct cache_file_new): New.
6014 (struct file_entry): New (moved from cache.c).
6015 (struct cache_file): New (moved from cache.c).
6016
6017 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
6018 from _dl_load_cache_lookup.
6019 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
6020 the different cache formats.
6021 New variable cache_new for new format.
6022
6023 * elf/ldconfig.h: Change according to changes in cache.c and
6024 ldconfig.c; remove cache_libcmp; add opt_format.
6025
6026 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
6027 stuff that's defined in those headers.
6028 Add hwcap to struct lib_entry.
6029 (opt_format): New variable to select cache format.
6030 (options): Add format parameter.
6031 (is_hwcap): New function.
6032 (path_hwcap): New function.
6033 (parse_opt): Handle new format parameter.
6034 (search_dir): Handle hwcap, search also subdirectories with hwcap.
6035
6036 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
6037 ldconfig is part of glibc.
6038 Include dl-cache.h and remove stuff that's defined there.
6039 (struct cache_entry): Add new member hwcap.
6040 (print_entry): Print hwcap, cleanup a bit.
6041 (print_cache): Print new and old formats.
6042 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
6043 (save_cache): Save new and old formats.
6044 (add_to_cache): Handle hwcap.
6045
6046 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
6047 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
6048 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
6049 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
6050 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
6051 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
6052
6053 2000-05-05 Bruno Haible <haible@clisp.cons.org>
6054
6055 * intl/dcigettext.c (alignof): New macro.
6056 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
6057 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
6058 freemem_size to 0.
6059
6060 2000-05-05 Bruno Haible <haible@clisp.cons.org>
6061
6062 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
6063 return value.
6064
6065 2000-05-06 Ulrich Drepper <drepper@redhat.com>
6066
6067 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
6068 (mempcpy): Correct typo is parameter list.
6069
6070 2000-05-06 Andreas Jaeger <aj@suse.de>
6071
6072 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
6073 functions unless -ffast-math is given to gcc.
6074
6075 2000-05-06 Ulrich Drepper <drepper@redhat.com>
6076
6077 * po/ko.po: Update from translation team.
6078
6079 2000-05-05 Ulrich Drepper <drepper@redhat.com>
6080
6081 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
6082 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
6083 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
6084 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
6085 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
6086 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
6087
6088 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
6089 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
6090 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
6091
6092 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
6093 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
6094 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
6095 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
6096
6097 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
6098 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
6099
6100 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6101
6102 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
6103 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
6104
6105 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
6106 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
6107
6108 * sysdeps/ia64/Implies: New file.
6109 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
6110 * sysdeps/ia64/Makefile: New file.
6111 * sysdeps/ia64/gmp-mparam.h: New file,
6112
6113 * sysdeps/ia64/elf/start.S: New file.
6114
6115 * sysdeps/ia64/bits/fenv.h: New file.
6116
6117 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
6118
6119 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
6120
6121 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
6122
6123 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
6124 ia64 has 64 bit .hash entries just as the Alpha.
6125
6126 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6127
6128 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
6129
6130 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
6131
6132 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
6133 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
6134 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
6135 * sysdeps/ia64/fpu/fegetenv.c: New file.
6136 * sysdeps/ia64/fpu/fegetexcept.c: New file.
6137 * sysdeps/ia64/fpu/fegetround.c: New file.
6138 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
6139 * sysdeps/ia64/fpu/fesetenv.c: New file.
6140 * sysdeps/ia64/fpu/fesetround.c: New file.
6141 * sysdeps/ia64/fpu/feupdateenv.c: New file.
6142 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
6143 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
6144 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
6145 * sysdeps/ia64/fpu/ftestexcept.c: New file.
6146
6147 2000-05-05 Andreas Jaeger <aj@suse.de>
6148
6149 * misc/tst-tsearch.c (main): Correct type for initstate argument.
6150
6151 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6152 (_dl_string_hwcap): New, does nothing.
6153
6154 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6155 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6156 (_dl_string_hwcap): New function, converts from string to hwcap
6157 encoding.
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6159 (_DL_HWCAP_COUNT): New.
6160 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6161 (_dl_string_hwcap): New function, converts from string to hwcap
6162 encoding.
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
6164 (_DL_HWCAP_COUNT): New.
6165 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6166 (_dl_string_hwcap): New function, converts from string to hwcap
6167 encoding.
6168
6169 2000-05-05 Ulrich Drepper <drepper@redhat.com>
6170
6171 * elf/Makefile (distribute): Add dl-lookupcfg.h.
6172 * sysdeps/ia64/Dist: New file.
6173
6174 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
6175 parameter to mprotect and for variable assignments.
6176
6177 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6178
6179 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
6180 validity of map before dereferencing it.
6181
6182 * elf/dl-reloc.c (RESOLVE_MAP): Define.
6183
6184 2000-05-02 Jes Sorensen <jes@linuxcare.com>
6185
6186 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
6187 lookup to the arguments to elf_machine_fixup_plt().
6188
6189 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
6190 of the symbol being resolved to input argument list and make the
6191 function return the pointer to the reloc.
6192
6193 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
6194 return valuie to lookup_t and return the value.
6195 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
6196 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
6197 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
6198 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
6199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
6200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
6201
6202 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
6203 Make it an inline function returning value after calling
6204 __elf_machine_fixup_plt().
6205
6206 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
6207 symbol address.
6208
6209 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
6210 obtain the symbol address.
6211
6212 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
6213 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
6214
6215 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
6216 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
6217 inline on non ia64.
6218
6219 2000-04-28 Jes Sorensen <jes@linuxcare.com>
6220
6221 * elf/dl-runtime.c (fixup): Use the portable macros to get the
6222 symbol address of an object.
6223
6224 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
6225 the symbol address of an object.
6226
6227 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
6228 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
6229 (_dl_lookup_symbol_skip): Likewise.
6230 (_dl_lookup_versioned_symbol): Likewise.
6231 (_dl_lookup_versioned_symbol_skip): Likewise.
6232
6233 2000-04-27 Jes Sorensen <jes@linuxcare.com>
6234
6235 * elf/rtld.c (_dl_start): Get the function pointer return address
6236 via _dl_start_address for architectures that need a function
6237 pointer descriptor rather than just a pointer (ia64).
6238
6239 * sysdeps/generic/dl-lookupcfg.h: New file.
6240 * sysdeps/ia64/dl-lookupcfg.h: New file.
6241 * sysdeps/ia64/dl-machine.h: New file.
6242 * sysdeps/ia64/dl-symaddr.c: New file.
6243 * sysdeps/ia64/dl-fptr.c: New file.
6244
6245 * elf/elf.h: Add IA-64 specific definitions.
6246
6247 2000-05-04 Jakub Jelinek <jakub@redhat.com>
6248
6249 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
6250 end of enum.
6251
6252 2000-05-04 Jakub Jelinek <jakub@redhat.com>
6253
6254 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
6255 happy.
6256
6257 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6258
6259 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
6260 symbol. Call _dl_init rather than the old way.
6261
6262 2000-05-04 Ulrich Drepper <drepper@redhat.com>
6263
6264 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
6265 test for pointer in range of DSO address space.
6266
6267 2000-05-04 Andreas Jaeger <aj@suse.de>
6268
6269 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
6270
6271 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6272
6273 * locale/findlocale.c (_nl_find_locale): Add new parameter to
6274 calls of _nl_make_l10nflist.
6275
6276 * libio/stdio.h: Make fseeko and ftello prototypes available is
6277 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
6278
6279 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
6280 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6281
6282 2000-05-03 Bruno Haible <haible@clisp.cons.org>
6283
6284 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
6285 before calling tfind.
6286
6287 2000-03-05 Jakub Jelinek <jakub@redhat.com>
6288
6289 * resolv/resolv.h (res_querydomain): Remove redefinition to
6290 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
6291
6292 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6293
6294 * po/gl.po: Update from translation team.
6295
6296 * manual/intro.texi (Program Basics): Change section title.
6297 * manual/process.texi: Fix reference.
6298 (Executing a File): Add reference exec in other section.
6299 * manual/signal.texi: Fix reference.
6300 * manual/startup.texi: Document syscall function.
6301 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6302
6303 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6304
6305 * intl/libintl.h (bind_textdomain_codeset): New declaration.
6306 * intl/bindtextdom.c (set_binding_values): New function.
6307 (bindtextdomain): Call it.
6308 (bind_textdomain_codeset): New function.
6309 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
6310 (free_mem): Free each binding's codeset.
6311 * intl/gettextP.h (struct binding): Add codeset field.
6312 (_nl_find_domain): Add domainbinding argument.
6313 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
6314 Pass it to _nl_make_l10nflist.
6315 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
6316 (_nl_make_l10nflist): Add domainbinding argument.
6317 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
6318 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
6319 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
6320 locale_charset().
6321 * manual/message.texi: New node "Charset conversion in gettext".
6322
6323 2000-04-30 Bruno Haible <haible@clisp.cons.org>
6324
6325 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
6326 appropriate. Handle possible __read error.
6327
6328 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6329
6330 * intl/gettextP.h (__builtin_expect): Define as empty if not a
6331 compiler builtin.
6332 * intl/loadinfo.h (__builtin_expect): Likewise.
6333 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
6334 __builtin_expect where appropriate.
6335 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6336 * intl/localealias.c (extend_alias_table): Return an error indicator.
6337 (read_alias_file): Bail out if extend_alias_table fails.
6338
6339 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6340
6341 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
6342 * intl/localealias.c: Likewise.
6343
6344 2000-05-01 Bruno Haible <haible@clisp.cons.org>
6345
6346 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
6347 Initialize domain->plural and domain->nplurals even if there is no
6348 nullentry.
6349
6350 2000-05-01 Bruno Haible <haible@clisp.cons.org>
6351
6352 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
6353 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
6354 In case of failure, goto converted.
6355
6356 2000-05-01 Bruno Haible <haible@clisp.cons.org>
6357
6358 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
6359 * iconv/gconv_int.h (norm_add_slashes): Move to here.
6360 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
6361 __gconv_open.
6362
6363 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6364
6365 * intl/dcigettext.c (transcmp): Compare the domains as well.
6366 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
6367 not before.
6368 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
6369 <errno.h>.
6370
6371 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6372
6373 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
6374 Reported by Bruno Haible.
6375
6376 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6377
6378 * manual/arith.texi: Remove @w from @itemize.
6379
6380 2000-05-02 Andreas Jaeger <aj@suse.de>
6381
6382 * conform/data/tar.h-data: Add some checks for specific values.
6383
6384 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
6385 and RAND_MAX.
6386
6387 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
6388 FOPEN_MAX.
6389
6390 * conform/data/netinet/in.h-data: Add exact checks for the values
6391 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
6392
6393 * conform/data/float.h-data: Add some minimal values.
6394
6395 * conform/conformtest.pl: Test for macros with string constants,
6396 check for minimum and maximum values.
6397 Add limits.h to headers.
6398
6399 * conform/data/cpio.h-data: Test for value of MAGIC.
6400
6401 * conform/data/limits.h-data: New file.
6402
6403 2000-04-30 Bruno Haible <haible@clisp.cons.org>
6404
6405 * math/Makefile (headers): Add bits/fenvinline.h.
6406
6407 2000-05-01 Ulrich Drepper <drepper@redhat.com>
6408
6409 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
6410 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
6411
6412 * posix/Versions: Change posix_spawnattr_getdefault and
6413 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
6414 and posix_spawnattr_setsigdefault respectively.
6415 * posix/spawn.h: Likewise.
6416 * posix/spawnattr_getdefault.h: Likewise.
6417 * posix/spawnattr_setdefault.h: Likewise.
6418 * conform/data/spawn.h-data: Likewise.
6419
6420 2000-05-01 Andreas Jaeger <aj@suse.de>
6421
6422 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
6423
6424 2000-04-30 Ulrich Drepper <drepper@redhat.com>
6425
6426 * manual/sysinfo.texi: Document getdomainname, setdomainname
6427 and sysctl.
6428 * manual/string.texi: Fix typo.
6429 * manual/terminal.texi: Document gtty and stty.
6430 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6431
6432 2000-04-30 Andreas Jaeger <aj@suse.de>
6433
6434 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6435 accordance with Austin Draft.
6436
6437 2000-04-30 Ulrich Drepper <drepper@redhat.com>
6438
6439 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6440 to recognize second character in comment line.
6441
6442 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6443 ENOBUFS if we are out of memory.
6444
6445 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6446 available if __USE_XOPEN2K.
6447 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6448 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6449 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6451 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6453 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6454 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6455
6456 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6457
6458 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6459 Recognize option -s, -c, and -l.
6460
6461 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
6462
6463 * nscd/nscd.c: Start new session for nscd, drop privilegs
6464 to configured user if requested and no -S parameter are used.
6465 * nscd/nscd.conf: Add new option "server-user".
6466 * nscd/nscd_conf.c: Add support for new "server-user" option.
6467 * nscd/nscd.h: Add declaration for server_user variable.
6468 Based on patch by Chris Wing <wingc@engin.umich.edu>
6469
6470 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6471
6472 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6473 that changing the __restore and __restore_rt signal return code
6474 will break GDB.
6475
6476 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6477
6478 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6479 <sys/user.h>.
6480
6481 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6482
6483 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6484
6485 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6486
6487 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6488 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6489 arpa/inet.h.
6490 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6491 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6492 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6493 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6494 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6495 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6496 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6497 posix_fallocate, and posix_madvise.
6498 * conform/data/netdb.h-data: New file.
6499 * conform/data/pthread.h-data: Add pthread_barrier_t,
6500 pthread_barrierattr_t, pthread_barrier_destroy,
6501 pthread_barrier_init, pthread_barrier_wait,
6502 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6503 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6504 pthread_condattr_getclock, pthread_condattr_setclock,
6505 pthread_getcpuclockid, pthread_mutex_timedlock,
6506 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6507 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6508 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6509 * conform/data/sched.h-data: Add sched_ss_low_priority,
6510 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6511 SCHED_SPORADIC.
6512 * conform/data/semaphore.h-data: Add sem_timedwait.
6513 * conform/data/signal.h-data: Add SIGIO.
6514 * conform/data/spawn.h-data: New file.
6515 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6516 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6517 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6518 Fix typo in gmtime_r definition.
6519 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6520 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6521 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6522 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6523 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6524 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6525 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6526 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6527 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6528 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6529 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6530 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6531 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6532 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6533 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6534 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6535 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6536 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6537 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6538 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6539 typo in off_t definition.
6540 * conform/data/net/if.h-data: New file.
6541 * conform/data/netinet/in.h-data: New file.
6542 * conform/data/netinet/tcp.h-data: New file.
6543 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6544 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6545 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6546 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6547 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6548 and posix_typed_mem_open.
6549 * conform/data/sys/socket.h-data: New file.
6550 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6551 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6552 pthread_barrierattr_t, and pthread_spinlock_t.
6553 * conform/data/sys/un.h-data: New file.
6554 * conform/data/sys/utsname.h-data: New file.
6555
6556 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6557 parameter.
6558 * inet/gethstbyad.c (gethostbyname): Likewise.
6559 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6560 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6561 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6562 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6563 Likewise.
6564 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6565 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6566 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6567 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6568 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6569 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6570 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6571 and second parameter.
6572
6573 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6574 == NULL.
6575
6576 2000-04-29 Andreas Jaeger <aj@suse.de>
6577
6578 * conform/data/arpa/inet.h-data: New file.
6579
6580 2000-04-28 Geoff Clare <gwc@unisoft.com>
6581
6582 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6583 path passed to ftw() or nftw() is an empty string.
6584 Closes PR libc/1710.
6585
6586 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6587
6588 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6589 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6590 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6591 * localedata/tst-mbswcs4.c: New file.
6592 * localedata/tst-mbswcs5.c: New file.
6593
6594 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6595 == NULL. Little optimization.
6596
6597 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6598 DT_PREINIT_ARRAYSZ).
6599 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6600
6601 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6602 overflows in conversion from ASCII.
6603
6604 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6605
6606 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6607 * Makerules (full_config_sysdirs): Likewise.
6608 * MakeTAGS (full_config_sysdirs): Likewise.
6609
6610 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6611
6612 * .cvsignore: Remove linuxthreads.
6613 * po/.cvsignore: Remove *.pot.
6614 * posix/glob/.cvsignore: Removed.
6615 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
6616
6617 2000-04-25 Andreas Jaeger <aj@suse.de>
6618
6619 * conform/Makefile (distribute): Also distribute contents of
6620 subdirectories.
6621
6622 * Makerules (no_deps): Remove abi-versions.h.
6623
6624 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
6625
6626 2000-04-25 Jakub Jelinek <jakub@redhat.com>
6627
6628 * sysdeps/sparc/sparc64/elf/Dist: Remove.
6629 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
6630 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
6631 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
6632 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
6633 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
6634 objects.
6635
6636 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
6637
6638 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
6639
6640 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6641
6642 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
6643 * intl/l10nflist.c: Likewise.
6644
6645 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6646
6647 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
6648 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
6649 * intl/textdomain.c [!_LIBC]: Likewise.
6650 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
6651 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
6652 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
6653 syntax error.
6654
6655 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6656
6657 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
6658 character set conversion also in the case the translation was found
6659 after a hash collision or through binary search. Store the maximum
6660 index together with the converted message. Use iconv() when available.
6661 In case of out of memory during conversion, return the unconverted
6662 translated string, not NULL.
6663
6664 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6665
6666 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
6667 to avoid name clashes with the ia32 linker.
6668
6669 2000-04-25 Jakub Jelinek <jakub@redhat.com>
6670
6671 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
6672 handling.
6673
6674 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6675
6676 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
6677 strtoumax, strfry, and memfrob.
6678 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
6679 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6680
6681 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
6682 if this function is available.
6683
6684 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
6685 all values.
6686
6687 2000-04-27 Jakub Jelinek <jakub@redhat.com>
6688
6689 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
6690
6691 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6692
6693 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
6694 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
6695 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
6696 * localedata/tst-mbswcs3.c: New file.
6697
6698 2000-04-26 Ulrich Drepper <drepper@redhat.com>
6699
6700 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
6701 characters. Don't handle incomplete characters as errors.
6702 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
6703 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
6704 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
6705 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
6706 * localedata/tst-mbswcs2.c: New file.
6707
6708 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
6709 stored character in state in UNPACK_BYTES macro.
6710 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
6711 test for available characters, handle result of BODY code correctly.
6712 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
6713 (distribute): Add tst-mbswcs.sh.
6714 Add rule to run tst-mbswcs.sh.
6715 * localedata/tst-mbswcs.sh: New file.
6716 * localedata/tst-mbswcs1.c: New file.
6717
6718 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6719
6720 * nis/nis_callback.c (__nis_create_callback): Do failed memory
6721 allocation fixups centrally, fix __builtin_expect call, return NULL
6722 on failure, not NIS_NOMEMORY.
6723
6724 2000-04-27 Bruno Haible <haible@clisp.cons.org>
6725
6726 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
6727
6728 * intl/loadinfo.h (internal_function): Define if not already defined.
6729
6730 2000-04-27 Andreas Jaeger <aj@suse.de>
6731
6732 * intl/libintl.h: Fix typo, reported by Bruno Haible
6733 <haible@clisp.cons.org>.
6734
6735 2000-04-25 Ulrich Drepper <drepper@redhat.com>
6736
6737 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
6738 setting the state to GMON_PROF_BUSY.
6739
6740 2000-04-24 Ulrich Drepper <drepper@redhat.com>
6741
6742 * elf/dl-profile.c (_dl_start_profile): define all variables which
6743 do not have to be global as local variables.
6744
6745 * nis/nis_callback.c (__nis_create_callback): Partially undo last
6746 patch. Keep needed tests for failed memory allocation.
6747
6748 * elf/dl-reloc.c (_dl_relocate_object): Add one more
6749 __builtin_expect saying that we don't normally expect to profile.
6750
6751 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
6752 __builtin_expect where desirable.
6753
6754 2000-04-23 Ulrich Drepper <drepper@redhat.com>
6755
6756 * manual/Makefile (chapters): Add syslog.
6757 * manual/syslog.texi: New file.
6758 * manual/math.texi: Fix references.
6759 * manual/terminal.texi: Likewise.
6760 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6761
6762 2000-04-18 Jakub Jelinek <jakub@redhat.com>
6763
6764 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
6765 stdlib.h was not included or __USE_XOPEN not defined.
6766
6767 2000-04-23 Ulrich Drepper <drepper@redhat.com>
6768
6769 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
6770 Patch by Zack Weinberg <zack@wolery.cumb.org>.
6771
6772 2000-04-22 Ulrich Drepper <drepper@redhat.com>
6773
6774 * manual/examples/subopt.c (mount_opts): Add missing terminating
6775 entry.
6776 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6777
6778 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
6779 * libio/ftello.c: Likewise.
6780 * libio/ftello64.c: Likewise.
6781 * libio/ioftell.c: Likewise.
6782 * sysdeps/generic/memrchr.c: Likewise.
6783 * sysdeps/posix/libc_fatal.c: Likewise.
6784 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6785 * misc/fstab.c: Include <string.h> for strcmp prototype.
6786 * sysdeps/generic/ldsodefs.h: Likewise.
6787 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6788 Patch by Kurt Roeckx <Q@ping.be>.
6789
6790 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
6791 Remove db-open. Change all uses.
6792 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
6793
6794 2000-04-21 Jakub Jelinek <jakub@redhat.com>
6795
6796 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
6797 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
6798 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
6799 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
6800 with .set noat/at to shut up warnings.
6801 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
6802 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
6803 compilation if __NR_pciconfig_iobase is not defined.
6804 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
6805 Add alias.
6806
6807 2000-04-21 Ulrich Drepper <drepper@redhat.com>
6808
6809 * manual/sysinfo.texi: Fix typo.
6810 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
6811 Replace "high precision time" with "high accuracy clock".
6812 Fix language.
6813 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6814
6815 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
6816 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
6817 instead of malloc.
6818 * nis/nis_subr.c: Use __builtin_expect.
6819 * nis/ypclnt.c: Likewise.
6820 * nis/nis_getservlist.c: Likewise.
6821 * nis/nis_creategroup.c: Likewise.
6822
6823 * nis/nis_callback.c (__nis_create_callback): Check result of
6824 memory allocation. Fix memory leaks. Use __builtin_expect.
6825 (__nis_destroy_callback): Fix memory leaks.
6826
6827 2000-04-21 Andreas Jaeger <aj@suse.de>
6828
6829 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
6830 * sysdeps/mips/mips64/add_n.S: Likewise.
6831 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
6832 * sysdeps/mips/mips64/lshift.S: Likewise.
6833 * sysdeps/mips/mips64/mul_1.S: Likewise.
6834 * sysdeps/mips/mips64/rshift.S: Likewise.
6835 * sysdeps/mips/mips64/setjmp.S: Likewise.
6836 * sysdeps/mips/mips64/sub_n.S: Likewise.
6837 * sysdeps/mips/mips64/submul_1.S: Likewise
6838 * sysdeps/unix/mips/sysdep.S: Likewise.
6839
6840 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
6841 and update comment. The strtab from _dl_relocate_object can be
6842 used.
6843
6844 2000-04-21 Ulrich Drepper <drepper@redhat.com>
6845
6846 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
6847 * iconv/iconv_close.c (iconv_close): Likewise.
6848 * iconv/iconv_open.c (iconv_open): Likewise.
6849
6850 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
6851 __builtin_expect where useful.
6852
6853 * grp/initgroups.c (initgroups): Test for result of memory
6854 allocation and punt if it fails.
6855
6856 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
6857 * grp/fgetgrent.c (fgetfrent): Likewise.
6858 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6859
6860 2000-04-21 Jakub Jelinek <jakub@redhat.com>
6861
6862 * libio/vasprintf.c: Include string.h to get memcpy prototype.
6863
6864 2000-04-20 Ulrich Drepper <drepper@redhat.com>
6865
6866 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
6867 don't search for NUL byte to decrement counter.
6868 Reported by Ulrich.Brink@sap.com.
6869
6870 * iconv/gconv_simple.c: Define separate functions to convert from
6871 UCS4/UCS4-LE to the internal encoding.
6872 * iconv/gconv_builtin.h: Use separate functions to convert from
6873 UCS4/UCS4-LE to the internal encoding.
6874 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
6875 __gconv_transform_ucs4le_internal.
6876
6877 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
6878 output buffer overflow. Reported by Ulrich.Brink@sap.com.
6879
6880 * iconv/skeleton.c: Add some more __builtin_expect.
6881 * iconv/loop.c: Likewise.
6882
6883 2000-03-08 H.J. Lu <hjl@gnu.org>
6884
6885 * posix/regex.c (regex_compile): Correctly handle "\{" when
6886 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
6887
6888 2000-04-20 Ulrich Drepper <drepper@redhat.com>
6889
6890 * manual/stdio.texi: Give advise about handling error when using
6891 stream functions.
6892 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
6893
6894 2000-04-19 Jakub Jelinek <jakub@redhat.com>
6895
6896 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
6897 field to nelems * sizeof (uint32_t).
6898 * locale/programs/ld-address.c (address_output): Align word fields
6899 properly.
6900 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6901 Don't restart idx pointers to idx end at the duo_int_curr_symbol
6902 field.
6903 Avoid giving arbitrary garbage in the crncystr field.
6904 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
6905 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
6906 fields.
6907 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6908 Don't restart idx pointers to idx end at the decimal_point_wc field.
6909 * locale/programs/ld-time.c (time_output): week_1stday should be
6910 word, not byte. Align it properly.
6911
6912 2000-04-19 H.J. Lu <hjl@gnu.org>
6913
6914 * csu/gmon-start.c (_start): Declared as "extern void".
6915 (etext): Likewise.
6916
6917 2000-04-18 Andreas Jaeger <aj@suse.de>
6918
6919 * manual/install.texi (Running make install): Don't mention utmpd
6920 anymore.
6921
6922 2000-04-18 Andreas Jaeger <aj@suse.de>
6923
6924 * linuxthreads/Versions: Use ld instead of ld.so.
6925
6926 * elf/Makefile (ld-map): Use ld.map.
6927
6928 * Versions.def: Use ld instead of ld.so.
6929 * elf/Versions: Likewise.
6930 * sysdeps/mach/hurd/Versions: Likewise.
6931
6932 2000-04-20 Andreas Jaeger <aj@suse.de>
6933
6934 * elf/rtld.c (print_statistics): Move ifndef further up.
6935 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
6936 (dl_main): Likewise.
6937
6938 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6939
6940 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
6941 * gmon/Versions: Move moncontrol to GLIBC_2.2.
6942
6943 * po/cs.po: Update from translation team.
6944
6945 * sysdeps/generic/updwtmp.c: Remove daemon support.
6946
6947 * login/Makefile (routines): Remove utmp_daemon.
6948
6949 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
6950 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
6951 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
6952 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
6953
6954 * elf/rtld.c: Display statitics option also if hp timing is not
6955 available.
6956
6957 * login/programs/connection.c: Removed.
6958 * login/programs/database.c Removed.
6959 * login/programs/error.c: Removed.
6960 * login/programs/request.c: Removed.
6961 * login/programs/xtmp.c: Removed.
6962 * login/programs/xtmp.h: Removed.
6963 * login/Makefile: Remove rules for utmpd.
6964 * login/README.utmpd: Removed.
6965 * login/utmp_daemon.c: Removed.
6966 * login/getutent_r.c: Remove references to daemon functions.
6967 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
6968 declaration.
6969
6970 2000-04-18 Andreas Jaeger <aj@suse.de>
6971
6972 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6973 2.2 for libnsl, libresolv, librt, libnss_*.
6974
6975 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
6976
6977 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
6978
6979 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6980
6981 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
6982 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
6983 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
6984 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
6985 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
6986 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
6987 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
6988 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
6989 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
6990 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
6991 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
6992 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
6993 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
6994 it here.
6995 * sysdeps/unix/sysv/aix/msync.c: New file.
6996 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
6997 * sysdeps/unix/sysv/aix/net/if.h: New file.
6998 * sysdeps/unix/sysv/aix/pipe.c: New file.
6999 * sysdeps/unix/sysv/aix/poll.c: New file.
7000 * sysdeps/unix/sysv/aix/rename.c: New file.
7001 * sysdeps/unix/sysv/aix/rmdir.c: New file.
7002 * sysdeps/unix/sysv/aix/select.c: New file.
7003 * sysdeps/unix/sysv/aix/semctl.c: New file.
7004 * sysdeps/unix/sysv/aix/semget.c: New file.
7005 * sysdeps/unix/sysv/aix/semop.c: New file.
7006 * sysdeps/unix/sysv/aix/sendto.c: New file.
7007 * sysdeps/unix/sysv/aix/setgroups.c: New file.
7008 * sysdeps/unix/sysv/aix/setpgid.c: New file.
7009 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
7010 * sysdeps/unix/sysv/aix/setpriority.c: New file.
7011 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
7012 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
7013 * sysdeps/unix/sysv/aix/setsid.c: New file.
7014 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
7015 * sysdeps/unix/sysv/aix/shmat.c: New file.
7016 * sysdeps/unix/sysv/aix/shmctl.c: New file.
7017 * sysdeps/unix/sysv/aix/shmdt.c: New file.
7018 * sysdeps/unix/sysv/aix/shmget.c: New file.
7019 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
7020 * sysdeps/unix/sysv/aix/sigstack.c: New file.
7021 * sysdeps/unix/sysv/aix/socket.c: New file.
7022 * sysdeps/unix/sysv/aix/socketpair.c: New file.
7023 * sysdeps/unix/sysv/aix/speed.c: New file.
7024 * sysdeps/unix/sysv/aix/symlink.c: New file.
7025 * sysdeps/unix/sysv/aix/sync.c: New file.
7026 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
7027 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
7028 * sysdeps/unix/sysv/aix/times.c: New file.
7029 * sysdeps/unix/sysv/aix/ulimit.c: New file.
7030 * sysdeps/unix/sysv/aix/umask.c: New file.
7031 * sysdeps/unix/sysv/aix/unlink.c: New file.
7032 * sysdeps/unix/sysv/aix/ustat.c: New file.
7033 * sysdeps/unix/sysv/aix/utimes.c: New file.
7034
7035 2000-04-18 Andreas Jaeger <aj@suse.de>
7036
7037 * manual/startup.texi (Environment Access): Fix putenv prototype
7038 according to recent changes.
7039 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
7040 PR libc/1692.
7041
7042 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
7043 needed.
7044
7045 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7046
7047 * posix/Makefile (tests): Add tst-getaddrinfo.
7048 * posix/tst-getaddrinfo.c: New file.
7049
7050 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7051
7052 * manual/sysinfo.texi: Document that umount2 is not widely available.
7053
7054 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
7055 signal timing is not really implemented.
7056
7057 2000-04-17 Andreas Jaeger <aj@suse.de>
7058
7059 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
7060
7061 2000-04-17 Jakub Jelinek <jakub@redhat.com>
7062
7063 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
7064 and inst_libdir.
7065
7066 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7067
7068 * manual/intro.texi: Change reference from System Information to
7069 System Management.
7070 * manual/users.texi: Likewise.
7071 * manual/conf.texi: Likewise.
7072 * manual/sysinfo.texi: Document mount, umount, and umount2.
7073 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7074
7075 2000-04-17 Jakub Jelinek <jakub@redhat.com>
7076
7077 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
7078 Create wnumstr as well as numstr to support wide character output
7079 correctly.
7080
7081 2000-04-15 Jakub Jelinek <jakub@redhat.com>
7082
7083 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
7084 modification and move it...
7085 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
7086 Add -melf64_sparc switch to $(LD) on sparc64-linux.
7087 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
7088 switch to $(LD) on sparc-linux.
7089
7090 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
7091
7092 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
7093 and setresuid from sysdep_routines.
7094
7095 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7096
7097 * manual/Makefile (chapters): Add resource.
7098
7099 * manual/time.texi: Move section on resources to...
7100 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
7101 and vtimes.
7102 * manual/setjmp.texi: Adjust back reference.
7103 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7104
7105 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
7106 definition.
7107 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
7108 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
7109 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
7110 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
7111 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
7112 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
7113 * sysdeps/unix/sysv/aix/close.c: Add copyright.
7114 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
7115 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
7116 * sysdeps/unix/sysv/aix/access.c: Add copyright.
7117 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
7118 * sysdeps/unix/sysv/aix/Implies: New file.
7119 * sysdeps/unix/sysv/aix/Versions: New file.
7120 * sysdeps/unix/sysv/aix/bind.c: New file.
7121 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
7122 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
7123 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
7124 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
7125 * sysdeps/unix/sysv/aix/chdir.c: New file.
7126 * sysdeps/unix/sysv/aix/chmod.c: New file.
7127 * sysdeps/unix/sysv/aix/chroot.c: New file.
7128 * sysdeps/unix/sysv/aix/creat.c: New file.
7129 * sysdeps/unix/sysv/aix/dl-close.c: New file.
7130 * sysdeps/unix/sysv/aix/dl-open.c: New file.
7131 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
7132 * sysdeps/unix/sysv/aix/fchdir.c: New file.
7133 * sysdeps/unix/sysv/aix/fchmod.c: New file.
7134 * sysdeps/unix/sysv/aix/getgroups.c: New file.
7135 * sysdeps/unix/sysv/aix/gethostname.c: New file.
7136 * sysdeps/unix/sysv/aix/getpriority.c: New file.
7137 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
7138 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
7139 * sysdeps/unix/sysv/aix/getrusage.c: New file.
7140 * sysdeps/unix/sysv/aix/link.c: New file.
7141 * sysdeps/unix/sysv/aix/madvise.c: New file.
7142 * sysdeps/unix/sysv/aix/mkdir.c: New file.
7143 * sysdeps/unix/sysv/aix/mknod.c: New file.
7144 * sysdeps/unix/sysv/aix/mprotect.c: New file.
7145 * sysdeps/unix/sysv/aix/msgctl.c: New file.
7146 * sysdeps/unix/sysv/aix/msgget.c: New file.
7147 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
7148
7149 2000-04-17 Andreas Jaeger <aj@suse.de>
7150
7151 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
7152 as suggested by Ulrich Drepper.
7153 (__dl_runtime_resolve): Remove unused variable, initialize sym
7154 directly.
7155 (RTLD_START): Document OFFSET_GP_GOT.
7156 (OFFSET_GP_GOT): New magic value.
7157 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
7158 (elf_machine_got_rel): Only declare strtab if needed.
7159 (elf_machine_relplt): Removed, it's not needed.
7160 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
7161
7162 * sysdeps/mips/add_n.S: Add newline at EOF.
7163 * sysdeps/mips/rshift.S: Likewise.
7164 * sysdeps/mips/mul_1.S: Likewise.
7165 * sysdeps/mips/lshift.S: Likewise.
7166 * sysdeps/mips/addmul_1.S: Likewise.
7167
7168 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7169
7170 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
7171
7172 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
7173 * elf/dl-lookup.c: Likewise.
7174 * elf/dl-init.c (_dl_init): Likewise.
7175 * elf/dl-fini.c (_dl_fini): Likewise.
7176 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7177 * elf/dl-close.c (_dl_close): Likewise.
7178 * elf/rtld.c (_dl_start_final): Likewise.
7179
7180 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
7181
7182 2000-04-15 Ulrich Drepper <drepper@redhat.com>
7183
7184 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
7185 only fall back on using Linux.
7186
7187 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
7188 Before testing versions check that we actually loaded the object
7189 and whether we are in trace mode. If not loaded during tracing don't
7190 test versions in this object.
7191 (_dl_check_all_versions): Take new parameter and pass to
7192 _dl_check_map_versions.
7193 * sysdeps/generic/ldsodefs.h: Update prototypes for
7194 _dl_check_all_versions and _dl_check_map_versions.
7195 * elf/rtld.c (struct version_check_args): Add dotrace.
7196 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
7197 (dl_main): Pass info about trace mode to version_check_doit.
7198 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
7199 _dl_check_all_versions.
7200
7201 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
7202 and getutmpx.
7203 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7204
7205 * manual/argp.texi: Document index parameter of argp_parse.
7206 Fix typo.
7207 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
7208
7209 2000-04-14 Andreas Jaeger <aj@suse.de>
7210
7211 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
7212 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
7213
7214 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
7215
7216 2000-04-15 Ulrich Drepper <drepper@redhat.com>
7217
7218 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
7219 compat_symbol call for old adjtime.
7220
7221 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
7222 function interface. Patch by Richard Henderson <rth@cygnus.com>.
7223
7224 * posix/Makefile (headers): Add spawn.h.
7225 (distribute): Add spawn_int.h.
7226 (routines): Add spawn_faction_init, spawn_faction_destroy,
7227 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
7228 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
7229 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
7230 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
7231 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
7232 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
7233 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
7234 posix_spawnattr_init, posix_spawnattr_destroy,
7235 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
7236 posix_spawnattr_getflags, posix_spawnattr_setflags,
7237 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
7238 and posix_spawnp.
7239 * posix/spawn.c: New file.
7240 * posix/spawn.h: New file.
7241 * posix/spawn_faction_addclose.c: New file.
7242 * posix/spawn_faction_adddup2.c: New file.
7243 * posix/spawn_faction_addopen.c: New file.
7244 * posix/spawn_faction_destroy.c: New file.
7245 * posix/spawn_faction_init.c: New file.
7246 * posix/spawn_int.h: New file.
7247 * posix/spawnattr_destroy.c: New file.
7248 * posix/spawnattr_getdefault.c: New file.
7249 * posix/spawnattr_getflags.c: New file.
7250 * posix/spawnattr_getpgroup.c: New file.
7251 * posix/spawnattr_getschedparam.c: New file.
7252 * posix/spawnattr_getschedpolicy.c: New file.
7253 * posix/spawnattr_getsigmask.c: New file.
7254 * posix/spawnattr_init.c: New file.
7255 * posix/spawnattr_setdefault.c: New file.
7256 * posix/spawnattr_setflags.c: New file.
7257 * posix/spawnattr_setpgroup.c: New file.
7258 * posix/spawnattr_setschedparam.c: New file.
7259 * posix/spawnattr_setschedpolicy.c: New file.
7260 * posix/spawnattr_setsigmask.c: New file.
7261 * posix/spawni.c: New file.
7262 * posix/spawnp.c: New file.
7263
7264 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
7265 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7266
7267 2000-04-14 Ulrich Drepper <drepper@redhat.com>
7268
7269 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
7270 * malloc/malloc.c: Implement posix_memalign for glibc.
7271 * include/stdlib.h: Add prototype for __posix_memalign.
7272 * stdlib/stdlib.h: Add prototype for posix_memalign.
7273
7274 2000-04-14 Andreas Jaeger <aj@suse.de>
7275
7276 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
7277 symidx correctly.
7278 (elf_machine_got_rel): Cast sym correctly.
7279
7280 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
7281 * sysdeps/mips/addmul_1.S: Likewise.
7282 * sysdeps/mips/lshift.S: Likewise.
7283 * sysdeps/mips/mul_1.S: Likewise.
7284 * sysdeps/mips/rshift.S: Likewise.
7285 * sysdeps/mips/sub_n.S: Likewise.
7286 * sysdeps/mips/submul_1.S: Likewise.
7287
7288 * stdlib/stdlib.h: Fix typo in comment.
7289
7290 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7291 2.2 for libdl, ld and libm.
7292
7293 * sysdeps/generic/madvise.c: Fix typos.
7294
7295 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
7296
7297 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
7298
7299 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
7300 warnings.
7301
7302 2000-04-14 Ulrich Drepper <drepper@redhat.com>
7303
7304 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
7305 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
7306 Make old name weak alias.
7307 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7308 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
7309 Make old name weak alias.
7310 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7311
7312 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
7313 posix_fallocate, and posix_fallocate64.
7314 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
7315 posix_fallocate, and posix_fallocate64.
7316 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
7317 posix_fallocate, and posix_fallocate64.
7318 * sysdeps/generic/fadvise.c: New file.
7319 * sysdeps/generic/fadvise64.c: New file.
7320 * sysdeps/generic/fallocate.c: New file.
7321 * sysdeps/generic/fallocate64.c: New file.
7322 * sysdeps/posix/fallocate.c: New file.
7323 * sysdeps/posix/fallocate64.c: New file.
7324 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
7325 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
7326 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
7327 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7328 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7329 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7331 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7333
7334 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
7335 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7336
7337 2000-04-13 Ulrich Drepper <drepper@redhat.com>
7338
7339 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
7340 * misc/sys/mman.h (posix_madvise): Add prototype.
7341 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
7342 old name and posix_madvise weak aliases.
7343 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7344 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
7345 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7346 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7347 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7348 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7350
7351 2000-04-13 Andreas Jaeger <aj@suse.de>
7352
7353 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
7354 versioning.
7355 (elf_machine_got_rel): Only add runtime display if needed.
7356 (elf_machine_got_rel): Handle symbol versioning.
7357
7358 2000-04-13 Andreas Jaeger <aj@suse.de>
7359
7360 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
7361
7362 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
7363 default.
7364
7365 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
7366 with some applications.
7367 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
7368
7369 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
7370 * sysdeps/mips/bsd-_setjmp.S: Likewise.
7371 * sysdeps/mips/setjmp.S: Likewise.
7372
7373 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
7374
7375 2000-04-13 Ulrich Drepper <drepper@redhat.com>
7376
7377 * posix/globtest.sh: Work around inconsistency with expanding ~/
7378 in shell (PR libc/1690). Reported by patsmith@pobox.com.
7379
7380 2000-04-12 Ulrich Drepper <drepper@redhat.com>
7381
7382 * posix/getconf.c: Add support for many more POSIX options.
7383 * sysdeps/posix/sysconf.c: Likewise.
7384 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
7385 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
7386 _POSIX_SHELL.
7387 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7388 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
7389 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
7390 CLOCK_THREAD_CPUTIME_ID.
7391 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
7392 CLOCK_PROCESS_CPUTIME_ID.
7393 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
7394 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
7395 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
7396 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7397
7398 * malloc/Makefile (tests): Add tst-calloc.
7399 * malloc/tst-calloc.c: New file.
7400
7401 * sysdeps/arm/libm-test-ulps: New file.
7402
7403 * malloc/malloc.c: Undo all of today's changes.
7404
7405 * locale/programs/locale.c (show_info): Don't try to look into
7406 data for LC_ALL (there is none).
7407
7408 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
7409 avoid writing over boundary.
7410 Patch by Greg McGary <gkm@eng.ascend.com>.
7411
7412 * sysdeps/arm/memprof.h: New file.
7413
7414 2000-04-12 Andreas Jaeger <aj@suse.de>
7415
7416 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
7417
7418 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
7419 for memmem declaration.
7420
7421 2000-04-12 Ulrich Drepper <drepper@redhat.com>
7422
7423 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
7424 to -1.
7425 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7426
7427 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
7428 mode is invalid.
7429 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7430 Patch by Bart Veer <bartv@redhat.com>.
7431
7432 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7433 function interface.
7434
7435 2000-04-11 Andreas Jaeger <aj@suse.de>
7436
7437 * sysdeps/mips/dl-machine.h: Update some comments.
7438 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7439
7440 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7441
7442 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7443 _POSIX_SHARED_MEMORY_OBJECTS.
7444
7445 * rt/Makefile (tests): Add tst-shm.
7446 Add rules to generate tst-shm.
7447 * rt/tst-shm.c: New file.
7448
7449 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7450 for descriptor.
7451
7452 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7453 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7454 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7455 * sysdeps/generic/shm_open.c: New file.
7456 * sysdeps/generic/shm_unlink.c: New file.
7457 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7458 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7459 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7460 __endmntent, __getmntent_r, __setmntent, and __statfs.
7461
7462 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7463 fragmentation by allocating new memory at the end instead of
7464 reallocating.
7465
7466 * posix/globtest.sh: Fix last change.
7467
7468 2000-04-10 Philip Blundell <philb@gnu.org>
7469
7470 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7471 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7472 IPV6_DROP_MEMBERSHIP.
7473 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7474 Likewise.
7475
7476 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7477
7478 * elf/readlib (process_file): Close streams in case of an error.
7479
7480 2000-04-09 Andreas Jaeger <aj@suse.de>
7481
7482 * elf/readlib.c (process_file): Check if file is big enough to
7483 contain aout and ELF headers.
7484 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7485
7486 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7487
7488 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7489
7490 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7491
7492 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7493 stream unbuffered.
7494 * rt/Makefile (tests): Add tst-clock.
7495 Add rules to build tst-clock.
7496 * rt/tst-clock.c: New file.
7497 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7498 about initialization of nsec.
7499 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7500 about initialization of freq. Set retval to zero if successful.
7501 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7502
7503 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7504
7505 * Versions.def (librt): Add GLIBC_2.2.
7506 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7507 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7508 timer_getoverr, timer_gettime, and timer_settime.
7509 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7510 clock_settime, timer_create, timer_delete, timer_getoverrun,
7511 timer_gettime, and timer_settime.
7512 * sysdeps/generic/clock_getcpuclockid.c: New file.
7513 * sysdeps/generic/get_clockfreq.c: New file.
7514 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7515 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7516 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7517 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7518 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7519 * sysdeps/unix/i386/i686/Implies: New file.
7520 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7521 * time/Makefile (routines): Move clock_getres, clock_gettime,
7522 clock_settime, timer_create, timer_delete, timer_getoverr,
7523 timer_gettime, and timer_settime to rt/Makefile.
7524 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7525 clock_settime, timer_create, timer_delete, timer_getoverrun,
7526 timer_gettime, and timer_settime.
7527 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
7528
7529 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7530 and not const as attribute name.
7531
7532 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
7533
7534 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7535
7536 2000-04-10 Andreas Schwab <schwab@suse.de>
7537
7538 * posix/globtest.sh: Skip tests that depend on unreadable
7539 directories if run as root.
7540
7541 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7542
7543 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7544 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7545
7546 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7547
7548 * sysdeps/unix/clock_gettime.c: New file.
7549 * sysdeps/unix/clock_settime.c: New file.
7550 * sysdeps/posix/clock_getres.c: New file.
7551
7552 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7553
7554 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7555 lseek call be passing in a buffer which never allow a successful
7556 first getdents syscall if not at leas the initial entry can be
7557 stored in the user buffer.
7558
7559 * localedata/Makefile: Add rules to clean up directories created by
7560 new strfmon tests.
7561
7562 2000-04-09 Geoff Clare <gwc@unisoft.com>
7563
7564 * localedata/tst-fmon.data: Added new tests for strfmon()
7565 using test locales with all combinations of cs_precedes,
7566 sign_posn and sep_by_space.
7567 * localedata/tst-fmon.sh: Updated to support the new tests.
7568 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7569 the localedef source for the new strfmon() test locale.
7570 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7571 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7572 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7573 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7574 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7575 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7576 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7577 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7578 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7579 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7580 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7581 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7582 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7583 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7584
7585 * stdlib/strfmon.c: Correct problems with missing or extra
7586 spaces for unusual combinations of sign_posn and sep_by_space.
7587 Improved left-precision alignment code.
7588
7589 2000-04-07 Andreas Jaeger <aj@suse.de>
7590
7591 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7592
7593 2000-04-10 Andreas Jaeger <aj@suse.de>
7594
7595 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7596
7597 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7598
7599 Implement handling of restartable conversion functions according to
7600 ISO C.
7601 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7602 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7603 * iconv/gconv.c: Pass additional parameter to conversion function.
7604 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7605 (internal_ucs4le_loop_single): New function.
7606 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7607 (__gconv_transform_internal_ascii): Likewise.
7608 (__gconv_transform_internal_utf8): Likewise.
7609 (__gconv_transform_utf8_internal): Likewise.
7610 (__gconv_transform_ucs2_internal): Likewise.
7611 (__gconv_transform_internal_ucs2): Likewise.
7612 (__gconv_transform_ucs2reverse_internal): Likewise.
7613 (__gconv_transform_internal_ucs2reverse): Likewise.
7614 (internal_ucs4le_loop_unaligned): Before return
7615 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
7616 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
7617 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
7618 * iconv/loop.c: Fit in definition of function to convert one character
7619 for processing of left-over bytes from the state object.
7620 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
7621 inend to match names in loop functions.
7622 (RESET_INPUT_BUFFER): Change apprpriately.
7623 (gconv): If needed, call function to process bytes from the state
7624 object. Similar at the end: store left over bytes if input is
7625 incomplete.
7626 Take extra argument and add new argument to all calls of the
7627 conversion function.
7628 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
7629 information in the state object to not conflict with length count.
7630 * iconvdata/iso-2022-jp.c: Likewise.
7631 * iconvdata/iso-2022-kr.c: Likewise.
7632 * iconvdata/unicode.c: Adjust for change change in parameters of
7633 skeleton function.
7634 * iconvdata/utf-16.c: Likewise.
7635 * libio/iofwide.c: Add new parameter to all calls of conversion
7636 function.
7637 * wcsmbs/btowc.c: Likewise.
7638 * wcsmbs/mbrtowc.c: Likewise.
7639 * wcsmbs/mbsnrtowcs.c: Likewise.
7640 * wcsmbs/mbsrtowcs.c: Likewise.
7641 * wcsmbs/wcrtomb.c: Likewise.
7642 * wcsmbs/wcsnrtombs.c: Likewise.
7643 * wcsmbs/wcsrtombs.c: Likewise.
7644 * wcsmbs/wctob.c: Likewise.
7645
7646 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
7647 MAX_NEEDED_INPUT.
7648
7649 2000-04-07 Andreas Jaeger <aj@suse.de>
7650
7651 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
7652 newer kernels.
7653
7654 2000-04-07 Ulrich Drepper <drepper@redhat.com>
7655
7656 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
7657 element a union to allow byte access.
7658 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
7659 mbstate_t.
7660 * iconvdata/iso-2022-jp.c: Likewise.
7661 * iconvdata/iso-2022-kr.c: Likewise.
7662 * wcsmbs/mbsinit.c: Likewise.
7663 * stdlib/mblen.c: Likewise.
7664 * stdio-common/printf-parse.h: Likewise.
7665
7666 2000-04-06 Ulrich Drepper <drepper@redhat.com>
7667
7668 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
7669 kernel does not allow relative seeks on descriptors associated
7670 with directories. Go back to get the position in the directory
7671 every time we enter the function. Return -1 and set errno if one
7672 entry could be read from the kernel but does not fit into the
7673 buffer passed in by the user.
7674
7675 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
7676 Support ..(2).. ellipsis.
7677 (parse_charmap): Recognize ..(2).. etc and pass step down.
7678 Correctly generate names for UCS4 characters.
7679
7680 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
7681 (ctype_finish): We know the wide character value for <SP>,
7682 don't search.
7683 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
7684 (charclass_ucs4_ellipsis): Likewise.
7685 (read_translit_ignore_entry): Store ellipsis step.
7686 (ctype_read): Recognize ..(2).. etc and pass step down.
7687
7688 * locale/programs/linereader.c (lr_token): When seeing comment
7689 character ignore only rest of line in sources but stop at escaped
7690 newline.
7691 Recognize ..(2).. and ....(2).....
7692
7693 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
7694 and tok_ellipsis4_2.
7695
7696 2000-04-06 Andreas Jaeger <aj@suse.de>
7697
7698 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
7699 removed, remove it here also.
7700 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
7701 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
7702 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
7704
7705 2000-04-06 Jakub Jelinek <jakub@redhat.com>
7706
7707 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
7708 include bits/sigcontext.h.
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7710
7711 2000-04-06 Ulrich Drepper <drepper@redhat.com>
7712
7713 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
7714 collation symbol definition. Value in quivalence definition must
7715 be defined, don't check that it is not.
7716
7717 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
7718 values as character names.
7719
7720 * locale/programs/ld-ctype.c (get_character): Handle missing
7721 repertoire map correctly.
7722
7723 2000-04-05 Cristian Gafton <gafton@redhat.com>
7724
7725 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
7726 because it is used in generic code.
7727 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
7728 * wcsmbs/wcwidth.h: Declare __ctype32_b.
7729 * intl/gettext.c: Include <locale.h>.
7730 * intl/ngettext.c: Likewise.
7731
7732 2000-04-05 Jakub Jelinek <jakub@redhat.com>
7733
7734 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
7735 socklen_t type for size.
7736 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
7737 init function interface.
7738 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
7740 sys/ucontext.h.
7741 (__jmp_buf): Declare the whole type structure here, don't use
7742 ucontext.
7743
7744 2000-04-05 Ulrich Drepper <drepper@redhat.com>
7745
7746 * iconv/skeleton.c (put16u): Fix typo.
7747 Reported by Bruno Haible <haible@ilog.fr>.
7748
7749 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
7750 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
7751 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
7752 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
7755
7756 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
7757 * Makefile (distribute): Add abi-versions.awk and
7758 firstversions.awk.
7759 Patches by Torsten Duwe <duwe@caldera.de>.
7760
7761 2000-04-05 Andreas Schwab <schwab@suse.de>
7762
7763 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
7764
7765 2000-04-05 Andreas Schwab <schwab@suse.de>
7766
7767 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
7768 entry point, used on Hurd.
7769
7770 2000-04-04 Andreas Jaeger <aj@suse.de>
7771
7772 * intl/Makefile: Only run the gettext test with shared libraries.
7773
7774 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7775
7776 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7777 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7778
7779 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
7780
7781 * Makeconfig: Undo last change.
7782 * configure.in: If --disable-shared was given, don't set VERSIONING,
7783 don't define DO_VERSIONING, and don't give scare warning for no
7784 versioning.
7785 * configure: Regenerated.
7786
7787 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
7788
7789 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
7790
7791 2000-04-04 Andreas Jaeger <aj@suse.de>
7792
7793 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
7794
7795 2000-04-04 Ulrich Drepper <drepper@redhat.com>
7796
7797 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
7798 STV_HIDDEN and STV_INTERNAL during lookup.
7799 (profile_fixup): Likewise.
7800 * elf/dl-reloc.c (RESOLVE): Likewise.
7801
7802 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
7803 unaligned so that it compiles for system which need unaligned
7804 access handling.
7805
7806 2000-04-04 Andreas Schwab <schwab@suse.de>
7807
7808 * elf/cache.c (print_entry): Only look at the type field when
7809 printing the type.
7810
7811 2000-04-04 Andreas Schwab <schwab@suse.de>
7812
7813 * iconvdata/big5.c (BODY): Fix typo.
7814
7815 2000-04-04 Andreas Schwab <schwab@suse.de>
7816
7817 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
7818 function interface. Remove unused _dl_start_user entry point.
7819
7820 2000-04-03 Andreas Jaeger <aj@suse.de>
7821
7822 * include/arpa/inet.h (__inet_aton): Add protoype.
7823
7824 2000-04-01 Andreas Jaeger <aj@suse.de>
7825
7826 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
7827
7828 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
7829 * sysdeps/mach/mips/thread_state.h: Likewise.
7830
7831 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
7832 * sysdeps/generic/fegetenv.c: Likewise.
7833 * sysdeps/generic/fesetenv.c: Likewise.
7834 * sysdeps/generic/feupdateenv.c: Likewise.
7835 * sysdeps/generic/fraiseexcpt.c: Likewise.
7836 * sysdeps/generic/fsetexcptflg.c: Likewise.
7837 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
7838 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7839 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7840 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7841
7842 2000-04-02 H.J. Lu <hjl@gnu.org>
7843
7844 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
7845
7846 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7847
7848 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
7849 (add_name_to_object): Add cast in malloc call.
7850 (fillin_rpath): Optimize loop to initialize ->status a bit.
7851
7852 * sysdeps/i386/dl-machine.h: Undo last change.
7853 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
7854 Restore %edx register after call here.
7855
7856 * sysdeps/arm/atomicity.h: New file.
7857 Contributed by Jesper Skov <jskov@redhat.com>.
7858
7859 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
7860
7861 * Makeconfig (preprocess-versions): Undo last change.
7862 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
7863
7864 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
7865 here, before we might move the stack.
7866 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
7867 (init1): And not here.
7868
7869 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
7870 change, to restore argc value in call-clobbered register after
7871 RTLD_START_SPECIAL_INIT, which will contain a call.
7872
7873 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
7874 allocating and initializing L->l_initfini.
7875
7876 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
7877
7878 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7879
7880 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
7881 RUNPATH, RPATH, and LD_LIBRARY_PATH.
7882 (open_path): Change type of fourth parameter. Make pointer to array
7883 of pointers. Create variable dirs with original type.
7884 Track whether any directory for the object exists and if not,
7885 change *DIRSP to (void*) -1 to signal there is no such search path.
7886 (_dl_map_object): Change all calls of open_path.
7887 Rewrite decompose_rpath calls.
7888
7889 2000-03-31 Andreas Schwab <schwab@suse.de>
7890
7891 * string/strfry.c: Declare STATE as array of char instead of int
7892 and do not initialize it (done by initstate_r). Pass correct
7893 size.
7894
7895 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7896
7897 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
7898
7899 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
7900 instruction out of the code.
7901
7902 2000-04-02 Ulrich Drepper <drepper@redhat.com>
7903
7904 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
7905 element at this position.
7906
7907 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
7908 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
7909 l_reldeps elements.
7910 * elf/dl-lookup.c (add_dependency): New function.
7911 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
7912 dynamically loaded object.
7913 (_dl_lookup_symbol_skip): Likewise.
7914 (_dl_lookup_versioned_symbol): Likewise.
7915 (_dl_lookup_versioned_symbol_skip): Likewise.
7916 * elf/dl-open.c: Don't define _dl_load_lock here...
7917 * elf/rtld.c: ...but here...
7918 * elf/dl-support.c: ...and here.
7919 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
7920 through relocation.
7921 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
7922 relocations.
7923 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
7924 anymore.
7925 * dlfcn/glrefmain.c: Add one more debug message.
7926
7927 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
7928 command line.
7929 * Makerules (sysd-versions): Use ( ) instead of { }.
7930
7931 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
7932 optimize for the non-debugging case.
7933 * elf/dl-lookup.c: Likewise.
7934 * sysdeps/generic/libc-start.c: Likewise.
7935
7936 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
7937
7938 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
7939 (init1): Don't initialize __environ here, since init already does it.
7940 (first_init): New function, broken out of _init.
7941 (_hurd_stack_setup): Use it.
7942 [SHARED] (_dl_init_first): New function, renamed from old _init.
7943 (init1) [SHARED]: Don't call posixland_init here.
7944 (posixland_init): Take ENVP arg, so signature is usual for initializer.
7945 [SHARED] (_init): Define as alias for posixland_init.
7946 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
7947 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
7948 RTLD_START_SPECIAL_INIT before calling initializers.
7949 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
7950 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
7951 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
7952 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
7953
7954 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
7955 since we define the function with the name `tmpfile'.
7956
7957 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
7958 * hurd/Versions: Likewise.
7959
7960 2000-04-02 Ulrich Drepper <drepper@redhat.com>
7961
7962 * elf/dl-runtime.c (fixup): Fix typo in comment.
7963
7964 * resolv/netdb.h (getnameinfo): All length parameters are of type
7965 socklen_t.
7966 * inet/getnameinfo.c: Likewise.
7967
7968 2000-04-01 Ulrich Drepper <drepper@redhat.com>
7969
7970 * posix/unistd.h (socklen_t): Define if it has not yet happened.
7971 (gethostname): Change type of second parameter to socklen_t.
7972 * include/unistd.h (__gethostname): Change type of second
7973 parameter to socklen_t.
7974 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
7975 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7976 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
7977 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
7978 Likewise.
7979 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
7980 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
7981 Allow definition elsewhere.
7982 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7983 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7984 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7985 * sysdeps/generic/bits/types.h: Define __socklen_t.
7986 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7987 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7988 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7989 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7990 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7991 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7992 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7993
7994 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
7995 (inet_lnaof): Likewise.
7996 (inet_netof): Likewise.
7997 (inet_network): Likewise.
7998 (inet_aton): Likewise.
7999 (inet_makeaddr): Change parameter types to in_addr_t.
8000 (inet_neta): Likewise.
8001 (inet_ntop): Change type of last parameter to socklen_t.
8002 (inet_aton): Only make available if __USE_MISC.
8003 (inet_neta): Likewise.
8004 (inet_net_ntop): Likewise.
8005 (inet_net_pton): Likewise.
8006 (inet_nsap_ntoa): Likewise.
8007
8008 * inet/in.h: Define in_port_t type.
8009 Define in_addr_t type.
8010 (struct in_addr): Use in_addr_t in definition.
8011 (IN_CLASSA): Use cast to in_addr_t.
8012 (IN_CLASSB): Likewise.
8013 (IN_CLASSC): Likewise.
8014 (IN_CLASSD): Likewise.
8015 (IN_EXPERIMENTAL): Likewise.
8016 (IN_BADCLASS): Likewise.
8017 (INADDR_ANY): Likewise.
8018 (INADDR_BROADCAST): Likewise.
8019 (INADDR_NONE): Likewise.
8020 (INADDR_LOOPBACK): Likewise.
8021 (INADDR_UNSPEC_GROUP): Likewise.
8022 (INADDR_ALLHOSTS_GROUP): Likewise.
8023 (INADDR_ALLRTRS_GROUP): Likewise.
8024 (INADDR_MAX_LOCAL_GROUP): Likewise.
8025 (struct sockaddr_in): Use in_port_t for sin_port element.
8026 (struct sockaddr_in6): Use in_port_t for sin6_port element.
8027 Use uint8_t instead of u_int8_t.
8028
8029 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
8030 Call __inet_aton instead of inet_aton.
8031 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
8032
8033 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
8034 (innetgr): Likewise.
8035 (struct addrinfo): Use socklen_t for ai_addrlen element.
8036
8037 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
8038 IPV6_RECVERR): New defines.
8039
8040 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
8041 * inet/getnetbyad.c: Likewise.
8042 * inet/getnetbyad_r.c: Likewise.
8043 * nis/nss_nis/nis-network.c: Likewise.
8044 * nis/nssplus_nis/nisplus-network.c: Likewise.
8045 * nss/nss_files/files-network.c: Likewise.
8046 * resolv/netdb.h: Define uint32_t if not already happened.
8047 Include bits/netdb.h. Remove definition of struct netent.
8048 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
8049 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
8050 * sysdeps/generic/bits/netdb.h: New file.
8051 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
8052
8053 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
8054 (tests): Add glrefmain.
8055 Add rules to build modules and run tests. Ignore result of glrefmain
8056 for now since it fails.
8057 * dlfcn/glrefmain.c: New file.
8058 * dlfcn/glreflib1.c: New file.
8059 * dlfcn/glreflib2.c: New file.
8060
8061 * test-skeleton.c: Include <string.h> for strsignal prototype.
8062
8063 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
8064 to be missing.
8065
8066 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
8067 former init-first.h. Initialize __libc_multiple_libcs.
8068
8069 2000-03-31 Ulrich Drepper <drepper@redhat.com>
8070
8071 * iconv/skeleton.c: Define access macros with u suffix. Adjust
8072 #if expression for use of unaligned function to the one used in
8073 the definition of these functions.
8074 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
8075 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
8076 (internal_ucs4le_loop_unaligned): New function.
8077
8078 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
8079 (tests): Add order.
8080 (module-names): Add dep1, dep2, dep3, and dep4.
8081 Add dependencies for dep* modules and order.
8082 Define rule for order.out which checks the result.
8083 * elf/dep1.c: New file.
8084 * elf/dep2.c: New file.
8085 * elf/dep3.c: New file.
8086 * elf/dep4.c: New file.
8087 * elf/order.c: New file.
8088
8089 * elf/dl-init.c: Fix typo in comment.
8090
8091 2000-03-31 Andreas Jaeger <aj@suse.de>
8092
8093 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
8094 init function interface.
8095 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
8096
8097 2000-03-31 Andreas Jaeger <aj@suse.de>
8098
8099 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
8100 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8101 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8102 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
8103 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8104
8105 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
8106 anymore, update comment.
8107
8108 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8109
8110 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
8111 SHLIB_COMPAT - the struct is always needed.
8112
8113 2000-03-31 Ulrich Drepper <drepper@redhat.com>
8114
8115 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
8116 * elf/dl-support.c: Define _dl_starting_up.
8117
8118 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8119
8120 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
8121 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
8122
8123 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
8124
8125 * elf/Makefile (dl-routines): Remove preinit.
8126 * elf/Versions: Remove _dl_preinit.
8127 * elf/dl-preinit.c: Removed. Move content into...
8128 * elf/dl-init.c: ...here.
8129 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
8130
8131 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
8132 elements.
8133
8134 2000-03-29 Geoff Clare <gwc@unisoft.com>
8135
8136 * stdlib/strfmon.c: Corrected problems with the code that
8137 sets default values for [np]_sep_by_space and
8138 [np]_sign_posn; also the new positive/negative alignment
8139 code from the previous patch was not quite right for
8140 [np]_sign_posn = 0.
8141
8142 * localedata/tst-fmon.data: Changes corresponding to the
8143 two sets of fixes made to stdlib/strfmon.c.
8144
8145 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
8146
8147 * malloc/malloc.c: Declare bit flags UL so that they will not
8148 default to int size when being inverted.
8149
8150 2000-03-29 Andreas Jaeger <aj@suse.de>
8151
8152 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
8153 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8154
8155 2000-03-29 Andreas Jaeger <aj@suse.de>,
8156 Ralf Baechle <ralf@uni-koblenz.de>
8157
8158 * Makeconfig: Introduce new variable SHARED to mark code used in
8159 the shared library.
8160 * elf/dl-close.c: Use it instead of PIC.
8161 * elf/dl-load.c: Likewise.
8162 * elf/dl-open.c: Likewise.
8163 * hurd/geteuids.c: Likewise.
8164 * include/libc-symbols.h: Likewise.
8165 * include/shlib-compat.h: Likewise.
8166 * libio/freopen.c: Likewise.
8167 * linuxthreads/cancel.c: Likewise.
8168 * linuxthreads/pthread.c: Likewise.
8169 * linuxthreads/wrapsyscall.c: Likewise.
8170 * nss/nsswitch.c: Likewise.
8171 * stdio-common/vfprintf.c: Likewise.
8172 * sysdeps/arm/init-first.c: Likewise.
8173 * sysdeps/i386/init-first.c: Likewise
8174 * sysdeps/generic/init-first.c: Likewise.
8175 * sysdeps/generic/libc-start.c: Likewise.
8176 * sysdeps/mips/init-first.c: Likewise.
8177 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8178 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8179 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8180 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8181 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8182
8183 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
8184
8185 2000-03-29 Andreas Jaeger <aj@suse.de>
8186
8187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8188 Use D_PTR to access relocated entries in l_info.
8189 (elf_machine_rela): Likewise.
8190
8191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8192 Likewise.
8193 (elf_machine_rela): Likewise.
8194
8195 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8196 Likewise.
8197 (__elf_machine_fixup_plt): Likewise.
8198 (__process_machine_rela): Likewise.
8199
8200 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8201 (elf_machine_rela): Likewise.
8202
8203 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
8204 (elf_machine_rel): Likewise.
8205
8206 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8207 (elf_machine_fixup_plt): Likewise.
8208 (elf_machine_rela): Likewise.
8209
8210 2000-03-29 Andreas Jaeger <aj@suse.de>
8211
8212 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
8213 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8214 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8215 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
8216 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8217 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8219 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
8220 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8221 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
8222 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
8223 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
8224 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
8225 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8227
8228 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
8229 macros, remove K&R prototypes.
8230
8231 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8232
8233 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
8234 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
8235 (PR libc/1677).
8236
8237 2000-03-30 Andreas Jaeger <aj@suse.de>
8238
8239 * misc/sys/cdefs.h: Remove K&R support.
8240
8241 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8242
8243 * iconv/skeleton.c: Avoid compiling unaligned versions in some
8244 more cases.
8245 * iconv/loop.c: Likewise.
8246
8247 2000-03-29 Bruno Haible <haible@clisp.cons.org>
8248
8249 * iconv/loop.c (put16): Remove __const. Fix access index.
8250 (put32): Remove __const. Use uint32_t instead of uint16_t.
8251 * iconv/skeleton.c: Likewise.
8252
8253 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
8254
8255 * mach/Versions (libc: GLIBC_2.0)
8256 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
8257 __vm_allocate on this.
8258 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
8259 mutex- and spinlock-related symbols on this.
8260 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8261 New version set. Lock-related symbols go here instead in this case.
8262 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
8263 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
8264 cthread_getspecific, cthread_setspecific, __libc_getspecific.
8265 * hurd/Versions
8266 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
8267 Put them here instead.
8268 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8269 New version set. Those cthreads symbols go here instead in this case.
8270 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
8271
8272 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8273
8274 * elf/dl-init.c (_dl_init): We don't need to call constructors
8275 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
8276
8277 Implement dynamic determination of constructor/destructor order in
8278 the dynamic linker.
8279 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
8280 (GLIBC_2.2): Add _dl_init.
8281 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
8282 r_duplist is not anymore allocated separately. l_initfini is and
8283 therefore free it if necessary.
8284 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
8285 malloc block. Otherwise allocate l_initfini list only.
8286 Put dependencies for the object in l_initfini list.
8287 Sort dependencies for the object to be loaded topologically.
8288 * elf/dl-fini.c: Before running the destructors sort the topologically.
8289 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
8290 call constructors instead of iterating over the pointers. Get list of
8291 objects for which to run constructors from l_initfini element. Accept
8292 argc, argv, and env as parameters and pass them to the constructors.
8293 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
8294 with size of dynamic section.
8295 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
8296 _dl_init_next and calling constructors ourself.
8297 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
8298 Take argc, argv, and env as parameters and pass them to the
8299 constructors. Rewrite to call all constructors and not iterate over
8300 the pointers.
8301 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
8302 precompute l_initcount and l_preinitcount.
8303 * elf/link.h (struct link_map): Add l_ldnum member.
8304 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
8305 l_initcount, and l_preinitcount. Add l_initfini.
8306 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
8307 one for _dl_init.
8308 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
8309 function interface.
8310 * sysdeps/unix/sysv/linux/init-first.h: Removed.
8311 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
8312 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
8313 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
8314 conventions now match.
8315
8316 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
8317 effect for shared objects. Don't emit message and call only for
8318 static library.
8319
8320 2000-03-29 Ulrich Drepper <drepper@redhat.com>
8321
8322 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
8323 CSA_Z243.4-1985-1..UCS2.
8324 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
8325 ISO-8859-10..UCS2.
8326
8327 2000-03-29 Andreas Jaeger <aj@suse.de>
8328
8329 * include/unistd.h: Remove duplicate entry for __rmdir.
8330 Remove declaration of __mkdir since __mkdir is declared in
8331 sys/stat.h.
8332
8333 * manual/creature.texi (Feature Test Macros): Fix typo, reported
8334 by Michael Deutschmann <michael@talamasca.ocis.net>.
8335
8336 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
8337 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8338 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8339 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8340 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
8341
8342 2000-03-28 Andreas Jaeger <aj@suse.de>
8343
8344 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
8345 declaration, the prototype is defined via bits/mathcalls.h.
8346 (__sincosf): Likewise.
8347 (__sincosl): Likewise.
8348 (ldexp): Likewise.
8349 (ldexpf): Likewise.
8350 (ldexpl): Likewise.
8351 (__finite): Likewise.
8352 (__inline_mathcodeNP): New macro without prototype
8353 declarations.
8354 (__inline_mathcodeNP2): Likewise.
8355 (__inline_mathcodeNP3): Likewise.
8356 (__inline_mathcodeNP_): Likewise.
8357 (__inline_mathcodeNP2_): Likewise.
8358 (__inline_mathcodeNP3_): Likewise.
8359 (__inline_mathopNP): Likewise.
8360 (__inline_mathop_declNP): Likewise.
8361 (__inline_mathop_declNP_): Likewise.
8362 (__inline_mathcode_): Use __inline_mathcodeNP_.
8363 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
8364 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
8365 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
8366 (__expm1l): Don't define prototype, the prototype is defined via
8367 bits/mathcalls.h.
8368 (exp): Likewise.
8369 (__expl): Likewise.
8370 (tan): Likewise.
8371 (atan2): Likewise.
8372 (__atan2l): Likewise.
8373 (fmod): Likewise.
8374 (pow): Likewise.
8375 (fabsf): Likewise.
8376 (fabsl): Likewise.
8377 (__fabsl): Likewise.
8378 (asin): Likewise.
8379 (acos): Likewise.
8380 (sinh): Likewise.
8381 (cosh): Likewise.
8382 (tanh): Likewise.
8383 (floor): Likewise.
8384 (ceil): Likewise.
8385 (expm1): Likewise.
8386 (log1p): Likewise.
8387 (asinh): Likewise.
8388 (acosh): Likewise.
8389 (atanh): Likewise.
8390 (hypot): Likewise.
8391 (logb): Likewise.
8392 (fma): Likewise.
8393 (drem): Likewise.
8394 (sqrt): Likewise.
8395 (__sqrtl): Likewise.
8396 (sin): Likewise.
8397 (cos): Likewise.
8398 (atan): Likewise.
8399 (log): Likewise.
8400 (log10): Likewise.
8401 (asinh): Likewise.
8402 (log2): Likewise.
8403 (rint): Likewise.
8404
8405 2000-03-28 Ulrich Drepper <drepper@redhat.com>
8406
8407 * Makerules: If make variable md5 is defined to yes after
8408 generating dependencies generate MD5 sum for the object.
8409
8410 * iconv/gconv_builtin.h: Fix length in transformation definition
8411 for UNICODEBIG.
8412
8413 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
8414
8415 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
8416 allow as well reading from/writing to unaligned addresses on machines
8417 which don't support this in hardware. Use FCTNAME macro to define
8418 function name. Include the file a second time for platforms which
8419 need special unaligned handling.
8420 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
8421 to access potentially unaligned addresses. These macros are intended
8422 to be used only outside the loops.
8423 (unaligned): New definition. In case the machine can handle unaligned
8424 access define as zero. Otherwise as a variable which is initialized
8425 as nonzero in case the buffer passed in at runtime is unaligned with
8426 respect to the character set encoding involved.
8427 Call aligned or unaligned looop functions according to unaligned
8428 variable.
8429 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
8430 of direct casting pointer to potentially handle unaligned memory
8431 accesses.
8432 * iconvdata/8bit-generic.c: Likewise.
8433 * iconvdata/ansi_x3.110.c: Likewise.
8434 * iconvdata/big5.c: Likewise.
8435 * iconvdata/euc-cn.c: Likewise.
8436 * iconvdata/euc-jp.c: Likewise.
8437 * iconvdata/euc-kr.c: Likewise.
8438 * iconvdata/euc-tw.c: Likewise.
8439 * iconvdata/gbk.c: Likewise.
8440 * iconvdata/iso-2022-cn.c: Likewise.
8441 * iconvdata/iso-2022-jp.c: Likewise.
8442 * iconvdata/iso-2022-kr.c: Likewise.
8443 * iconvdata/iso646.c: Likewise.
8444 * iconvdata/iso_6937-2.c: Likewise.
8445 * iconvdata/iso_6937.c: Likewise.
8446 * iconvdata/johab.c: Likewise.
8447 * iconvdata/sjis.c: Likewise.
8448 * iconvdata/t.61.c: Likewise.
8449 * iconvdata/uhc.c: Likewise.
8450 * iconvdata/unicode.c: Likewise.
8451 * iconvdata/utf-16.c: Likewise.
8452
8453 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8454 prototypes.
8455
8456 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8457 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8458 public.
8459 * malloc/mcheck.h (mcheck_check_all): Declare.
8460
8461 * stdio-common/Makefile (tests): Add tst-obprintf.
8462
8463 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8464
8465 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8466 Declare pthread_sigmask.
8467
8468 * csu/version.c: Add 2000 to copyright years.
8469 Remove Emacs local variables section.
8470
8471 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8472
8473 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8474 __gconv_transform_internal_ucs2little): Remove declarations.
8475 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8476 __gconv_transform_internal_ucs2): Never need to bswap_16.
8477 (__gconv_transform_ucs2reverse_internal,
8478 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8479
8480 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8481
8482 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8483 obsoleting version not being defined at all, in which case the
8484 result is always true.
8485
8486 * Makeconfig (preprocess-versions): New canned sequence for running
8487 cpp on shlib-versions and the like.
8488 (soversions.i): Use it.
8489 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8490 Versions.def and Versions files.
8491
8492 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8493
8494 * stdio-common/tst-obprintf.c (main): Add another check to see
8495 obstack_printf handling all possible beginnings of the block
8496 inside an obstack chunk.
8497
8498 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8499 install mcheck handler.
8500
8501 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8502 handling problem.
8503
8504 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8505
8506 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8507
8508 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8509 on [HAVE_ELF && DO_VERSIONING].
8510
8511 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8512
8513 * stdio-common/tst-obprintf.c: New file.
8514
8515 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8516
8517 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8518 _IO_OVERFLOW directly instead through __overflow.
8519
8520 * locale/programs/localedef.c (construct_output_path): If path
8521 contains a / compute the end of the directory name correctly.
8522
8523 * include/features.h: Undef and document __USE_XOPEN2K.
8524
8525 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8526 whenever a function is called. Initiated by calling mcheck_pedantic
8527 instead of mcheck.
8528 * malloc/mcheck.h: Declare mcheck_pedantic.
8529 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8530 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8531 for now.
8532
8533 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8534
8535 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8536 * dlfcn/dlopenold.c: Likewise.
8537 * nss/getXXbyYY_r.c: Likewise.
8538 * nss/getXXent_r.c: Likewise.
8539 * hurd/hurdinit.c: Likewise.
8540 * hurd/compat-20.c: Likewise.
8541 * libio/oldiofopen.c: Likewise.
8542 * libio/oldiofclose.c: Likewise.
8543 * libio/oldiofdopen.c: Likewise.
8544 * libio/oldfileops.c: Likewise.
8545 * libio/oldstdfiles.c: Likewise.
8546 * libio/oldiofsetpos.c: Likewise.
8547 * libio/oldiofgetpos.c: Likewise.
8548 * libio/oldiofgetpos64.c: Likewise.
8549 * libio/oldiofsetpos64.c: Likewise.
8550 * libio/oldiopopen.c: Likewise.
8551 * libio/oldpclose.c: Likewise.
8552 * libio/oldtmpfile.c: Likewise.
8553 * libio/freopen.c (freopen): Likewise.
8554 * libio/iofclose.c (_IO_new_fclose): Likewise.
8555
8556 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8557 (reboot): Declare it.
8558
8559 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8560
8561 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8562
8563 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8564
8565 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8566 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8567 We need this for the sbrk decl, which can be included without Unix98.
8568
8569 2000-03-20 Richard Henderson <rth@cygnus.com>
8570
8571 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8572 argument to yperr2nss is an int, not size_t.
8573 * posix/regex.c (print_partial_compiled_pattern): Cast all
8574 ptrdiff_t to long for printing.
8575 (print_compiled_pattern): Use Z for printing size_t.
8576 * posix/testfnm.c (tests): Avoid trigraphs.
8577 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8578 Use a C comment, not an assembly comment.
8579
8580 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8581 of __ASSUME_32BITUIDS.
8582
8583 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8584
8585 * libio/iofopncook.c: Remove K&R prototypes.
8586
8587 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8588
8589 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8590 an initial value of 1024 instead of RLIM_INFINITY.
8591
8592 * Versions.def (libmachuser, libhurduser): Remove these sections,
8593 since these libraries do not presently use symbol versions.
8594
8595 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8596 is RLIM_INFINITY, return -1 instead.
8597
8598 2000-03-24 Andreas Jaeger <aj@suse.de>
8599
8600 * Makefile (postclean): Added soversions.i.
8601
8602 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8603
8604 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8605 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8606 and _FPU_IEEE. Change _FPU_RESERVED.
8607
8608 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8609
8610 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8611
8612 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8613
8614 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8615 (gaih_inet): Remove unused duplicate variable.
8616
8617 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
8618 Don't use __libc_sa_len, which only exists for Linux. Just handle
8619 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
8620 only flavors supported by this function anyway.
8621
8622 2000-03-24 Geoff Clare <gwc@unisoft.com>
8623
8624 * stdlib/strfmon.c: Corrected problems with missing signs and
8625 missing or extra spaces; allow for sign strings longer than
8626 one character; add padding to ensure positive and negative
8627 formats are aligned when a left precision is used.
8628
8629 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8630
8631 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
8632 Patch by John Mizel <John.Mizel@msdw.com>.
8633
8634 2000-03-25 Ulrich Drepper <drepper@redhat.com>
8635
8636 * manual/install.texi: Remove references to crypt add-on.
8637
8638 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
8639
8640 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
8641 section while taking the _hurd_rlimit_lock.
8642 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8643
8644 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8645
8646 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
8647 using $(LN_S).
8648
8649 * sysdeps/mach/hurd/if_index.c: New file.
8650
8651 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
8652 * sysdeps/gnu/net/if.h: here.
8653 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
8654 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
8655 * sysdeps/generic/net/if.h: New file. Declares just the standard
8656 functions and `struct if_nameindex' type.
8657 * socket/Makefile (headers): Add net/if.h here.
8658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
8659 * sysdeps/mach/hurd/Dist: Remove it here.
8660 * sysdeps/unix/sysv/linux/Dist: And here.
8661 * sysdeps/generic/if_index.c: Include <net/if.h>.
8662
8663 2000-03-24 Andreas Jaeger <aj@suse.de>
8664
8665 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
8666 access relocated entries in l_info.
8667 (elf_machine_got_rel): Likewise.
8668 (elf_machine_runtime_setup): Likewise.
8669 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
8670 (elf_machine_runtime_setup): Likewise.
8671 (__dl_runtime_resolve): Likewise.
8672
8673 2000-03-23 Ulrich Drepper <drepper@redhat.com>
8674
8675 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
8676 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
8677 according to RFC 2553.
8678 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
8679 * inet/getnameinfo.c: Likewise.
8680 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8681
8682 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8683
8684 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
8685 Remove no-op pointer increment.
8686
8687 2000-03-23 Andreas Jaeger <aj@suse.de>
8688
8689 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
8690 follow change for libio.h from 2000-03-10.
8691
8692 2000-03-23 Andreas Jaeger <aj@suse.de>
8693
8694 * elf/dl-addr.c: Adjust include paths for ldsodefs location
8695 change.
8696 * elf/dl-debug.c: Likewise.
8697 * elf/dl-deps.c: Likewise.
8698 * elf/dl-error.c: Likewise.
8699 * elf/dl-fini.c: Likewise.
8700 * elf/dl-init.c: Likewise.
8701 * elf/dl-load.c: Likewise.
8702 * elf/dl-lookup.c: Likewise.
8703 * elf/dl-minimal.c: Likewise.
8704 * elf/dl-object.c: Likewise.
8705 * elf/dl-open.c: Likewise.
8706 * elf/dl-preinit.c: Likewise.
8707 * elf/dl-profile.c: Likewise.
8708 * elf/dl-profstub.c: Likewise.
8709 * elf/dl-reloc.c: Likewise.
8710 * elf/dl-runtime.c: Likewise.
8711 * elf/dl-support.c: Likewise.
8712 * elf/dl-symbol.c: Likewise.
8713 * elf/dl-version.c: Likewise.
8714 * elf/rtld.c: Likewise.
8715 * elf/sprof.c: Likewise.
8716 * sysdeps/generic/dl-cache.c: Likewise.
8717 * sysdeps/generic/dl-origin.c: Likewise.
8718 * sysdeps/generic/dl-sysdep.c: Likewise.
8719 * sysdeps/generic/elf/backtracesyms.c: Likewise.
8720 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8721 * sysdeps/generic/libc-start.c: Likewise.
8722 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8723 * sysdeps/powerpc/dl-machine.c: Likewise.
8724 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8727 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
8728
8729 * elf/ldsodefs.h: Move file to ...
8730 * sysdeps/generic/ldsodefs.h: ... here.
8731
8732 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
8733
8734 * sysdeps/mips/elf/ldsodefs.h: New file.
8735
8736 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
8737 entries in l_info.
8738 (_dl_check_map_versions): Likewise.
8739 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8740 * elf/dl-load.c (_dl_init_paths): Likewise.
8741 (_dl_map_object): Likewise.
8742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
8743 (elf_get_dynamic_info): Likewise.
8744 * elf/do-lookup.h (FCT): Likewise.
8745 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8746 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8747 * elf/dl-addr.c (_dl_addr): Likewise.
8748 * elf/dl-runtime.c (profile_fixup): Likewise.
8749 (fixup): Likewise.
8750 * elf/dl-init.c (_dl_init_next): Likewise.
8751 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
8752 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8753 (DISTINGUISH_LIB_VERSIONS): Likewise.
8754 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
8755 (elf_machine_rel): Likewise.
8756
8757 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
8758 for writable dynamic section.
8759
8760 2000-03-22 Ulrich Drepper <drepper@redhat.com>
8761
8762 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
8763 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8764
8765 2000-03-22 Andreas Jaeger <aj@suse.de>
8766
8767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
8768 from latest Linux kernel.
8769
8770 2000-03-21 Andreas Jaeger <aj@suse.de>
8771
8772 * Versions.def: Add version 2.1.4.
8773
8774 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8775
8776 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
8777 * libio/oldiofopen.c: Likewise.
8778 * libio/oldiofclose.c: Likewise.
8779 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8780
8781 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
8782
8783 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
8784 indicating the first version set to obsolete the conditionalized code.
8785 (compat_symbol): New macro.
8786 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
8787 rhs be the ABI_* macro for the subsuming version. Assign increasing
8788 integer values to the ABI_* macros for supported versions.
8789 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
8790 compat_symbol macro.
8791
8792 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8793
8794 * nscd/connections.c (nscd_run): Pretty print.
8795 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
8796
8797 * manual/charset.texi: Fix typos. Rephrase.
8798 * manual/process.texi: Likewise.
8799 * manual/signal.texi: Likewise.
8800 Patches by Mike Coleman <mkc@kc.net>.
8801
8802 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
8803 versions.
8804 * libio/iofdopen.c: Likewise.
8805 * libio/iofgetpos.c: Likewise.
8806 * libio/iofgetpos64.c: Likewise.
8807 * libio/iofopen.c: Likewise.
8808 * libio/iofsetpos.c: Likewise.
8809 * libio/iofsetpos64.c: Likewise.
8810 * libio/iopopen.c: Likewise.
8811 * libio/oldiofopen.c: Likewise.
8812 * libio/pclose.c: Likewise.
8813 * sysdeps/gnu/siglist.c: Likewise.
8814 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8815
8816 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
8817 chance to expand VERSION_##lib##_##version.
8818
8819 * libio/fileops.c: Use new macros from shlib-compat.h to define
8820 versions.
8821 * libio/iofclose.c: Likewise.
8822 * libio/oldiofclose.c: Likewise.
8823 Patch by Roland McGrath <roland@frob.com>.
8824
8825 2000-03-21 Jakub Jelinek <jakub@redhat.com>
8826
8827 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
8828 Lay out struct sigcontext according to what really gets passed on
8829 the stack.
8830 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
8831 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
8832 (prgregset_t, prfpregset_t): Define to elf_* types.
8833 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
8834 Define to correct value.
8835 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
8836 sigcontext.
8837 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
8838
8839 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
8840
8841 * scripts/firstversions.awk: Allow multiple version sets in the
8842 "earliest version" specification, meaning that version sets in the
8843 gaps between listed versions should be folded into the earliest later
8844 version that is explicitly listed.
8845 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
8846 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
8847
8848 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8849
8850 * iconv/gconv_builtin.c: Include <endian.h>.
8851 * iconv/gconv_builtin.h: Add UCS-BE aliases.
8852 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
8853 according to current platform.
8854 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
8855 __gconv_transform_internal_ucs2reverse, and
8856 __gconv_transform_internal_ucs4le.
8857 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
8858 __gconv_transform_ucs2reverse_internal and
8859 __gconv_transform_internal_ucs2reverse.
8860 * iconvdata/Makefile (modules): Add UNICODE.
8861 (distribute): Add unicode.c.
8862 * iconvdata/gconv-modules: Add definitions for UNICODE module.
8863 * iconvdata/unicode.c: New file.
8864
8865 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
8866 determine byte order of input and convert accordingly.
8867
8868 * iconvdata/utf-16.c (gconv_init): Fix typo.
8869
8870 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8871
8872 * iconvdata/gconv-modules: Fix typo.
8873
8874 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
8875 more messages.
8876
8877 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
8878
8879 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8880
8881 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
8882
8883 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8884
8885 * misc/Makefile (routines): Add mincore.
8886
8887 2000-03-20 Andreas Jaeger <aj@suse.de>
8888
8889 * sysdeps/generic/mincore.c: New stub file.
8890
8891 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
8892 from latest Linux kernel.
8893
8894 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8895
8896 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
8897 _SC_GETPW_R_SIZE_MAX.
8898
8899 2000-03-20 Richard Henderson <rth@cygnus.com>
8900
8901 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
8902 in GLIBC_2.1.4.
8903
8904 2000-03-20 Richard Henderson <rth@cygnus.com>
8905
8906 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
8907 of arithmetic instructions.
8908
8909 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
8910 with the fpcr. Protect from INV exception.
8911 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
8912 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
8913 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
8914
8915 * sysdeps/alpha/fpu/s_copysign.c: New.
8916 * sysdeps/alpha/fpu/s_copysignf.c: New.
8917 * sysdeps/alpha/fpu/s_fabs.c: New.
8918 * sysdeps/alpha/fpu/s_fabsf.c: New.
8919 * sysdeps/alpha/fpu/s_rint.c: New.
8920 * sysdeps/alpha/fpu/s_rintf.c: New.
8921
8922 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
8923
8924 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8925 Kill sethae.
8926 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
8927 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
8928 Use physical addresses not KSEG addresses.
8929 (io_system): Add PYXIS.
8930 (io): Remove hae.reg, sys, hae_shift.
8931 (stb_mb, stw_mb, stl_mb, __sethae): New.
8932 (inline_outb, inline_outw, inline_outl): Don't set hae.
8933 (inline_inb, inline_inw, inline_inl): Likewise.
8934 (dense_sethae): New null function.
8935 (struct cpuinfo_data): New.
8936 (process_cpuinfo): Use local and stack variables, not static.
8937 Move readlink check here from init_iosys.
8938 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
8939 (_iopl): Simplify.
8940 (_hae_shift): Calculate it here.
8941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
8942 add pciconfig_iobase.
8943
8944 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
8945
8946 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
8947 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
8948
8949 * scripts/versions.awk: Fixed version renaming code to distinguish
8950 libraries properly.
8951
8952 2000-03-19 Ulrich Drepper <drepper@redhat.com>
8953
8954 * include/stdlib.h: Add prototype for __cxa_atexit.
8955
8956 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
8957 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
8958
8959 2000-03-17 Cristian Gafton <gafton@redhat.com>
8960
8961 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
8962 existing rtld-installed-name.
8963 ($(rtld-installed-name)): Request libc-$(version) be installed too.
8964 replace existing rtld-installed-name using $(symbolic-link-prog).
8965
8966 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8967
8968 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
8969 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
8970 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
8971 but not the former.
8972
8973 2000-03-19 Ulrich Drepper <drepper@redhat.com>
8974
8975 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
8976 glob64. Since there is no glob64 in the LFS proposal applications
8977 can assume that glob handles LFS situations. glob64 is only needed
8978 if alternative filesystem functions are used.
8979
8980 2000-03-19 Geoff Clare <gwc@unisoft.com>
8981
8982 * sysdeps/generic/glob.c: Correct gl_pathc value returned
8983 when GLOB_DOOFFS is set; correct handling of patterns
8984 containing escaped wildcards (and no unescaped ones);
8985 GLOB_ERR flag was being ignored in some situations.
8986
8987 * posix/globtest.c, posix/globtest.sh: Updated to include
8988 tests for the problems fixed by the above changes to glob.c.
8989
8990 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
8991
8992 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
8993
8994 * Makeconfig (soversion.i): Use only first match for each lib.
8995
8996 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
8997
8998 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
8999 rather than $(sysd-dirs-done) to protect these rules.
9000
9001 * Makerules (version-renames.def): Target removed.
9002 (Versions.all): Depend on soversions.i directly and parse it.
9003
9004 * Makeconfig (soversions.i): New target, input-reading parts of
9005 soversions.mk generation moved here; result is a canonicalized
9006 list "LIB VERSION [SET]" for this configuration.
9007 (soversions.mk): Use that as input. Don't emit map-firstversions.
9008 * Makerules (version-renames.def): New target, generated from
9009 soversions.i with contents that was in $(map-firstversions).
9010 (Versions.all): Don't depend on soversions.mk, depend on
9011 version-renames.def instead; just cat it into the input.
9012
9013 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
9014 for $(map-firstversions), which better handles it being empty.
9015
9016 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
9017 supported version for libc 0.2.90.libio to GLIBC_2.2.
9018
9019 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
9020 and use it to emit new variable `map-firstversions'.
9021 * scripts/firstversions.awk: New file.
9022 * Makerules (Versions.all): Use scripts/firstversions.awk and
9023 the $(map-firstversions) value to generate a modified versions list
9024 that includes renames in "A = B" syntax for each version set earlier
9025 than the "earliest symbol version" named in shlib-versions.
9026 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
9027 rename version set A to B in the output to the intermediate file.
9028 * scripts/abi-versions.awk: New file.
9029 * Makerules (abi-versions.h): New target, generated by that script.
9030 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
9031 * include/shlib-compat.h: New file, uses that generated header.
9032
9033 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
9034
9035 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
9036 after stripping # comments, and then run it through cpp.
9037 This allows things like "%ifdef FOO" based on config.h settings.
9038 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
9039
9040 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
9041 and other errors that indicate a pseudo-receive happened, grok through
9042 the message buffer for port rights that need references fixed up.
9043
9044 2000-03-16 Andreas Jaeger <aj@suse.de>
9045
9046 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
9047
9048 * sysdeps/unix/sysv/linux/madvise.c: Remove.
9049
9050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
9051 from latest Linux kernel.
9052 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
9053
9054 * misc/sys/mman.h: Add prototype for mincore.
9055
9056 2000-03-17 Ulrich Drepper <drepper@redhat.com>
9057
9058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
9059 entry for GLIBC_2.0 version of setrlimit.
9060 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9061
9062 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9063
9064 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
9065 * nis/nss_compat/compat-initgroups.c: Likewise.
9066 * nis/nss_nis/nis-initgroups.c: Likewise.
9067 * nis/nss_nis/nis-netgrp.c: Likewise.
9068 * nis/nss_nis/nis-proto.c: Likewise.
9069 * nis/nss_nis/nis-rpc.c: Likewise.
9070 * nis/nss_nis/nis-service.c: Likewise.
9071 * nis/ypclnt.c: Likewise.
9072
9073 2000-03-16 Andreas Jaeger <aj@suse.de>
9074
9075 * manual/Makefile: MAKEINFO is set to `:' from configure if it
9076 doesn't exist, correct checks. Fixes PR libc/1649.
9077
9078 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9079
9080 * nscd/hstcache.c: Restore correct UID.
9081 * nscd/pwdcache.c: Likewise.
9082 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
9083
9084 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9085
9086 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
9087 macros for register names, in line with 2000-03-14 linux change.
9088
9089 * sysdeps/mach/sched_yield.c: New file.
9090
9091 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
9092
9093 * sysdeps/generic/lockfile.c: Include <stdio.h>
9094 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
9095 case <libio.h> defined them.
9096 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
9097 from __internal_*.
9098 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
9099 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
9100
9101 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
9102 for more pleasing parse error.
9103
9104 2000-03-16 Ulrich Drepper <drepper@redhat.com>
9105
9106 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
9107 memory for eras.
9108 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9109
9110 * elf/Makefile: Add rules to compile and run constload1 test.
9111 * elf/constload1.c: New file.
9112 * elf/constload2.c: New file.
9113 * elf/constload3.c: New file.
9114
9115 2000-03-15 Ulrich Drepper <drepper@redhat.com>
9116
9117 * sysdeps/posix/open64.c: Make __open64 weak alias.
9118 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
9119 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9120 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9121 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9122 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9123 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
9124 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9125 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9126 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9128
9129 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9130
9131 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
9132 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
9133
9134 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9135
9136 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9137 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9138
9139 2000-03-08 Andreas Jaeger <aj@suse.de>
9140
9141 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
9142
9143 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9144
9145 * timezone/africa: Update from tzdata2000d.
9146 * timezone/asia: Likewise.
9147 * timezone/australasia: Likewise.
9148 * timezone/europe: Likewise.
9149 * timezone/northamerica: Likewise.
9150 * timezone/southamerica: Likewise.
9151
9152 * po/fr.po: Update from translation team.
9153 * po/de.po: Likewise.
9154
9155 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
9156 last parameter. Move code to add map to global scope from here...
9157 * elf/dl-open.c (dl_open_worker): ...here.
9158 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
9159 * elf/rtld.c: Adjust call to _dl_map_object_deps.
9160
9161 * locale/programs/ld-collate.c (collate_read): Fix warning.
9162
9163 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
9164 values and macros for register names.
9165
9166 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
9167 returned by seek cookie function is -1.
9168
9169 2000-03-14 Andreas Jaeger <aj@suse.de>
9170
9171 * locale/localeconv.c (localeconv): Fix typo.
9172 Reported by Andre Charbonneau <andrec@corel.com>.
9173
9174 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9175
9176 * iconv/skeleton.c: Increment __invocation_counter in inner loop
9177 since modules depend on it counting the number of times the conversion
9178 function got called.
9179
9180 * iconv/gconv_open.c: Optimize loop to setup step data structure.
9181
9182 * iconv/gconv.h: Pretty print.
9183
9184 2000-03-04 Ulrich Drepper <drepper@redhat.com>
9185
9186 * posix/wordexp-test.c: Correct one of the tests added in the last
9187 change. Really get the root passwd entry to check again ~root.
9188
9189 2000-03-10 Andreas Jaeger <aj@suse.de>
9190
9191 * manual/filesys.texi (Working Directory): Fix last patch.
9192 Patch by Martin Buchholz <martin@xemacs.org>.
9193
9194 2000-03-10 Andreas Jaeger <aj@suse.de>
9195
9196 * manual/creature.texi (Feature Test Macros): Fix language.
9197
9198 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
9199
9200 * mach/devstream.c (devstream_write, devstream_read): New functions.
9201 (input, output): Functions removed.
9202 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
9203 using only the vanilla fopencookie interface.
9204
9205 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
9206 as macro for __io_functions.
9207 (funcsio): Use cookie_io_functions_t type name.
9208 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
9209
9210 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
9211 fopencookie.
9212 (fopencookie): Use it.
9213 * libio/libio.h: Declare _IO_cookie_init.
9214 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
9215 _IO_cookie_init.
9216
9217 * libio/libio.h (__io_seek_fn): Fix second argument type
9218 to be a pointer, in line with the manual and the old stdio.
9219 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
9220
9221 * sysdeps/generic/bits/stdio-lock.h: New file.
9222 This is a stub with #error, but that's better than no file at all.
9223
9224 2000-03-09 Martin Buchholz <martin@xemacs.org>
9225
9226 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
9227 * manual/message.texi (Using gettextized software): Doc Fixes.
9228 * manual/message.texi (Message Translation): Doc Fixes.
9229 * manual/filesys.texi (File Size): Doc Fixes.
9230 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
9231 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
9232 * iconv/gconv_db.c (find_derivation): Doc Fixes.
9233 * manual/install.texi: Doc Fixes.
9234 * manual/search.texi (Hash Search Function): Doc Fixes.
9235 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
9236 * FAQ.in: Doc Fixes.
9237 * config.h.in: Doc Fixes.
9238 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
9239 Doc Fixes. `allows to' is not correct English.
9240
9241 * elf/rtld.c: Doc fixes.
9242 * manual/creature.texi (Feature Test Macros): Doc fixes.
9243 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
9244
9245 * manual/filesys.texi (Working Directory): Check for ERANGE to
9246 avoid infloop.
9247
9248 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9249
9250 * string/argz-stringify.c (__argz_stringify): Fix loop termination
9251 conditions so as not to clobber the final '\0' when there is only one
9252 element in the vector.
9253
9254 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9255
9256 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
9257 broken by 2000-02-27 change.
9258
9259 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
9260
9261 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9262
9263 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
9264 argument type, for 2000-02-22 change in signal/signal.h declaration.
9265
9266 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9267
9268 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
9269 to getdirentries64 (no __), since the Linux implementation
9270 has no __ name, and there is no declaration for the __ name.
9271
9272 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
9273
9274 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
9275 sed regexp so as not to break directory names including /../ within.
9276
9277 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
9278 The sysdeps/generic file is right for BSD. This file was in fact the
9279 Hurd file, but the only difference was the WNOREAP flag that was never
9280 actually implemented or used anywhere.
9281
9282 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
9283 since AC_PATH_PROG already does it for us.
9284 (PERL): Rewrite check added in 2000-02-29 change for syntactic
9285 correctness and sh portability. I replaced the broken check
9286 with a more sensible implementation of the apparently intended
9287 semantics, which might still be questionable. Using expr causes
9288 a non-numeric value for `perl -V:apiversion` to be accepted,
9289 refusing to use only a perl that reports a number less than 5;
9290 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
9291 * configure: Regenerated.
9292
9293 2000-03-08 Andreas Jaeger <aj@suse.de>
9294
9295 * manual/crypt.texi: Fix paths.
9296
9297 2000-03-07 Andreas Jaeger <aj@suse.de>
9298
9299 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
9300 were swapped.
9301 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
9302 libc/1636.
9303
9304 2000-03-06 Andreas Jaeger <aj@suse.de>
9305
9306 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
9307 in __sgn1l, otherwise g++ fails to parse this.
9308 Reported by Sean Chen <sean.chen@turbolinux.com>.
9309
9310 2000-03-03 Geoff Keating <geoffk@cygnus.com>
9311
9312 * configure.in: Compute sizeof-long-double.
9313 * configure: Regenerated.
9314 * config.make.in: Make sizeof-long-double available to sub-makes.
9315
9316 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
9317
9318 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9319 call.
9320
9321 2000-03-03 Geoff Keating <geoffk@cygnus.com>
9322
9323 * Makeconfig (rpath-dirs): Add crypt.
9324 (all-subdirs): Remove md5crypt.
9325 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
9326 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
9327 * sysdeps/generic/crypt-entry.c: Delete.
9328 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
9329 * sysdeps/generic/crypt.h: Delete.
9330 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
9331 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
9332 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
9333 * sysdeps/generic/des_impl.c: Delete.
9334 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
9335 * crypt/sysdeps: Delete.
9336 * crypt/crypt_util.c: Don't use `patchlevel.h'.
9337 * md5-crypt/Versions: Move to crypt/.
9338 * md5-crypt/md5-crypt.c: Move to crypt/.
9339 * md5-crypt/md5.c: Move to crypt/.
9340 * md5-crypt/md5c-test.c: Move to crypt/.
9341 * md5-crypt/md5test.c: Move to crypt/.
9342 * md5-crypt: Delete.
9343 * crypt/Makefile: Adjust for new structure.
9344
9345 2000-03-03 Paul Eggert <eggert@twinsun.com>
9346
9347 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
9348 define to 1 if not defined.
9349
9350 2000-03-03 Andreas Jaeger <aj@suse.de>
9351
9352 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
9353
9354 2000-03-03 Andreas Jaeger <aj@suse.de>
9355
9356 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
9357 cases.
9358 (xdr_int64_t): Correctly handle lower half.
9359 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
9360
9361 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
9362
9363 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9364 call.
9365
9366 2000-03-02 Andreas Jaeger <aj@suse.de>
9367
9368 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
9369 2.3.43.
9370
9371 2000-03-02 Andreas Jaeger <aj@suse.de>
9372
9373 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
9374
9375 2000-03-01 Andreas Jaeger <aj@suse.de>
9376
9377 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
9378 (tests): Added tst-getdate.
9379
9380 * time/tst-getdate.c: New file.
9381
9382 * time/datemsk: New file, needed for tst-getdate.
9383
9384 2000-02-29 Cristian Gafton <gafton@redhat.com>
9385
9386 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
9387
9388 2000-02-17 H.J. Lu <hjl@gnu.org>
9389
9390 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
9391
9392 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
9393 available.
9394 (svcudp_recv): Set up message with the new "xp_pad" field for
9395 IP_PKTINFO.
9396 (svcudp_reply): Support IP_PKTINFO if available.
9397
9398 2000-03-01 Andreas Jaeger <aj@suse.de>
9399
9400 * time/getdate.c (check_mday): Fix check for february.
9401 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
9402 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
9403
9404 2000-03-02 Andreas Jaeger <aj@suse.de>
9405
9406 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
9407 g++ fails to parse this.
9408 Reported by Sean Chen <sean.chen@turbolinux.com>.
9409
9410 2000-02-28 Ulrich Drepper <drepper@redhat.com>
9411
9412 * io/creat.c: Moved to...
9413 * sysdeps/generic/creat.c: ...here.
9414 * io/creat64.c: Moved to...
9415 * sysdeps/generic/creat64.c: ...here.
9416 * io/lockf.c: Moved to...
9417 * sysdeps/generic/lockf.c: ...here.
9418
9419 * crypt/crypt.texi: Moved to...
9420 * manual/crypt.texi: ...here.
9421 * crypt/examples/genpass.c: Moved to...
9422 * manual/examples/genpass.c: ...here.
9423 * crypt/examples/mygenpass.c: Moved to...
9424 * manual/examples/mygenpass.c: ...here.
9425 * crypt/examples/testpass.c: Moved to...
9426 * manual/examples/testpass.c: ...here.
9427
9428 * manual/Makefile (chapters): Add crypt.
9429 * manual/conf.texi: Add usual header for not-last chapter.
9430 * manual/crypt.texi: Add special header for last chapter.
9431
9432 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9433
9434 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9435 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9436 complain if there is no crypt add-on.
9437 * crypt/configure: Removed.
9438
9439 * crypt/crypt.texi: Update documentation of US export restrictions
9440 to match the 14 Jan 2000 regulations.
9441
9442 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9443
9444 * crypt: New subdirectory, merged in from the crypt add-on.
9445
9446 2000-02-28 Ulrich Drepper <drepper@redhat.com>
9447
9448 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9449
9450
9451 See ChangeLog.10 for earlier changes.
This page took 0.469961 seconds and 5 git commands to generate.