1 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
3 * libio/Makefile (headers): Add bits/stdio-lock.h here.
5 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
11 We need this for the sbrk decl, which can be included without Unix98.
13 2000-03-20 Richard Henderson <rth@cygnus.com>
15 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
16 argument to yperr2nss is an int, not size_t.
17 * posix/regex.c (print_partial_compiled_pattern): Cast all
18 ptrdiff_t to long for printing.
19 (print_compiled_pattern): Use Z for printing size_t.
20 * posix/testfnm.c (tests): Avoid trigraphs.
21 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
22 Use a C comment, not an assembly comment.
24 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
25 of __ASSUME_32BITUIDS.
27 2000-03-26 Ulrich Drepper <drepper@redhat.com>
29 * libio/iofopncook.c: Remove K&R prototypes.
31 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
33 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
34 an initial value of 1024 instead of RLIM_INFINITY.
36 * Versions.def (libmachuser, libhurduser): Remove these sections,
37 since these libraries do not presently use symbol versions.
39 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
40 is RLIM_INFINITY, return -1 instead.
42 2000-03-24 Andreas Jaeger <aj@suse.de>
44 * Makefile (postclean): Added soversions.i.
46 2000-03-24 Scott Bambrough <scottb@netwinder.org>
48 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
49 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
50 and _FPU_IEEE. Change _FPU_RESERVED.
52 2000-03-24 Scott Bambrough <scottb@netwinder.org>
54 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
56 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
58 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
59 (gaih_inet): Remove unused duplicate variable.
61 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
62 Don't use __libc_sa_len, which only exists for Linux. Just handle
63 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
64 only flavors supported by this function anyway.
66 2000-03-24 Geoff Clare <gwc@unisoft.com>
68 * stdlib/strfmon.c: corrected problems with missing signs and
69 missing or extra spaces; allow for sign strings longer than
70 one character; add padding to ensure positive and negative
71 formats are aligned when a left precision is used.
73 2000-03-26 Ulrich Drepper <drepper@redhat.com>
75 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
76 Patch by John Mizel <John.Mizel@msdw.com>.
78 2000-03-25 Ulrich Drepper <drepper@redhat.com>
80 * manual/install.texi: Remove references to crypt add-on.
82 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
84 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
85 section while taking the _hurd_rlimit_lock.
86 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
88 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
90 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
93 * sysdeps/mach/hurd/if_index.c: New file.
95 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
96 * sysdeps/gnu/net/if.h: here.
97 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
98 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
99 * sysdeps/generic/net/if.h: New file. Declares just the standard
100 functions and `struct if_nameindex' type.
101 * socket/Makefile (headers): Add net/if.h here.
102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
103 * sysdeps/mach/hurd/Dist: Remove it here.
104 * sysdeps/unix/sysv/linux/Dist: And here.
105 * sysdeps/generic/if_index.c: Include <net/if.h>.
107 2000-03-24 Andreas Jaeger <aj@suse.de>
109 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
110 access relocated entries in l_info.
111 (elf_machine_got_rel): Likewise.
112 (elf_machine_runtime_setup): Likewise.
113 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
114 (elf_machine_runtime_setup): Likewise.
115 (__dl_runtime_resolve): Likewise.
117 2000-03-23 Ulrich Drepper <drepper@redhat.com>
119 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
120 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
121 according to RFC 2553.
122 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
123 * inet/getnameinfo.c: Likewise.
124 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
126 2000-03-23 Bruno Haible <haible@clisp.cons.org>
128 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
129 Remove no-op pointer increment.
131 2000-03-23 Andreas Jaeger <aj@suse.de>
133 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
134 follow change for libio.h from 2000-03-10.
136 2000-03-23 Andreas Jaeger <aj@suse.de>
138 * elf/dl-addr.c: Adjust include paths for ldsodefs location
140 * elf/dl-debug.c: Likewise.
141 * elf/dl-deps.c: Likewise.
142 * elf/dl-error.c: Likewise.
143 * elf/dl-fini.c: Likewise.
144 * elf/dl-init.c: Likewise.
145 * elf/dl-load.c: Likewise.
146 * elf/dl-lookup.c: Likewise.
147 * elf/dl-minimal.c: Likewise.
148 * elf/dl-object.c: Likewise.
149 * elf/dl-open.c: Likewise.
150 * elf/dl-preinit.c: Likewise.
151 * elf/dl-profile.c: Likewise.
152 * elf/dl-profstub.c: Likewise.
153 * elf/dl-reloc.c: Likewise.
154 * elf/dl-runtime.c: Likewise.
155 * elf/dl-support.c: Likewise.
156 * elf/dl-symbol.c: Likewise.
157 * elf/dl-version.c: Likewise.
158 * elf/rtld.c: Likewise.
159 * elf/sprof.c: Likewise.
160 * sysdeps/generic/dl-cache.c: Likewise.
161 * sysdeps/generic/dl-origin.c: Likewise.
162 * sysdeps/generic/dl-sysdep.c: Likewise.
163 * sysdeps/generic/elf/backtracesyms.c: Likewise.
164 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
165 * sysdeps/generic/libc-start.c: Likewise.
166 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
167 * sysdeps/powerpc/dl-machine.c: Likewise.
168 * sysdeps/powerpc/elf/libc-start.c: Likewise.
169 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
170 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
171 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
173 * elf/ldsodefs.h: Move file to ...
174 * sysdeps/generic/ldsodefs.h: ... here.
176 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
178 * sysdeps/mips/elf/ldsodefs.h: New file.
180 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
182 (_dl_check_map_versions): Likewise.
183 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
184 * elf/dl-load.c (_dl_init_paths): Likewise.
185 (_dl_map_object): Likewise.
186 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
187 (elf_get_dynamic_info): Likewise.
188 * elf/do-lookup.h (FCT): Likewise.
189 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
190 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
191 * elf/dl-addr.c (_dl_addr): Likewise.
192 * elf/dl-runtime.c (profile_fixup): Likewise.
194 * elf/dl-init.c (_dl_init_next): Likewise.
195 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
196 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
197 (DISTINGUISH_LIB_VERSIONS): Likewise.
198 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
199 (elf_machine_rel): Likewise.
201 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
202 for writable dynamic section.
204 2000-03-22 Ulrich Drepper <drepper@redhat.com>
206 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
207 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
209 2000-03-22 Andreas Jaeger <aj@suse.de>
211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
212 from latest Linux kernel.
214 2000-03-21 Andreas Jaeger <aj@suse.de>
216 * Versions.def: Add version 2.1.4.
218 2000-03-21 Ulrich Drepper <drepper@redhat.com>
220 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
221 * libio/oldiofopen.c: Likewise.
222 * libio/oldiofclose.c: Likewise.
223 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
225 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
227 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
228 indicating the first version set to obsolete the conditionalized code.
229 (compat_symbol): New macro.
230 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
231 rhs be the ABI_* macro for the subsuming version. Assign increasing
232 integer values to the ABI_* macros for supported versions.
233 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
236 2000-03-21 Ulrich Drepper <drepper@redhat.com>
238 * nscd/connections.c (nscd_run): Pretty print.
239 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
241 * manual/charset.texi: Fix typos. Rephrase.
242 * manual/process.texi: Likewise.
243 * manual/signal.texi: Likewise.
244 Patches by Mike Coleman <mkc@kc.net>.
246 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
248 * libio/iofdopen.c: Likewise.
249 * libio/iofgetpos.c: Likewise.
250 * libio/iofgetpos64.c: Likewise.
251 * libio/iofopen.c: Likewise.
252 * libio/iofsetpos.c: Likewise.
253 * libio/iofsetpos64.c: Likewise.
254 * libio/iopopen.c: Likewise.
255 * libio/oldiofopen.c: Likewise.
256 * libio/pclose.c: Likewise.
257 * sysdeps/gnu/siglist.c: Likewise.
258 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
260 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
261 chance to expand VERSION_##lib##_##version.
263 * libio/fileops.c: Use new macros from shlib-compat.h to define
265 * libio/iofclose.c: Likewise.
266 * libio/oldiofclose.c: Likewise.
267 Patch by Roland McGrath <roland@frob.com>.
269 2000-03-21 Jakub Jelinek <jakub@redhat.com>
271 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
272 Lay out struct sigcontext according to what really gets passed on
274 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
275 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
276 (prgregset_t, prfpregset_t): Define to elf_* types.
277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
278 Define to correct value.
279 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
283 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
285 * scripts/firstversions.awk: Allow multiple version sets in the
286 "earliest version" specification, meaning that version sets in the
287 gaps between listed versions should be folded into the earliest later
288 version that is explicitly listed.
289 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
290 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
292 2000-03-21 Ulrich Drepper <drepper@redhat.com>
294 * iconv/gconv_builtin.c: Include <endian.h>.
295 * iconv/gconv_builtin.h: Add UCS-BE aliases.
296 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
297 according to current platform.
298 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
299 __gconv_transform_internal_ucs2reverse, and
300 __gconv_transform_internal_ucs4le.
301 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
302 __gconv_transform_ucs2reverse_internal and
303 __gconv_transform_internal_ucs2reverse.
304 * iconvdata/Makefile (modules): Add UNICODE.
305 (distribute): Add unicode.c.
306 * iconvdata/gconv-modules: Add definitions for UNICODE module.
307 * iconvdata/unicode.c: New file.
309 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
310 determine byte order of input and convert accordingly.
312 * iconvdata/utf-16.c (gconv_init): Fix typo.
314 2000-03-20 Ulrich Drepper <drepper@redhat.com>
316 * iconvdata/gconv-modules: Fix typo.
318 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
321 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
323 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
325 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
327 2000-03-20 Ulrich Drepper <drepper@redhat.com>
329 * misc/Makefile (routines): Add mincore.
331 2000-03-20 Andreas Jaeger <aj@suse.de>
333 * sysdeps/generic/mincore.c: New stub file.
335 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
336 from latest Linux kernel.
338 2000-03-20 Ulrich Drepper <drepper@redhat.com>
340 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
341 _SC_GETPW_R_SIZE_MAX.
343 2000-03-20 Richard Henderson <rth@cygnus.com>
345 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
348 2000-03-20 Richard Henderson <rth@cygnus.com>
350 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
351 of arithmetic instructions.
353 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
354 with the fpcr. Protect from INV exception.
355 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
356 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
357 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
359 * sysdeps/alpha/fpu/s_copysign.c: New.
360 * sysdeps/alpha/fpu/s_copysignf.c: New.
361 * sysdeps/alpha/fpu/s_fabs.c: New.
362 * sysdeps/alpha/fpu/s_fabsf.c: New.
363 * sysdeps/alpha/fpu/s_rint.c: New.
364 * sysdeps/alpha/fpu/s_rintf.c: New.
366 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
368 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
370 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
371 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
372 Use physical addresses not KSEG addresses.
373 (io_system): Add PYXIS.
374 (io): Remove hae.reg, sys, hae_shift.
375 (stb_mb, stw_mb, stl_mb, __sethae): New.
376 (inline_outb, inline_outw, inline_outl): Don't set hae.
377 (inline_inb, inline_inw, inline_inl): Likewise.
378 (dense_sethae): New null function.
379 (struct cpuinfo_data): New.
380 (process_cpuinfo): Use local and stack variables, not static.
381 Move readlink check here from init_iosys.
382 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
384 (_hae_shift): Calculate it here.
385 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
386 add pciconfig_iobase.
388 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
390 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
391 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
393 * scripts/versions.awk: Fixed version renaming code to distinguish
396 2000-03-19 Ulrich Drepper <drepper@redhat.com>
398 * include/stdlib.h: Add prototype for __cxa_atexit.
400 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
401 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
403 2000-03-17 Cristian Gafton <gafton@redhat.com>
405 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
406 existing rtld-installed-name.
407 ($(rtld-installed-name)): Request libc-$(version) be installed too.
408 replace existing rtld-installed-name using $(symbolic-link-prog).
410 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
412 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
413 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
414 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
417 2000-03-19 Ulrich Drepper <drepper@redhat.com>
419 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
420 glob64. Since there is no glob64 in the LFS proposal applications
421 can assume that glob handles LFS situations. glob64 is only needed
422 if alternative filesystem functions are used.
424 2000-03-19 Geoff Clare <gwc@unisoft.com>
426 * sysdeps/generic/glob.c: Correct gl_pathc value returned
427 when GLOB_DOOFFS is set; correct handling of patterns
428 containing escaped wildcards (and no unescaped ones);
429 GLOB_ERR flag was being ignored in some situations.
431 * posix/globtest.c, posix/globtest.sh: Updated to include
432 tests for the problems fixed by the above changes to glob.c.
434 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
436 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
438 * Makeconfig (soversion.i): Use only first match for each lib.
440 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
442 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
443 rather than $(sysd-dirs-done) to protect these rules.
445 * Makerules (version-renames.def): Target removed.
446 (Versions.all): Depend on soversions.i directly and parse it.
448 * Makeconfig (soversions.i): New target, input-reading parts of
449 soversions.mk generation moved here; result is a canonicalized
450 list "LIB VERSION [SET]" for this configuration.
451 (soversions.mk): Use that as input. Don't emit map-firstversions.
452 * Makerules (version-renames.def): New target, generated from
453 soversions.i with contents that was in $(map-firstversions).
454 (Versions.all): Don't depend on soversions.mk, depend on
455 version-renames.def instead; just cat it into the input.
457 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
458 for $(map-firstversions), which better handles it being empty.
460 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
461 supported version for libc 0.2.90.libio to GLIBC_2.2.
463 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
464 and use it to emit new variable `map-firstversions'.
465 * scripts/firstversions.awk: New file.
466 * Makerules (Versions.all): Use scripts/firstversions.awk and
467 the $(map-firstversions) value to generate a modified versions list
468 that includes renames in "A = B" syntax for each version set earlier
469 than the "earliest symbol version" named in shlib-versions.
470 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
471 rename version set A to B in the output to the intermediate file.
472 * scripts/abi-versions.awk: New file.
473 * Makerules (abi-versions.h): New target, generated by that script.
474 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
475 * include/shlib-compat.h: New file, uses that generated header.
477 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
479 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
480 after stripping # comments, and then run it through cpp.
481 This allows things like "%ifdef FOO" based on config.h settings.
482 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
484 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
485 and other errors that indicate a pseudo-receive happened, grok through
486 the message buffer for port rights that need references fixed up.
488 2000-03-16 Andreas Jaeger <aj@suse.de>
490 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
492 * sysdeps/unix/sysv/linux/madvise.c: Remove.
494 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
495 from latest Linux kernel.
496 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
498 * misc/sys/mman.h: Add prototype for mincore.
500 2000-03-17 Ulrich Drepper <drepper@redhat.com>
502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
503 entry for GLIBC_2.0 version of setrlimit.
504 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
506 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
508 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
509 * nis/nss_compat/compat-initgroups.c: Likewise.
510 * nis/nss_nis/nis-initgroups.c: Likewise.
511 * nis/nss_nis/nis-netgrp.c: Likewise.
512 * nis/nss_nis/nis-proto.c: Likewise.
513 * nis/nss_nis/nis-rpc.c: Likewise.
514 * nis/nss_nis/nis-service.c: Likewise.
515 * nis/ypclnt.c: Likewise.
517 2000-03-16 Andreas Jaeger <aj@suse.de>
519 * manual/Makefile: MAKEINFO is set to `:' from configure if it
520 doesn't exist, correct checks. Fixes PR libc/1649.
522 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
524 * nscd/hstcache.c: Restore correct UID.
525 * nscd/pwdcache.c: Likewise.
526 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
528 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
530 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
531 macros for register names, in line with 2000-03-14 linux change.
533 * sysdeps/mach/sched_yield.c: New file.
535 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
537 * sysdeps/generic/lockfile.c: Include <stdio.h>
538 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
539 case <libio.h> defined them.
540 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
542 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
543 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
545 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
546 for more pleasing parse error.
548 2000-03-16 Ulrich Drepper <drepper@redhat.com>
550 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
552 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
554 * elf/Makefile: Add rules to compile and run constload1 test.
555 * elf/constload1.c: New file.
556 * elf/constload2.c: New file.
557 * elf/constload3.c: New file.
559 2000-03-15 Ulrich Drepper <drepper@redhat.com>
561 * sysdeps/posix/open64.c: Make __open64 weak alias.
562 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
563 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
564 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
565 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
566 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
567 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
568 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
569 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
570 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
573 2000-03-14 Ulrich Drepper <drepper@redhat.com>
575 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
576 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
578 2000-03-08 Andreas Jaeger <aj@suse.de>
580 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
582 2000-03-14 Ulrich Drepper <drepper@redhat.com>
584 * timezone/africa: Update from tzdata2000d.
585 * timezone/asia: Likewise.
586 * timezone/australasia: Likewise.
587 * timezone/europe: Likewise.
588 * timezone/northamerica: Likewise.
589 * timezone/southamerica: Likewise.
591 * po/fr.po: Update from translation team.
592 * po/de.po: Likewise.
594 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
595 last parameter. Move code to add map to global scope from here...
596 * elf/dl-open.c (dl_open_worker): ...here.
597 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
598 * elf/rtld.c: Adjust call to _dl_map_object_deps.
600 * locale/programs/ld-collate.c (collate_read): Fix warning.
602 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
603 values and macros for register names.
605 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
606 returned by seek cookie function is -1.
608 2000-03-14 Andreas Jaeger <aj@suse.de>
610 * locale/localeconv.c (localeconv): Fix typo.
611 Reported by Andre Charbonneau <andrec@corel.com>.
613 2000-03-14 Ulrich Drepper <drepper@redhat.com>
615 * iconv/skeleton.c: Increment __invocation_counter in inner loop
616 since modules depend on it counting the number of times the conversion
619 * iconv/gconv_open.c: Optimize loop to setup step data structure.
621 * iconv/gconv.h: Pretty print.
623 2000-03-04 Ulrich Drepper <drepper@redhat.com>
625 * posix/wordexp-test.c: Correct one of the tests added in the last
626 change. Really get the root passwd entry to check again ~root.
628 2000-03-10 Andreas Jaeger <aj@suse.de>
630 * manual/filesys.texi (Working Directory): Fix last patch.
631 Patch by Martin Buchholz <martin@xemacs.org>.
633 2000-03-10 Andreas Jaeger <aj@suse.de>
635 * manual/creature.texi (Feature Test Macros): Fix language.
637 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
639 * mach/devstream.c (devstream_write, devstream_read): New functions.
640 (input, output): Functions removed.
641 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
642 using only the vanilla fopencookie interface.
644 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
645 as macro for __io_functions.
646 (funcsio): Use cookie_io_functions_t type name.
647 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
649 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
651 (fopencookie): Use it.
652 * libio/libio.h: Declare _IO_cookie_init.
653 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
656 * libio/libio.h (__io_seek_fn): Fix second argument type
657 to be a pointer, in line with the manual and the old stdio.
658 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
660 * sysdeps/generic/bits/stdio-lock.h: New file.
661 This is a stub with #error, but that's better than no file at all.
663 2000-03-09 Martin Buchholz <martin@xemacs.org>
665 * sysdeps/unix/sysv/linux/alpha/syscall.S:
666 * manual/message.texi (Using gettextized software):
667 * manual/message.texi (Message Translation): Doc Fixes.
668 * manual/filesys.texi (File Size):
669 * manual/charset.texi (glibc iconv Implementation):
670 * locale/programs/ld-collate.c (collate_output):
671 * iconv/gconv_db.c (find_derivation):
672 * manual/install.texi:
673 * manual/search.texi (Hash Search Function):
674 * manual/stdio.texi (Output Conversion Syntax):
677 * sysdeps/generic/dl-sysdep.c:
678 Doc Fixes. `allows to' is not correct English.
680 * elf/rtld.c: Doc fixes.
681 * manual/creature.texi (Feature Test Macros): Doc fixes.
682 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
684 * manual/filesys.texi (Working Directory): Check for ERANGE to
687 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
689 * string/argz-stringify.c (__argz_stringify): Fix loop termination
690 conditions so as not to clobber the final '\0' when there is only one
691 element in the vector.
693 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
695 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
696 broken by 2000-02-27 change.
698 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
700 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
702 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
703 argument type, for 2000-02-22 change in signal/signal.h declaration.
705 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
707 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
708 to getdirentries64 (no __), since the Linux implementation
709 has no __ name, and there is no declaration for the __ name.
711 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
713 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
714 sed regexp so as not to break directory names including /../ within.
716 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
717 The sysdeps/generic file is right for BSD. This file was in fact the
718 Hurd file, but the only difference was the WNOREAP flag that was never
719 actually implemented or used anywhere.
721 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
722 since AC_PATH_PROG already does it for us.
723 (PERL): Rewrite check added in 2000-02-29 change for syntactic
724 correctness and sh portability. I replaced the broken check
725 with a more sensible implementation of the apparently intended
726 semantics, which might still be questionable. Using expr causes
727 a non-numeric value for `perl -V:apiversion` to be accepted,
728 refusing to use only a perl that reports a number less than 5;
729 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
730 * configure: Regenerated.
732 2000-03-08 Andreas Jaeger <aj@suse.de>
734 * manual/crypt.texi: Fix paths.
736 2000-03-07 Andreas Jaeger <aj@suse.de>
738 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
740 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
743 2000-03-06 Andreas Jaeger <aj@suse.de>
745 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
746 in __sgn1l, otherwise g++ fails to parse this.
747 Reported by Sean Chen <sean.chen@turbolinux.com>.
749 2000-03-03 Geoff Keating <geoffk@cygnus.com>
751 * configure.in: Compute sizeof-long-double.
752 * configure: Regenerated.
753 * config.make.in: Make sizeof-long-double available to sub-makes.
755 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
757 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
760 2000-03-03 Geoff Keating <geoffk@cygnus.com>
762 * Makeconfig (rpath-dirs): Add crypt.
763 (all-subdirs): Remove md5crypt.
764 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
765 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
766 * sysdeps/generic/crypt-entry.c: Delete.
767 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
768 * sysdeps/generic/crypt.h: Delete.
769 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
770 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
771 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
772 * sysdeps/generic/des_impl.c: Delete.
773 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
774 * crypt/sysdeps: Delete.
775 * crypt/crypt_util.c: Don't use `patchlevel.h'.
776 * md5-crypt/Versions: Move to crypt/.
777 * md5-crypt/md5-crypt.c: Move to crypt/.
778 * md5-crypt/md5.c: Move to crypt/.
779 * md5-crypt/md5c-test.c: Move to crypt/.
780 * md5-crypt/md5test.c: Move to crypt/.
782 * crypt/Makefile: Adjust for new structure.
784 2000-03-03 Paul Eggert <eggert@twinsun.com>
786 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
787 define to 1 if not defined.
789 2000-03-03 Andreas Jaeger <aj@suse.de>
791 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
793 2000-03-03 Andreas Jaeger <aj@suse.de>
795 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
797 (xdr_int64_t): Correctly handle lower half.
798 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
800 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
802 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
805 2000-03-02 Andreas Jaeger <aj@suse.de>
807 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
810 2000-03-02 Andreas Jaeger <aj@suse.de>
812 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
814 2000-03-01 Andreas Jaeger <aj@suse.de>
816 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
817 (tests): Added tst-getdate.
819 * time/tst-getdate.c: New file.
821 * time/datemsk: New file, needed for tst-getdate.
823 2000-02-29 Cristian Gafton <gafton@redhat.com>
825 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
827 2000-02-17 H.J. Lu <hjl@gnu.org>
829 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
831 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
833 (svcudp_recv): Set up message with the new "xp_pad" field for
835 (svcudp_reply): Support IP_PKTINFO if available.
837 2000-03-01 Andreas Jaeger <aj@suse.de>
839 * time/getdate.c (check_mday): Fix check for february.
840 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
841 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
843 2000-03-02 Andreas Jaeger <aj@suse.de>
845 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
846 g++ fails to parse this.
847 Reported by Sean Chen <sean.chen@turbolinux.com>.
849 2000-02-28 Ulrich Drepper <drepper@redhat.com>
851 * io/creat.c: Moved to...
852 * sysdeps/generic/creat.c: ...here.
853 * io/creat64.c: Moved to...
854 * sysdeps/generic/creat64.c: ...here.
855 * io/lockf.c: Moved to...
856 * sysdeps/generic/lockf.c: ...here.
858 * crypt/crypt.texi: Moved to...
859 * manual/crypt.texi: ...here.
860 * crypt/examples/genpass.c: Moved to...
861 * manual/examples/genpass.c: ...here.
862 * crypt/examples/mygenpass.c: Moved to...
863 * manual/examples/mygenpass.c: ...here.
864 * crypt/examples/testpass.c: Moved to...
865 * manual/examples/testpass.c: ...here.
867 * manual/Makefile (chapters): Add crypt.
868 * manual/conf.texi: Add usual header for not-last chapter.
869 * manual/crypt.texi: Add special header for last chapter.
871 2000-02-28 Geoff Keating <geoffk@cygnus.com>
873 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
874 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
875 complain if there is no crypt add-on.
876 * crypt/configure: Removed.
878 * crypt/crypt.texi: Update documentation of US export restrictions
879 to match the 14 Jan 2000 regulations.
881 2000-02-28 Geoff Keating <geoffk@cygnus.com>
883 * crypt: New subdirectory, merged in from the crypt add-on.
885 2000-02-28 Ulrich Drepper <drepper@redhat.com>
887 * include/unistd.h: Add __rmdir and __mkdir prototypes.
890 See ChangeLog.10 for earlier changes.