1 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3 * manual/intro.texi: Change reference from System Information to
5 * manual/users.texi: Likewise.
6 * manual/conf.texi: Likewise.
7 * manual/sysinfo.texi: Document mount, umount, and umount2.
8 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10 2000-04-17 Jakub Jelinek <jakub@redhat.com>
12 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
13 Create wnumstr as well as numstr to support wide character output
16 2000-04-15 Jakub Jelinek <jakub@redhat.com>
18 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
19 modification and move it...
20 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
21 Add -melf64_sparc switch to $(LD) on sparc64-linux.
22 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
23 switch to $(LD) on sparc-linux.
25 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
27 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
28 and setresuid frm sysdep_routines.
30 2000-04-17 Ulrich Drepper <drepper@redhat.com>
32 * manual/Makefile (chapters): Add resource.
34 * manual/time.texi: Move section on resources to...
35 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
37 * manual/setjmp.texi: Adjust back reference.
38 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
40 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
42 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
43 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
44 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
45 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
46 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
47 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
48 * sysdeps/unix/sysv/aix/close.c: Add copyright.
49 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
50 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
51 * sysdeps/unix/sysv/aix/access.c: Add copyright.
52 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
53 * sysdeps/unix/sysv/aix/Implies: New file.
54 * sysdeps/unix/sysv/aix/Versions: New file.
55 * sysdeps/unix/sysv/aix/bind.c: New file.
56 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
57 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
58 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
59 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
60 * sysdeps/unix/sysv/aix/chdir.c: New file.
61 * sysdeps/unix/sysv/aix/chmod.c: New file.
62 * sysdeps/unix/sysv/aix/chroot.c: New file.
63 * sysdeps/unix/sysv/aix/creat.c: New file.
64 * sysdeps/unix/sysv/aix/dl-close.c: New file.
65 * sysdeps/unix/sysv/aix/dl-open.c: New file.
66 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
67 * sysdeps/unix/sysv/aix/fchdir.c: New file.
68 * sysdeps/unix/sysv/aix/fchmod.c: New file.
69 * sysdeps/unix/sysv/aix/getgroups.c: New file.
70 * sysdeps/unix/sysv/aix/gethostname.c: New file.
71 * sysdeps/unix/sysv/aix/getpriority.c: New file.
72 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
73 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
74 * sysdeps/unix/sysv/aix/getrusage.c: New file.
75 * sysdeps/unix/sysv/aix/link.c: New file.
76 * sysdeps/unix/sysv/aix/madvise.c: New file.
77 * sysdeps/unix/sysv/aix/mkdir.c: New file.
78 * sysdeps/unix/sysv/aix/mknod.c: New file.
79 * sysdeps/unix/sysv/aix/mprotect.c: New file.
80 * sysdeps/unix/sysv/aix/msgctl.c: New file.
81 * sysdeps/unix/sysv/aix/msgget.c: New file.
82 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
84 2000-04-17 Andreas Jaeger <aj@suse.de>
86 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
87 as suggested by Ulrich Drepper.
88 (__dl_runtime_resolve): Remove unused variable, initialize sym
90 (RTLD_START): Document OFFSET_GP_GOT.
91 (OFFSET_GP_GOT): New magic value.
92 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
93 (elf_machine_got_rel): Only declare strtab if needed.
94 (elf_machine_relplt): Removed, it's not needed.
95 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
97 * sysdeps/mips/add_n.S: Add newline at EOF.
98 * sysdeps/mips/rshift.S: Likewise.
99 * sysdeps/mips/mul_1.S: Likewise.
100 * sysdeps/mips/lshift.S: Likewise.
101 * sysdeps/mips/addmul_1.S: Likewise.
103 2000-04-17 Ulrich Drepper <drepper@redhat.com>
105 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
107 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
108 * elf/dl-lookup.c: Likewise.
109 * elf/dl-init.c (_dl_init): Likewise.
110 * elf/dl-fini.c (_dl_fini): Likewise.
111 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
112 * elf/dl-close.c (_dl_close): Likewise.
113 * elf/rtld.c (_dl_start_final): Likewise.
115 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
117 2000-04-15 Ulrich Drepper <drepper@redhat.com>
119 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
120 only fall back on using Linux.
122 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
123 Before testing versions check that we actually loaded the object
124 and whether we are in trace mode. If not loaded during tracing don't
125 test versions in this object.
126 (_dl_check_all_versions): Take new parameter and pass to
127 _dl_check_map_versions.
128 * sysdeps/generic/ldsodefs.h: Update prototypes for
129 _dl_check_all_versions and _dl_check_map_versions.
130 * elf/rtld.c (struct version_check_args): Add dotrace.
131 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
132 (dl_main): Pass info about trace mode to version_check_doit.
133 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
134 _dl_check_all_versions.
136 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
138 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
140 * manual/argp.texi: Document index parameter of argp_parse.
142 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
144 2000-04-14 Andreas Jaeger <aj@suse.de>
146 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
147 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
149 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
151 2000-04-15 Ulrich Drepper <drepper@redhat.com>
153 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
154 compat_symbol call for old adjtime.
156 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
157 function interface. Patch by Richard Henderson <rth@cygnus.com>.
159 * posix/Makefile (headers): Add spawn.h.
160 (distribute): Add spawn_int.h.
161 (routines): Add spawn_faction_init, spawn_faction_destroy,
162 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
163 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
164 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
165 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
166 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
167 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
168 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
169 posix_spawnattr_init, posix_spawnattr_destroy,
170 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
171 posix_spawnattr_getflags, posix_spawnattr_setflags,
172 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
174 * posix/spawn.c: New file.
175 * posix/spawn.h: New file.
176 * posix/spawn_faction_addclose.c: New file.
177 * posix/spawn_faction_adddup2.c: New file.
178 * posix/spawn_faction_addopen.c: New file.
179 * posix/spawn_faction_destroy.c: New file.
180 * posix/spawn_faction_init.c: New file.
181 * posix/spawn_int.h: New file.
182 * posix/spawnattr_destroy.c: New file.
183 * posix/spawnattr_getdefault.c: New file.
184 * posix/spawnattr_getflags.c: New file.
185 * posix/spawnattr_getpgroup.c: New file.
186 * posix/spawnattr_getschedparam.c: New file.
187 * posix/spawnattr_getschedpolicy.c: New file.
188 * posix/spawnattr_getsigmask.c: New file.
189 * posix/spawnattr_init.c: New file.
190 * posix/spawnattr_setdefault.c: New file.
191 * posix/spawnattr_setflags.c: New file.
192 * posix/spawnattr_setpgroup.c: New file.
193 * posix/spawnattr_setschedparam.c: New file.
194 * posix/spawnattr_setschedpolicy.c: New file.
195 * posix/spawnattr_setsigmask.c: New file.
196 * posix/spawni.c: New file.
197 * posix/spawnp.c: New file.
199 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
200 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
202 2000-04-14 Ulrich Drepper <drepper@redhat.com>
204 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
205 * malloc/malloc.c: Implement posix_memalign for glibc.
206 * include/stdlib.h: Add prototype for __posix_memalign.
207 * stdlib/stdlib.h: Add prototype for posix_memalign.
209 2000-04-14 Andreas Jaeger <aj@suse.de>
211 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
213 (elf_machine_got_rel): Cast sym correctly.
215 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
216 * sysdeps/mips/addmul_1.S: Likewise.
217 * sysdeps/mips/lshift.S: Likewise.
218 * sysdeps/mips/mul_1.S: Likewise.
219 * sysdeps/mips/rshift.S: Likewise.
220 * sysdeps/mips/sub_n.S: Likewise.
221 * sysdeps/mips/submul_1.S: Likewise.
223 * stdlib/stdlib.h: Fix typo in comment.
225 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
226 2.2 for libdl, ld and libm.
228 * sysdeps/generic/madvise.c: Fix typos.
230 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
232 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
234 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
237 2000-04-14 Ulrich Drepper <drepper@redhat.com>
239 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
240 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
241 Make old name weak alias.
242 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
243 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
244 Make old name weak alias.
245 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
247 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
248 posix_fallocate, and posix_fallocate64.
249 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
250 posix_fallocate, and posix_fallocate64.
251 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
252 posix_fallocate, and posix_fallocate64.
253 * sysdeps/generic/fadvise.c: New file.
254 * sysdeps/generic/fadvise64.c: New file.
255 * sysdeps/generic/fallocate.c: New file.
256 * sysdeps/generic/fallocate64.c: New file.
257 * sysdeps/posix/fallocate.c: New file.
258 * sysdeps/posix/fallocate64.c: New file.
259 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
260 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
261 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
262 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
263 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
264 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
265 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
266 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
269 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
270 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
272 2000-04-13 Ulrich Drepper <drepper@redhat.com>
274 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
275 * misc/sys/mman.h (posix_madvise): Add prototype.
276 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
277 old name and posix_madvise weak aliases.
278 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
279 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
280 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
281 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
282 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
286 2000-04-13 Andreas Jaeger <aj@suse.de>
288 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
290 (elf_machine_got_rel): Only add runtime display if needed.
291 (elf_machine_got_rel): Handle symbol versioning.
293 2000-04-13 Andreas Jaeger <aj@suse.de>
295 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
297 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
300 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
301 with some applications.
302 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
304 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
305 * sysdeps/mips/bsd-_setjmp.S: Likewise.
306 * sysdeps/mips/setjmp.S: Likewise.
308 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
310 2000-04-13 Ulrich Drepper <drepper@redhat.com>
312 * posix/globtest.sh: Work around inconsistency with expanding ~/
313 in shell (PR libc/1690). Reported by patsmith@pobox.com.
315 2000-04-12 Ulrich Drepper <drepper@redhat.com>
317 * posix/getconf.c: Add support for many more POSIX options.
318 * sysdeps/posix/sysconf.c: Likewise.
319 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
320 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
322 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
323 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
324 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
325 CLOCK_THREAD_CPUTIME_ID.
326 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
327 CLOCK_PROCESS_CPUTIME_ID.
328 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
329 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
330 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
331 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
333 * malloc/Makefile (tests): Add tst-calloc.
334 * malloc/tst-calloc.c: New file.
336 * sysdeps/arm/libm-test-ulps: New file.
338 * malloc/malloc.c: Undo all of today's changes.
340 * locale/programs/locale.c (show_info): Don't try to look into
341 data for LC_ALL (there is none).
343 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
344 avoid writing over boundary.
345 Patch by Greg McGary <gkm@eng.ascend.com>.
347 * sysdeps/arm/memprof.h: New file.
349 2000-04-12 Andreas Jaeger <aj@suse.de>
351 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
353 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
354 for memmem declaration.
356 2000-04-12 Ulrich Drepper <drepper@redhat.com>
358 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
360 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
362 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
364 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
365 Patch by Bart Veer <bartv@redhat.com>.
367 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
370 2000-04-11 Andreas Jaeger <aj@suse.de>
372 * sysdeps/mips/dl-machine.h: Update some comments.
373 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
375 2000-04-11 Ulrich Drepper <drepper@redhat.com>
377 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
378 _POSIX_SHARED_MEMORY_OBJECTS.
380 * rt/Makefile (tests): Add tst-shm.
381 Add rules to generate tst-shm.
382 * rt/tst-shm.c: New file.
384 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
387 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
388 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
389 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
390 * sysdeps/generic/shm_open.c: New file.
391 * sysdeps/generic/shm_unlink.c: New file.
392 * sysdeps/unix/sysv/linux/shm_open.c: New file.
393 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
394 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
395 __endmntent, __getmntent_r, __setmntent, and __statfs.
397 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
398 fragmentation by allocating new memory at the end instead of
401 * posix/globtest.sh: Fix last change.
403 2000-04-10 Philip Blundell <philb@gnu.org>
405 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
406 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
407 IPV6_DROP_MEMBERSHIP.
408 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
411 2000-04-11 Ulrich Drepper <drepper@redhat.com>
413 * elf/readlib (process_file): Close streams in case of an error.
415 2000-04-09 Andreas Jaeger <aj@suse.de>
417 * elf/readlib.c (process_file): Check if file is big enough to
418 contain aout and ELF headers.
419 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
421 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
423 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
425 2000-04-11 Ulrich Drepper <drepper@redhat.com>
427 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
429 * rt/Makefile (tests): Add tst-clock.
430 Add rules to build tst-clock.
431 * rt/tst-clock.c: New file.
432 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
433 about initialization of nsec.
434 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
435 about initialization of freq. Set retval to zero if successful.
436 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
438 2000-04-10 Ulrich Drepper <drepper@redhat.com>
440 * Versions.def (librt): Add GLIBC_2.2.
441 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
442 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
443 timer_getoverr, timer_gettime, and timer_settime.
444 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
445 clock_settime, timer_create, timer_delete, timer_getoverrun,
446 timer_gettime, and timer_settime.
447 * sysdeps/generic/clock_getcpuclockid.c: New file.
448 * sysdeps/generic/get_clockfreq.c: New file.
449 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
450 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
451 * sysdeps/mach/hurd/i386/bits/time.h: New file.
452 * sysdeps/unix/i386/i586/clock_getres.c: New file.
453 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
454 * sysdeps/unix/i386/i686/Implies: New file.
455 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
456 * time/Makefile (routines): Move clock_getres, clock_gettime,
457 clock_settime, timer_create, timer_delete, timer_getoverr,
458 timer_gettime, and timer_settime to rt/Makefile.
459 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
460 clock_settime, timer_create, timer_delete, timer_getoverrun,
461 timer_gettime, and timer_settime.
462 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
464 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
465 and not const as attribute name.
467 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
469 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
471 2000-04-10 Andreas Schwab <schwab@suse.de>
473 * posix/globtest.sh: Skip tests that depend on unreadable
474 directories if run as root.
476 2000-04-10 Ulrich Drepper <drepper@redhat.com>
478 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
479 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
481 2000-04-09 Ulrich Drepper <drepper@redhat.com>
483 * sysdeps/unix/clock_gettime.c: New file.
484 * sysdeps/unix/clock_settime.c: New file.
485 * sysdeps/posix/clock_getres.c: New file.
487 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
489 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
490 lseek call be passing in a buffer which never allow a successful
491 first getdents syscall if not at leas the initial entry can be
492 stored in the user buffer.
494 * localedata/Makefile: Add rules to clean up directories created by
497 2000-04-09 Geoff Clare <gwc@unisoft.com>
499 * localedata/tst-fmon.data: Added new tests for strfmon()
500 using test locales with all combinations of cs_precedes,
501 sign_posn and sep_by_space.
502 * localedata/tst-fmon.sh: Updated to support the new tests.
503 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
504 the localedef source for the new strfmon() test locale.
505 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
506 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
507 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
508 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
509 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
510 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
511 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
512 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
513 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
514 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
515 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
516 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
517 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
518 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
520 * stdlib/strfmon.c: Correct problems with missing or extra
521 spaces for unusual combinations of sign_posn and sep_by_space.
522 Improved left-precision alignment code.
524 2000-04-07 Andreas Jaeger <aj@suse.de>
526 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
528 2000-04-10 Andreas Jaeger <aj@suse.de>
530 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
532 2000-04-09 Ulrich Drepper <drepper@redhat.com>
534 Implement handling of restartable conversion functions according to
536 * iconv/gconv.h (__gconv_fct): Add additional parameter.
537 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
538 * iconv/gconv.c: Pass additional parameter to conversion function.
539 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
540 (internal_ucs4le_loop_single): New function.
541 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
542 (__gconv_transform_internal_ascii): Likewise.
543 (__gconv_transform_internal_utf8): Likewise.
544 (__gconv_transform_utf8_internal): Likewise.
545 (__gconv_transform_ucs2_internal): Likewise.
546 (__gconv_transform_internal_ucs2): Likewise.
547 (__gconv_transform_ucs2reverse_internal): Likewise.
548 (__gconv_transform_internal_ucs2reverse): Likewise.
549 (internal_ucs4le_loop_unaligned): Before return
550 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
551 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
552 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
553 * iconv/loop.c: Fit in definition of function to convert one character
554 for processing of left-over bytes from the state object.
555 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
556 inend to match names in loop functions.
557 (RESET_INPUT_BUFFER): Change apprpriately.
558 (gconv): If needed, call function to process bytes from the state
559 object. Similar at the end: store left over bytes if input is
561 Take extra argument and add new argument to all calls of the
563 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
564 information in the state object to not conflict with length count.
565 * iconvdata/iso-2022-jp.c: Likewise.
566 * iconvdata/iso-2022-kr.c: Likewise.
567 * iconvdata/unicode.c: Adjust for change change in parameters of
569 * iconvdata/utf-16.c: Likewise.
570 * libio/iofwide.c: Add new parameter to all calls of conversion
572 * wcsmbs/btowc.c: Likewise.
573 * wcsmbs/mbrtowc.c: Likewise.
574 * wcsmbs/mbsnrtowcs.c: Likewise.
575 * wcsmbs/mbsrtowcs.c: Likewise.
576 * wcsmbs/wcrtomb.c: Likewise.
577 * wcsmbs/wcsnrtombs.c: Likewise.
578 * wcsmbs/wcsrtombs.c: Likewise.
579 * wcsmbs/wctob.c: Likewise.
581 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
584 2000-04-07 Andreas Jaeger <aj@suse.de>
586 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
589 2000-04-07 Ulrich Drepper <drepper@redhat.com>
591 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
592 element a union to allow byte access.
593 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
595 * iconvdata/iso-2022-jp.c: Likewise.
596 * iconvdata/iso-2022-kr.c: Likewise.
597 * wcsmbs/mbsinit.c: Likewise.
598 * stdlib/mblen.c: Likewise.
599 * stdio-common/printf-parse.h: Likewise.
601 2000-04-06 Ulrich Drepper <drepper@redhat.com>
603 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
604 kernel does not allow relative seeks on descriptors associated
605 with directories. Go back to get the position in the directory
606 every time we enter the function. Return -1 and set errno if one
607 entry could be read from the kernel but does not fit into the
608 buffer passed in by the user.
610 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
611 Support ..(2).. ellipsis.
612 (parse_charmap): Recognize ..(2).. etc and pass step down.
613 Correctly generate names for UCS4 characters.
615 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
616 (ctype_finish): We know the wide character value for <SP>,
618 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
619 (charclass_ucs4_ellipsis): Likewise.
620 (read_translit_ignore_entry): Store ellipsis step.
621 (ctype_read): Recognize ..(2).. etc and pass step down.
623 * locale/programs/linereader.c (lr_token): When seeing comment
624 character ignore only rest of line in sources but stop at escaped
626 Recognize ..(2).. and ....(2).....
628 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
631 2000-04-06 Andreas Jaeger <aj@suse.de>
633 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
634 removed, remove it here also.
635 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
637 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
638 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
640 2000-04-06 Jakub Jelinek <jakub@redhat.com>
642 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
643 include bits/sigcontext.h.
644 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
646 2000-04-06 Ulrich Drepper <drepper@redhat.com>
648 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
649 collation symbol definition. Value in quivalence definition must
650 be defined, don't check that it is not.
652 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
653 values as character names.
655 * locale/programs/ld-ctype.c (get_character): Handle missing
656 repertoire map correctly.
658 2000-04-05 Cristian Gafton <gafton@redhat.com>
660 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
661 because it is used in generic code.
662 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
663 * wcsmbs/wcwidth.h: Declare __ctype32_b.
664 * intl/gettext.c: Include <locale.h>.
665 * intl/ngettext.c: Likewise.
667 2000-04-05 Jakub Jelinek <jakub@redhat.com>
669 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
670 socklen_t type for size.
671 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
672 init function interface.
673 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
674 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
676 (__jmp_buf): Declare the whole type structure here, don't use
679 2000-04-05 Ulrich Drepper <drepper@redhat.com>
681 * iconv/skeleton.c (put16u): Fix typo.
682 Reported by Bruno Haible <haible@ilog.fr>.
684 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
685 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
686 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
687 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
688 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
689 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
691 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
692 * Makefile (distribute): Add abi-versions.awk and
694 Patches by Torsten Duwe <duwe@caldera.de>.
696 2000-04-05 Andreas Schwab <schwab@suse.de>
698 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
700 2000-04-05 Andreas Schwab <schwab@suse.de>
702 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
703 entry point, used on Hurd.
705 2000-04-04 Andreas Jaeger <aj@suse.de>
707 * intl/Makefile: Only run the gettext test with shared libraries.
709 2000-03-16 Mark Kettenis <kettenis@gnu.org>
711 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
712 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
714 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
716 * Makeconfig: Undo last change.
717 * configure.in: If --disable-shared was given, don't set VERSIONING,
718 don't define DO_VERSIONING, and don't give scare warning for no
720 * configure: Regenerated.
722 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
724 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
726 2000-04-04 Andreas Jaeger <aj@suse.de>
728 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
730 2000-04-04 Ulrich Drepper <drepper@redhat.com>
732 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
733 STV_HIDDEN and STV_INTERNAL during lookup.
734 (profile_fixup): Likewise.
735 * elf/dl-reloc.c (RESOLVE): Likewise.
737 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
738 unaligned so that it compiles for system which need unaligned
741 2000-04-04 Andreas Schwab <schwab@suse.de>
743 * elf/cache.c (print_entry): Only look at the type field when
746 2000-04-04 Andreas Schwab <schwab@suse.de>
748 * iconvdata/big5.c (BODY): Fix typo.
750 2000-04-04 Andreas Schwab <schwab@suse.de>
752 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
753 function interface. Remove unused _dl_start_user entry point.
755 2000-04-03 Andreas Jaeger <aj@suse.de>
757 * include/arpa/inet.h (__inet_aton): Add protoype.
759 2000-04-01 Andreas Jaeger <aj@suse.de>
761 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
763 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
764 * sysdeps/mach/mips/thread_state.h: Likewise.
766 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
767 * sysdeps/generic/fegetenv.c: Likewise.
768 * sysdeps/generic/fesetenv.c: Likewise.
769 * sysdeps/generic/feupdateenv.c: Likewise.
770 * sysdeps/generic/fraiseexcpt.c: Likewise.
771 * sysdeps/generic/fsetexcptflg.c: Likewise.
772 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
773 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
774 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
775 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
777 2000-04-02 H.J. Lu <hjl@gnu.org>
779 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
781 2000-04-03 Ulrich Drepper <drepper@redhat.com>
783 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
784 (add_name_to_object): Add cast in malloc call.
785 (fillin_rpath): Optimize loop to initialize ->status a bit.
787 * sysdeps/i386/dl-machine.h: Undo last change.
788 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
789 Restore %edx register after call here.
791 * sysdeps/arm/atomicity.h: New file.
792 Contributed by Jesper Skov <jskov@redhat.com>.
794 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
796 * Makeconfig (preprocess-versions): Undo last change.
797 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
799 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
800 here, before we might move the stack.
801 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
802 (init1): And not here.
804 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
805 change, to restore argc value in call-clobbered register after
806 RTLD_START_SPECIAL_INIT, which will contain a call.
808 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
809 allocating and initializing L->l_initfini.
811 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
813 2000-04-03 Ulrich Drepper <drepper@redhat.com>
815 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
816 RUNPATH, RPATH, and LD_LIBRARY_PATH.
817 (open_path): Change type of fourth parameter. Make pointer to array
818 of pointers. Create variable dirs with original type.
819 Track whether any directory for the object exists and if not,
820 change *DIRSP to (void*) -1 to signal there is no such search path.
821 (_dl_map_object): Change all calls of open_path.
822 Rewrite decompose_rpath calls.
824 2000-03-31 Andreas Schwab <schwab@suse.de>
826 * string/strfry.c: Declare STATE as array of char instead of int
827 and do not initialize it (done by initstate_r). Pass correct
830 2000-04-03 Ulrich Drepper <drepper@redhat.com>
832 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
834 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
835 instruction out of the code.
837 2000-04-02 Ulrich Drepper <drepper@redhat.com>
839 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
840 element at this position.
842 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
843 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
845 * elf/dl-lookup.c (add_dependency): New function.
846 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
847 dynamically loaded object.
848 (_dl_lookup_symbol_skip): Likewise.
849 (_dl_lookup_versioned_symbol): Likewise.
850 (_dl_lookup_versioned_symbol_skip): Likewise.
851 * elf/dl-open.c: Don't define _dl_load_lock here...
852 * elf/rtld.c: ...but here...
853 * elf/dl-support.c: ...and here.
854 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
856 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
858 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
860 * dlfcn/glrefmain.c: Add one more debug message.
862 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
864 * Makerules (sysd-versions): Use ( ) instead of { }.
866 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
867 optimize for the non-debugging case.
868 * elf/dl-lookup.c: Likewise.
869 * sysdeps/generic/libc-start.c: Likewise.
871 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
873 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
874 (init1): Don't initialize __environ here, since init already does it.
875 (first_init): New function, broken out of _init.
876 (_hurd_stack_setup): Use it.
877 [SHARED] (_dl_init_first): New function, renamed from old _init.
878 (init1) [SHARED]: Don't call posixland_init here.
879 (posixland_init): Take ENVP arg, so signature is usual for initializer.
880 [SHARED] (_init): Define as alias for posixland_init.
881 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
882 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
883 RTLD_START_SPECIAL_INIT before calling initializers.
884 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
885 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
886 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
887 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
889 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
890 since we define the function with the name `tmpfile'.
892 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
893 * hurd/Versions: Likewise.
895 2000-04-02 Ulrich Drepper <drepper@redhat.com>
897 * elf/dl-runtime.c (fixup): Fix typo in comment.
899 * resolv/netdb.h (getnameinfo): All length parameters are of type
901 * inet/getnameinfo.c: Likewise.
903 2000-04-01 Ulrich Drepper <drepper@redhat.com>
905 * posix/unistd.h (socklen_t): Define if it has not yet happened.
906 (gethostname): Change type of second parameter to socklen_t.
907 * include/unistd.h (__gethostname): Change type of second
908 parameter to socklen_t.
909 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
910 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
911 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
912 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
914 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
915 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
916 Allow definition elsewhere.
917 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
918 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
919 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
920 * sysdeps/generic/bits/types.h: Define __socklen_t.
921 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
922 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
923 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
924 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
925 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
926 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
927 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
929 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
930 (inet_lnaof): Likewise.
931 (inet_netof): Likewise.
932 (inet_network): Likewise.
933 (inet_aton): Likewise.
934 (inet_makeaddr): Change parameter types to in_addr_t.
935 (inet_neta): Likewise.
936 (inet_ntop): Change type of last parameter to socklen_t.
937 (inet_aton): Only make available if __USE_MISC.
938 (inet_neta): Likewise.
939 (inet_net_ntop): Likewise.
940 (inet_net_pton): Likewise.
941 (inet_nsap_ntoa): Likewise.
943 * inet/in.h: Define in_port_t type.
944 Define in_addr_t type.
945 (struct in_addr): Use in_addr_t in definition.
946 (IN_CLASSA): Use cast to in_addr_t.
947 (IN_CLASSB): Likewise.
948 (IN_CLASSC): Likewise.
949 (IN_CLASSD): Likewise.
950 (IN_EXPERIMENTAL): Likewise.
951 (IN_BADCLASS): Likewise.
952 (INADDR_ANY): Likewise.
953 (INADDR_BROADCAST): Likewise.
954 (INADDR_NONE): Likewise.
955 (INADDR_LOOPBACK): Likewise.
956 (INADDR_UNSPEC_GROUP): Likewise.
957 (INADDR_ALLHOSTS_GROUP): Likewise.
958 (INADDR_ALLRTRS_GROUP): Likewise.
959 (INADDR_MAX_LOCAL_GROUP): Likewise.
960 (struct sockaddr_in): Use in_port_t for sin_port element.
961 (struct sockaddr_in6): Use in_port_t for sin6_port element.
962 Use uint8_t instead of u_int8_t.
964 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
965 Call __inet_aton instead of inet_aton.
966 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
968 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
970 (struct addrinfo): Use socklen_t for ai_addrlen element.
972 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
973 IPV6_RECVERR): New defines.
975 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
976 * inet/getnetbyad.c: Likewise.
977 * inet/getnetbyad_r.c: Likewise.
978 * nis/nss_nis/nis-network.c: Likewise.
979 * nis/nssplus_nis/nisplus-network.c: Likewise.
980 * nss/nss_files/files-network.c: Likewise.
981 * resolv/netdb.h: Define uint32_t if not already happened.
982 Include bits/netdb.h. Remove definition of struct netent.
983 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
984 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
985 * sysdeps/generic/bits/netdb.h: New file.
986 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
988 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
989 (tests): Add glrefmain.
990 Add rules to build modules and run tests. Ignore result of glrefmain
991 for now since it fails.
992 * dlfcn/glrefmain.c: New file.
993 * dlfcn/glreflib1.c: New file.
994 * dlfcn/glreflib2.c: New file.
996 * test-skeleton.c: Include <string.h> for strsignal prototype.
998 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
1001 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
1002 former init-first.h. Initialize __libc_multiple_libcs.
1004 2000-03-31 Ulrich Drepper <drepper@redhat.com>
1006 * iconv/skeleton.c: Define access macros with u suffix. Adjust
1007 #if expression for use of unaligned function to the one used in
1008 the definition of these functions.
1009 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
1010 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
1011 (internal_ucs4le_loop_unaligned): New function.
1013 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
1015 (module-names): Add dep1, dep2, dep3, and dep4.
1016 Add dependencies for dep* modules and order.
1017 Define rule for order.out which checks the result.
1018 * elf/dep1.c: New file.
1019 * elf/dep2.c: New file.
1020 * elf/dep3.c: New file.
1021 * elf/dep4.c: New file.
1022 * elf/order.c: New file.
1024 * elf/dl-init.c: Fix typo in comment.
1026 2000-03-31 Andreas Jaeger <aj@suse.de>
1028 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
1029 init function interface.
1030 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
1032 2000-03-31 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
1035 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1036 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1037 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
1038 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1040 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
1041 anymore, update comment.
1043 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1045 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
1046 SHLIB_COMPAT - the struct is always needed.
1048 2000-03-31 Ulrich Drepper <drepper@redhat.com>
1050 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
1051 * elf/dl-support.c: Define _dl_starting_up.
1053 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1055 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
1056 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
1058 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
1060 * elf/Makefile (dl-routines): Remove preinit.
1061 * elf/Versions: Remove _dl_preinit.
1062 * elf/dl-preinit.c: Removed. Move content into...
1063 * elf/dl-init.c: ...here.
1064 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
1066 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
1069 2000-03-29 Geoff Clare <gwc@unisoft.com>
1071 * stdlib/strfmon.c: Corrected problems with the code that
1072 sets default values for [np]_sep_by_space and
1073 [np]_sign_posn; also the new positive/negative alignment
1074 code from the previous patch was not quite right for
1077 * localedata/tst-fmon.data: Changes corresponding to the
1078 two sets of fixes made to stdlib/strfmon.c.
1080 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
1082 * malloc/malloc.c: Declare bit flags UL so that they will not
1083 default to int size when being inverted.
1085 2000-03-29 Andreas Jaeger <aj@suse.de>
1087 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
1088 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1090 2000-03-29 Andreas Jaeger <aj@suse.de>,
1091 Ralf Baechle <ralf@uni-koblenz.de>
1093 * Makeconfig: Introduce new variable SHARED to mark code used in
1095 * elf/dl-close.c: Use it instead of PIC.
1096 * elf/dl-load.c: Likewise.
1097 * elf/dl-open.c: Likewise.
1098 * hurd/geteuids.c: Likewise.
1099 * include/libc-symbols.h: Likewise.
1100 * include/shlib-compat.h: Likewise.
1101 * libio/freopen.c: Likewise.
1102 * linuxthreads/cancel.c: Likewise.
1103 * linuxthreads/pthread.c: Likewise.
1104 * linuxthreads/wrapsyscall.c: Likewise.
1105 * nss/nsswitch.c: Likewise.
1106 * stdio-common/vfprintf.c: Likewise.
1107 * sysdeps/arm/init-first.c: Likewise.
1108 * sysdeps/i386/init-first.c: Likewise
1109 * sysdeps/generic/init-first.c: Likewise.
1110 * sysdeps/generic/libc-start.c: Likewise.
1111 * sysdeps/mips/init-first.c: Likewise.
1112 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1113 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1114 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
1115 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
1116 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1118 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
1120 2000-03-29 Andreas Jaeger <aj@suse.de>
1122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1123 Use D_PTR to access relocated entries in l_info.
1124 (elf_machine_rela): Likewise.
1126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1128 (elf_machine_rela): Likewise.
1130 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1132 (__elf_machine_fixup_plt): Likewise.
1133 (__process_machine_rela): Likewise.
1135 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1136 (elf_machine_rela): Likewise.
1138 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
1139 (elf_machine_rel): Likewise.
1141 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1142 (elf_machine_fixup_plt): Likewise.
1143 (elf_machine_rela): Likewise.
1145 2000-03-29 Andreas Jaeger <aj@suse.de>
1147 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
1148 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1149 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1150 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1151 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1152 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1153 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1154 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1155 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1156 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1157 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1158 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1159 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1160 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
1161 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1163 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
1164 macros, remove K&R prototypes.
1166 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1168 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
1169 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
1172 2000-03-30 Andreas Jaeger <aj@suse.de>
1174 * misc/sys/cdefs.h: Remove K&R support.
1176 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1178 * iconv/skeleton.c: Avoid compiling unaligned versions in some
1179 with size of dynamic sectionmore cases.
1180 * iconv/loop.c: Likewise.
1182 2000-03-29 Bruno Haible <haible@clisp.cons.org>
1184 * iconv/loop.c (put16): Remove __const. Fix access index.
1185 (put32): Remove __const. Use uint32_t instead of uint16_t.
1186 * iconv/skeleton.c: Likewise.
1188 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
1190 * mach/Versions (libc: GLIBC_2.0)
1191 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
1192 __vm_allocate on this.
1193 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
1194 mutex- and spinlock-related symbols on this.
1195 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
1196 New version set. Lock-related symbols go here instead in this case.
1197 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
1198 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
1199 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1201 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
1202 Put them here instead.
1203 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
1204 New version set. Those cthreads symbols go here instead in this case.
1205 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
1207 2000-03-30 Ulrich Drepper <drepper@redhat.com>
1209 * elf/dl-init.c (_dl_init): We don't need to call constructors
1210 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
1212 Implement dynamic determination of constructor/destructor order in
1214 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
1215 (GLIBC_2.2): Add _dl_init.
1216 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
1217 r_duplist is not anymore allocated separately. l_initfini is and
1218 therefore free it if necessary.
1219 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
1220 malloc block. Otherwise allocate l_initfini list only.
1221 Put dependencies for the object in l_initfini list.
1222 Sort dependencies for the object to be loaded topologically.
1223 * elf/dl-fini.c: Before running the destructors sort the topologically.
1224 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
1225 call constructors instead of iterating over the pointers. Get list of
1226 objects for which to run constructors from l_initfini element. Accept
1227 argc, argv, and env as parameters and pass them to the constructors.
1228 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
1229 with size of dynamic section.
1230 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
1231 _dl_init_next and calling constructors ourself.
1232 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
1233 Take argc, argv, and env as parameters and pass them to the
1234 constructors. Rewrite to call all constructors and not iterate over
1236 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
1237 precompute l_initcount and l_preinitcount.
1238 * elf/link.h (struct link_map): Add l_ldnum member.
1239 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
1240 l_initcount, and l_preinitcount. Add l_initfini.
1241 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
1243 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
1245 * sysdeps/unix/sysv/linux/init-first.h: Removed.
1246 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
1247 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
1248 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
1249 conventions now match.
1251 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
1252 effect for shared objects. Don't emit message and call only for
1255 2000-03-29 Ulrich Drepper <drepper@redhat.com>
1257 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
1258 CSA_Z243.4-1985-1..UCS2.
1259 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
1262 2000-03-29 Andreas Jaeger <aj@suse.de>
1264 * include/unistd.h: Remove duplicate entry for __rmdir.
1265 Remove declaration of __mkdir since __mkdir is declared in
1268 * manual/creature.texi (Feature Test Macros): Fix typo, reported
1269 by Michael Deutschmann <michael@talamasca.ocis.net>.
1271 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
1272 * sysdeps/mips/fpu/fegetenv.c: Likewise.
1273 * sysdeps/mips/fpu/fesetenv.c: Likewise.
1274 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
1275 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
1277 2000-03-28 Andreas Jaeger <aj@suse.de>
1279 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
1280 declaration, the prototype is defined via bits/mathcalls.h.
1281 (__sincosf): Likewise.
1282 (__sincosl): Likewise.
1286 (__finite): Likewise.
1287 (__inline_mathcodeNP): New macro without prototype
1289 (__inline_mathcodeNP2): Likewise.
1290 (__inline_mathcodeNP3): Likewise.
1291 (__inline_mathcodeNP_): Likewise.
1292 (__inline_mathcodeNP2_): Likewise.
1293 (__inline_mathcodeNP3_): Likewise.
1294 (__inline_mathopNP): Likewise.
1295 (__inline_mathop_declNP): Likewise.
1296 (__inline_mathop_declNP_): Likewise.
1297 (__inline_mathcode_): Use __inline_mathcodeNP_.
1298 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
1299 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
1300 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
1301 (__expm1l): Don't define prototype, the prototype is defined via
1307 (__atan2l): Likewise.
1312 (__fabsl): Likewise.
1330 (__sqrtl): Likewise.
1340 2000-03-28 Ulrich Drepper <drepper@redhat.com>
1342 * Makerules: If make variable md5 is defined to yes after
1343 generating dependencies generate MD5 sum for the object.
1345 * iconv/gconv_builtin.h: Fix length in transformation definition
1348 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
1350 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
1351 allow as well reading from/writing to unaligned addresses on machines
1352 which don't support this in hardware. Use FCTNAME macro to define
1353 function name. Include the file a second time for platforms which
1354 need special unaligned handling.
1355 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
1356 to access potentially unaligned addresses. These macros are intended
1357 to be used only outside the loops.
1358 (unaligned): New definition. In case the machine can handle unaligned
1359 access define as zero. Otherwise as a variable which is initialized
1360 as nonzero in case the buffer passed in at runtime is unaligned with
1361 respect to the character set encoding involved.
1362 Call aligned or unaligned looop functions according to unaligned
1364 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
1365 of direct casting pointer to potentially handle unaligned memory
1367 * iconvdata/8bit-generic.c: Likewise.
1368 * iconvdata/ansi_x3.110.c: Likewise.
1369 * iconvdata/big5.c: Likewise.
1370 * iconvdata/euc-cn.c: Likewise.
1371 * iconvdata/euc-jp.c: Likewise.
1372 * iconvdata/euc-kr.c: Likewise.
1373 * iconvdata/euc-tw.c: Likewise.
1374 * iconvdata/gbk.c: Likewise.
1375 * iconvdata/iso-2022-cn.c: Likewise.
1376 * iconvdata/iso-2022-jp.c: Likewise.
1377 * iconvdata/iso-2022-kr.c: Likewise.
1378 * iconvdata/iso646.c: Likewise.
1379 * iconvdata/iso_6937-2.c: Likewise.
1380 * iconvdata/iso_6937.c: Likewise.
1381 * iconvdata/johab.c: Likewise.
1382 * iconvdata/sjis.c: Likewise.
1383 * iconvdata/t.61.c: Likewise.
1384 * iconvdata/uhc.c: Likewise.
1385 * iconvdata/unicode.c: Likewise.
1386 * iconvdata/utf-16.c: Likewise.
1388 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
1391 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
1392 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
1394 * malloc/mcheck.h (mcheck_check_all): Declare.
1396 * stdio-common/Makefile (tests): Add tst-obprintf.
1398 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
1400 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
1401 Declare pthread_sigmask.
1403 * csu/version.c: Add 2000 to copyright years.
1404 Remove Emacs local variables section.
1406 2000-03-23 Bruno Haible <haible@clisp.cons.org>
1408 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
1409 __gconv_transform_internal_ucs2little): Remove declarations.
1410 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
1411 __gconv_transform_internal_ucs2): Never need to bswap_16.
1412 (__gconv_transform_ucs2reverse_internal,
1413 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
1415 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1417 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
1418 obsoleting version not being defined at all, in which case the
1419 result is always true.
1421 * Makeconfig (preprocess-versions): New canned sequence for running
1422 cpp on shlib-versions and the like.
1423 (soversions.i): Use it.
1424 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
1425 Versions.def and Versions files.
1427 2000-03-27 Ulrich Drepper <drepper@redhat.com>
1429 * stdio-common/tst-obprintf.c (main): Add another check to see
1430 obstack_printf handling all possible beginnings of the block
1431 inside an obstack chunk.
1433 * locale/programs/localedef.c: Use __malloc_initialize_hook to
1434 install mcheck handler.
1436 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
1439 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1441 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
1443 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
1444 on [HAVE_ELF && DO_VERSIONING].
1446 2000-03-27 Ulrich Drepper <drepper@redhat.com>
1448 * stdio-common/tst-obprintf.c: New file.
1450 2000-03-26 Ulrich Drepper <drepper@redhat.com>
1452 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
1453 _IO_OVERFLOW directly instead through __overflow.
1455 * locale/programs/localedef.c (construct_output_path): If path
1456 contains a / compute the end of the directory name correctly.
1458 * include/features.h: Undef and document __USE_XOPEN2K.
1460 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
1461 whenever a function is called. Initiated by calling mcheck_pedantic
1463 * malloc/mcheck.h: Declare mcheck_pedantic.
1464 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
1465 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
1468 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1470 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
1471 * dlfcn/dlopenold.c: Likewise.
1472 * nss/getXXbyYY_r.c: Likewise.
1473 * nss/getXXent_r.c: Likewise.
1474 * hurd/hurdinit.c: Likewise.
1475 * hurd/compat-20.c: Likewise.
1476 * libio/oldiofopen.c: Likewise.
1477 * libio/oldiofclose.c: Likewise.
1478 * libio/oldiofdopen.c: Likewise.
1479 * libio/oldfileops.c: Likewise.
1480 * libio/oldstdfiles.c: Likewise.
1481 * libio/oldiofsetpos.c: Likewise.
1482 * libio/oldiofgetpos.c: Likewise.
1483 * libio/oldiofgetpos64.c: Likewise.
1484 * libio/oldiofsetpos64.c: Likewise.
1485 * libio/oldiopopen.c: Likewise.
1486 * libio/oldpclose.c: Likewise.
1487 * libio/oldtmpfile.c: Likewise.
1488 * libio/freopen.c (freopen): Likewise.
1489 * libio/iofclose.c (_IO_new_fclose): Likewise.
1491 * sysdeps/mach/sys/reboot.h: Include <features.h>.
1492 (reboot): Declare it.
1494 * libio/Makefile (headers): Add bits/stdio-lock.h here.
1496 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
1498 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
1500 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
1501 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
1502 We need this for the sbrk decl, which can be included without Unix98.
1504 2000-03-20 Richard Henderson <rth@cygnus.com>
1506 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
1507 argument to yperr2nss is an int, not size_t.
1508 * posix/regex.c (print_partial_compiled_pattern): Cast all
1509 ptrdiff_t to long for printing.
1510 (print_compiled_pattern): Use Z for printing size_t.
1511 * posix/testfnm.c (tests): Avoid trigraphs.
1512 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1513 Use a C comment, not an assembly comment.
1515 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
1516 of __ASSUME_32BITUIDS.
1518 2000-03-26 Ulrich Drepper <drepper@redhat.com>
1520 * libio/iofopncook.c: Remove K&R prototypes.
1522 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1524 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
1525 an initial value of 1024 instead of RLIM_INFINITY.
1527 * Versions.def (libmachuser, libhurduser): Remove these sections,
1528 since these libraries do not presently use symbol versions.
1530 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
1531 is RLIM_INFINITY, return -1 instead.
1533 2000-03-24 Andreas Jaeger <aj@suse.de>
1535 * Makefile (postclean): Added soversions.i.
1537 2000-03-24 Scott Bambrough <scottb@netwinder.org>
1539 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
1540 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
1541 and _FPU_IEEE. Change _FPU_RESERVED.
1543 2000-03-24 Scott Bambrough <scottb@netwinder.org>
1545 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
1547 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1549 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
1550 (gaih_inet): Remove unused duplicate variable.
1552 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
1553 Don't use __libc_sa_len, which only exists for Linux. Just handle
1554 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
1555 only flavors supported by this function anyway.
1557 2000-03-24 Geoff Clare <gwc@unisoft.com>
1559 * stdlib/strfmon.c: corrected problems with missing signs and
1560 missing or extra spaces; allow for sign strings longer than
1561 one character; add padding to ensure positive and negative
1562 formats are aligned when a left precision is used.
1564 2000-03-26 Ulrich Drepper <drepper@redhat.com>
1566 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
1567 Patch by John Mizel <John.Mizel@msdw.com>.
1569 2000-03-25 Ulrich Drepper <drepper@redhat.com>
1571 * manual/install.texi: Remove references to crypt add-on.
1573 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
1575 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
1576 section while taking the _hurd_rlimit_lock.
1577 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1579 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1581 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
1584 * sysdeps/mach/hurd/if_index.c: New file.
1586 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
1587 * sysdeps/gnu/net/if.h: here.
1588 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
1589 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
1590 * sysdeps/generic/net/if.h: New file. Declares just the standard
1591 functions and `struct if_nameindex' type.
1592 * socket/Makefile (headers): Add net/if.h here.
1593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
1594 * sysdeps/mach/hurd/Dist: Remove it here.
1595 * sysdeps/unix/sysv/linux/Dist: And here.
1596 * sysdeps/generic/if_index.c: Include <net/if.h>.
1598 2000-03-24 Andreas Jaeger <aj@suse.de>
1600 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
1601 access relocated entries in l_info.
1602 (elf_machine_got_rel): Likewise.
1603 (elf_machine_runtime_setup): Likewise.
1604 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
1605 (elf_machine_runtime_setup): Likewise.
1606 (__dl_runtime_resolve): Likewise.
1608 2000-03-23 Ulrich Drepper <drepper@redhat.com>
1610 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
1611 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
1612 according to RFC 2553.
1613 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
1614 * inet/getnameinfo.c: Likewise.
1615 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1617 2000-03-23 Bruno Haible <haible@clisp.cons.org>
1619 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
1620 Remove no-op pointer increment.
1622 2000-03-23 Andreas Jaeger <aj@suse.de>
1624 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
1625 follow change for libio.h from 2000-03-10.
1627 2000-03-23 Andreas Jaeger <aj@suse.de>
1629 * elf/dl-addr.c: Adjust include paths for ldsodefs location
1631 * elf/dl-debug.c: Likewise.
1632 * elf/dl-deps.c: Likewise.
1633 * elf/dl-error.c: Likewise.
1634 * elf/dl-fini.c: Likewise.
1635 * elf/dl-init.c: Likewise.
1636 * elf/dl-load.c: Likewise.
1637 * elf/dl-lookup.c: Likewise.
1638 * elf/dl-minimal.c: Likewise.
1639 * elf/dl-object.c: Likewise.
1640 * elf/dl-open.c: Likewise.
1641 * elf/dl-preinit.c: Likewise.
1642 * elf/dl-profile.c: Likewise.
1643 * elf/dl-profstub.c: Likewise.
1644 * elf/dl-reloc.c: Likewise.
1645 * elf/dl-runtime.c: Likewise.
1646 * elf/dl-support.c: Likewise.
1647 * elf/dl-symbol.c: Likewise.
1648 * elf/dl-version.c: Likewise.
1649 * elf/rtld.c: Likewise.
1650 * elf/sprof.c: Likewise.
1651 * sysdeps/generic/dl-cache.c: Likewise.
1652 * sysdeps/generic/dl-origin.c: Likewise.
1653 * sysdeps/generic/dl-sysdep.c: Likewise.
1654 * sysdeps/generic/elf/backtracesyms.c: Likewise.
1655 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1656 * sysdeps/generic/libc-start.c: Likewise.
1657 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1658 * sysdeps/powerpc/dl-machine.c: Likewise.
1659 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1660 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1661 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1662 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1664 * elf/ldsodefs.h: Move file to ...
1665 * sysdeps/generic/ldsodefs.h: ... here.
1667 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
1669 * sysdeps/mips/elf/ldsodefs.h: New file.
1671 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
1673 (_dl_check_map_versions): Likewise.
1674 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1675 * elf/dl-load.c (_dl_init_paths): Likewise.
1676 (_dl_map_object): Likewise.
1677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
1678 (elf_get_dynamic_info): Likewise.
1679 * elf/do-lookup.h (FCT): Likewise.
1680 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1681 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1682 * elf/dl-addr.c (_dl_addr): Likewise.
1683 * elf/dl-runtime.c (profile_fixup): Likewise.
1685 * elf/dl-init.c (_dl_init_next): Likewise.
1686 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
1687 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1688 (DISTINGUISH_LIB_VERSIONS): Likewise.
1689 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
1690 (elf_machine_rel): Likewise.
1692 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
1693 for writable dynamic section.
1695 2000-03-22 Ulrich Drepper <drepper@redhat.com>
1697 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
1698 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1700 2000-03-22 Andreas Jaeger <aj@suse.de>
1702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
1703 from latest Linux kernel.
1705 2000-03-21 Andreas Jaeger <aj@suse.de>
1707 * Versions.def: Add version 2.1.4.
1709 2000-03-21 Ulrich Drepper <drepper@redhat.com>
1711 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
1712 * libio/oldiofopen.c: Likewise.
1713 * libio/oldiofclose.c: Likewise.
1714 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1716 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
1718 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
1719 indicating the first version set to obsolete the conditionalized code.
1720 (compat_symbol): New macro.
1721 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
1722 rhs be the ABI_* macro for the subsuming version. Assign increasing
1723 integer values to the ABI_* macros for supported versions.
1724 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
1725 compat_symbol macro.
1727 2000-03-21 Ulrich Drepper <drepper@redhat.com>
1729 * nscd/connections.c (nscd_run): Pretty print.
1730 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
1732 * manual/charset.texi: Fix typos. Rephrase.
1733 * manual/process.texi: Likewise.
1734 * manual/signal.texi: Likewise.
1735 Patches by Mike Coleman <mkc@kc.net>.
1737 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
1739 * libio/iofdopen.c: Likewise.
1740 * libio/iofgetpos.c: Likewise.
1741 * libio/iofgetpos64.c: Likewise.
1742 * libio/iofopen.c: Likewise.
1743 * libio/iofsetpos.c: Likewise.
1744 * libio/iofsetpos64.c: Likewise.
1745 * libio/iopopen.c: Likewise.
1746 * libio/oldiofopen.c: Likewise.
1747 * libio/pclose.c: Likewise.
1748 * sysdeps/gnu/siglist.c: Likewise.
1749 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1751 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
1752 chance to expand VERSION_##lib##_##version.
1754 * libio/fileops.c: Use new macros from shlib-compat.h to define
1756 * libio/iofclose.c: Likewise.
1757 * libio/oldiofclose.c: Likewise.
1758 Patch by Roland McGrath <roland@frob.com>.
1760 2000-03-21 Jakub Jelinek <jakub@redhat.com>
1762 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
1763 Lay out struct sigcontext according to what really gets passed on
1765 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
1766 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
1767 (prgregset_t, prfpregset_t): Define to elf_* types.
1768 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
1769 Define to correct value.
1770 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
1772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1774 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
1776 * scripts/firstversions.awk: Allow multiple version sets in the
1777 "earliest version" specification, meaning that version sets in the
1778 gaps between listed versions should be folded into the earliest later
1779 version that is explicitly listed.
1780 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
1781 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
1783 2000-03-21 Ulrich Drepper <drepper@redhat.com>
1785 * iconv/gconv_builtin.c: Include <endian.h>.
1786 * iconv/gconv_builtin.h: Add UCS-BE aliases.
1787 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
1788 according to current platform.
1789 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
1790 __gconv_transform_internal_ucs2reverse, and
1791 __gconv_transform_internal_ucs4le.
1792 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
1793 __gconv_transform_ucs2reverse_internal and
1794 __gconv_transform_internal_ucs2reverse.
1795 * iconvdata/Makefile (modules): Add UNICODE.
1796 (distribute): Add unicode.c.
1797 * iconvdata/gconv-modules: Add definitions for UNICODE module.
1798 * iconvdata/unicode.c: New file.
1800 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
1801 determine byte order of input and convert accordingly.
1803 * iconvdata/utf-16.c (gconv_init): Fix typo.
1805 2000-03-20 Ulrich Drepper <drepper@redhat.com>
1807 * iconvdata/gconv-modules: Fix typo.
1809 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
1812 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
1814 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
1816 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
1818 2000-03-20 Ulrich Drepper <drepper@redhat.com>
1820 * misc/Makefile (routines): Add mincore.
1822 2000-03-20 Andreas Jaeger <aj@suse.de>
1824 * sysdeps/generic/mincore.c: New stub file.
1826 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
1827 from latest Linux kernel.
1829 2000-03-20 Ulrich Drepper <drepper@redhat.com>
1831 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
1832 _SC_GETPW_R_SIZE_MAX.
1834 2000-03-20 Richard Henderson <rth@cygnus.com>
1836 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
1839 2000-03-20 Richard Henderson <rth@cygnus.com>
1841 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
1842 of arithmetic instructions.
1844 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
1845 with the fpcr. Protect from INV exception.
1846 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1847 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
1848 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1850 * sysdeps/alpha/fpu/s_copysign.c: New.
1851 * sysdeps/alpha/fpu/s_copysignf.c: New.
1852 * sysdeps/alpha/fpu/s_fabs.c: New.
1853 * sysdeps/alpha/fpu/s_fabsf.c: New.
1854 * sysdeps/alpha/fpu/s_rint.c: New.
1855 * sysdeps/alpha/fpu/s_rintf.c: New.
1857 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
1859 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1861 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
1862 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
1863 Use physical addresses not KSEG addresses.
1864 (io_system): Add PYXIS.
1865 (io): Remove hae.reg, sys, hae_shift.
1866 (stb_mb, stw_mb, stl_mb, __sethae): New.
1867 (inline_outb, inline_outw, inline_outl): Don't set hae.
1868 (inline_inb, inline_inw, inline_inl): Likewise.
1869 (dense_sethae): New null function.
1870 (struct cpuinfo_data): New.
1871 (process_cpuinfo): Use local and stack variables, not static.
1872 Move readlink check here from init_iosys.
1873 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
1875 (_hae_shift): Calculate it here.
1876 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
1877 add pciconfig_iobase.
1879 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
1881 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
1882 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
1884 * scripts/versions.awk: Fixed version renaming code to distinguish
1887 2000-03-19 Ulrich Drepper <drepper@redhat.com>
1889 * include/stdlib.h: Add prototype for __cxa_atexit.
1891 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
1892 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
1894 2000-03-17 Cristian Gafton <gafton@redhat.com>
1896 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
1897 existing rtld-installed-name.
1898 ($(rtld-installed-name)): Request libc-$(version) be installed too.
1899 replace existing rtld-installed-name using $(symbolic-link-prog).
1901 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1903 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
1904 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
1905 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
1908 2000-03-19 Ulrich Drepper <drepper@redhat.com>
1910 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
1911 glob64. Since there is no glob64 in the LFS proposal applications
1912 can assume that glob handles LFS situations. glob64 is only needed
1913 if alternative filesystem functions are used.
1915 2000-03-19 Geoff Clare <gwc@unisoft.com>
1917 * sysdeps/generic/glob.c: Correct gl_pathc value returned
1918 when GLOB_DOOFFS is set; correct handling of patterns
1919 containing escaped wildcards (and no unescaped ones);
1920 GLOB_ERR flag was being ignored in some situations.
1922 * posix/globtest.c, posix/globtest.sh: Updated to include
1923 tests for the problems fixed by the above changes to glob.c.
1925 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
1927 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
1929 * Makeconfig (soversion.i): Use only first match for each lib.
1931 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
1933 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
1934 rather than $(sysd-dirs-done) to protect these rules.
1936 * Makerules (version-renames.def): Target removed.
1937 (Versions.all): Depend on soversions.i directly and parse it.
1939 * Makeconfig (soversions.i): New target, input-reading parts of
1940 soversions.mk generation moved here; result is a canonicalized
1941 list "LIB VERSION [SET]" for this configuration.
1942 (soversions.mk): Use that as input. Don't emit map-firstversions.
1943 * Makerules (version-renames.def): New target, generated from
1944 soversions.i with contents that was in $(map-firstversions).
1945 (Versions.all): Don't depend on soversions.mk, depend on
1946 version-renames.def instead; just cat it into the input.
1948 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
1949 for $(map-firstversions), which better handles it being empty.
1951 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
1952 supported version for libc 0.2.90.libio to GLIBC_2.2.
1954 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
1955 and use it to emit new variable `map-firstversions'.
1956 * scripts/firstversions.awk: New file.
1957 * Makerules (Versions.all): Use scripts/firstversions.awk and
1958 the $(map-firstversions) value to generate a modified versions list
1959 that includes renames in "A = B" syntax for each version set earlier
1960 than the "earliest symbol version" named in shlib-versions.
1961 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
1962 rename version set A to B in the output to the intermediate file.
1963 * scripts/abi-versions.awk: New file.
1964 * Makerules (abi-versions.h): New target, generated by that script.
1965 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
1966 * include/shlib-compat.h: New file, uses that generated header.
1968 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
1970 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
1971 after stripping # comments, and then run it through cpp.
1972 This allows things like "%ifdef FOO" based on config.h settings.
1973 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
1975 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
1976 and other errors that indicate a pseudo-receive happened, grok through
1977 the message buffer for port rights that need references fixed up.
1979 2000-03-16 Andreas Jaeger <aj@suse.de>
1981 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
1983 * sysdeps/unix/sysv/linux/madvise.c: Remove.
1985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
1986 from latest Linux kernel.
1987 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
1989 * misc/sys/mman.h: Add prototype for mincore.
1991 2000-03-17 Ulrich Drepper <drepper@redhat.com>
1993 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
1994 entry for GLIBC_2.0 version of setrlimit.
1995 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1997 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
1999 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
2000 * nis/nss_compat/compat-initgroups.c: Likewise.
2001 * nis/nss_nis/nis-initgroups.c: Likewise.
2002 * nis/nss_nis/nis-netgrp.c: Likewise.
2003 * nis/nss_nis/nis-proto.c: Likewise.
2004 * nis/nss_nis/nis-rpc.c: Likewise.
2005 * nis/nss_nis/nis-service.c: Likewise.
2006 * nis/ypclnt.c: Likewise.
2008 2000-03-16 Andreas Jaeger <aj@suse.de>
2010 * manual/Makefile: MAKEINFO is set to `:' from configure if it
2011 doesn't exist, correct checks. Fixes PR libc/1649.
2013 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
2015 * nscd/hstcache.c: Restore correct UID.
2016 * nscd/pwdcache.c: Likewise.
2017 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
2019 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
2021 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
2022 macros for register names, in line with 2000-03-14 linux change.
2024 * sysdeps/mach/sched_yield.c: New file.
2026 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
2028 * sysdeps/generic/lockfile.c: Include <stdio.h>
2029 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
2030 case <libio.h> defined them.
2031 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
2033 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
2034 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
2036 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
2037 for more pleasing parse error.
2039 2000-03-16 Ulrich Drepper <drepper@redhat.com>
2041 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
2043 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2045 * elf/Makefile: Add rules to compile and run constload1 test.
2046 * elf/constload1.c: New file.
2047 * elf/constload2.c: New file.
2048 * elf/constload3.c: New file.
2050 2000-03-15 Ulrich Drepper <drepper@redhat.com>
2052 * sysdeps/posix/open64.c: Make __open64 weak alias.
2053 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
2054 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2055 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2056 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2058 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
2059 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2060 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2061 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2064 2000-03-14 Ulrich Drepper <drepper@redhat.com>
2066 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
2067 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
2069 2000-03-16 Mark Kettenis <kettenis@gnu.org>
2071 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
2072 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
2074 2000-03-08 Andreas Jaeger <aj@suse.de>
2076 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
2078 2000-03-14 Ulrich Drepper <drepper@redhat.com>
2080 * timezone/africa: Update from tzdata2000d.
2081 * timezone/asia: Likewise.
2082 * timezone/australasia: Likewise.
2083 * timezone/europe: Likewise.
2084 * timezone/northamerica: Likewise.
2085 * timezone/southamerica: Likewise.
2087 * po/fr.po: Update from translation team.
2088 * po/de.po: Likewise.
2090 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
2091 last parameter. Move code to add map to global scope from here...
2092 * elf/dl-open.c (dl_open_worker): ...here.
2093 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
2094 * elf/rtld.c: Adjust call to _dl_map_object_deps.
2096 * locale/programs/ld-collate.c (collate_read): Fix warning.
2098 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
2099 values and macros for register names.
2101 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
2102 returned by seek cookie function is -1.
2104 2000-03-14 Andreas Jaeger <aj@suse.de>
2106 * locale/localeconv.c (localeconv): Fix typo.
2107 Reported by Andre Charbonneau <andrec@corel.com>.
2109 2000-03-14 Ulrich Drepper <drepper@redhat.com>
2111 * iconv/skeleton.c: Increment __invocation_counter in inner loop
2112 since modules depend on it counting the number of times the conversion
2113 function got called.
2115 * iconv/gconv_open.c: Optimize loop to setup step data structure.
2117 * iconv/gconv.h: Pretty print.
2119 2000-03-04 Ulrich Drepper <drepper@redhat.com>
2121 * posix/wordexp-test.c: Correct one of the tests added in the last
2122 change. Really get the root passwd entry to check again ~root.
2124 2000-03-10 Andreas Jaeger <aj@suse.de>
2126 * manual/filesys.texi (Working Directory): Fix last patch.
2127 Patch by Martin Buchholz <martin@xemacs.org>.
2129 2000-03-10 Andreas Jaeger <aj@suse.de>
2131 * manual/creature.texi (Feature Test Macros): Fix language.
2133 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
2135 * mach/devstream.c (devstream_write, devstream_read): New functions.
2136 (input, output): Functions removed.
2137 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
2138 using only the vanilla fopencookie interface.
2140 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
2141 as macro for __io_functions.
2142 (funcsio): Use cookie_io_functions_t type name.
2143 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
2145 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
2147 (fopencookie): Use it.
2148 * libio/libio.h: Declare _IO_cookie_init.
2149 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
2152 * libio/libio.h (__io_seek_fn): Fix second argument type
2153 to be a pointer, in line with the manual and the old stdio.
2154 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
2156 * sysdeps/generic/bits/stdio-lock.h: New file.
2157 This is a stub with #error, but that's better than no file at all.
2159 2000-03-09 Martin Buchholz <martin@xemacs.org>
2161 * sysdeps/unix/sysv/linux/alpha/syscall.S:
2162 * manual/message.texi (Using gettextized software):
2163 * manual/message.texi (Message Translation): Doc Fixes.
2164 * manual/filesys.texi (File Size):
2165 * manual/charset.texi (glibc iconv Implementation):
2166 * locale/programs/ld-collate.c (collate_output):
2167 * iconv/gconv_db.c (find_derivation):
2168 * manual/install.texi:
2169 * manual/search.texi (Hash Search Function):
2170 * manual/stdio.texi (Output Conversion Syntax):
2173 * sysdeps/generic/dl-sysdep.c:
2174 Doc Fixes. `allows to' is not correct English.
2176 * elf/rtld.c: Doc fixes.
2177 * manual/creature.texi (Feature Test Macros): Doc fixes.
2178 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
2180 * manual/filesys.texi (Working Directory): Check for ERANGE to
2183 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
2185 * string/argz-stringify.c (__argz_stringify): Fix loop termination
2186 conditions so as not to clobber the final '\0' when there is only one
2187 element in the vector.
2189 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
2191 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
2192 broken by 2000-02-27 change.
2194 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
2196 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
2198 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
2199 argument type, for 2000-02-22 change in signal/signal.h declaration.
2201 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
2203 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
2204 to getdirentries64 (no __), since the Linux implementation
2205 has no __ name, and there is no declaration for the __ name.
2207 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
2209 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
2210 sed regexp so as not to break directory names including /../ within.
2212 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
2213 The sysdeps/generic file is right for BSD. This file was in fact the
2214 Hurd file, but the only difference was the WNOREAP flag that was never
2215 actually implemented or used anywhere.
2217 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
2218 since AC_PATH_PROG already does it for us.
2219 (PERL): Rewrite check added in 2000-02-29 change for syntactic
2220 correctness and sh portability. I replaced the broken check
2221 with a more sensible implementation of the apparently intended
2222 semantics, which might still be questionable. Using expr causes
2223 a non-numeric value for `perl -V:apiversion` to be accepted,
2224 refusing to use only a perl that reports a number less than 5;
2225 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
2226 * configure: Regenerated.
2228 2000-03-08 Andreas Jaeger <aj@suse.de>
2230 * manual/crypt.texi: Fix paths.
2232 2000-03-07 Andreas Jaeger <aj@suse.de>
2234 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
2236 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
2239 2000-03-06 Andreas Jaeger <aj@suse.de>
2241 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
2242 in __sgn1l, otherwise g++ fails to parse this.
2243 Reported by Sean Chen <sean.chen@turbolinux.com>.
2245 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2247 * configure.in: Compute sizeof-long-double.
2248 * configure: Regenerated.
2249 * config.make.in: Make sizeof-long-double available to sub-makes.
2251 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
2253 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2256 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2258 * Makeconfig (rpath-dirs): Add crypt.
2259 (all-subdirs): Remove md5crypt.
2260 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
2261 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
2262 * sysdeps/generic/crypt-entry.c: Delete.
2263 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
2264 * sysdeps/generic/crypt.h: Delete.
2265 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
2266 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
2267 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
2268 * sysdeps/generic/des_impl.c: Delete.
2269 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
2270 * crypt/sysdeps: Delete.
2271 * crypt/crypt_util.c: Don't use `patchlevel.h'.
2272 * md5-crypt/Versions: Move to crypt/.
2273 * md5-crypt/md5-crypt.c: Move to crypt/.
2274 * md5-crypt/md5.c: Move to crypt/.
2275 * md5-crypt/md5c-test.c: Move to crypt/.
2276 * md5-crypt/md5test.c: Move to crypt/.
2277 * md5-crypt: Delete.
2278 * crypt/Makefile: Adjust for new structure.
2280 2000-03-03 Paul Eggert <eggert@twinsun.com>
2282 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
2283 define to 1 if not defined.
2285 2000-03-03 Andreas Jaeger <aj@suse.de>
2287 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
2289 2000-03-03 Andreas Jaeger <aj@suse.de>
2291 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
2293 (xdr_int64_t): Correctly handle lower half.
2294 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2296 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
2298 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2301 2000-03-02 Andreas Jaeger <aj@suse.de>
2303 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
2306 2000-03-02 Andreas Jaeger <aj@suse.de>
2308 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
2310 2000-03-01 Andreas Jaeger <aj@suse.de>
2312 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
2313 (tests): Added tst-getdate.
2315 * time/tst-getdate.c: New file.
2317 * time/datemsk: New file, needed for tst-getdate.
2319 2000-02-29 Cristian Gafton <gafton@redhat.com>
2321 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
2323 2000-02-17 H.J. Lu <hjl@gnu.org>
2325 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
2327 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
2329 (svcudp_recv): Set up message with the new "xp_pad" field for
2331 (svcudp_reply): Support IP_PKTINFO if available.
2333 2000-03-01 Andreas Jaeger <aj@suse.de>
2335 * time/getdate.c (check_mday): Fix check for february.
2336 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
2337 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
2339 2000-03-02 Andreas Jaeger <aj@suse.de>
2341 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
2342 g++ fails to parse this.
2343 Reported by Sean Chen <sean.chen@turbolinux.com>.
2345 2000-02-28 Ulrich Drepper <drepper@redhat.com>
2347 * io/creat.c: Moved to...
2348 * sysdeps/generic/creat.c: ...here.
2349 * io/creat64.c: Moved to...
2350 * sysdeps/generic/creat64.c: ...here.
2351 * io/lockf.c: Moved to...
2352 * sysdeps/generic/lockf.c: ...here.
2354 * crypt/crypt.texi: Moved to...
2355 * manual/crypt.texi: ...here.
2356 * crypt/examples/genpass.c: Moved to...
2357 * manual/examples/genpass.c: ...here.
2358 * crypt/examples/mygenpass.c: Moved to...
2359 * manual/examples/mygenpass.c: ...here.
2360 * crypt/examples/testpass.c: Moved to...
2361 * manual/examples/testpass.c: ...here.
2363 * manual/Makefile (chapters): Add crypt.
2364 * manual/conf.texi: Add usual header for not-last chapter.
2365 * manual/crypt.texi: Add special header for last chapter.
2367 2000-02-28 Geoff Keating <geoffk@cygnus.com>
2369 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
2370 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
2371 complain if there is no crypt add-on.
2372 * crypt/configure: Removed.
2374 * crypt/crypt.texi: Update documentation of US export restrictions
2375 to match the 14 Jan 2000 regulations.
2377 2000-02-28 Geoff Keating <geoffk@cygnus.com>
2379 * crypt: New subdirectory, merged in from the crypt add-on.
2381 2000-02-28 Ulrich Drepper <drepper@redhat.com>
2383 * include/unistd.h: Add __rmdir and __mkdir prototypes.
2386 See ChangeLog.10 for earlier changes.