1 1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
3 * sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>.
4 (__ioctl): Use IOC_MSGID macro.
6 1999-01-24 Ulrich Drepper <drepper@cygnus.com>
8 * libio/iofopen.c (_IO_fopen): Pass correct value as fourth
9 parameter to _IO_file_fopen.
10 * libio/iofopen64.c (_IO_fopen64): Likewise.
12 * po/sv.po: Update from translation team.
14 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork
16 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
18 1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20 * ctype/ctype.h (toupper,tolower): Use __inline instead of inline,
21 define inline functions only when optimizing for speed and
22 __USE_EXTERN_INLINES is set.
24 1999-01-24 Ulrich Drepper <drepper@cygnus.com>
26 * scripts/config.sub: Update from latest autoconf release.
27 * scripts/config.guess: Likewise.
29 * sysdeps/i386/i786/Implies: New file.
31 1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
33 * manual/install.texi (Running make install): Change for Linux 2.2.
35 1999-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
37 * manual/process.texi (Creating a Process): Fix typos.
39 1999-01-24 Roland McGrath <roland@baalperazim.frob.com>
41 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): Fail with ENOSYS, don't
42 call abort. Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
44 1999-01-23 Roland McGrath <roland@baalperazim.frob.com>
46 * sysdeps/unix/sysv/linux/sys/mtio.h: Moved to...
47 * sysdeps/gnu/sys/mtio.h: ...here.
48 (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros.
49 * sysdeps/gnu/Dist: Add sys/mtio.h.
50 * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h.
51 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
52 (sysdep_headers): Don't add sys/mtio.h here.
53 * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it
56 Revamp Hurd ioctl typing magic to handle `struct' keyword in the
57 ioctl command macros, so we can use Unix-compatible headers that
58 make use of the _IO* macros.
59 * sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE,
60 _IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros.
61 (_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t.
62 (_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*.
63 (numerous ioctl command macros): Restore `struct' keyword.
65 1999-01-24 Ulrich Drepper <drepper@cygnus.com>
67 * ctype/ctype.c (toupper): Correct variable names from last change.
70 1999-01-23 Ulrich Drepper <drepper@cygnus.com>
72 * sunrpc/rpc_main.c (open_output): Allow better translation of
74 (close_output): Likewise.
75 * locale/programs/localedef.c: Unify messages.
76 * malloc/obstack.c: Likewise.
77 Suggested by Vladimir Michl <Vladimir.Michl@upol.cz>.
79 * grp/putgrent.c (putgrent): Don't insert extra colon.
80 Patch by Michael Schaefer <michael.schaefer@dlr.de>.
82 * nss/nss_files/files-XXX.c (internal_getent): Make sure the buffer has
83 at least two bytes (not one). Correct buflen parameter type.
84 * nss/nss_files/files-alias.c (get_next_alias): Make sure buffer
85 has at least two bytes. Use fgets_unlocked instead of fgets.
87 * ctype/ctype.h: Don't user __tolower directly for tolower
88 implementation. Use inline function which tests for the range
89 first. Make _tolower equivalent to old tolower macros.
91 * ctype/ctype.c: Change tolower/toupper definition accordingly.
93 * argp/argp-help.c: Use _tolower instead of tolower if possible.
94 * inet/ether_aton_r.c: Likewise.
95 * inet/ether_line.c: Likewise.
96 * inet/rcmd.c: Likewise.
97 * intl/l10nflist.c: Likewise.
98 * locale/programs/ld-collate.c: Likewise.
99 * locale/programs/linereader.c: Likewise.
100 * locale/programs/localedef.c: Likewise.
101 * nis/nss_nis/nis-alias.c: Likewise.
102 * nis/nss_nis/nis-network.c: Likewise.
103 * posix/regex.c: Likewise.
104 * resolv/inet_net_pton.c: Likewise.
105 * stdio-common/printf_fp.c: Likewise.
106 * stdio-common/vfscanf.c: Likewise.
107 * sysdeps/generic/strcasestr.c: Likewise.
109 * math/bits/mathcalls.h: Fix typo.
111 1999-01-23 Roland McGrath <roland@baalperazim.frob.com>
113 * sysdeps/gnu/errlist.awk: Add comment.
115 1999-01-23 Ulrich Drepper <drepper@cygnus.com>
117 * csu/Versions: Add __register_frame_info_table.
119 1998-12-29 Geoff Keating <geoffk@ozemail.com.au>
121 * sunrpc/Versions: Include _authenticate, it's defined in a user
122 header (in fact, it's the whole contents of rpc/svc_auth.h).
124 1999-01-23 Ulrich Drepper <drepper@cygnus.com>
126 * io/ftw.c (process_entry): Initialize flag since not all gcc
127 versions are smart enough to see that this is no problem.
129 * elf/dl-open.c (_dl_init_paths): Check malloc result.
131 * csu/Versions: Add __frame_state_for.
133 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
135 * sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP.
137 * iconv/gconv_conf.c (add_alias): Convert names to uppercase before
138 adding into search tree.
139 (add_module): Likewise.
140 * iconv/iconv_open.c: Likewise.
141 * iconv/gconv_db.c: Change all __strcasecmp to strcmp.
142 * iconv/skeleton.c (gconv_init): Likewise.
144 1999-01-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
146 * elf/Makefile: Make dependencies between test modules explicit.
147 (preloadtest-preloads): New variable.
148 ($(objpfx)preloadtest.out): Use it.
149 (preloadtest-ENV): Use it.
151 1999-01-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
153 * sysdeps/unix/sysv/linux/arm/Dist: Undo last change. Not needed.
155 1999-01-22 Roland McGrath <roland@baalperazim.frob.com>
157 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend on
158 $(common-objpfx)errnos.d.
160 * sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules.
162 * manual/errno.texi (Error Codes): Fix ENOSYS description.
165 1999-01-21 Ulrich Drepper <drepper@cygnus.com>
167 * elf/Makefile: Add missing dependency for preloadtest binary.
169 1999-01-21 Ulrich Drepper <drepper@cygnus.com>
171 * version.h (VERSION): Bump to 2.0.111.
173 * elf/Makefile (distribute): Add test module sources.
175 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print.
176 * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h.
177 * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h.
178 * posix/Makefile (headers): Add sys/sysmacros.h.
179 * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD.
180 * sysdeps/generic/sys/sysmacros.h: New file.
181 * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and
184 * elf/dl-close.c: Rewrite the way adding to the global scope works
185 to handle error cases better than the last change.
186 The l_global flag is now only set when the object is actually
187 counted in the global scope list.
188 * elf/dl-deps.c: Likewise.
189 * elf/dl-open.c: Likewise.
191 1999-01-20 Philip Blundell <pb@nexus.co.uk>
193 * sysdeps/unix/sysv/linux/arm/sigaction.c: New file.
195 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
196 * sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S.
198 * sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support
199 26-bit machines correctly and fix check for returned errors.
201 1999-01-21 Ulrich Drepper <drepper@cygnus.com>
203 * sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization.
205 * sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first
206 implementation now that the syscall is back in 2.2.0.
208 * elf/Makefile: Change rule to make test module so that they are
209 compiled using -fPIC.
210 * elf/testobj1.c: Add missing prototype.
211 * elf/testobj1_1.c: Likewise.
212 * elf/testobj2.c: Likewise.
213 * elf/testobj3.c: Likewise.
214 * elf/testobj4.c: Likewise.
215 * elf/testobj5.c: Likewise.
216 * elf/testobj6.c: Likewise.
218 1999-01-20 Ulrich Drepper <drepper@cygnus.com>
220 * elf/Makefile (tests): Add loadfail.
221 Add rules to build failobj.so.
222 * elf/loadfail.c: New file. Test of failing to load object with
224 * elf/failobj.c: New file. Object which will fail to load.
226 * elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned).
228 * elf/dl-close.c: Handle failed loads which would have gone in the
229 global scope correctly.
231 * elf/testobj1.c: Include stdlib.h to get NULL defined.
232 * elf/testobj2.c: Likewise.
233 * elf/testobj3.c: Likewise.
234 * elf/testobj4.c: Likewise.
235 * elf/testobj5.c: Likewise.
237 * iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197.
238 * iconvdata/gconv-modules: Add entries for above charsets.
239 * iconvdata/iso-ir-197.c: New file.
240 * iconvdata/sami-ws2.c: New file.
242 * sysdeps/unix/sysv/linux/vfork.c: Once again use generic version.
244 1999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
246 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix
247 generation of dependency list to make it work with newer versions
250 1999-01-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
252 * Makerules (build-module): New macro, moved from...
253 * elf/Makefile (build-module): ... here.
254 * iconvdata/Makefile (build-module): ... and here.
256 1999-01-20 Ulrich Drepper <drepper@cygnus.com>
258 * sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0.
260 * elf/Makefile (tests): Add preloadtest. Add rules to build more test
261 modules and the preloadtest binary.
262 * elf/loadtest.c (TEST_ROUNDS): Increase to 1000.
263 (testobjs): Add more modules.
264 (tests): Add entries for new modules.
265 * elf/preloadtest.c: New file. Test for LD_PRELOAD.
266 * elf/testobj1.c: Add 'preload' function.
267 * elf/testobj2.c: Likewise.
268 * elf/testobj3.c: Likewise.
269 * elf/testobj4.c: New file.
270 * elf/testobj5.c: New file.
271 * elf/testobj6.c: New file.
273 1999-01-19 Ulrich Drepper <drepper@cygnus.com>
275 * elf/dl-object.c (_dl_new_object): Micro-optimization.
277 * elf/restest1.c: New file. Symbol resolution test.
278 * elf/testobj1_1.c: New file. Module used in this test.
279 * elf/Makefile: Add rules for restest1 generation and execution.
281 * elf/dl-object.c (_dl_new_object): l_local_scope really gets
282 assigned the local scope.
284 * posix/test-vfork.c (main): Improve test to check for correct
287 * sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone.
289 * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK.
291 * timezone/zdump.c: Update from tzcode1999a.
292 * timezone/zic.c: Likewise.
294 1999-01-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
296 * math/tgmath.h: Rename nextafterx to nexttoward.
298 1999-01-19 Ulrich Drepper <drepper@cygnus.com>
300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates >
302 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
303 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
304 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
306 * math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward.
307 * math/Versions: Likewise.
308 * math/bits/mathcalls.h: Likewise.
309 * manual/arith.texi: Likewise.
310 * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
311 * sysdeps/libm-ieee754/s_nextafterx.c: Replaced by...
312 * sysdeps/libm-ieee754/s_nexttoward.c: New file.
313 * sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by...
314 * sysdeps/libm-ieee754/s_nexttowardf.c: New file.
315 * sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by...
316 * sysdeps/libm-ieee754/s_nexttowardl.c: New file.
318 * time/Makefile (routines): Removed strfxtime.
319 * time/Versions: Likewise.
320 * time/strfxtime.c: Removed.
321 * time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx,
322 mkxtime, and strfxtime.
324 1999-01-18 Ulrich Drepper <drepper@cygnus.com>
326 * iconv/gconv_conf.c (add_module): Complete rewrite. Use cleverer
327 data structures and avoid creating intermediate representations
328 first. Rewrite also all helper functions.
329 * iconv/gconv_db.c (find_derivation): Use new data structure for
331 * iconv/Versions: Remove __gconv_nmodules.
332 * iconv/iconv_prog.c: Rewrite generation of charset name list to
333 use new data structure.
334 * iconv/gconv_int.h (struct gconv_module): Add new elements for
335 database data structure.
336 (__gconv_modules_db): Update type.
337 (__gconv_transform_dummy): Removed.
338 * iconv/gconv_builtin.h: Remove dummy transformation.
339 * iconv/gconv_simple.c: Remove __gconv_transform_dummy.
341 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
342 __syscall_vfork, add vfork.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
345 1999-01-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
347 * posix/test-vfork.c: Include <sys/wait.h> for wait declaration.
349 1999-01-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
351 * manual/ctype.texi: Fix cross refs and typos.
352 * manual/charset.texi: Likewise.
354 1999-01-18 Ulrich Drepper <drepper@cygnus.com>
356 * Rules: Add dummy.c and dummy.o to common-generated.
357 Patch by Andreas Schwab.
359 1999-01-18 10:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
361 * manual/libc-texinfo.sh: Use tsort.awk.
362 * manual/tsort.awk: New file.
363 * manual/Makefile (minimal-dist): Add tsort.awk.
364 (distribute): Remove generated files: summary.texi,
365 stamp-summary, chapters.texi, top-menu.texi, and texis.
367 1999-01-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
369 * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
372 1999-01-17 Ulrich Drepper <drepper@cygnus.com>
374 * wctype/wcfuncs.c: Declare __ctype32_b.
376 * elf/Makefile (test-modules): Add test-modules.
378 * stdlib/canonicalize.c (canonicalize): Update write pointer after
379 realloc. Minor optimizations.
381 1999-01-16 Ulrich Drepper <drepper@cygnus.com>
383 * po/no.po: Update from norwegian translation team.
385 * iconvdata/iso-2022-jp.c: Correct handling of G2 set.
386 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
388 * elf/Makefile (tests): Add loadtest.
389 Add rules to generate test modules.
390 * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line.
391 * elf/loadtest.c: New file.
392 * elf/testobj1.c: New file.
393 * elf/testobj2.c: New file.
394 * elf/testobj3.c: New file.
396 * elf/dl-close.c: Correct removing module from global list.
398 * elf/dl-open.c: Add debugging code.
400 * include/string.h: Add __rawmemchr prototype.
401 * string/Makefile (routines): Add rawmemchr.
402 * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr.
403 * string/string.h: Add prototype for rawmemchr.
404 * string/bits/string2.h: Optimize strchr with rawmemchr.
405 * sysdeps/generic/rawmemchr.c: New file.
406 * sysdeps/i386/rawmemchr.c: New file.
407 * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code.
408 Optimize strchr with rawmemchr.
410 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE,
411 _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98.
413 1999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
415 * nis/nis_error.c (nis_errlist): Fix capitilasation.
417 1999-01-15 Ulrich Drepper <drepper@cygnus.com>
419 * posix/Makefile (tests): Add test-vfork.
420 * posix/test-vfork.c: New file by Andreas Schwab.
422 * manual/charset.texi: More misspelling fixes.
423 Reported by Tom Tromey <tromey@cygnus.com>.
424 Improve mbsinit example.
426 * sysdeps/unix/sysv/linux/vfork.c: Removed.
427 * sysdeps/unix/sysv/linux/i386/vfork.S: New file.
429 1999-01-14 Ulrich Drepper <drepper@cygnus.com>
431 * Make-dist: If file is generated but still distributed the later
434 * sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h.
436 * manual/Makefile (examples): Filter out the example code from
439 * version.h (VERSION): Bump to 2.0.110.
441 * nis/nis_error.c (nis_errlist): Fix typo in string.
443 * misc/regexp.h: Add restrict to function declarations.
445 1998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
447 Patche by Ralf Baechle <ralf@gnu.org>:
448 * sysdeps/mips/sys/regdef.h: New file, enhanced versions of
449 deleted linux specific files.
451 1998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
453 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file.
455 1999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
457 * misc/regexp.h (compile): Correct end-of-line check, fix typo in
458 docu. Reported by Kalle Olavi Niemitalo <kalle@Niemitalo.fi>.
460 1999-01-14 Ulrich Drepper <drepper@cygnus.com>
462 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork.
463 Patch by Richard Henderson <rth@twiddle.net>.
465 1999-01-13 Ulrich Drepper <drepper@cygnus.com>
467 * manual/nss.texi (NSS Module Interface): Document requirement on errno
468 value after unsuccessful call of module function.
470 * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias.
471 * sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available,
473 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork.
474 * sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise.
475 * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
477 * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of
478 INLINE_SYSCALL for syscall without parameters.
480 1999-01-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
482 * sysdeps/unix/make-syscalls.sh: Set shared-only-routines for
485 * Rules: Remove rules for empty.* again.
487 1999-01-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
489 * sysdeps/unix/sysv/linux/m68k/vfork.S: New file.
491 1999-01-13 Ulrich Drepper <drepper@cygnus.com>
493 * sysdeps/i386/bits/string.h: Correct several bugs in various
494 functions which never worked.
495 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
497 1999-01-12 Ulrich Drepper <drepper@cygnus.com>
499 * manual/charset.texi: Add many corrections.
500 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
502 1999-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
504 * manual/charset.texi: Fix some typos.
506 1999-01-12 Ulrich Drepper <drepper@cygnus.com>
508 * login/programs/pt_chown.c (main): Update copyright year.
510 1999-01-11 Ulrich Drepper <drepper@cygnus.com>
512 * sysdeps/posix/tempname.c: Open files with mode 0600.
514 * ctype/Versions [GLIBC_2.0]: Export __ctype32_b.
515 * include/wctype.h: Declare __iswctype.
516 * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of
518 * wctype/Makefile (routines): Add wcextra_l.
519 * wctype/wcextra.c (iswblank): Implement function here and don't use
521 (__iswblank_l): Move definition to...
522 * wctype/wcextra_l.c: ...here. New file.
523 * wctype/wcfuncs.c: Really implement functions and don't call
524 __iswctype or __towctrans.
525 * wctype/wctype.h: Change isw* and tow* macros. Don't call
526 __iswctype or __towctrans. Instead optimize constant argument case.
528 * iconv/gconv.h: Fix typos.
530 * iconv/skeleton.c: Fix typos. Optimize init function a bit.
531 Correctly emit escape sequence to return to initial state in
534 * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize
535 max_needed_to element.
537 * manual/mbyte.texi: Removed. This is now described in charset.texi.
538 * manual/charset.texi: New file.
539 * manual/Makefile (chapters): Replace mbyte by charset.
540 * manual/ctype.texi: Document wide character functions.
541 * manual/intro.texi: Fix reference to mbyte chapter.
542 * manual/lang.texi: Likewise.
543 * manual/locale.texi: Likewise.
544 * manual/stdio.texi: Likewise.
545 * manual/string.texi: Fix @node line for new charset chapter.
546 * manual/libc.texinfo (UPDATED): Updated. Also update copyright years.
547 * manual/memory.texi (savestring): Optimize code to give a good
550 * manual/filesys.texi: Fix wording. Patches by Jim Meyering.
552 * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition.
553 * nscd/nscd_getpw_r.c: Likewise.
554 * nscd/nscd_gethst_r.c: Likewise.
556 * stdlib/stdtold_l.c: Always include xlocale.h.
558 1999-01-11 Geoffrey Keating <geoffk@ozemail.com.au>
560 * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as
561 DBL_MAX_10_EXP_LOG if there is no long double.
562 (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match
565 1999-01-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
567 * timezone/Makefile ($(testdata)/GB): Changed to ...
568 ($(testdata)/Europe/London): ... for tst-timezone test.
569 ($(objpfx)tst-timezone.out): Change GB to Europe/London.
571 * timezone/tst-timezone.c (main): Enable DST switching test,
572 change GB to Europe/London.
574 1999-01-10 Philip Blundell <philb@gnu.org>
576 * socket/Makefile (headers): Remove bits/sockunion.h.
578 1999-01-09 Philip Blundell <philb@gnu.org>
580 * socket/sys/socket.h: Don't include <bits/sockunion.h>.
581 * sysdeps/generic/bits/sockunion.h: Deleted.
582 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
584 1999-01-08 H.J. Lu <hjl@gnu.org>
586 * io/fts.c (fts_close): Don't access memory after having it freed.
588 1998-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
590 * manual/Makefile (stamp-summary): Remove space after -t option
591 for compatibility with non-GNU sort programs.
593 1999-01-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
595 * manual/search.texi (Comparison Functions): Fix compare_doubles
598 1999-01-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
600 * Makerules (do-tests-clean): Remove reference to obsolete
601 variable tests-static.
603 1999-01-07 Ulrich Drepper <drepper@cygnus.com>
605 * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed. It's an alias
607 * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c.
608 * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
610 * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to
612 * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for
615 * sysdeps/i386/i686/mempcpy.S: Fix typos.
617 * sysdeps/i386/i686/memset.S: New file.
618 * sysdeps/i386/i686/bzero.S: New file.
619 * sysdeps/i386/i686/strcmp.S: New file.
620 * sysdeps/i386/i686/memcpy.S: New file.
622 * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
623 Add ntp_adjtime and ntp_gettime.
624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and
627 1998-12-29 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
629 * manual/time.texi (Precision Time): Add documentation for
630 ntp_gettime and ntp_adjtime.
632 1998-12-28 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>
634 * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file
636 * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file
638 * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added.
639 Add prototypes for ntp_adjtime and ntp_gettime.
641 1999-01-07 Ulrich Drepper <drepper@cygnus.com>
643 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
644 from c and D register output.
646 1999-01-07 Philip Blundell <philb@gnu.org>
648 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change.
650 1999-01-07 Ulrich Drepper <drepper@cygnus.com>
652 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for
653 __fsfilcnt_t. Patch by Bruce Elliott <bde@nwlink.com>.
655 1999-01-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
657 * manual/conf.texi: Remove pointers from first @node. Move old
658 @node spec inside comment.
659 * manual/lang.texi: Likewise.
660 * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment.
661 * manual/stdio.texi: Fix typo.
663 1999-01-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
665 * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN
666 .. UCHAR_MAX]. Local var buf renamed to result and its type
667 changed from char[] to wchar_t to get proper alignment.
669 * posix/fnmatch.c: Also cast the arguments of the other ctype
670 functions to unsigned char.
672 1999-01-07 Ulrich Drepper <drepper@cygnus.com>
674 * Rules: Add rules for empty.{o,os,op} back.
676 1999-01-05 Ulrich Drepper <drepper@cygnus.com>
678 * Makerules (common-mostlyclean): Add missing parentheses.
680 * Rules: Add back rules for empty.o generation.
682 1999-01-05 Philip Blundell <philb@gnu.org>
684 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions
685 from latest (2.2.0pre4) kernel.
687 1999-01-05 Scott Bambrough <scottb@corelcomputer.com>
689 * sysdeps/unix/sysv/linux/arm/sys/user.h : New file. Fixes problem
690 on ARM platforms with programs that include <sys/user.h> and
691 <sys/ptrace.h>. Solution suggested by Geoff Keating earlier with
692 fix for same problem on the PowerPC platform.
694 1999-01-04 Philip Blundell <philb@gnu.org>
696 * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of
698 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file.
700 1999-01-04 Ulrich Drepper <drepper@cygnus.com>
702 * csu/version.c (banner): Update date.
703 * catgets/gencat.c: Update year in copyright message text.
704 * db2/makedb.c: Likewise.
705 * debug/catchsegv.sh: Likewise.
706 * elf/ldd.bash.in: Likewise.
707 * elf/sprof.c: Likewise.
708 * iconv/iconv_prog.c: Likewise.
709 * locale/programs/locale.c: Likewise.
710 * locale/programs/localedef.c: Likewise.
711 * login/programs/utmpd.c: Likewise.
712 * malloc/mtrace.pl: Likewise.
713 * nscd/nscd.c: Likewise.
714 * nss/getent.c: Likewise.
715 * posix/getconf.c: Likewise.
717 1999-01-02 Philip Blundell <philb@gnu.org>
719 * sunrpc/Makefile: Ensure that we really use the right path for cpp.
721 1999-01-03 Philip Blundell <philb@gnu.org>
723 * Makefile (tests-clean): New target to delete test output files.
724 * Makerules (do-tests-clean): New rule to support the above.
725 * Rules (subdir_testclean): Likewise.
727 1999-01-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
729 * iconv/Makefile: Use install-others instead of explicit
730 dependency on subdir_install.
732 1999-01-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
734 * iconv/gconv_db.c (find_derivation): Release lock before
736 (__gconv_find_transform): Likewise.
738 1999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
740 * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
743 1999-01-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
745 * Makerules: Remove all references to obsolete variables
746 tests-static and test-srcs-static.
747 * Make-dist: Likewise.
748 * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}.
750 1999-01-03 Philip Blundell <philb@gnu.org>
752 * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation.
753 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
754 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
755 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
757 1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
759 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
760 to avoid accessing global data in the usual case.
762 1999-01-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
764 * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from
767 1998-12-31 Ulrich Drepper <drepper@cygnus.com>
769 * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of
770 the conversion libraries.
772 * include/features.h: Mention latest extensions in _POSIX_C_SOURCE
775 * libio/genops.c (list_all_lock): New variable.
776 (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all.
779 * sysdeps/i386/i686/strtok.s: Add missing cld.
781 * sysdeps/i386/i686/mempcpy.S: New file.
783 1998-12-30 Geoff Keating <geoffk@ozemail.com.au>
785 Suppress parentheses warnings:
786 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
787 (DL_FIND_ARG_COMPONENTS): here,
788 * sysdeps/powerpc/dl-machine.c: here,
789 * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here,
790 * sysdeps/powerpc/fesetround.c (fesetround): here,
791 * sysdeps/powerpc/feupdateenv.c (feupdateenv): here,
792 * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here,
793 * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here,
794 * sysdeps/powerpc/s_rint.c (__rint): here,
795 * sysdeps/powerpc/s_rintf.c (__rintf): here,
796 * sysdeps/powerpc/w_sqrt.c (__sqrt): here,
797 * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here.
799 1998-12-30 Geoff Keating <geoffk@ozemail.com.au>
801 * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h.
802 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise. Also define
803 appropropriate prototypes, correct procedure names.
805 1998-12-30 Geoff Keating <geoffk@ozemail.com.au>
807 * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress
809 (__crypt_r): Add __restrict.
810 * sysdeps/generic/crypt.h: Remove internal routine. Add __restrict.
812 1998-12-31 Ulrich Drepper <drepper@cygnus.com>
814 * stdlib/longlong.h: Add missing #else in SPARC definitions.
816 1998-12-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
818 Patches by Ralf Baechle <ralf@gnu.org>:
819 * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed.
820 * sysdeps/unix/sysv/linux/mips/sys/asm.h: Removed.
821 * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Removed.
822 * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Removed.
823 * sysdeps/unix/sysv/linux/mips/regdef.h: Removed.
824 * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed.
826 * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files.
827 * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files.
829 * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted
830 linux specific files.
831 * sysdeps/mips/sys/asm.h: Likewise.
832 * sysdeps/mips/sgidefs.h: Likewise.
833 * sysdeps/mips/fpregdef.h: Likewise.
834 * sysdeps/mips/regdef.h: Likewise.
836 * sysdeps/mips/Makefile: Add new headers.
837 * sysdeps/mips/Dist: Add new files.
839 * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value.
841 1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
843 * iconvdata/Makefile: Remove variable assignments and rules that
844 are now auto-generated. Include $(objpfx)iconv-rules instead.
845 Btw, that removes a few typos.
846 (charmaps): New variable.
847 ($(objpfx)iconv-rules): New target.
848 (gen-8bit-modules): Renamed from sed-generated-headers, remove .h
850 (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove
852 (gen-special-modules): New variable.
853 (generated-modules): New variable.
855 (before-compile): Likewise.
856 (generated): Likewise, and add iconv-rules.
857 * iconvdata/euc-cn.c: Renamed from euccn.c.
858 * iconvdata/euc-jp.c: Renamed from eucjp.c.
859 * iconvdata/euc-kr.c: Renamed from euckr.c.
860 * iconvdata/euc-tw.c: Renamed from euctw.c.
861 * iconvdata/iso_6937.c: Renamed from iso6937.c.
862 * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c.
863 * iconvdata/t.61.c: Renamed from t61.c.
864 * iconvdata/Makefile (distribute): Adjusted for those renames.
865 Remove $(objpfx) from names.
867 1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
869 * sysdeps/generic/hp-timing.h: Fix comment.
870 * sysdeps/generic/dl-hash.h: Likewise.
871 * sysdeps/i386/i686/hp-timing.h: Likewise.
873 1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
875 * posix/fnmatch.c (fnmatch): Always pass unsigned char values to
878 1998-12-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
880 * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change.
882 1998-12-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
884 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with
885 current Linux 2.1.132 kernel sources.
887 1998-12-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
889 Patches by Ralf Baechle <ralf@gnu.org> for Linux/MIPS:
890 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change
891 pread/pwrite and llseek calls.
893 * sysdeps/unix/sysv/linux/mips/sysdep.S: New file.
895 1998-12-29 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
897 * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case.
899 1998-12-28 Ulrich Drepper <drepper@cygnus.com>
901 * version.h (VERSION): Bump to 2.0.109.
903 * Makefile (distribute): Add INTERFACE and CONFORMANCE.
904 * elf/Makefile (distribute): Add hp-timing.h.
905 * sysdeps/i386/i686/Dist: New file.
907 * mach/Versions: Add mach_msg_send and mach_msg_receive.
908 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
910 * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro
913 * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants
914 beyond range of double.
915 * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to
917 * stdlib/strtold.c: Fall back on double functions if
918 __NO_LONG_DOUBLE_MATH.
919 * stdlib/strtold_l.c: Likewise.
920 * wcsmbs/wcstold.c: Likewise.
921 * wcsmbs/wcstold_l.c: Likewise.
922 * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if
923 __NO_LONG_DOUBLE_MATH.
924 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
926 1998-12-28 Geoff Keating <geoffk@ozemail.com.au>
928 * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if
929 the endianness can't be determined, for makedepend.
931 1998-12-27 Ulrich Drepper <drepper@cygnus.com>
933 * elf/dl-lookup.c (_dl_num_relocations): New variable.
934 (do_lookup): Increment _dl_num_relocations for every call.
935 * elf/rtld.c (print_statistics): New function.
936 (_dl_debug_statistics): New variable. Set when statistics are asked
938 (rtld_total_time, relocate_time, load_time): New variables. Used
940 (_dl_start): Record start and end time of startup. Call
941 print_statistics if needed.
942 (dk_main): Record times for relocations and loading.
943 (process_dl_debug): Recognize statistics.
945 Low-level, low-overhead, high-precision timing functionality.
946 * sysdeps/generic/hp-timing.h: New file.
947 * sysdeps/i386/i686/Makefile: New file.
948 * sysdeps/i386/i686/hp-timing.h: New file.
949 * sysdeps/i386/i686/hp-timing.c: New file.
951 * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR
952 clauses to avoid accessing global variables during rtld relocation.
954 * sunrpc/rpc_main.c: Unify messages.
956 * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h.
958 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
960 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
961 Remove __ from member names; rename __unused to f_spare.
963 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
965 Implement fstatvfs and statvfs on the Hurd.
966 * sysdeps/mach/hurd/bits/statfs.h: New file.
967 * sysdeps/mach/hurd/bits/statvfs.h: New file.
968 * sysdeps/mach/hurd/fstatvfs.c: New file.
969 * sysdeps/mach/hurd/statvfs.c: New file.
971 * sysdeps/generic/fstatfs64.c: Changed into stub.
972 Moved previous contents to...
973 * sysdeps/unix/sysv/linux/fstatfs64.c: ...here.
974 * sysdeps/generic/fstatvfs64.c: Likewise.
975 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
976 * sysdeps/generic/statfs64.c: Likewise.
977 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
978 * sysdeps/generic/statvfs64.c: Likewise.
979 * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
981 1998-12-25 Ulrich Drepper <drepper@cygnus.com>
983 * elf/dl-hash.h: Move to...
984 * sysdeps/generic/dl-hash.h: ...here. Correct parameter type (must
985 be unsigned char). Remove conditional from inner loop and rearrange
986 binary operations (12-22% performance increase).
987 * sysdeps/i386/i686/dl-hash.h: New file. Another 10% faster than
988 optimized generic version.
990 1998-12-23 Ulrich Drepper <drepper@cygnus.com>
992 * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol
993 but the object file only contains versioned definitions than
994 accept the definition if there is exactly one even if the version
995 number is not the default version. This helps dlsym() to find
996 newly introduced symbols.
998 * locale/programs/ld-collate.c: Unify messages and correct typos.
999 * locale/programs/ld-monetary.c: Likewise.
1000 * locale/programs/ld-numeric.c: Likewise.
1001 * locale/programs/ld-time.c: Likewise.
1002 * manual/errno.texi: Likewise.
1003 * nis/nis_error.c: Likewise.
1004 * nis/nis_print.c: Likewise.
1005 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1006 * sunrpc/rpc_main.c: Likewise.
1008 1998-12-20 Philip Blundell <philb@gnu.org>
1010 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
1012 * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for
1015 1998-12-22 Philip Blundell <pb@nexus.co.uk>
1017 * sysdeps/unix/sysv/linux/arm/ioperm.c: New file.
1018 Implementation of inb, outb etc for ARM systems.
1019 * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
1020 * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate
1021 entries for the above.
1023 1998-12-21 Ulrich Drepper <drepper@cygnus.com>
1025 * nss/db-Makefile (shadow.db): Create file with correct protections.
1026 Based on a patch by Joel Klecker <espy@debian.org>.
1028 * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
1029 anyway for digits_dots.c.
1030 * nss/getXXbyYY.c: Initialize _res before using digits_dots.c
1032 * nss/getXXbyYY_r.c: Likewise.
1034 1998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1036 * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of
1039 1998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1041 * locale/weight.h (get_weight): Extract string elements as
1044 1998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
1046 Reverse the change of 1998-04-22. Providing a struct dirent with
1047 different members when __USE_FILE_OFFSET64 is defined is asking
1048 for trouble. Instead add the necessary LFS magic to the 4.4BSD
1050 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
1051 * sysdeps/mach/hurd/bits/dirent.h: Removed.
1052 * sysdeps/mach/hurd/readdir64.c: Removed.
1053 * sysdeps/mach/hurd/readdir64_r.c: Removed.
1055 1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
1057 * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
1060 * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
1061 Remove decls. They don't exist at all on the Hurd.
1063 * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
1064 and `struct ucred' #ifndef SCM_CREDENTIALS.
1066 * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
1067 `__errno_location ()'; means the same, works for Hurd.
1069 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
1071 1998-12-18 Ulrich Drepper <drepper@cygnus.com>
1073 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
1074 features.h and stddef.h.
1075 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
1076 sigaltstack): Move ss_size field at the end.
1077 Patches by Jeff Bailey <jbailey@nisa.net>.
1079 * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
1082 * manual/texinfo.tex: Update to latest version.
1084 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1086 Patch by Cristian Gafton <gafton@redhat.com>.
1088 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
1090 * iconvdata/gconv-modules: Add remaining aliases from Internet
1093 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
1094 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
1095 (detect_conflict): New function.
1096 (add_alias): Call detect_conflict to see whether there is already
1097 a module for the new name.
1098 (add_module): Make sure there is no alias for the new name.
1099 (read_conf_file): Call add_alias with new argument.
1100 (__gconv_read_conf): Don't destroy module tree immediately after
1101 walking it. We need it to test the internal conversions for
1103 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
1104 regular expression. There is now room in the module descriptor.
1105 (free_mem): Don't free memory for regular expression.
1107 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
1110 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
1111 * libio/oldtmpfile.c: Likewise.
1112 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
1113 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
1115 * iconvdata/iso646.c (gconv_init): Return correct error value if we
1117 * iconvdata/iso-2022-jp.c: Likewise.
1119 * iconv/gconv_db.c (gen_steps): Respect error return value from
1120 init functions and abort.
1122 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
1124 1998-12-17 H.J. Lu <hjl@gnu.org>
1126 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
1127 (xdr_destroy): Likewise.
1129 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
1131 * login/login.c: Determine pts/3 as terminal name if path is
1132 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
1134 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1136 * sysdeps/posix/tempname.c (__path_search): Add casts for format
1139 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1141 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
1143 (IXDR_PUT_INT32): Fully parenthesize parameters.
1144 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
1145 parenthesize parameter.
1147 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
1149 * iconvdata/gconv-modules: Add some of the charset name aliases
1150 used in Internet standards.
1152 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
1154 * version.h (VERSION): Bump to 2.0.107.
1156 * sysdeps/i386/i486/bits/string.h: Pretty printing.
1158 1998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1160 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
1161 patch from 1998-12-01.
1163 1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
1165 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
1166 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
1167 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
1169 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
1171 * iconvdata/ibm866.c: New file.
1172 * iconvdata/cp1258.c: New file.
1173 * iconvdata/cp1258.h: New file.
1174 * iconvdata/mac-uk.c: New file.
1175 * iconvdata/gconv-modules: Add rules for new modules.
1176 * iconvdata/Makefile: Likewise.
1178 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
1179 * include/bits/ipc.h: ..here. New file.
1181 1998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1183 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
1184 read-only struct termios_p* but change k_termios member directly.
1186 1998-12-15 H.J. Lu <hjl@gnu.org>
1188 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
1191 1998-12-15 Ulrich Drepper <drepper@cygnus.com>
1193 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
1194 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
1195 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1196 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1197 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1198 * sysdeps/unix/sysv/linux/semget.c: Likewise.
1199 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1200 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1201 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1202 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1203 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1204 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
1205 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
1207 * time/strftime.c: Remove 'f' format.
1209 * time/strptime.c (get_number): Ignore trailing whitespace.
1210 (strptime_internal): Handle 'F' and 'k' formats.
1212 * sysdeps/posix/tempname.c (__path_search): Add second part of the
1213 patch by Andreas Jaeger.
1215 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1217 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
1218 warnings about unused args. Fix comment.
1220 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1222 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
1224 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
1226 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
1228 (IXDR_PUT_INT32): Likewise for writing.
1229 Patch by Bruce Elliott <bde@nwlink.com>.
1231 1998-12-08 H.J. Lu <hjl@gnu.org>
1233 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
1234 the IBAUD0 bit in c_iflag.
1236 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
1237 the IBAUD0 bit in c_iflag.
1239 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
1241 * time/Makefile (tests): Add tst-strptime.
1242 * time/tst-strptime.c: New file.
1243 * time/strptime.c: Correct bugs in weekday and yearday computation.
1245 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
1247 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
1248 any of tm_year, tm_mon, or tm_mday was changed and the value
1249 itself wasn't specified.
1251 * include/stdio.h: Add new parameter to __path_search.
1252 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
1253 * stdio-common/tmpfile.c: Likewise.
1254 * stdio-common/tmpfile64.c: Likewise.
1255 * stdio-common/tmpnam.c: Likewise.
1256 * stdio-common/tmpnam_r.c: Likewise.
1257 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
1258 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
1259 consider TMPDIR environment variable and dir parameter. Otherwise not.
1260 * stdio-common/Makefile (tests): Add tst-tmpnam.
1261 * stdio-common/tst-tmpnam.c: New file.
1263 * po/es.po: Update from translation team.
1265 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1267 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
1268 and inhibit_timezone_rules instead of no_deps.
1269 * Make-dist: Pass inhibit_timezone_rules=t when making
1272 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1274 * manual/Makefile (distribute): Remove dir-add.texinfo.
1276 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
1279 1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1281 * manual/Makefile (stamp-summary): Use ^L as separator for
1283 * manual/arith.texi: Add comments before all @deffoox lines to get
1284 them added to the summary.
1285 * manual/creature.texi: Likewise.
1286 * manual/math.texi: Likewise.
1288 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1290 * math/libm-test.c: Remove macro ISINF. Change all usages of
1293 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
1295 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
1296 * sysdeps/unix/grantpt.c: Likewise.
1297 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1298 * sysvipc/ftok.c: Likewise.
1299 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1301 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
1302 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
1303 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
1305 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1307 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
1309 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
1311 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
1312 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
1313 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
1314 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
1315 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
1317 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1319 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
1320 (svcudp_recv): Likewise.
1322 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1324 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
1325 NSS error codes to avoid endless loops.
1327 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
1329 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
1330 aliases for ISO-8859-14.
1332 1998-12-12 Geoff Keating <geoffk@ozemail.com.au>
1334 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
1337 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
1339 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
1340 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
1341 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
1342 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
1343 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
1344 * iconvdata/gconv-modules: Add rules for new modules.
1345 * iconvdata/Makefile: Likewise.
1347 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
1349 * stdio-common/printf_fp.c: #ifdef out long double handling code if
1350 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
1351 * stdio-common/printf_fphex.c: Likewise.
1352 * stdio-common/printf-size.c: Likewise.
1354 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
1356 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
1357 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1359 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
1361 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
1362 static inline, not extern inline.
1363 (elf_machine_dynamic): Likewise.
1364 (elf_machine_lazy_rel): Likewise.
1365 (elf_machine_plt_value): Likewise.
1366 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
1368 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1370 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
1371 type. Reported by job bogan <job@piquin.uchicago.edu>.
1373 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
1376 1998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1378 * inet/netinet/in.h: Change obsolete structure member
1379 ipv6mr_ifindex to new ipv6mr_interface.
1381 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
1383 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
1384 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
1385 due to its big endian floating point format.
1386 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
1387 * sysdeps/ieee754/mpn2dbl.c: Likewise.
1388 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
1389 * sysdeps/ieee754/mpn2flt.c: Likewise.
1390 Patch by Scott Bambrough <scottb@corelcomputer.com>.
1392 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
1394 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
1396 * posix/PTESTS: Fix typo.
1398 * po/es.po: Update from translation team.
1399 * po/fr.po: Likewise.
1401 1998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1403 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
1405 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
1407 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
1408 it can find the preprocessor.
1410 1998-12-09 Geoff Keating <geoffk@ozemail.com.au>
1412 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
1414 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
1417 like linux/sys/procfs.h but uses uid_t and gid_t.
1418 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
1419 don't include <linux/ptrace.h>.
1421 1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1423 * posix/runptests.c (main): Check that regcomp did not succeed
1425 * posix/runtests.c (run_a_test): Likewise. Return appropriate
1427 * posix/TESTS: Regexp "a[b-a]" should not compile.
1428 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
1431 1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1433 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
1434 there is no codeset name.
1435 * locale/programs/ld-collate.c (collate_output): Don't crash if a
1436 character has no weight.
1438 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
1440 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
1441 strcasecmp, not strcmp. [PR libc/894].
1443 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1445 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
1448 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
1450 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1452 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
1453 prototype for __gethostbyname_r.
1455 * include/time.h: Add declarations of internal interfaces.
1457 * time/tzset.c: Remove declarations of internal interfaces.
1458 * time/gmtime.c: Likewise.
1459 * time/localtime.c: Likewise.
1460 * time/offtime.c: Likewise.
1461 * time/tzfile.c: Likewise.
1463 1998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1465 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
1466 user-space-relevant definitions from linux/timex.h of kernel
1467 2.1.130 and remove include of kernel header.
1469 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
1471 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1473 * posix/regex.c: Get regex.h from system path, not from local
1476 * posix/regex.h: Move internal interfaces to ...
1477 * include/regex.h: ...here.
1479 * posix/unistd.h: Move internal interfaces to ...
1480 * include/unistd.h: ...here.
1482 * math/math.h: Move internal interfaces to ...
1483 * include/math.h: ...here.
1485 * posix/glob.h: Move internal interfaces to ...
1486 * include/glob.h: ...here.
1488 * string/string.h: Move internal interfaces to ...
1489 * include/string.h: ...here.
1491 * time/sys/time.h: Move internal interfaces to ...
1492 * include/sys/time.h: ...here.
1494 * resolv/netdb.h: Move internal interfaces to ...
1495 * include/netdb.h: ...here.
1497 1998-12-08 Ulrich Drepper <drepper@cygnus.com>
1499 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
1501 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
1502 Fix various bugs in conversion routine.
1503 * iconvdata/jis0201.h: Correct variable name.
1504 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
1506 * iconvdata/jis0208.h: Likewise.
1507 * iconvdata/jis0212.c: Likewise.
1508 * iconvdata/sjis.c: Likewise.
1509 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
1511 1998-12-07 Ulrich Drepper <drepper@cygnus.com>
1513 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
1514 set in c_iflag if cfsetispeed is call with SPEED set to zero.
1515 (cfgetispeed): Return zero if prior if IBAUD0 is set.
1516 (cfsetospeed): Clear IBAUD0 bit.
1517 (cfgetispeed): Set IBAUD0 bit if necessary.
1518 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
1519 the IBAUD0 bit in c_iflag when making the system call.
1520 Work around a Linux kernel bug which silently changes the
1521 PARENB/CREAD/CSIZE bits in c_cflag on pty.
1522 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
1523 function. Don't set speed is SPEED parameter is zero since this
1524 means set it to the output speed.
1525 Based on a patch by H.J. Lu <hjl@gnu.org>.
1527 * version.h (VERSION): Bump to 2.0.106.
1529 * Makeconfig (link-libc-static): Don't use link-libc since this
1530 includes the shared object. Use gnulib only.
1532 * configure.in: Disable --disable-static.
1534 1998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
1536 * po/de.po: Update from translation team.
1537 * po/ko.po: Likewise.
1539 1998-12-07 Richard Henderson <rth@cygnus.com>
1541 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
1544 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
1546 * sysdeps/mach/hurd/pselect.c: New file.
1548 * sysdeps/mach/hurd/poll.c: New file.
1550 * hurd/Makefile (routines): Add hurdselect.
1551 * hurd/hurdselect.c: New file.
1552 (_hurd_select): New function, guts taken from ...
1553 * sysdeps/mach/hurd/select.c (__select): ... here.
1554 Now work by just calling _hurd_select.
1555 * hurd/hurd/fd.h: Declare _hurd_select.
1557 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
1559 * time/strptime.c: Fix unterminated comment in last change.
1561 1998-12-05 Ulrich Drepper <drepper@cygnus.com>
1563 * ctype/ctype.h (_ISbit): Protect use of parameter with
1565 * wctype/wctype.h (_ISwbit): Likewise.
1567 * locale/Versions: Make experimental locale interface available in
1570 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
1571 without leading __ only for __USE_GNU.
1572 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
1574 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
1576 * argp/argp.h: Add __restrict.
1577 * dirent/dirent.h: Likewise.
1578 * elf/dlfcn.h: Likewise.
1579 * grp/grp.h: Likewise.
1580 * iconv/iconv.h: Likewise.
1581 * inet/aliases.h: Likewise.
1582 * libio/libio.h: Likewise.
1583 * libio/stdio.h: Likewise.
1584 * locale/locale.h: Likewise.
1585 * misc/mntent.h: Likewise.
1586 * posix/wordexp.h: Likewise.
1587 * pwd/pwd.h: Likewise.
1588 * resolv/netdb.h: Likewise.
1589 * rt/aio.h: Likewise.
1590 * stdio-common/printf.h: Likewise.
1591 * stdlib/monetary.h: Likewise.
1592 * stdlib/stdlib.h: Likewise.
1593 * string/argz.h: Likewise.
1594 * string/envz.h: Likewise.
1595 * string/string.h: Likewise.
1596 * time/time.h: Likewise.
1598 1998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
1600 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
1601 defined. gcc's redundant include optimizer isn't clever enough to
1602 prevent a reinclusion here.
1603 Define __restrict to the empty string only if not GCC or
1604 GCC version less than 2.92.
1606 1998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1608 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
1610 1998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
1612 * time/strptime.c (strptime_internal): Make use of `%C' format
1613 specifier if it is seen together with the `%y' specifier.
1615 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
1617 * po/sk.po: New file.
1619 1998-12-03 Scott Bambrough <scottb@corelcomputer.com>
1621 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
1622 for _dl_main_searchlist passed to _dl_init_next.
1624 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1626 * math/libm-test.c: Expand literal tabs in strings. Normalize
1629 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1631 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
1633 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
1635 Provide backwards binary compatibility for the Hurd.
1636 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
1638 * hurd/Versions [GLIBC_2.0]: Add __getuids,
1639 __hurd_file_name_lookup and _hurd_umask.
1640 [GLIBC_2.1]: Add _hurd_proc_init.
1641 * hurd/Makefile [versioning] (routines): Add compat-20.
1642 (shared-only-routines): Likewise.
1643 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
1644 _hurd_proc_init. Use it as the default _hurd_proc_init version
1646 * hurd/compat-20.c: New file.
1647 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
1649 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
1651 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
1653 1998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1655 * inet/Versions: Remove inet6_isipv4mapped.
1657 1998-12-02 Philip Blundell <pb@nexus.co.uk>
1659 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
1661 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1663 * manual/time.texi (Formatting Date and Time): Fix typo.
1665 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1667 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
1668 when configuring natively. Use autoconf macros instead of rolling
1669 our own. Handle defaulted prefix.
1671 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
1673 * version.h (VERSION): Bump to 2.0.105.
1675 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
1677 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
1679 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
1681 1998-11-29 1998 H.J. Lu <hjl@gnu.org>
1683 * libio/genops.c (_IO_unbuffer_write): Renamed from
1685 (_IO_cleanup): Call _IO_unbuffer_write instead of
1688 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
1690 * intl/localealias.c: Use *_unlocked version of stdio function if
1691 _LIBC_REENTRANT is defined, not _LIBC.
1693 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1695 * include/grp.h: Add prototypes for internal functions
1696 __getgrgid_r and __getgrnam_r.
1698 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
1700 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
1701 inet_nsap_ntoa prototypes.
1703 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
1705 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
1706 to gcc to have it find the correct system header.
1707 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1709 * Makefile (postclean): Add sysd-sorted.
1710 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1712 1998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1714 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
1715 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
1716 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
1717 conflicts with new solaris version.
1718 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
1719 doesn't zero allocated memory).
1720 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
1721 conflicts with xdr functions. Solves PR libc/877.
1722 * nis/rpcsvc/nis.x: Use always uint32_t.
1723 * nis/rpcsvc/nis.h: Likewise.
1724 * nis/rpcsvc/nis_object.x: Likewise.
1726 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
1728 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
1730 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
1731 parameter. Patch by Christian Gafton.
1733 * string/envz.h: Add prototype for envz_remove.
1734 Reported by Andreas Jaeger.
1736 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
1738 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
1739 __spin_lock_init, __mutex_lock, __mutex_trylock,
1741 Remove get_priviliged_ports. Moved to hurd/Versions.
1743 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
1744 brk implementation see the end of the data segment of the program
1745 instead of the shared library.
1746 Add __hurd_errno_location. This inline function is used in user
1748 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
1749 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
1750 _hurd_port_locked_get. These inline functions are used by macros
1751 used in mail.local in the Hurd distribution.
1752 Add get_privileged_ports. Moved here from mach/Versions.
1753 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
1754 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
1755 not used outside libc.
1757 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
1759 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
1762 1998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1764 * sunrpc/Makefile: Add xdr_intXX_t to routines.
1765 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
1767 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
1768 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
1769 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
1772 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
1774 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1776 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
1778 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
1779 undefine errno to get variable.
1781 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
1782 instead of <unistd.h> for prototype.
1783 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1785 1998-11-30 Ulrich Drepper <drepper@cygnus.com>
1787 * misc/err.h: Correct comments and use protected attribute keywords.
1788 Reported by Joseph Myers <jsm28@cam.ac.uk>.
1790 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
1792 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
1793 remove tsd stuff from pthreads/cthreads libc sections.
1794 Use __libc_tsd_define for MALLOC key.
1795 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
1796 no-op, respectively.
1797 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
1799 * elf/dl-error.c: Include <bits/libc-tsd.h>.
1800 Use __libc_tsd_define for DL_ERROR key.
1801 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
1803 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
1804 * sysdeps/generic/bits/libc-tsd.h: New file.
1805 * Makefile (distribute): Add bits/libc-tsd.h.
1807 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1809 * elf/dl-error.c: Remove kludge to check for ld.so load address.
1810 There is no need if weak undefined symbols are not used in ld.so;
1811 see linuxthreads/ChangeLog for changes to files
1812 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
1813 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
1815 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1817 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
1819 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
1821 * sysdeps/i386/bits/string.h: Likewise.
1823 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1825 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
1827 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1829 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
1831 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1833 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
1834 __hurd_threadvar_max. Add comment explaining why we define
1835 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
1837 1998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
1839 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
1840 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
1841 prevent inclusion of Hurd signal handling code.
1842 (__libc_write): New function.
1843 (_dl_sysdep_output): Removed. The implementation in
1844 `elf/dl-misc.c' now also works for the Hurd.
1846 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1848 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
1849 does not use any of malloc/realloc/free anymore. Include
1850 set-hooks.h with <> instead of "".
1852 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
1854 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
1855 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
1856 * sunrpc/clnt_unix.c (__msgread): Likewise.
1858 1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
1860 * hurd/setuids.c: Renamed to ...
1861 * hurd/seteuids.c: this.
1862 (setuids): Renamed to seteuids.
1863 * hurd/getuids.c: Renamed to ...
1864 * hurd/geteuids.c: this.
1865 (__getuids): Renamed to geteuids, no aliases.
1866 * hurd/hurd.h (geteuids, seteuids): Declare them.
1867 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
1868 * hurd/Makefile (routines): Updated.
1870 1998-11-29 Ulrich Drepper <drepper@cygnus.com>
1872 * sysdeps/generic/segfault.c (install_handler): Correct test for
1873 SEGFAULT_HANDLER=all.
1874 Patch by Zack Weinberg.
1876 1998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1878 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
1879 $prefix/include that may be clobbered on installation.
1881 1998-11-27 Philip Blundell <pb@nexus.co.uk>
1883 Fixes to allow compilation with static NSS:
1884 * nss/Makefile: Make explicit the dependency of getent on
1886 [build_static_nss]: Define $(otherlibs) appropriately.
1887 * nss/Depend: Add a dependency on `resolv'.
1889 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1891 Partial support for MIPS ISO C 9x exception handling:
1892 * sysdeps/mips/fclrexcpt.c: New file.
1893 * sysdeps/mips/ftestexcept.c: New file.
1894 * sysdeps/mips/fgetexcptflg.c: New file.
1895 * sysdeps/mips/fesetround.c: New file.
1896 * sysdeps/mips/fegetround.c: New file.
1897 * sysdeps/mips/fegetenv.c: New file.
1898 * sysdeps/mips/fesetenv.c: New file.
1899 * sysdeps/mips/feupdateenv.c: Likewise.
1900 * sysdeps/mips/bits/fenv.h: New file.
1902 1998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1904 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
1905 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
1906 in sync with linux specific version.
1908 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
1910 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
1913 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
1914 of calling __syscall_*.
1915 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1917 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
1919 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
1920 constants, correct values according to Linux 2.1.130.
1922 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
1923 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
1924 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
1925 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
1927 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
1930 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
1932 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
1934 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
1936 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
1938 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
1939 message, change name of include protection, remove inclusion of
1942 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
1943 (old_kernel_sigaction): Define.
1944 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
1946 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
1947 the general linux version.
1948 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
1950 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
1952 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1954 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
1956 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
1958 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
1959 <bits/endian.h>, make it the same as __BYTE_ORDER.
1961 1998-11-27 Ulrich Drepper <drepper@cygnus.com>
1963 * math/math.h: Avoid using long double functions in generic macros
1964 if __NO_LONG_DOUBLE_MATH.
1966 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
1967 during bootstrapping.
1968 * scripts/config.sub: Add Netwinder specific matches.
1969 Patch by Scott Bambrough <scottb@corelcomputer.com>.
1971 1998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1973 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
1975 ($(common-objpfx)sysd-sorted): Likewise.
1977 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1979 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
1980 local variables t1,t2 only if needed.
1982 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
1984 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
1985 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
1987 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
1990 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1992 * math/math.h: Add brace to correct #if expression.
1994 1998-11-26 Philip Blundell <philb@gnu.org>
1996 Undo change of 1998-11-12:
1997 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
1998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2000 * sysdeps/unix/sysv/linux/Dist: Likewise.
2002 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2004 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
2006 1998-11-26 Ulrich Drepper <drepper@cygnus.com>
2008 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
2009 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
2010 Don't modify _dl_global_scope_end in the end.
2011 (__dl_runtime_resolv): Also use scope from the map.
2012 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2013 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
2014 ELF_MACHINE_NO_PLT is defined.
2015 * sysdeps/mips/sys/ucontext.h: New file.
2016 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2018 1998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2020 * sysdeps/generic/pselect.c (__pselect): Change interface,
2021 set/restore sigmask.
2023 * misc/sys/select.h: Change declaration according to Stevens' Unix
2024 Network Programming.
2025 * include/sys/select.h (__pselect): Likewise.
2026 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
2028 * include/fpu_control.h: New file, contains __setfpucw
2031 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
2032 it's an internal symbol.
2033 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
2034 * sysdeps/arm/fpu/fpu_control.h: Likewise.
2035 * sysdeps/i386/fpu_control.h: Likewise.
2036 * sysdeps/m68k/fpu_control.h: Likewise.
2037 * sysdeps/powerpc/fpu_control.h: Likewise.
2038 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
2039 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2041 1998-11-25 Ulrich Drepper <drepper@cygnus.com>
2043 * version.h (VERSION): Bump to 2.0.104.
2045 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
2047 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
2050 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2052 * time/tzfile.c (__tzfile_read): Fix comment.
2054 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2056 * Makerules (build-shlib): Pass -O1 down to linker to get
2057 optimized shared libraries.
2059 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2061 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
2062 file. Strip "-" from inhibited subdir name. Combine into a
2064 ($(common-objpfx)sysd-sorted): Fix sed command.
2066 1998-11-25 Roland McGrath <roland@baalperazim.frob.com>
2068 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
2069 Use constant _HURD_THREADVARS_MAX for temporary array size.
2071 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
2072 s separator, since $(..) might contain a /.
2074 1998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2076 * configure.in (mips): Fix typo (Replace ,, by ;;).
2078 * libio/Versions: Clean up entries.
2080 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
2082 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
2085 1998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2087 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
2088 many differences between the Linux 2.0 and 2.1 versions of this
2089 file and it's too difficult to convert all calls. The file should
2090 only be needed by the ipfw program which has to take care of the
2091 correct kernel version and include files.
2093 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
2094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2096 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
2098 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
2099 Patch by Zack Weinberg.
2101 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
2103 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
2104 __USE_ISOC9X is defined. Provide rint optimization.
2106 1998-11-21 H.J. Lu <hjl@gnu.org>
2108 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
2109 popen, pclose): Add to GLIBC_2.1.
2111 * libio/Makefile (routines): Add oldiopopen and oldpclose.
2112 (shared-only-routines): Likewise.
2114 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
2115 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
2116 _IO_proc_close): Likewise.
2118 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
2119 __old_pclose): New prototypes.
2121 * libio/libioP.h (_IO_new_file_jumps): Removed.
2122 (_IO_old_proc_jumps): Added.
2123 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
2125 * libio/oldiopopen.c: New file.
2127 * libio/oldpclose.c: New file.
2129 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2131 * nss/Makefile: Build and install getent.
2132 * nss/getent.c: New, get entries from administrative database.
2134 1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
2136 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
2137 for the per-thread variables of the main user thread to make it
2138 possible to use malloc as soon as _hurd_preinit_hook has been run.
2139 For cthreads, copy values to new stack from there.
2140 For non-cthreads, malloc threadvar array here and copy from temp space.
2141 (init1): No longer initialize threadvars here.
2142 (doinit1): Made static void at top level.
2143 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
2144 inline a function that uses dynamic auto arrays.
2146 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
2148 * version.h (VERSION): Bump to 2.0.103.
2150 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
2152 * configure.in: Don't define AR and RANLIB here.
2154 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
2155 host name res_hconf code.
2156 * inet/gethstbynm_r.c: Likewise.
2157 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
2158 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
2159 defined execute the code.
2160 * resolv/Makefile (routines): Add res_hconf.
2161 (headers): Add res_hconf.h.
2162 * resolv/res_hconf.c: Pretty print.
2163 * resolv/res_hconf.h: Likewise.
2165 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
2167 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
2168 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
2170 1998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2172 * math/libm-test.c: Raise some epsilons a bit.
2174 1998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2176 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
2178 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
2180 * Makefile (distribute): Add scripts/gen-sorted.awk.
2182 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
2184 * posix/regex.c (regex_compile): Handle extra long class names
2187 1998-11-19 Geoff Keating <geoffk@ozemail.com.au>
2189 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
2192 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
2194 * misc/error.c: Undo last change.
2196 * ctype/Versions: Add _tolower and _toupper.
2198 1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2200 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
2203 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
2205 * Makeconfig: Add comment to all-subdirs definition.
2206 Add rule to generate sysd-sorted. Include this file and and set
2207 subdirs value to $(sorted-subdirs).
2208 * scripts/gen-sorted.awk: New file.
2209 * Make-dist (+tsrcs): Add Depend.
2210 * nscd/Depend: New file.
2211 * nss/Depend: New file.
2212 * rt/Depend: New file.
2214 1998-11-18 Ulrich Drepper <drepper@cygnus.com>
2216 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
2217 passed file descriptor exceeds the size determined by
2220 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
2221 from inline version in bits/socket.h.
2223 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
2224 inline function only is __USE_EXTERN_INLINES is defined.
2226 * time/strftime.c (my_strftime): Make code a bit clearer.
2227 Patch by Paul Eggert <eggert@twinsun.com>.
2229 * io/Makefile (CFLAGS-ftw.c): Removed.
2231 * manual/errno.texi: Change the short text for ENODEV to
2234 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2236 * io/Makefile (tests): Make sure that the test program has an
2237 explicit directory part.
2239 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2241 * configure.in: Fix last change.
2243 1998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2245 * sunrpc/Makefile (routines): Add create_xid.
2247 * sunrpc/clnt_tcp.c: Use non-guessable xid.
2248 * sunrpc/clnt_udp.c: Likewise.
2249 * sunrpc/clnt_unix.c: Likewise.
2250 * sunrpc/pmap_rmt.c: Likewise.
2251 * sunrpc/create_xid.c: New, create non-guessable xid.
2253 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
2255 * sunrpc/svc_unix.c: Use poll instead of select.
2257 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
2259 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
2260 by removing SIG_IGN handler for SIGCHLD if necessary.
2261 Patch by H.J. Lu <hjl@lucon.org>.
2263 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
2264 of denormalized numbers.
2266 1998-10-06 Geoff Keating <geoffk@ozemail.com.au>
2268 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
2269 another parentheses warning, make nano-optimisation.
2271 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
2272 saved LR on stack so _mcount works.
2273 (_dl_prof_resolve): Likewise.
2274 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
2275 signal handler calling convention.
2276 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
2277 correct signal handler calling convention---more like x86 linux and
2278 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
2280 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
2282 * configure.in: Correct allowed makeinfo version.
2284 1998-11-17 Philip Blundell <pb@nexus.co.uk>
2286 * sysdeps/generic/bits/mathdef.h: Fix typo.
2288 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
2290 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
2291 under the right name (squish warning).
2292 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2294 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
2296 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
2299 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
2301 * intl/locale.alias: Change `japanese' alias to match X11R6's.
2302 Add `japanese.euc' alias.
2304 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
2305 before running makeinfo.
2307 * math/Makefile (libm-routines): $(strip) entire value.
2309 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
2311 1998-10-24 H.J. Lu <hjl@gnu.org>
2313 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
2314 (_IO_cookie_file): Likewise.
2316 1998-11-16 Philip Blundell <philb@gnu.org>
2318 * inet/netinet/icmp6.h: Correct naming of constants.
2320 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
2322 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
2323 zero value as uninitialized so that variable can go into .bss.
2325 * dirent/opendir-tst1.c: Print error strings to stdout.
2327 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
2328 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
2329 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
2330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2331 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2333 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2335 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
2338 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
2340 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
2341 (fwrite_unlocked): Likewise.
2343 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2345 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
2346 twice. Don't bother handling zero size.
2347 (fwrite_unlocked): Likewise.
2349 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2351 * configure.in: Fix regex for makeinfo version string.
2353 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2355 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
2357 * sunrpc/rpc_svcout.c (write_program): Likewise.
2359 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2361 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
2363 1998-11-16 Ulrich Drepper <drepper@cygnus.com
2365 * misc/sys/mman.h: Pretty print prototypes.
2367 1998-11-15 Ulrich Drepper <drepper@cygnus.com
2369 * misc/error.c (error): Don't use result of strerror_r call directly
2370 since at least DEC Unix has a wrong return type.
2371 Patch by Johan Danielsson <joda@pdc.kth.se>.
2373 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2375 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
2378 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
2380 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
2383 * version.h (VERSION): Bump to 2.0.102.
2385 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
2387 * stdio-common/scanf7.c (main): Likewise.
2389 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
2391 * stdio-common/vfscanf.c: Return EOF for invalid format
2394 * version.h (VERSION): Bump to 2.0.101.
2396 * Makerules (Versions.all): Generate this file from all Versions.def
2398 (sysd-versions): Use Versions.all instead of Versions.def.
2400 1998-11-13 Philip Blundell <philb@gnu.org>
2402 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
2403 Reported by Scott Bambrough.
2405 1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2407 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
2409 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
2411 * libio/bits/stdio.h: Correct and improve fread_unlocked and
2412 fwrite_unlocked optimizations.
2414 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
2415 in time not to last entries in the file.
2416 (__tzfile_compute): Likewise. Fix for PR libc/863.
2418 * timezone/Makefile: Generate GB timezone data for test.
2419 * timezone/tst-timezone.c: More tests for DST switching time (disabled
2422 1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2424 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
2425 d0 from clobber list.
2427 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
2429 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
2431 * libio/Makefile (headers): Add bits/stdio.h.
2432 * libio/iofread_u.c: Undefine fread_unlocked before definition.
2433 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
2434 * libio/stdio.h: Move optimizations into ...
2435 * libio/bits/stdio.h: ...here. New file.
2437 * libio/iofread.c: Pretty print.
2439 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
2441 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
2442 __exit_status with `__'. Rename pad member of struct utmpx to
2444 (RUN_LVL): Define unconditionally.
2445 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
2448 1998-11-12 Philip Blundell <philb@gnu.org>
2450 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
2451 Linux AF_NETLINK sockets (needed since the kernel version is
2453 * sysdeps/unix/sysv/linux/Makefile: Install it.
2454 * sysdeps/unix/sysv/linux/Dist: Distribute it.
2456 1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2458 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
2459 to test for bug in PR libc/863.
2461 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
2463 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
2465 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
2466 parameter lazy to do_lazy to avoid clashing with struct member name.
2467 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
2469 1998-11-10 H.J. Lu <hjl@gnu.org>
2471 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
2472 if it is defined in <linux/limits.h>.
2474 1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2476 * include/protocols/routed.h: Include the real header with
2477 a full path from the top of the source tree.
2478 * include/protocols/rwhod.h: Likewise.
2479 * include/protocols/talkd.h: Likewise.
2480 * include/protocols/timed.h: Likewise.
2482 * timezone/Makefile: Don't include z.ZONE files if no_deps
2483 is set, not if avoid-generated is set.
2485 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
2487 * signal/signal.h: Undo last change. Get definition of timespec
2488 if __USE_POSIX199309.
2490 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
2491 size_t to prevent gcc warning when using -Wqual-cast.
2492 (__strpbrk_c3): Likewise.
2493 Suggested by Alan Curry <pacman@cqc.com>.
2495 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
2497 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
2498 unblocked signals are set in the startup masks.
2500 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
2501 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
2503 * hurd/hurd/signal.h: Update _hurdsig_init decl.
2504 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
2505 INTARRAYSIZE, pass them down to _hurdsig_init.
2506 * hurd/hurd.h: Update _hurd_proc_init decl.
2508 1998-11-10 Ulrich Drepper <drepper@cygnus.com>
2510 * math/cabs.c: Replace complex by _Complex.
2511 * math/cabsf.c: Likewise.
2512 * math/cabsl.c: Likewise.
2513 * math/cimag.c: Likewise.
2514 * math/cimagf.c: Likewise.
2515 * math/cimagl.c: Likewise.
2516 * math/conj.c: Likewise.
2517 * math/conjf.c: Likewise.
2518 * math/conjl.c: Likewise.
2519 * math/creal.c: Likewise.
2520 * math/crealf.c: Likewise.
2521 * math/creall.c: Likewise.
2523 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
2524 included from math.h and __USE_ISOC9X is defined.
2525 * sysdeps/generic/bits/mathdef.h: Likewise.
2526 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
2527 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
2528 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
2529 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
2531 1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2533 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
2535 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2536 * sysdeps/generic/bits/mathdef.h: Likewise.
2537 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2538 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2539 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2541 1998-11-09 Ulrich Drepper <drepper@cygnus.com>
2543 * extra-lib.mk: Fix typo in last change.
2545 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
2547 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
2548 Don't define `complex' but instead `_Complex'. The later is the
2550 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
2553 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2555 * manual/libc.texinfo: Remove colon from category name.
2556 * manual/Makefile (dir-add.info): Likewise.
2558 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2560 * configure.in: Avoid autoconf bug.
2562 1998-10-28 H.J. Lu <hjl@gnu.org>
2564 * posix/getopt.h: Add "__" to arguments in prototypes.
2566 1998-11-05 H.J. Lu <hjl@gnu.org>
2568 * libio/iofgets.c (_IO_fgets): Don't report error
2569 if something was read in and errno is set to
2571 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2573 1998-11-05 Philip Blundell <philb@gnu.org>
2575 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
2576 header; it defines too much. Provide a local definition of struct
2577 sockaddr_pkt and a comment advising against its use.
2579 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2581 * extra-lib.mk: Avoid empty include list.
2583 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2585 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
2587 * elf/Makefile (libdl-routines): Add dlopenold only if doing
2589 (libdl-shared-only-routines): New variable.
2591 1998-11-06 Paul Eggert <eggert@twinsun.com>
2593 Don't invoke localtime_r or gmtime_r unless it's the GNU C
2594 library's localtime_r and gmtime_r; there are too many buggy
2595 implementations of localtime_r and gmtime_r out there, and
2596 it's not worth keeping track of all the different bugs.
2598 * time/mktime.c (__EXTENSIONS__): Remove.
2599 (<unistd.h>): No need to include.
2600 * time/strftime.c: Likewise.
2602 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
2604 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
2605 Base it on localtime unless _LIBC.
2607 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
2609 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
2610 Base them on localtime/gmtime if not _LIBC.
2612 1998-11-07 Ulrich Drepper <drepper@cygnus.com>
2614 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
2615 file descriptor. This makes this function actually usable.
2616 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
2618 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
2620 * math/math.h: Unconditionally include bits/mathdef.h. Declare
2621 long double functions only if __NO_LONG_DOUBLE_MATH is not
2623 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
2624 Define __NO_LONG_DOUBLE_MATH.
2625 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
2626 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2628 * elf/rtld.c: Add a few __builtin_expects where they will improve
2631 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
2633 * version.h (VERSION): Bump to 2.0.100.
2635 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
2637 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
2638 * sysdeps/libm-i387/s_fmaf.S: Likewise.
2640 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2642 * libio/genops.c (_IO_least_marker): Add additional parameter
2643 end_p replacing fp->_IO_read_end.
2644 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
2645 and _IO_ssize_t instead of int.
2646 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
2647 (_IO_switch_to_backup_area): Likewise. Fix comments.
2648 (_IO_seekmark): Undo last change.
2649 (_IO_default_pbackfail): Correct use of backup area.
2650 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
2652 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2654 * configure.in: Search for install-info and substitute it.
2655 Determine whether install-info is the buggy Debian version
2656 that doesn't understand INFO-DIR-SECTION.
2657 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
2659 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
2660 install-info the --section argument it needs to work properly.
2661 (dir-add.texinfo): Delete target.
2662 (dir-add.info): Generate this directly. Sort entries. Put a
2663 colon at the end of the INFO-DIR-SECTION line.
2664 * manual/libc.texinfo: Put a colon at the end of the
2667 1998-11-05 Paul Eggert <eggert@twinsun.com>
2669 * time/mktime.c (__mktime_internal): Adopt the traditional (and
2670 problematic) notion of what to do when tm_isdst doesn't match.
2672 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2674 * posix/PTESTS: Fix spelling.
2676 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
2678 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
2679 functions. Reduce error in computing normalized value by multiplying
2680 factor in loop and compute result in one step.
2681 Reported by Christian Gafton.
2683 * sysdeps/libm-i387/e_hypot.S: New file.
2684 * sysdeps/libm-i387/e_hypotf.S: New file.
2686 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2688 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
2690 1998-11-03 H.J. Lu <hjl@gnu.org>
2692 * libio/fileops.c (new_do_write): New function.
2693 (_IO_new_do_write): Call new_do_write.
2694 (_IO_new_file_xsputn): Likewise.
2696 * libio/oldfileops.c (old_do_write): New function.
2697 (_IO_old_do_write): Call old_do_write.
2698 (_IO_old_file_xsputn): Likewise.
2700 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
2702 * time/mktime.c (__mktime_internal): Correct last change. We must
2703 stop searching for the right isdst value before stepping to the
2706 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
2707 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2709 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2711 * sysdeps/generic/bits/signum.h: Define signals with their
2712 historical numbers when those are in the 1-15 range and
2713 consistent across platforms.
2714 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
2715 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
2716 appropriately instead of with fake function declarations
2717 (would cause link errors).
2718 If __USE_UNIX98, define SIG_HOLD.
2720 1998-10-29 H.J. Lu <hjl@gnu.org>
2722 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
2723 union only if __USE_POSIX199309 is defined.
2725 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
2728 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
2730 * time/mktime.c (__mktime_internal): Handle broken down times
2731 around the time of the DST switches more correctly.
2733 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
2735 * elf/Makefile (libdl-routines): Add dlopenold.
2736 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
2737 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
2738 is set and bounce otherwise.
2739 * elf/dlopen.c: Rename function to __dlopen_check and make version
2741 * elf/dlopenold.c: New file.
2743 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
2745 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
2746 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
2747 * elf/dl-deps.c: ...here.
2748 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
2749 new parameter and expect result. Remove code handling RTLD_GLOBAL.
2750 Add return value of _dl_map_object_deps to
2751 _dl_main_searchlist->r_nlist.
2752 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
2753 If we parameter GLOBAL is nonzero add object and dependencies to
2755 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
2756 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
2757 Mark all objects as in global scope.
2758 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
2760 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
2762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
2763 used in macro magic.
2765 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2767 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
2768 before <sys/socket.h> to make sockaddr_at available to
2771 * posix/glob.h: Remove __P from parameter lists of declarations.
2773 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2775 * time/tzset.c (tz_compute): Remove unused parameter timer.
2778 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
2780 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
2782 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
2784 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
2785 unnecessary test and add cast.
2787 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2789 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
2791 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
2793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2795 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
2797 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
2799 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
2801 1998-10-31 Richard Henderson <rth@cygnus.com>
2803 * math/Makefile (gmp-objs): Add udiv_qrnnd.
2805 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
2806 (inline_syscall*): New.
2807 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
2808 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
2810 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
2812 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
2813 avoid ld test generating an unwanted file.
2815 * posix/PTESTS: Remove comment about incorrect test (it is correct).
2817 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2819 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
2820 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
2821 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
2822 * sunrpc/rpc/xdr.h: Add INT32 support.
2823 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
2825 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
2826 * nis/nis_callback.c: Likewise.
2827 * nis/nis_creategroup.c: Likewise.
2828 * nis/nis_defaults.c: Likewise.
2829 * nis/nis_intern.h: Likewise.
2830 * nis/nis_lookup.c: Likewise.
2831 * nis/nis_ping.c: Likewise.
2832 * nis/nis_print.c: Likewise.
2833 * nis/nis_table.c: Likewise.
2834 * nis/nis_util.c: Likewise.
2835 * nis/nis_xdr.c: Likewise.
2836 * nis/rpcsvc/nis.h: Likewise.
2837 * nis/rpcsvc/nis.x: Likewise.
2838 * nis/rpcsvc/nis_callback.h: Likewise.
2839 * nis/rpcsvc/nis_object.x: Likewise.
2840 * nis/rpcsvc/nislib.h: Likewise.
2842 * nis/rpcsvc/yp.h: Remove casts to (u_long).
2843 * nis/rpcsvc/yp_prot.h: Likewise.
2844 * nis/rpcsvc/ypupd.h: Likewise.
2845 * nis/ypclnt.c: Change %ld to %d in sprintf.
2847 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2849 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
2851 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2853 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
2854 0, __fd_mask is usually not a char.
2856 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2858 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
2859 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
2860 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2861 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2862 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2863 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
2864 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2865 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2867 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
2868 compiling on systems without rt_sigaction syscall.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
2872 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2874 * time/strptime.c (HERE_D_FMT): Fix typo.
2875 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
2877 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
2879 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
2880 (generate): Add test1.cat and test1.h.
2881 (distribute): Add test1.msg.
2882 * catgets/test1.msg: New file.
2884 * catgets/gencat.c: Do a better job in initializing dynamic
2885 memory [PR libc/844].
2887 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
2889 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
2890 internal_function since it is called through a pointer.
2891 * iconv/gconv_db.c (free_derivation): Likewise.
2892 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
2894 * posix/wordexp.c: Add internal_function to parse_backtick definition.
2895 * rt/aio_misc.c: Add internal_function to __aio_free_request,
2896 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
2898 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
2899 __aio_notify definitions.
2900 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
2902 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
2904 * Makerules (build-shlib): Add -O to generate optimized shared
2907 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
2909 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
2910 * sysdeps/libm-i387/e_fmodf.S: Likewise.
2911 * sysdeps/libm-i387/e_fmodl.S: Likewise.
2912 * sysdeps/libm-i387/s_ilogb.S: Likewise.
2913 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
2914 * sysdeps/libm-i387/s_logb.S: Likewise.
2915 * sysdeps/libm-i387/s_logbf.S: Likewise.
2916 * sysdeps/libm-i387/s_remquo.S: Likewise.
2917 * sysdeps/libm-i387/s_remquof.S: Likewise.
2918 * sysdeps/libm-i387/s_remquol.S: Likewise.
2919 * sysdeps/libm-i387/s_significand.S: Likewise.
2920 * sysdeps/libm-i387/s_significandf.S: Likewise.
2922 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
2924 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
2927 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
2929 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
2931 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
2933 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
2934 returns without cleaning up the lock.
2935 (printf_unknown): Add label all_done.
2937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
2938 kernels in mind when reading /proc/self/fd/FD.
2939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2941 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
2943 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
2946 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
2947 /prof/self/fd/FD first.
2948 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
2950 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
2951 formatted number starting at given position and return pointer to
2953 (_fitoa): Likewise, for long long.
2955 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
2957 * sysdeps/unix/sysv/linux/bits/sem.h,
2958 sysdeps/unix/sysv/linux/bits/ipc.h,
2959 sysdeps/unix/sysv/linux/bits/shm.h,
2960 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
2961 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
2962 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
2963 so the same bits will be used for the Hurd.
2965 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
2967 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
2968 compiling on systems without rt_sigaction syscall.
2970 1998-10-12 Philip Blundell <pb@nexus.co.uk>
2972 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
2973 directories as well as add them.
2975 1998-10-28 Philip Blundell <pb@nexus.co.uk>
2977 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
2978 AF_ECONET sockets as found in recent Linux 2.1 kernels.
2979 * sysdeps/unix/sysv/linux/Dist: Distribute it.
2980 * sysdeps/unix/sysv/linux/Makefile: Install it.
2982 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2984 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
2986 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2988 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
2990 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
2991 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
2992 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
2993 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
2995 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
2997 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
2998 __FD_ISSET): Use it.
2999 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
3000 __FD_ISSET): Likewise.
3002 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
3004 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
3007 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
3008 Instead call the system call wrapper function using an 64bit argument.
3009 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
3011 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
3013 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
3015 * signal/signal.h: Don't include <time.h> for timespec, add
3016 forward declaration.
3018 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
3019 of __FD_* macros which use __fds_bits.
3020 * sysdeps/generic/bits/select.h: Likewise.
3021 Reported by Matt McLean <keys@yikes.com>.
3023 1998-10-27 Philip Blundell <pb@nexus.co.uk>
3025 * elf/elf.h: Update ARM definitions.
3027 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
3029 * signal/signal.h: Include bits/sigthread.h only for Unix98.
3031 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
3033 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
3034 define __builtin_expect as a macro substituting to the first
3036 * config.h.in: Define HAVE_BUILTIN_EXPECT.
3037 * configure.in: Add test for __builtin_expect.
3039 * sysdeps/unix/sysv/linux/bits/types.h: Include
3040 bits/pthreadtypes.h only not for POSIX 199506.
3041 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3042 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3043 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3045 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
3047 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
3048 * socket/Versions [libc, GLIBC_2.0]: ... to here.
3050 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3052 * include/stdio.h: Included <stddef.h> for size_t.
3054 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
3056 * include/stdio.h: ...here.
3057 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
3059 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
3061 * time/Makefile (tests): Add tst-posixtz.
3062 * time/tst-posixtz.c: New file.
3064 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3066 * elf/rtld.c (process_envvars): Accept any non-null value of
3067 LD_BIND_NOW, as mandated by the ABI.
3069 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3071 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
3073 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
3075 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3076 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3077 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3079 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
3082 s_pread64 and s_pwrite64.
3083 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3085 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3087 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
3088 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
3089 to __syscall__llseek.
3090 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
3095 1998-10-26 Cristian Gafton <gafton@redhat.com>
3097 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
3100 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
3102 * time/tzset.c (tz_compute): Correct last patch and describe this
3105 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3107 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
3108 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
3109 rt_sigaction and rt_sigpending.
3110 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
3111 for __syscall_* functions.
3112 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
3114 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
3116 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
3117 _hurd_dtable_lock, _hurd_intern_fd.
3119 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
3120 cthread_getspecific, cthread_setspecific, __libc_getspecific.
3122 * mach/Versions: Fix typo in last change.
3124 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
3126 * time/tzset.c (tz_compute): If time to switch to DST is later in
3127 the year switch back in the next year.
3128 Reported by jwitford@hutch.com.au.
3130 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
3132 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
3133 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
3134 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
3135 __mach_port_allocate, __mach_port_allocate_name,
3136 __mach_port_insert_right __mutex_trylock, __mutex_lock,
3137 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
3138 __task_set_special_port, __task_terminate, __thread_depress_abort,
3139 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
3140 functions are not used outside libc.
3142 * sysdeps/mach/hurd/Versions: New file.
3143 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
3144 _cthread_init_routine. These are set by the Hurd cthreads library.
3145 Add __getcwd, __mmap. If we don't add these, the weak definitions in
3146 the dynamic linker will not be replaced by the corresponding shared
3147 library routines once they are loaded.
3149 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
3151 * sysdeps/mach/hurd/i386/init-first.c: Only define
3152 __libc_enable_secure if PIC is not defined.
3154 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
3156 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
3157 to recurse into argp.
3159 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
3161 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
3162 greater or equal than 199506L.
3164 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
3165 only is __USE_XOPEN. Otherwise use __fds_bits.
3166 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3167 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3168 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3169 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3170 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3172 1998-10-24 H.J. Lu <hjl@gnu.org>
3174 * locale/programs/charmap.c (parse_charmap): Accept tok_string
3175 for <code_set_name>.
3177 1998-10-25 H.J. Lu <hjl@gnu.org>
3179 * locale/programs/ld-ctype.c (ctype_finish): Also check
3182 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
3184 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
3186 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
3187 if __USE_POSIX199506 or __USE_UNIX98.
3189 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3191 * string/bits/string2.h: Inline strdup+friends only if
3192 __USE_MISC || __USE_GNU (prevents namespace pollution).
3194 1998-10-24 H.J. Lu <hjl@gnu.org>
3196 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
3197 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
3198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
3199 LOCK_NB, LOCK_UN): Likewise.
3200 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
3201 LOCK_NB, LOCK_UN): Likewise.
3202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
3203 LOCK_NB, LOCK_UN): Likewise.
3204 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
3205 LOCK_NB, LOCK_UN): Likewise.
3207 1998-10-24 H.J. Lu <hjl@gnu.org>
3209 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
3211 * libio/rewind.c (rewind): Clear the error.
3213 1998-10-24 H.J. Lu <hjl@gnu.org>
3215 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
3218 1998-10-24 H.J. Lu <hjl@gnu.org>
3220 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
3221 with __need_timeval.
3222 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
3223 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
3225 1998-10-24 H.J. Lu <hjl@gnu.org>
3227 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
3228 sigqueue): Protect with __USE_POSIX199309.
3230 1998-10-24 H.J. Lu <hjl@gnu.org>
3232 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
3235 1998-10-24 H.J. Lu <hjl@gnu.org>
3237 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
3238 the kernel file offset.
3239 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
3241 1998-10-24 H.J. Lu <hjl@gnu.org>
3243 * time/tzfile.c (__tzfile_default): Set num_types to 2.
3245 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3247 * rt/aio.h: Move __aio_init to...
3248 * include/aio.h: ...here.
3250 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3252 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
3253 definition of O_LARGEFILE.
3255 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3257 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
3258 as first argument to statfs.
3260 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3262 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
3264 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3266 * malloc/mtrace.c: Include <string.h> for strlen.
3268 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
3270 * sysdeps/mach/hurd/bits/environments.h: New file.
3272 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
3274 * mach/Versions, hurd/Versions: Add numerous symbols.
3275 Remove libmachuser and libhurduser sections, punt
3276 versioning for those libraries for now.
3278 * misc/Versions: Add reboot here; it exists on all platforms.
3279 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
3281 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
3283 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
3285 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3287 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
3288 O_NOFOLLOW, O_DIRECT): New macros.
3289 (O_DIRECTORY): Correct definition according to official 2.1.126.
3290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
3291 O_NOFOLLOW): New macros.
3293 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
3295 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
3297 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
3298 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
3300 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
3302 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
3303 setfsuid.c, and setfsgid.c.
3304 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3305 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3308 * version.h (VERSION): Bump to 2.0.99.
3310 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
3313 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
3316 * posix/fnmath.h: Don't redefine __P when used in glibc.
3317 * posix/glob.h: Likewise.
3319 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
3320 Patch by Dick Streefland <dick_streefland@tasking.com>.
3322 * stdio-common/tst-ungetc.c: Add more test cases.
3324 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
3325 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
3327 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
3328 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
3329 * sysdeps/unix/sysv/linux/pathconf.c: New file.
3330 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
3331 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3333 1998-10-20 Philip Blundell <pb@nexus.co.uk>
3335 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
3336 <asm/ptrace.h> to define struct pt_regs.
3337 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
3338 including <asm/ptrace.h> here.
3340 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
3341 C_SYMBOL_NAME macro.
3343 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3345 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
3346 end of enumerator list.
3347 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
3348 * posix/wordexp.h: Likewise.
3350 * db/db.h: Use __PMT instead of __P in typedefs.
3351 * db/mpool.h: Likewise.
3352 * sysdeps/generic/bits/siginfo.h: Likewise.
3353 * nis/rpcsvc/ypclnt.h: Likewise.
3355 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
3357 * libio/genops.c (_IO_seekmark): When switching to backup buffer
3358 make sure all characters from the read buffer are read after
3359 switching back to it.
3361 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
3363 * configure.in: Add support for Cygnus GNUPro compilers.
3365 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3367 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
3369 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
3370 of __P for sa_restorer.
3371 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3372 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3373 kernel_sigaction, old_kernel_sigaction): Likewise.
3375 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
3377 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
3378 and __syscall_pwrite aliases.
3380 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
3382 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
3383 improve INLINE_SYSCALL using macro assembler magic.
3385 1998-10-22 H.J. Lu <hjl@gnu.org>
3387 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
3389 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
3391 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
3392 EINVAL if errno == ENODEV. Tested by VSX-PCT.
3394 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
3397 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
3399 1998-10-22 Philip Blundell <pb@nexus.co.uk>
3401 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
3404 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
3406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
3409 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
3411 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
3412 __syscall_* function.
3413 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
3414 of calling __syscall_* function.
3415 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3416 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3417 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3418 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3419 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
3420 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
3421 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
3422 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3423 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3424 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3425 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3426 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3427 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3428 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3429 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3430 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3431 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
3432 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3433 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
3434 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3435 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3436 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3437 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3438 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3439 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3440 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3441 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3442 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3443 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3444 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3445 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3446 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3447 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3448 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3449 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3450 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3451 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3452 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3453 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3454 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3455 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3456 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
3460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
3461 __syscall_* definitions.
3463 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
3465 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
3466 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
3467 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
3468 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
3469 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
3470 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
3471 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
3473 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
3474 Move definition to...
3475 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
3476 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
3477 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
3478 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
3479 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
3480 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
3481 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
3483 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
3484 (sysdep_routines): Remove s_pread64 and s_pwrite64.
3486 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
3487 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
3488 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
3489 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
3490 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
3491 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
3493 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3495 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
3496 and bring them in synch.
3497 * sysdeps/unix/siglist.c: Likewise.
3498 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
3500 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3502 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
3503 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3505 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
3506 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
3507 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
3508 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
3509 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
3510 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
3511 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
3512 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
3513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
3515 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3516 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3519 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3521 * sunrpc/rpc_main.c (close_output, close_input): New functions.
3522 (c_output, h_output, s_output, l_output, t_output, svc_output,
3523 clnt_output, mkfile_output): Call them at the end.
3525 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3527 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
3530 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3532 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
3533 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
3535 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
3537 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
3539 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
3540 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
3541 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
3542 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
3543 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
3545 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
3547 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
3550 1998-10-20 H.J. Lu <hjl@gnu.org>
3552 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
3555 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
3557 * math/tgmath.h: Make nested function calls work.
3559 * include/ldsodefs.h: Fix typo.
3561 * posix/Makefile (tests): Add tst-preadwrite.
3562 * posix/tst-preadwrite.c: New file.
3564 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
3565 sure that descriptor is in any case for a directory.
3567 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3569 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
3570 (atan2): Takes two arguments.
3572 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
3574 * include/ldsodefs.h: New file.
3576 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
3577 Remove change to avoid using _CALL_DL_FCT.
3578 * iconv/gconv_db.c: Likewise.
3579 * iconv/gconv_dl.c: Likewise.
3580 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
3581 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
3582 * nss/nsswitch.c: Likewise.
3583 * nss/nsswitch.h: Likewise.
3585 1998-10-19 Philip Blundell <pb@nexus.co.uk>
3587 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
3589 * login/Makefile (otherlibs): Likewise.
3590 * nscd/Makefile (otherlibs): Likewise.
3591 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
3593 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
3595 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
3597 1998-10-19 Philip Blundell <pb@nexus.co.uk>
3599 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
3602 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3604 * nscd/connections.c: Fix typos in comments and strings.
3606 * nscd/nscd.conf: Update according to recent changes to nscd.
3608 * nscd/cache.c (prune_cache): Remove wrong comment.
3610 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
3612 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
3613 category in copy_posix.
3614 (collate_finish): Don't warn about UNDEFINED not being defined.
3615 * locale/programs/ld-ctype.c (ctype_startup):