1 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
3 * locale/programs/locfile.c (locfile_read): Fix typo.
5 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
7 * resolv/res_comp.c (underscorechar): New.
8 (middlechar): Allow '_'.
10 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
12 * sysdeps/unix/sysv/linux/ioctls.h (SIOCPROTOPRIVATE): Added.
14 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
16 * Makerules (install): Change comment for libc.so following the
17 libc_nonshared changes.
19 * sysdeps/unix/sysv/linux/socketbits.h (MSG_*): Also define as macros.
21 1998-03-31 08:01 H.J. Lu <hjl@gnu.org>
23 * sysdeps/unix/sysv/linux/syscalls.list (sigpending): Renamed
24 to __syscall_sigpending
25 (sigprocmask): Renamed to __syscall_sigprocmask.
27 * sysdeps/unix/sysv/linux/sigpending.c: New.
29 * sysdeps/unix/sysv/linux/sigprocmask.c: New.
31 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
33 * Makerules: Remove extra rule for .oS.
35 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
37 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
39 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
41 * elf/dl-open.c (_dl_open): Fix a typo.
42 (_dl_global_scope_alloc): Make it static.
44 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
46 * csu/Makefile (routines): Add libc-start.
47 * sysdeps/generic/libc-stat.c: New file.
49 1998-03-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
51 Put the static-only routines in a separate library.
52 * Makeconfig (libtype.So, CFLAGS-.So, CPPFLAGS-.So,
53 object-suffixes-for-libc): New variables.
54 (all-object-suffixes): Add .So.
55 (link-libc): Link against libc_nonshared.a instead of libc.a.
56 Remove explicit reference to the dynamic linker.
57 * Rules: Remove handling of static-only-routines.
58 * Makerules: Handle them here instead. Use
59 $(object-suffixes-for-libc) instead of $(object-suffixes) when
60 dealing with libc routines.
61 ($(objpfx)%.So): New rules for static-only routines.
62 (elide-routines.So): Elide all routines except static-only routines.
63 ($(objpfx)stamp.So-$(subdir)): Special rule for when
64 static-only-routines is empty.
65 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of
66 libc.a. Remove explicit reference to the dynamic linker.
68 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
70 * manual/maint.texi (Reporting Bugs): Change
71 bug-glibc-manual@prep.ai.mit.edu to bug-glibc-manual@gnu.org.
73 1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com>
75 * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
76 * catgets/gencat.c: Likewise.
77 * db2/makedb.c: Likewise.
78 * locale/programs/locale.c: Likewise.
79 * locale/programs/localedef.c: Likewise.
81 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
83 * malloc/malloc.c: __malloc_initialized now signals three states:
84 uninitialized, initializing, initialized. Used in mcheck.
85 * malloc/mcheck.c (mcheck): Allow installation when malloc is
86 uninitialized or is just initializing.
88 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
90 * version.c: Update copyright.
92 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
94 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
95 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
97 * elf/dl-support.c: Add definition of _dl_library_path for static
100 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
102 * resolv/resolv.h: Include <netinet/in.h>.
104 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
106 * manual/nss.texi: The database is not called network but networks.
107 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
109 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
111 * elf/dl-close.c (_dl_close): Fix byte count while removing the
112 shared object from the global scope list and optimize a little
115 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
117 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
118 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
120 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
122 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
124 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
126 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
128 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
130 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
132 * sysdeps/generic/pty.c (openpty): Allow the use of more ptys.
134 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
135 directory index by only the language.
137 1998-03-16 10:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
139 * sysdeps/m68k/fpu/__math.h (__ieee754_atan2): Reorder conditions
140 to handle x = 0 or y = 0 correctly.
142 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
144 * string/tester.c (main): Update strsep tests from 2.1.
146 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Remove selection of
147 instruction set here.
148 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): Define
149 to set needed instruction set.
150 Patches by Richard Henderson.
152 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
153 (get_toplvl_escape): Correctly terminate loop at EOF.
154 Patch by Cristian Gafton <gafton@redhat.com>.
156 1998-03-13 17:39 Ulrich Drepper <drepper@cygnus.com>
158 * sysdeps/generic/strsep.c: Correct handling of separators after
161 1998-03-13 Ulrich Drepper <drepper@cygnus.com>
163 * sysdeps/i386/fpu/__math.h (atan2): Take over code from glibc
166 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
168 * elf/dlerror.c (last_object_name): Removed.
169 (dlerror): Don't use last_object_name.
170 (_dl_error_run): Omit second argument to _dl_catch_error.
171 * elf/dl-error.c (struct catch): Remove objname member.
172 (_dl_signal_error): Construct string including objname when given.
173 (_dl_catch_error): Remove objname handling.
174 * elf/link.h (_dl_catch_error): Fix prototype and comment.
175 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
176 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
177 * nss/nsswitch.c (nss_dlerror_run): Likewise.
178 [Corrects PR libc/501].
180 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
182 * elf/rtld.c (dl_main): Install link maps for preloaded objects
183 using main_map as loader.
185 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
187 * sysdeps/i386/__longjmp.S: Fix race condition.
188 Reported by Bruno Haible <haible@ilog.fr>.
190 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
192 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
195 * elf/dl-close.c (_dl_close): Applied changes from 2.1 to correct
198 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
200 * elf/rtld.c (_dl_library_path): New variable. Initialize from
201 LD_LIBRARY_PATH envvar and let user overwrite the value using new
202 --library-path option.
204 * elf/dl-load.c (_dl_map_object): Don't get LD_LIBRARY_PATH
205 envvar, use global variable _dl_library_path.
207 * Makeconfig: Use --library-path option instead of LD_LIBRARY_PATH
210 * misc/syslog.c (vsyslog): Don't try to send if not connected to
212 (closelog_internal): Don't do anything if not connected.
214 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
217 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
219 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
220 * manual/filesys/texi: Document this.
222 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
224 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode
225 0600. Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
227 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
229 * sysdeps/generic/getresgid.c: Remove stub-tag.h.
230 * sysdeps/generic/getresuid.c: Likewise.
232 1998-03-09 15:42 Ulrich Drepper <drepper@cygnus.com>
234 * sysdeps/generic/getresgid.c: New file.
235 * sysdeps/generic/getresuid.c: New file.
237 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
239 * sysdeps/unix/sysv/linux/getresgid.c: Fix typo.
240 Patch by Cristian Gafton <gafton@redhat.com>.
242 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
244 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
246 * sysdeps/unix/sysv/linux/getresgid.c,
247 sysdeps/unix/sysv/linux/getresuid.c: New files.
248 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
249 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
250 s_getres[gu]id. Don't mark lchown as extra syscall.
252 * sysdeps/unix/sysv/linux/sparc/socket.S: Allow __socket to be
255 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
257 * misc/syslog.c (openlog_internal): Follow 2.1 changes to prevent
260 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
262 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
265 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
267 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
269 * manual/texinfo.tex: Updated.
271 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
273 * manual/maint.texi: Change prep.ai.mit.edu to {ftp}.gnu.org.
275 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
277 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
279 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
281 * elf/ldd.sh.in: Add compatibility for broken old shells.
282 * elf/ldd.bash.in: Likewise.
284 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
286 * sunrpc/rpc/auth.h: More prototype cleanups.
287 * sunrpc/rpc/xdr.h: Likewise.
289 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
291 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
294 * nss/getXXent_r.c: If no more module is found don't try to call
295 setXXent functions but leave unsuccessfully.
297 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
299 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
300 and use x for member name.
301 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
303 * stdlib/drand48.c: Change according to member name change.
304 * stdlib/drand48_r.c: Likewise.
305 * stdlib/lcong48_r.c: Likewise.
306 * stdlib/lrand48.c: Likewise.
307 * stdlib/lrand48_r.c: Likewise.
308 * stdlib/mrand48.c: Likewise.
309 * stdlib/mrand48_r.c: Likewise.
310 * stdlib/seed48.c: Likewise.
311 * stdlib/seed48_r.c: Likewise.
312 * stdlib/srand48_r.c: Likewise.
314 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
316 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
319 1998-03-03 23:08 H.J. Lu <hjl@gnu.org>
321 * misc/efgcvt_r.c: Really update from 2.1.
323 1998-02-07 15:06 H.J. Lu <hjl@gnu.org>
325 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
327 1998-03-03 Ulrich Drepper <drepper@cygnus.com>
329 * version.h (VERSION): Bump to 2.0.7.
331 * elf/dl-load.c (_dl_map_object): Take extra argument and pass it
333 (open_path): If preloading and SUID binary, use shared object only
335 * elf/link.h: Adjust prototype for _dl_map_object.
336 * elf/dl-deps.c (_dl_map_object_deps): Call _dl_map_object with
338 * elf/dl-open.c (_dl_open): Likewise.
339 * elf/rtld.c: Likewise.
341 * Makefile (subdirs): Undo last patch.
343 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add osf_sigaction
344 for some broken kernel versions.
345 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Remove extra
347 * sysdeps/alpha/dl-machine.h: Add missing opening brace.
348 Patches by Cristian Gafton.
350 * misc/efgcvt_r.c: Carry over patches from 2.1 to correct several
353 * nis/rpcsvc/ypclnt.h: Add prototypes to prevent warnings.
354 * sunrpc/rpc/auth.h: Likewise.
355 * sunrpc/rpc/clnt.h: Likewise.
356 * sunrpc/rpc/xdr.h: Likewise.
358 * sunrpc/rpc/clnt.h: Add const to prototypes for clnt_perror.
359 * sunrpc/clnt_perror.c: Adopt definition.
361 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
363 * db/Makefile ($(inst_libdir)/libndbm.a,
364 $(inst_libdir)/libndbm.so): New targets.
366 1998-03-03 Ulrich Drepper <drepper@cygnus.com>
368 * sysdeps/i386/fpu/__math.h: Don't use _Mldbl
369 * math/math.h: Likewise.
371 1998-03-02 18:23 H.J. Lu <hjl@gnu.org>
373 * stdio-common/vfscanf.c (inchar): Fix typos.
375 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
377 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
380 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
382 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
384 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
386 * inet/netinet/in.h: Rename second parameter of bindresvport to
387 avoid buggy gcc warning. [PR libc/412]
389 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
391 * dladdr.c (dladdr): Remove duplicate code.
393 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
395 * Makefile (subdirs): Remove login. It appears in
396 sysdeps/unix/Subdirs. Reported by Roland McGrath.
398 * configure.in: Fix script for handling $CC containing whitespace.
399 Patch by Roland McGrath.
401 * configure.in: Avoid //s in sysdirs. Patch by Roland McGrath.
403 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
405 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
406 setting _dl_global_scope for RTLD_GLOBAL.
408 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
410 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
411 that the number of program headers is >0 (which is wrong for the
414 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
416 * posix/execl.c: POSIX.1 says that argv[0] *should* be provided,
417 but does not require it. Handle missing argv[] values gracefully.
418 * posix/execle.c: Likewise.
420 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
422 * stdio-common/vfscanf.c: Fix problem with EOF while waiting for
425 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
427 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
428 * tst-strtod.c (tests): Add fail case for above.
430 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Simplify
431 bootstrapping. Produce saner error messages.
433 * sysdeps/unix/sysv/linux/Makefile [time] (sysdep_routines): Add
435 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove used-by
437 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Force usage of
438 syscalls that use 32-bit struct timeval.
439 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
440 Update to 2.1.87 for the benefit of Alpha.
442 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
443 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
445 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
447 * nis/ypclnt.c: Give clnt handle after error checking free, change
448 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
450 1998-02-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
452 * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h> for
453 __fsid_t. Reported by Gene McCulley <mcculley@iag.net>.
455 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
457 * resolv/gethnamaddr.c (addrsort): Make this function extern.
459 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
461 * elf/dlsym.c (dlsym:doit): Fix scope and skip maps for
462 _dl_lookup_symbol_skip call.
464 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
466 * wctype/test_wctype.c (TEST): Fix paren nesting.
468 1998-02-17 16:11 Ulrich Drepper <drepper@cygnus.com>
470 * sysdeps/generic/selectbits.h: Compare result with 0 to get an
473 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
475 * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
476 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
478 * math/math.h: Define M_* constants always as `double' and add new
479 macros M_*l which are of type `long double'.
481 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
483 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
484 starting from 0 not only from `from'.
485 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
487 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
489 * locale/programs/ld-messages.c (messages_finish): Don't skip
490 error checking when being quiet.
491 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
492 (set_class_defaults): Likewise.
493 * locale/programs/charmap.c (parse_charmap): Likewise.
494 * locale/programs/ld-collate.c (collate_finish): Likewise.
495 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
496 * locale/programs/ld-time.c (time_finish): Likewise.
497 * locale/programs/locfile.c (write_locale_data): Likewise.
499 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
500 unknown characters and empty ranges.
501 * locale/programs/ld-collate.c (collate_order_elem): When
502 processing an ellipsis properly form a linked list in the result
503 table, fix typo when allocating ordering array.
506 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
508 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
510 1998-02-09 H.J. Lu <hjl@gnu.org>
512 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug. From
514 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
515 [PR libc/389 and 431]
517 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
519 * elf/dl-support.c (_dl_sysdep_fatal): Fix parameters.
521 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
523 * sysdeps/mach/_strerror.c (_strerror_internal): Use memcpy
524 instead of __mempcpy. Reported by OKUJI Yoshinori
525 <okuji@kmc.kyoto-u.ac.jp>. [PR libc/446].
527 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
529 * configure.in: Check for working msgfmt version (from GNU gettext
532 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
534 * configure.in: Check for a working makeinfo (3.11 or better).
535 * config.make.in: Add MAKEINFO to be substituted.
536 * manual/Makefile: Don't update info if makeinfo is too old.
538 1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com>
540 * elf/dladdr.c: Use braces for correct logical grouping.
541 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
543 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
545 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
547 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
549 * manual/Makefile: Don't try to install the info files if makeinfo
552 1998-01-26 Richard Henderson <rth@cygnus.com>
554 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
555 kernel 2.1.82 has this fixed.
557 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
559 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
562 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
563 name to lowercase, add test for big enough buffer.
565 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
567 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct calculation.
568 Patch by Markus Schoder <Markus.Schoder@dresdner-bank.de>.
570 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
572 * manual/errno.texi (Error Messages): Correct description of
573 strerror_r. Pointed out by jonas@bagge.se.
575 1998-02-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
577 * db/makedb.c (main): Add output_name to error message.
579 * sunrpc/rpc/xdr.h: Include <sys/types.h> and <rpc/types.h>.
580 Patch by Thorsten Kukuk.
582 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): Correct
583 last patch. Patch by Thorsten Kukuk.
585 * nss/getXXent_r.c: Include <errno.h>
587 * nss/getXXbyYY_r.c: Include <errno.h>.
589 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
591 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
592 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
593 * wctype/wctype.c: Likewise.
594 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
595 changed. They are incompatible with the _ISxxx values from
596 <ctype.h> on little endian machines.
597 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
598 bit number. This fixes the real bug and restores the integrity of
599 the LC_CTYPE locale file.
600 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
601 * wctype/wcfuncs_l.c: Likewise.
602 * wctype/wcextra.c: Likewise.
603 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
607 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
609 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
610 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
611 Reported by Craig Metz <cmetz@inner.net>.
613 * Makerules ($(inst_libdir)/libc.so): Use absolute names for objects.
615 * signal/signal.h: Always define sigset_t if __need_sigset_h is
618 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
620 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
621 Patch by Dean Gaudet <dgaudet@arctic.org>.
623 1998-02-13 17:16 Ulrich Drepper <drepper@cygnus.com>
625 * nis/nss_nis/nis-host.c (_nss_nis_gethostbyname2_r): Fix problem
626 with hidden variable name.
627 Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
629 1998-02-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
631 * nss/getXXent_r.c: Include <errno.h>
633 * nss/getXXbyYY_r.c: Include <errno.h>.
635 1998-02-02 00:17 Ulrich Drepper <drepper@cygnus.com>
637 * nss/getXXbyYY_r.c: Correct handling of TRYAGAIN error when buffer
639 * nss/getXXent_r.c: Likewise.
641 1998-02-02 Ulrich Drepper <drepper@cygnus.com>
643 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
645 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
647 * rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
648 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
651 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
652 occurence in cache. Reported by Rudolf Leitgeb
653 <leitgeb@leland.stanford.edu>.
656 * nss/nss_files/files-service.c: Undo last change.
658 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
660 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
663 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
665 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
666 zero in alternate form with precision of zero, which must produce
667 "0". Add braces to avoid ambiguous `else'.
669 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
671 * locale/programs/charset.c (insert_char): Correctly insert value
672 of eliipsis expression.
674 1997-11-04 03:08 Ulrich Drepper <drepper@cygnus.com>
676 * stdlib/strfmon.c: Fix numerous bugs in formatting.
678 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
680 * string/strsignal.c: Regard signal number NSIG as illegal.
681 * sysdeps/unix/sysv/linux/siglist.c: Define array with only NSIG
684 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
686 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
687 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
689 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
691 * nis/ypclnt.c: Try at first to use the binding file from ypbind
694 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
696 * manual/memory.texi (Heap Consistency Checking): mcheck is
697 declared in <mcheck.h>.
698 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
700 * malloc/Makefile (headers): Add mcheck.h.
701 (distribute): Remove mcheck.h.
703 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
705 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
706 beginning of haystack.
708 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
710 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
712 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
714 * login/utmp_file.c (pututline_file): Don't always report success
715 if similar entry is found. Patch by Mark M. Kettenis.
717 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
719 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
720 kernel's network ioctls, rather than using <linux/sockios.h> to
721 get them. This way we are sure of maintaining compatibility if
722 the kernel interface should change.
724 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
726 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
728 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
730 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
733 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
735 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
737 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
739 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
740 really kept as a variable. Patch by Richard Henderson,
741 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
743 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
745 * assert/assert.h (assert_perror): Correct test for errnum. Patch
746 by uch@nop.or.jp. [PR libc/437]
748 1998-01-28 Ulrich Drepper <drepper@cygnus.com>
750 * sysdeps/unix/sysv/linux/socketbits.h: Define _LINUX_TYPES_H to
751 prevent use of kernel headers.
752 Patch by Richard Henderson.
754 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
756 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
757 overflow while reading line with fgets.
758 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
760 1998-01-27 00:45 Ulrich Drepper <drepper@cygnus.com>
762 * sysdeps/unix/sysv/linux/gnu/types.h (__ipc_pid_t): Change to
763 unsigned short, not short.
764 Reported by Andreas Jaeger.
766 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
768 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
769 reading line with fgets.
770 * nis/nss_compat/compat-pwd.c: Likewise.
771 * nis/nss_compat/compat-spwd.c: Likewise.
772 * nss/nss_files/files-XXX.c: Likewise.
773 * nss/nss_files/files-alias.c: Likewise.
774 * shadow/fgetspent_r.c: Likewise.
776 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
778 * time/zic.c (dolink): Use symlink if hard link failed with EXDEV.
779 Patch by Ulrich Drepper. [PR libc/413]
781 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
783 * nss/db-Makefile: Handle empty and comment lines better.
784 ($(VAR_DB)/services.db): Generate entries with missing protocol
787 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
789 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
792 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
794 * nss/nss_files/files-service.c (getservbyport): Allow proto == NULL.
795 (getservbyname): Allow proto == NULL.
796 Pointed out by David N. Welton <davidw@ecglaf.cks.com>.
799 * string/strerror_r.c (__strerror_r): Fix description of
801 * sysdeps/mach/_strerror.c (_strerror_internal): Fix handling of
802 unknown error in presense of small buffer.
803 * sysdeps/generic/_strerror.c: Likewise.
804 Pointed out by Jonas Bagge <jonas@bagge.se>.
806 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
808 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
809 instead of strcasecmp.
810 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
812 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
814 * locale/langinfo.h: Add defines.
815 * dirent/dirent.h: Add defines for DT_*.
817 * sysdeps/generic/confname.h: Add defines for _CS_PATH and
819 Suggested by Roland McGrath.
821 1997-09-04 13:19 Richard Henderson <rth@cygnus.com>
823 * sysdeps/alpha/w_sqrt.S: Removed.
824 * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact
825 and build a version that is as fast as possible given the constraint.
828 1998-01-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
830 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Correct
831 handling of enlarging buffers (clear errno).
832 * sunrpc/clnt_simp.c (callrpc): Likewise.
833 * sunrpc/getrpcport.c (getrpcport): Likewise.
834 * sunrpc/clnt_gen.c (clnt_create): Likewise.
835 * shadow/fgetspent.c (fgetspent): Likewise.
836 * shadow/sgetspent.c (sgetspent): Likewise.
837 * pwd/fgetpwent.c (fgetpwent): Likewise.
838 * nss/getXXent.c (GETFUNC_NAME): Likewise.
839 * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
840 * inet/rexec.c (rexec): Likewise.
841 * inet/rcmd.c (rcmd): Likewise.
843 (__icheckhost): Likewise.
844 * grp/initgroups.c (initgroups): Likewise
845 * grp/fgetgrent.c (fgetgrent): Likewise.
846 Based on patches by Cristian Gafton <gafton@redhat.com>.
848 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
850 * nss/getXXbyYY_r.c: Fix NSS_STATUS_TRYAGAIN handling.
851 * nss/getXXent_r.c: Likewise.
852 Patches by Cristian Gafton <gafton@redhat.com>.
854 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
856 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
857 terminating null in key size.
859 1998-01-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
861 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
862 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
865 * sysdeps/i386/fpu/__math.h: Change sgn to __sgn. Suggested
866 by Jochen Voss <voss@mathematik.uni-kl.de>.
869 * manual/time.texi (Priority): Correct description of
870 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
873 * sysdeps/i386/fpu/__math.h: Correct test for buggy gccs.
875 1998-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
877 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
879 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
881 * nss/nss_files/files-service.c: Fix allocation size to include
884 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
885 applicable. Fix return value and error checking.
886 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
888 (DB_LOOKUP): Allocate space for terminating null byte.
891 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
894 * db2/makedb.c (process_input): Continue processing if a duplicate
897 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
899 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
900 lookups ignoring case.
901 * nss/nss_files/files-network.c: Do network lookups ignoring
903 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
905 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
906 case insensitive comparing.
907 Patches by Cristian Gafton <gafton@redhat.com>.
909 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Update from glibc
910 2.1 for newer kernels (osf_sigaction). Suggested by Cristian Gafton
913 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
915 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
916 by Roland McGrath. [PR libc/395]
918 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
920 * manual/arith.texi (Parsing of Integers): Correct description of
921 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
924 1998-01-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
926 * signals.c (sigwait): Correct loop initilization and end
927 test. Patch by Khimenko Victor <khim@sch57.msk.ru>.
929 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
931 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
932 cancelable socket functions as __libc_xxx with __xxx as weak
935 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
937 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
939 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
940 and __xxx a weak alias.
941 * sysdeps/unix/sysv/linux/connect.S: Likewise.
942 * sysdeps/unix/sysv/linux/recv.S: Likewise.
943 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
944 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
945 * sysdeps/unix/sysv/linux/send.S: Likewise.
946 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
947 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
950 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
952 * configure.in: Fix --enable-add-ons code.
954 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
956 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
957 Patch by David Engel <david@sw.ods.com>.
959 * configure.in: Fix another typo in --enable-add-ons code.
961 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
963 * misc/lsearch.c (lsearch): Return a pointer to the new element
964 if one was "allocated".
966 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
968 * string/strsignal.c: Don't zap the last character of the "Unknown
971 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
973 * libio/iofgets.c (_IO_fgets): Return an error only if there
975 * libio/iogets.c (_IO_gets): Ditto.
977 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
979 * nss/nss_files/files-network.c: Correct order of parameters for
981 (LINE_PARSER): Set n_addrtype to AF_INET.
983 1998-01-25 19:24 Richard Henderson <rth@cygnus.com>
985 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Let GLOB_DAT
986 and JMP_SLOT see the relocation addend.
988 1997-12-28 19:22 Ulrich Drepper <drepper@cygnus.com>
990 * version.h (RELEASE): Set to "production".
995 * sysdeps/posix/mk-stdiolim.c: Correctly handle inclusion by stdio.h.
997 1997-12-28 17:13 Ulrich Drepper <drepper@cygnus.com>
999 * nis/ypclnt.c (__yp_bind): Make sure socket is closed.
1000 Patch by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1002 1997-12-24 22:04 Ulrich Drepper <drepper@cygnus.com>
1004 * configure.in: Fix typo. Correct check for available add-ons.
1006 * limits.h: Always define MB_LEN_MAX.
1008 * nis/nss_nis/nis-ethers.c: Correct handling of overflow.
1009 * nis/nss_nis/nis-grp.c: Likewise.
1010 * nis/nss_nis/nis-hosts.c: Likewise.
1011 * nis/nss_nis/nis-network.c: Likewise.
1012 * nis/nss_nis/nis-proto.c: Likewise.
1013 * nis/nss_nis/nis-pwd.c: Likewise.
1014 * nis/nss_nis/nis-rpc.c: Likewise.
1015 * nis/nss_nis/nis-service.c: Likewise.
1016 * nis/nss_nis/nis-spwd.c: Likewise.
1018 * sysdeps/posix/mk-stdiolim.c: Define FOPEN_MAX also when included
1021 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Fix typo.
1023 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
1025 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
1027 * posix/sched.h: timespec is in <time.h>.
1029 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
1031 1997-12-21 22:09 Ulrich Drepper <drepper@cygnus.com>
1033 * xopen_lim.h: Include stdio_lim.h to get definition of FOPEN_MAX.
1034 Define STREAM_MAX using FOPEN_MAX.
1036 * locale/programs/ld-ctype.c (map_collection_max, map_collection_act):
1038 * locale/programs/locale.c: Use correct cast from pointer value.
1040 * misc/regexp.h (compile): Use parameter names without __.
1042 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
1043 instead of strcpy for security reasons.
1044 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
1045 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
1046 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
1047 * sunrpc/clnt_simp.c (callrpc): Likewise.
1049 * nis/nss_nis/nis-hosts.c (LINE_PARSER): Use pointer of correct type
1050 for map_v4v6_hostent call.
1052 * sysdeps/posix/mk-stdio-lim.c: Generate file which recognizes
1054 * sysdeps/standalone/stdio_lim.h: Rewrite to recognize
1056 * sysdeps/stub/stdio_lim.h: Likewise.
1058 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Define __ipc_pid_t type.
1059 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1060 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Use __ipc_pid_t for
1061 msg_lspid and msg_lrpid field.
1062 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise for shm_cpid and
1065 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1067 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
1069 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1071 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
1073 1997-12-11 18:19 Ulrich Drepper <drepper@cygnus.com>
1075 * elf/rtld.c: Don't count in multiply reference object in number
1076 of preloaded objects. [PR libc/375].
1078 * sysdeps/generic/gnu/types.h (__FDMASK): Cast constant 1 to be
1080 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
1081 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
1082 Reported by Richard Henderson.
1084 1997-12-11 12:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1086 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
1087 return code for non existent +name entries.
1088 * nis/nss_compat/compat-pwd.c: Likewise.
1089 * nis/nss_compat/compat-spwd.c: Likewise.
1091 1997-12-11 17:40 Ulrich Drepper <drepper@cygnus.com>
1093 * posix/glob.c: Update from glibc 2.1.
1094 * posix/glob.h: Likewise.
1096 1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu>
1098 * stdlib/exit.c (exit): Handle recursive calls to exit ().
1100 1997-12-11 07:36 Ulrich Drepper <drepper@cygnus.com>
1102 * sysdeps/alpha/bsd-setjmp.S: Add empty file.
1103 * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1105 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
1107 * configure.in: If --enable-add-ons is given without an
1108 argument, set the addons list to all subdirs with a configure
1111 1997-05-23 15:26 Philip Blundell <pjb27@cam.ac.uk>
1113 * resolv/res_query.c (res_querydomain): Avoid potential buffer
1114 overrun. Reported by Dan A. Dickey <ddickey@transition.com>.
1116 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1118 * glibcbug.in: Add more information of build environment and flags.
1120 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1122 * resolv/inet_neta.c (inet_neta): Change type of first parameter
1123 to u_int32_t. Suggested by John Lavagnino
1124 <John_Lavagnino@Brown.edu> [PR libc/366].
1126 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
1128 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1130 1997-12-10 Ulrich Drepper <drepper@cygnus.com>
1132 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1134 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
1136 * Makerules (compile.S, COMPILE.S, COMPILE.s): Use $(ASFLAGS-*)
1139 * locale/C-ctype.c: Correct data for isw* functions.
1140 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
1142 * wctype/test_wctype.c: Add test for isw* functions.
1143 * wctype/wctype.c: Return value with expected byte order.
1145 * sysdeps/alpha/__math.h: Remove cabs definition.
1146 * sysdeps/libm-ieee754/w_cabs.c [NO_LONG_DOUBLE]: Correct cabsl.
1148 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
1150 * sysdeps/unix/inet/syscalls.list: Define socket syscalls with
1153 * sysdeps/unix/sysv/linux/Dist: Add scsi/sg.h, net/if_packet.h,
1154 net/if_slip.h, and sys/prctl.h. Remove sys/module.h.
1155 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
1156 Remove sys/module.h. Add sys/prctl.h and scsi/sg.h.
1157 [$(subdir)=inet] (sysdep_headers): Add net/if_slip.h, net/if_packet.h.
1159 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1161 * sysdeps/unix/sysv/linux/sys/module.h: Removed.
1163 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
1165 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1166 * sysdeps/unix/sysv/linux/send.S: Likewise.
1167 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1168 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1169 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1170 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1171 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1172 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1174 1997-12-07 15:49 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1176 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
1177 handle for /etc/group back in some more cases.
1178 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
1179 handle for /etc/passwd back in some more cases.
1180 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
1181 handle for /etc/shadow back in some more cases.
1183 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
1185 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
1187 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
1188 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
1190 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
1192 Alpha changes for EGCS:
1193 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
1194 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
1195 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
1197 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
1199 * sysdeps/alpha/Makefile: Backport setjmp/longjmp rewrite.
1200 * sysdeps/alpha/__longjmp.S: Likewise.
1201 * sysdeps/alpha/bsd-_setjmp.S: Likewise.
1202 * sysdeps/alpha/bsd-setjmp.S: Likewise.
1203 * sysdeps/alpha/jmp_buf.h: Likewise.
1204 * sysdeps/alpha/setjmp.S: Likewise.
1205 * sysdeps/alpha/__longjmp.c: Removed.
1206 * sysdeps/alpha/setjmp_aux.c: Removed.
1208 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1210 * sysdeps/unix/sysv/linux/socketbits.h: Add AF_* and PF_
1211 constants from Linux headers. Pointed out by
1212 csmall@scooter.o.i.net. [PR libc/369]
1214 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1216 * grp/initgroups.c: Increase buffer if it is too small.
1218 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1220 * sysdeps/unix/sysv/linux/sys/mman.h (MAP_FAILED): Add
1221 constant. Suggested by Petter Reinholdtsen <pere@sleeper.link.no>
1224 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
1226 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
1227 __typeof for C++ since this fails for class members.
1228 Reported by Neal Becker <neal@ctd.comsat.com>.
1230 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1232 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
1233 incompatible with Linux 2.1.x. Packages using modules
1234 (e.g. modutils) should/do provide their own version. Suggested by
1237 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h
1239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1240 [$(subdir)=socket]: Remove sys/module.h.
1242 1997-11-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1244 * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1245 not shadow the variable in the outer scope. Carry over from glibc 2.1.
1247 1997-11-21 21:33 Ulrich Drepper <drepper@cygnus.com>
1249 * sysdeps/libm-ieee754/w_cabs.c: Add __cabs_complexl definition.
1251 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
1253 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1256 1997-11-19 23:50 Ulrich Drepper <drepper@cygnus.com>
1258 * configure.in: Update from 2.1 version.
1259 * glibcbug.in: Likewise.
1260 * manual/maint.texi: Likewise.
1262 * math/mathcalls.c: Remove declaration of infnan and cabs.
1264 * libio/stdio.h: Don't use _POSIX_SOURCE in header.
1266 * manual/errno.texi: Define new Linux errors.
1268 * math/math_private.h: Correct result type of __ieee754_rem_pio2{,f,l}
1269 and __kernel_rem_pio2{,f,l}.
1271 * posix/glob.h: Define GLOB_ABORTED and GLOB_ABEND only if __USE_GNU.
1273 * stdio-common/printf_fp.c: Define NDEBUG only if not yet defined.
1275 * sysdeps/i386/selectbits.h: Don't use casts, use element access.
1277 * sysdeps/libm-i387/s_nextafterl.c: Correct result value for x==y.
1279 * sysdeps/libm-ieee754/s_cbrt.c: Correct result for NAN, Inf, 0.0.
1280 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1281 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1283 * sysdeps/mach/hurd/cthreads.c: Include <libc-lock.h>, not
1286 * sysdeps/unix/sysv/linux/socketbits.h: Add new values and correct
1287 types in struct cmsghdr.
1289 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Correct
1290 loading of return address.
1292 * sysdeps/unix/sysv/linux/net/if.h: Add new values.
1293 * sysdeps/unix/sysv/linux/net/if_arp.h: Likewise.
1295 * sysdeps/unix/sysv/linux/sys/quota.h: Include <asm/types.h>.
1297 1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
1299 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1300 value type to long int.
1301 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
1304 1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com>
1306 * sysdeps/posix/writev.c: Correct condition to leave the loop.
1308 1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com>
1310 * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
1311 zero isn't enough to determine illegal arguments.
1312 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1313 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1315 1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
1317 * sysdeps/libm-i387/e_remainder.S: Pretty print.
1318 * sysdeps/libm-i387/e_remainderf.S: Likewise.
1319 * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
1321 1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1323 * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
1325 1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com>
1327 * stdlib/stdlib.h: Remove mblen optimization.
1328 * stdlib/mblen.c: Rewrite to make sure global state is not changed.
1329 Reported by anderson@metrolink.com.
1331 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1333 * po/Makefile ($(mo-installed)): Don't fail during installation if
1334 files don't exist (might happen if msgfmt doesn't exist) (PR 328).
1335 Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1337 1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
1339 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1340 header is used in some others as well for historical reasons.
1342 1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
1344 * locale/setlocale.c (setname): Only remove old name when it
1345 is for category LC_ALL.
1347 1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com>
1349 * intl/localealias.c (read_alias_file): Correct handling of line
1350 reader which sometimes skipped complete lines (PR 205).
1352 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
1354 * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1355 definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1357 * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1358 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
1360 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
1362 * Makerules (libc.so): Fix typo.
1364 * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
1365 definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1367 * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
1368 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
1370 1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
1372 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1374 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1376 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1377 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1379 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
1381 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1383 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1384 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1386 * configure.in: Correct test for bash2.
1387 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1389 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1390 (CFLAGS-locfile.c): Likewise.
1391 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1393 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1394 non-existing entry if the table is full.
1396 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1398 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
1400 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1401 Replace revoke call by use of REVOKE.
1402 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
1403 empty and #include generic version.
1404 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1406 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
1408 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
1409 again after successful call.
1410 Patch by Marc Lehmann <pcg@goof.com>.
1412 1997-11-17 02:02 Ulrich Drepper <drepper@cygnus.com>
1414 * malloc/thread-m.h: Remove malloc_key-data definition.
1415 Reported by Trevor Johnson <trevor@jpj.net>.
1417 1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1419 * manual/filesys.texi (Scanning Directory Content): Document error
1422 * dirent/scandir.c (scandir): Ignore errors from select function.
1423 Suggested by urbanw@cs.umu.se (closes PR libc/316).
1425 1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
1427 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1428 * termios/termios.h: Change prototype accordingly.
1430 1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1432 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1435 1997-11-14 05:59 Ulrich Drepper <drepper@cygnus.com>
1437 * misc/efgcvt_r: Use version fromglibc 2.1 which corrects several
1440 1997-11-13 15:00 Ulrich Drepper <drepper@cygnus.com>
1442 * nis/nss_compat/compat-grp.c: Carry over several patches from glibc
1443 2.1 development version to fix some more severe bugs.
1444 * nis/nss_compat/compat-pwd.c: Likewise.
1445 * nis/nss_compat/compat-spwd.c: Likewise.
1446 * nis/ypclnt.c: Likewise.
1447 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1449 * version.h (VERSION): Bump to 2.0.6.
1451 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
1453 * stdlib/stdtod.c: Handle numbers like 0.0e10000 correctly which
1454 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
1456 1997-10-31 23:08 Ulrich Drepper <drepper@cygnus.com>
1458 * posix/glob.c (glob): If calling glob_in_dir for a list which was
1459 generated by a glob call disable GLOB_ERR since there might be
1460 non-directories in the list (PR203).
1462 1997-10-30 06:04 Ulrich Drepper <drepper@cygnus.com>
1464 * misc/efgcvt.c: Call correct reentrant functions.
1466 1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com>
1468 * time/tzfile.c (__tzfile_compute): Use negated value of offset for
1470 * time/tzset.c (tz_compute): Likewise.
1471 Reported by Erik Troan <ewt@redhat.com>.
1473 1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com>
1475 * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
1476 in all error cases (PR 244).
1478 1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com>
1480 * manual/filesys.texi: Correct prototype in readdir_r description.
1481 Reported by Jim Meyering <meyering@eng.ascend.com>.
1483 1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com>
1485 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
1486 matching of version function if both the general (1) and
1487 glibc-specific (3) entry are present.
1489 1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com>
1491 * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1492 elements in struct msghdr and struct cmsghdr, to keep in step with
1495 1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com>
1497 * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1498 * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1499 struct and not a pointer. Little optimizations.
1501 1997-10-07 Paul Eggert <eggert@twinsun.com>
1503 * intl/loadmsgcat.c (_nl_load_domain):
1504 Fix &&/|| typo when checking file size.
1506 1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com>
1508 * time/africa: Update from tzdata1997i.
1510 1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com>
1512 * malloc/obstack.h (obstack_empty_p): New macro.
1514 1997-09-09 Paul Eggert <eggert@twinsun.com>
1516 * time/mktime.c (__mktime_internal): Declare sec_requested even if
1517 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1518 for time_t overflow.
1520 1997-09-10 04:42 Ulrich Drepper <drepper@cygnus.com>
1522 * sysdeps/unix/sysv/linux/netinet/ip_fw.h (struct ip_fw): Correct
1523 type of fw_pcnt and fw_bcnt fields to match kernel.
1524 Patch by a sun <asun@zoology.washington.edu>.
1526 1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
1528 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1529 Reported by Erik Troan <ewt@redhat.com>.
1531 1997-09-06 Paul Eggert <eggert@twinsun.com>
1533 Fix gmtime so that it reports leap seconds when TZ
1534 indicates that leap seconds are desired.
1536 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1537 (gmtime): Put after gmtime_r, to help the compiler inline.
1538 (__tz_convert): New decl.
1539 (gmtime_r): Use __tz_convert instead of __offtime,
1540 so that leap seconds are handled correctly.
1542 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1543 are now unnecessary.
1544 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1545 __tzset_lock): Remove extern decls that are now unnecessary.
1546 (localtime_internal): Moved to __tz_convert in tzset.c.
1547 so that localtime and gmtime can both use it easily.
1548 (localtime): Put after localtime_r, to help the compiler inline.
1549 (localtime_r): Use __tz_convert instead of localtime_internal.
1551 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1554 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1556 * time/tzset.c (<errno.h>): Include.
1558 (__tzfile_compute): New function.
1559 (tz_compute): Renamed from __tz_compute. No longer extern.
1560 Remove redundant call to tzset_internal.
1561 (tzset_internal): Renamed from __tzset_internal. No longer extern.
1562 (tzset_lock): Renamed from __tzset_lock. No longer extern.
1563 (__tz_convert): New function, containing functionality of old
1564 localtime_internal function, plus locking and optional UTC.
1566 1997-09-06 Paul Eggert <eggert@twinsun.com>
1568 * tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1569 string, just use UTC without leap seconds. This is for compatibility
1570 with the Olson code.
1572 1997-09-06 Paul Eggert <eggert@twinsun.com>
1574 * time/tzset.c (__tzname_max): Lock tz data structures before
1575 invoking tzset_internal.
1577 * time/tzfile.c: Define compute_tzname_max statically.
1579 1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
1581 * sysdeps/i386/selectbits.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1582 __FD_ISSET): Use correct casts to address array correctly.
1583 Reported by urbanw@cs.umu.se.
1585 1997-09-05 06:11 Ulrich Drepper <drepper@cygnus.com>
1587 * gmon/gmon.c (write_bb_counts): Make sure entries are written before
1588 next head. Reported by baccala@FreeSoft.org.
1590 1997-09-01 14:16 Ulrich Drepper <drepper@cygnus.com>
1592 * sysdeps/stub/sigaction.c: Fix typo.
1593 Reported by Klaus Reichl <klaus.reichl@aut.alcatel.at>.
1595 1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
1597 * catgets/catgets.c (catopen): Correctly determine length of string
1598 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1600 1997-08-26 20:17 Ulrich Drepper <drepper@cygnus.com>
1602 * sysdeps/unix/sysv/linux/netinet/tcp.h: Fix typo.
1604 1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
1606 * sysdeps/i386/selectbits.h: Correct assembler versions to work even
1607 for descriptors >= 32.
1609 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1610 is used __alloca is not defined to __builtin_alloca and so might
1612 Reported by Uwe Ohse <uwe@ohse.de>.
1614 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1615 way if gcc is not used and so dev_t is an array.
1616 Reported by Uwe Ohse <uwe@ohse.de>.
1618 * sysdeps/unix/sysv/linux/netinet/tcp.h: Include features.h instead
1619 of sys/cdefs.h. Pretty print.
1621 1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
1623 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1624 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1625 with g++ internal symbols.
1626 Patch by Sudish Joseph <sj@eng.mindspring.net>.
1628 1997-08-24 18:36 Ulrich Drepper <drepper@cygnus.com>
1630 * string/argz.h: Add missing __END_DECLS.
1631 Patch by Miles Bader <miles@gnu.ai.mit.edu>.
1633 1997-08-24 00:48 Ulrich Drepper <drepper@cygnus.com>
1635 * locale/iso-4217.def: Update for more complete ISO 4217 match.
1637 * libio/stdio.h: Make {,v}snprintf functions available is __USE_BSD.
1639 * sysdeps/generic/dl-sysdep.c: Don't use fstat, use fxstat.
1641 1997-08-17 Paul Eggert <eggert@twinsun.com>
1643 * tzset.c (__tzset_internal): Fix memory leak when the user
1644 specifies a TZ value that uses a default rule file.
1645 Do not assume US DST rules when the user specifies
1646 that there is no DST.
1648 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1650 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
1651 they operate on internal kernel structures and have no place in a
1654 1997-08-18 01:52 Ulrich Drepper <drepper@cygnus.com>
1656 * sysdeps/mach/libc-lock.h: Fix typo.
1657 Reported by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1659 1997-08-16 21:33 Ulrich Drepper <drepper@cygnus.com>
1661 * sysdeps/mach/hurd/Dist: Add cthreads.c.
1663 * catgets/gencat.c (usage): Fix help text.
1665 Update of UTMP interface.
1666 * login/Makefile (routines): Add utmpname, remove utmp_db.
1667 * login/getutent.c: Rename to __getutent and make getutent a weak
1669 * login/getutent.c: Rename to __getutid and make getutid a weak
1671 * login/getutent.c: Rename to __getutline and make getutline a weak
1673 * login/getutent_r.c: Rewrite to use jump table correctly.
1674 * login/getutid_r.c: Likewise.
1675 * login/getutline_r.c: Likewise.
1676 * login/updwtmp.c: Likewise.
1677 * login/login.c (login): Correct test for result of utmpname.
1678 Use updwtmp instead of implementing this here again.
1679 * login/logout.c (logout): Correct test for result of utmpname
1680 and pututline. Handle ut_type field correctly if it exists.
1681 * login/utmp-private.h: Update for changed internal functions.
1682 * login/utmp.h: Reformat and correct typos.
1683 * login/utmp_file.c: Rewrite lock handling.
1684 * login/utmpname.c: New file.
1685 Patches by Mark Kettenis <kettenis@phys.uva.nl>.
1687 * socket/sys/socket.h (getpeername): Correct type of len argument.
1688 Reported by a sun <asun@zoology.washington.edu>.
1690 * sysdeps/generic/_G_config.h: Include <gnu/types.h>, not
1692 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1694 * sysdeps/mach/libc-lock.h: Introduce thread-specific key handling
1697 * sysdeps/mach/hurd/Makefile [subdir=misc] (sysdep_routines): Add
1699 * sysdeps/mach/hurd/cthreads.c: New file.
1701 1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
1703 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
1704 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
1706 1997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl>
1708 * login/login.c (login): Check for correct return value of
1711 1997-08-10 18:44 Ulrich Drepper <drepper@cygnus.com>
1713 * time/tzset.c: Interpret no DST information in user provided time
1714 zone specification as it is meant: no DST.
1715 Patch by Paul Eggert <eggert@twinsun.com>.
1717 1997-08-09 13:12 Ulrich Drepper <drepper@cygnus.com>
1719 * sysdeps/mach/libc-lock.h (__libc_once): Fix typos.
1720 Add macros for key handling.
1721 * sysdeps/mach/hurd/Makefile [$(subdir)=misc] (sysdep_routines): Add
1723 * sysdeps/mach/hurd/cthreads.c: New file.
1724 Patches by Marcus G. Daniels <marcusd@cathcart.sysc.pdx.edu>.
1726 1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1728 * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1730 1997-08-08 02:25 Ulrich Drepper <drepper@cygnus.com>
1732 * sysdeps/stub/libc-lock.h (__libc_once_define): Add new parameter
1734 * inet/inet_ntoa.c: Add static to parameter list for __libc_once_init.
1736 * login/Makefile (routines): Add updwtmp.
1737 * login/logwtmp.c: Move definition of updwtmp to ...
1738 * login/updwtmp.c: here. New file.
1740 * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite.
1741 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
1742 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
1744 1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
1746 * libio/stdfiles.c (_libio_using_thunks): Define if
1747 _G_USING_THUNKS is defined.
1749 * libio/_G_config.h: Moved to
1750 * sysdeps/generic/_G_config.h: ...here.
1752 * sysdeps/unix/sysv/linux/_G_config.h: New, add vtable thunks support.
1754 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1756 * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1759 1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1761 * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1762 PC's in long long to avoid overflow.
1764 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1766 * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1769 1997-08-06 13:54 Ulrich Drepper <drepper@cygnus.com>
1771 * gmon/gmon.c (_mcleanup): Fix typos.
1773 * gmon/sys/gmon.h: Add prototype for write_profiling.
1775 1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1777 * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1778 loop, to avoid dragging stdio into the dynamic linker.
1780 1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1782 * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1783 (_mcleanup): Use write_gmon.
1784 (write_profiling): This function can be safely called at any time
1785 to write a current histogram without interfering with ongoing
1788 * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1790 1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1792 * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1793 not be vm_deallocated; it's a stack buffer.
1794 (profil_vm_deallocate): Delete prototype.
1795 (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1797 * sysdeps/mach/hurd/Makefile
1798 ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1801 * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1802 from profile_waiter.
1803 (profile_waiter): Use fetch_samples.
1804 (profil): When turning off profiling, fetch the last bunch of
1805 samples before disabling PC sampling.
1806 (fetch_samples): Add prototype.
1808 1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1810 * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1811 source included by profil.c instead of trying to use
1812 before-compile grot.
1814 1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
1816 * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1817 after releasing lock. Use special RPC stubs and avoid assert,
1818 thus making this function entirely independent of the threadvar
1819 mechanism and of cthreads.
1820 (lock): Convert to be a spin lock instead of a mutex, so that the
1821 waiter thread need not use cthreads. Use a fork prepare hook
1822 instead of _hurd_fork_locks to make sure we are clean before
1824 (fork_profil_child): Renamed from fork_profil.
1825 (profil_reply_port): New variable.
1826 (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1827 stubs made by special hacks.
1828 * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1829 source files that profil.c needs if we are in the gmon directory.
1831 * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1832 cthreads bug that hasn't existed for two years.
1834 1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
1836 * locale/programs/localedef.c (main): Set bit in avail for those
1837 categories which are successfully read.
1838 * locale/programs/locfile.c (check_all_categories): Don't check
1839 categories if they are not available.
1840 (write_all_categories): Don't write categories if they are not
1843 * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1844 getsockopt, setsockopt, accept): Change size argument to type
1847 * manual/socket.texi: Describe socklen_t and change prototypes of
1848 socket functions to use socklen_t.
1849 * sysdeps/generic/bits/socket.h: Define socklen_t.
1850 (struct msghdr): Correct types to use socklen_t.
1851 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1852 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1854 * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1856 * stdio-common/tfformat.c: Add new tests for above bug.
1858 * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1860 * wcsmbs/Makefile (tests): Add tst-wcstof.
1861 * wcsmbs/tst-wcstof.c: New file.
1862 * wcsmbs/wcstof.c (FLT): Define as FLT.
1864 1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com>
1866 * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1867 case since the __syscall_ptrace call already did this.
1868 Reported by Philip Gladstone <philip@talon.raptor.com>.
1870 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1872 * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1873 <gnu/types.h> to <sys/types.h>.
1875 1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com>
1877 * locale/programs/locale.c (print_escaped): New function.
1878 (show_info): Use print_escaped if strings can control unprintable
1880 Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1882 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1884 * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1887 1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com>
1889 * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1890 for stream on input file.
1891 * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1892 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1893 * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1894 * nss/nss_db/db-alias.c (internal_setent): Likewise.
1895 * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1896 * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1897 * nss/nss_files/files-alias.c (internal_setent): Likewise.
1898 * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1900 1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com>
1902 * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1903 Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1904 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1905 * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1907 1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com>
1909 * time/africa: Update from tzdata1997g.
1910 * time/asia: Likewise.
1911 * time/australasia: Likewise.
1912 * time/europe: Likewise.
1913 * time/iso3166.tab: Likewise.
1914 * time/zone.tab: Likewise.
1915 * time/private.h: Update from tzcode1997f.
1916 * time/scheck.c: Likewise.
1918 1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1920 * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
1921 Synchronize with malloc/obstack.c.
1923 1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
1925 * manual/Makefile (INSTALL_INFO): Introduce variable to override
1926 path to install-info for systems like Debian that have an
1927 install-info with a different command line interface from the
1928 canonical GNU texinfo version.
1930 1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1932 * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
1933 * posix/unistd.h: Likewise.
1934 * sysdeps/stub/ttyname_r.c: Likewise.
1936 1997-06-22 Paul Eggert <eggert@twinsun.com>
1938 * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
1940 * time/tzfile.c (__tzstring): New decl.
1941 (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
1942 (__tzfile_default): First two args are now const char *.
1944 * time/tzset.c (__tzstring): New function.
1945 (tz_rule): Name is now const char *.
1946 (struct tzstring_head): New type.
1947 (tzstring_list, tzstring_last_buffer_size): New static vars.
1948 (__tzset_internal): Time zone names are now permanent, not temporary.
1950 1997-07-12 18:47 Ulrich Drepper <drepper@cygnus.com>
1952 * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
1953 and && in tests to allow use in C++ code which overloads these
1954 operators. Reported by Istvan Marko <istvan@cmdmail.amd.com>.
1956 1997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com>
1958 * login/login.c (tty_name): Test return value of ttyname_r for !=
1960 * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
1962 * sysdeps/unix/getlogin.c (getlogin): Test return value of
1964 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1966 1997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com>
1968 * inet/inet_ntoa.c: Prevent looking for thread data key if we found
1971 * signal/sigandset.c: Include stddef.h to get NULL defined.
1972 * signal/sigisempty.c: Likewise.
1973 * signal/sigorset.c: Likewise.
1975 1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
1977 * posix/execvp.c (execvp): Handle ESTALE.
1979 1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu>
1981 * libio/fileops.c (_IO_file_underflow): Adjust pointers
1982 before calling _IO_SYSREAD ().
1984 1997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com>
1986 * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
1987 Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
1989 1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com>
1991 * io/lockf.c (lockf): Clear fl before using.
1994 * libio/strops.c: Correctly handle _IO_write_end.
1996 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
1997 panic if setnetgrent wasn't called before, return error.
1998 Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
2000 * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
2002 * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
2004 Define tm_diff function as ftime_tm_diff if locally defined.
2005 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2007 1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu>
2009 * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
2010 in cc1. Cpp in gcc doesn't do it.
2012 1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
2014 * login/login.c (tty_name): Use newly allocated buffer.
2015 Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2017 * time/asctime.c: Never translate week and month name according
2018 to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>.
2020 1997-06-28 20:52 Ulrich Drepper <drepper@cygnus.com>
2022 * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
2025 1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com>
2027 * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
2030 1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com>
2032 * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
2033 defined. Reported by Akim Demaille <demaille@inf.enst.fr>.
2035 1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com>
2037 * math/math.h: Add warning about use of M_* constants.
2040 1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
2042 * locale/programs/locale.c: Correct comment.
2046 1997-06-20 02:35 a sun <asun@zoology.washington.edu>
2048 * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
2050 1997-06-19 19:38 Ulrich Drepper <drepper@cygnus.com>
2052 * inet/rcmd.c: Correct a few typos. Reported by Erik Troan.
2054 * manual/Makefile (distribute): Add dir.
2055 * manual/dir: New file.
2057 1997-06-19 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
2059 * time/tzfile.c (__tzfile_read): Store getc () return in int.
2061 1997-06-18 Miles Bader <miles@gnu.ai.mit.edu>
2063 * string/Makefile (routines): Add argz-replace.
2065 1997-06-12 Miles Bader <miles@gnu.ai.mit.edu>
2067 * string/argz.h (__argz_replace, argz_replace): New declarations.
2068 * string/argz-replace.c: New file.
2070 1997-06-18 00:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2072 * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
2073 character read in/put back.
2074 * stdio-common/tstscanf.c: Add test case for this.
2076 1997-06-18 12:01 Ulrich Drepper <drepper@cygnus.com>
2078 * manual/Makefile (install): Make sure `dir' file exists if we use
2081 1997-06-17 19:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2083 * manual/Makefile (info): Depend on dir-add.info.
2085 1997-06-17 00:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2087 * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
2088 * sysdeps/stub/e_acosl.c: Likewise.
2089 * sysdeps/stub/e_asinl.c: Likewise.
2090 * sysdeps/stub/e_atan2l.c: Likewise.
2091 * sysdeps/stub/e_expl.c: Likewise.
2092 * sysdeps/stub/e_fmodl.c: Likewise.
2093 * sysdeps/stub/e_j0l.c: Likewise.
2094 * sysdeps/stub/e_j1l.c: Likewise.
2095 * sysdeps/stub/e_jnl.c: Likewise.
2096 * sysdeps/stub/e_lgammal_r.c: Likewise.
2097 * sysdeps/stub/e_log10l.c: Likewise.
2098 * sysdeps/stub/e_logl.c: Likewise.
2099 * sysdeps/stub/e_powl.c: Likewise.
2100 * sysdeps/stub/e_rem_pio2l.c: Likewise.
2101 * sysdeps/stub/e_sqrtl.c: Likewise.
2102 * sysdeps/stub/k_cosl.c: Likewise.
2103 * sysdeps/stub/k_rem_pio2l.c: Likewise.
2104 * sysdeps/stub/k_sinl.c: Likewise.
2105 * sysdeps/stub/k_tanl.c: Likewise.
2106 * sysdeps/stub/s_atanl.c: Likewise.
2107 * sysdeps/stub/s_erfl.c: Likewise.
2108 * sysdeps/stub/s_expm1l.c: Likewise.
2109 * sysdeps/stub/s_log1pl.c: Likewise.
2111 1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com>
2113 * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
2116 1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com>
2118 * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
2119 * sysdeps/libm-i387/s_asinhf.S: Likewise.
2120 * sysdeps/libm-i387/s_asinhl.S: Likewise.
2121 * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
2122 * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
2123 * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
2125 1997-06-12 21:22 Ulrich Drepper <drepper@cygnus.com>
2127 * Makefile (manual/dir-add.info): New rule.
2129 * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
2132 * manual/Makefile (dir-add.texi): Also emit wrapper text for
2134 (distribute): Add dir-add.texi and dir-add.info.
2135 (mostlyclean): Add dir-add.info.
2136 (realclean): Add dir-add.texi.
2137 (install): Add entries in `dir' file using install-info.
2139 * manual/libc.texinfo: Add @dircategory and @direntry text.
2140 Reported by Miles Bader <miles@gnu.ai.mit.edu>.
2142 1997-06-12 12:45 Ulrich Drepper <drepper@cygnus.com>
2144 * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
2145 cannot rely on M_SQRT2 being defined. (log1p): Use __M_SQRT2 not
2147 * math/math.h (_Mldbl): Define even if M_* constants are not
2149 Reported by corsepiu@faw.uni-ulm.de.
2151 1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com>
2153 * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
2155 1997-06-11 13:22 Ulrich Drepper <drepper@cygnus.com>
2157 * misc/regexp.h (compile): Allow use of macro INIT for variable
2158 declaration. Add documentation for INIT.
2159 Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
2161 1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com>
2163 * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
2165 1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2167 * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
2168 netinet/icmp.h, add netatalk/at.h.
2169 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
2170 * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
2172 1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com>
2174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
2176 1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com>
2178 * string/argz-addsep.c: Correct weak alias.
2179 Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2181 * locale/setlocale.c (setlocale): Free variable with locale path
2183 (setname): Don't test for _nl_current[category] being NULL before
2185 Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
2187 1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com>
2189 * time/Makefile: Make tzselect depend on config.make.
2191 1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com>
2193 * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
2194 type to `unsigned long int'.
2195 Patch by Richard Henderson <richard@twiddle.rth.home>.
2197 1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2199 * nss/nss_files/files-hosts.c: Delete inclusion of
2200 "../resolv/mapv4v6hostent.h".
2202 1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com>
2204 * libio/libio.h: Define bits for libg++-2.8.
2206 1997-05-30 09:50 Richard Henderson <rth@tamu.edu>
2208 * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
2209 plan on doing so ever again. Don't say alpha-linuxecoff is known
2212 * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This
2213 will last until I figure out how to build a parallel libm_ieee.
2215 * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default
2216 FP mode to round to nearest, no exceptions as for Intel.
2217 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
2218 (rdfpcr): Use excb rather than trapb. Be more efficient about
2219 getting at the fpcr.
2221 (__setfpucw): Reformat.
2223 * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
2224 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
2225 * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
2226 sure the stack frame is released the very instruction before the
2228 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2229 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2231 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
2232 have gotten from <linux/posix_types.h>.
2234 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
2236 1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2238 * Makefile (manual/dir-add.texi): Force execution.
2240 1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2242 * stdlib/strfmon.c: Don't run past EOS after `='.
2244 1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com>
2246 Update resolver code to bind-4.9.6-T1A.
2247 * resolv/Banner: Update.
2248 * nss/digits_dots.c: Adapt text address matching to T1A.
2249 * nss/nss_files/files-hosts.c: Always use inet_pton.
2250 * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
2251 it would lead to warnings.
2252 * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
2254 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
2255 * resolv/res_comp.c (dn_expand): Check for overflow.
2256 (dn_comp): Likewise.
2257 * resolv/res_debug.c (precsize_aton): Better implementation.
2258 * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
2259 * resolv/res_send.c (res_send): Check for overflow in descriptor set.
2260 * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
2261 length at several places.
2263 1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2265 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
2268 * login/pty.h: Include <ioctl-types.h> for definition of struct
2271 1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com>
2273 * time/strptime.c (strptime_internal, case 'Y'): Restrict year
2274 number to four digits and to representable range for 4 byte time_t
2276 Patch by H.J. Lu <hjl@lucon.org>.
2278 1997-07-16 Miles Bader <miles@gnu.ai.mit.edu>
2280 * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
2281 than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
2282 Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
2284 1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
2286 * login/login.c (tty_name): Use newly allocated buffer.
2287 Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2289 * time/asctime.c: Never translate week and month name according
2290 to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>.
2292 1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2294 * hurd/hurdsig.c: Include <hurd/id.h>.
2295 (reauth_proc): Call proc_setowner appropriately too.
2297 1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2299 * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
2300 correct value for _POSIX_VDISABLE.
2302 1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu>
2304 * stdio-common/bug3.c: use /tmp/bug3.test for concurrency.
2306 * stdio-common/bug4.c: use /tmp/bug4.test for concurrency.
2308 1997-05-26 23:29 Ulrich Drepper <drepper@cygnus.com>
2310 * Net release 2.0.4.
2312 1997-05-26 22:51 Ulrich Drepper <drepper@cygnus.com>
2314 * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
2315 * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
2316 environments in which linking is not possible at configure time
2317 (since te libc is just build).
2318 Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2320 1997-05-26 18:58 Ulrich Drepper <drepper@cygnus.com>
2322 * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
2323 state array only at right place.
2324 Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
2326 * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
2327 [0.5,1.0) but really in [0.0, 1.0).
2328 Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
2330 1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu>
2332 * sysdeps/i386/elf/start.S: Change local label "nofini"
2335 * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
2337 1997-05-25 20:19 Ulrich Drepper <drepper@cygnus.com>
2339 * time/zic.c: Update from tzcode1997e.
2341 * sysvipc/sys/ipc.h: Print warning if _XOPEN_SOURCE and _SVID_SOURCE
2344 1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu>
2346 * gmon/gmon.c (_mcleanup): Free tostruct array allocated in
2349 1997-05-25 00:45 Ulrich Drepper <drepper@cygnus.com>
2351 * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
2353 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2355 * sunrpc/svc.c (svc_register): Change type of protocol parameter to
2358 1997-05-22 05:40 Richard Henderson <rth@tamu.edu>
2360 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
2361 not looking at the new thread-safe .plt, don't be lazy about relocs.
2362 (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
2363 (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
2364 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
2365 elf_machine_runtime_setup() decide if we can actually be lazy.
2366 * elf/rtld.c (_dl_start): So don't call it.
2367 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2368 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
2369 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2370 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2371 * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2372 * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
2373 * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
2374 skeleton definition.
2376 1997-05-22 18:37 Ulrich Drepper <drepper@cygnus.com>
2378 * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
2381 1997-05-22 17:44 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent
2386 * stdlib/seed48_r.c (seed48_r): Include limits.h to get definition
2389 * locale/localeinfo.h: _nl_current has LC_ALL + 1 elements.
2391 1997-05-21 17:50 Ulrich Drepper <drepper@cygnus.com>
2393 * version.h (VERSION): Bump to 2.0.4.
2395 * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
2396 and for Linux ld.so.
2397 * login/Makefile (libutil.so): Likewise.
2398 * math/Makefile (libm.so): Likewise.
2399 * md5-crypt/Makefile (libcrypt.so): Likewise.
2400 * nis/Makefile (libnss_%.so): Likewise.
2401 * resolv/Makefile (libnss_dns.so): Likewise.
2403 1997-05-15 16:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2405 * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c): Define for gcc bug
2408 1997-05-21 01:52 Ulrich Drepper <drepper@cygnus.com>
2410 * locale/Makefile (CPPFLAGS): Add definition for LOCALE_ALIAS_PATH.
2412 * malloc/obstack.c: Include <config.h>. Include <stdlib.h> only
2413 if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
2414 Reported by Ian Taylor <ian@cygnus.com>.
2416 * manual/errno.texi: Remove ENOMEDIUM and EMEDIUMTYPE errors.
2418 * po/de.po: Updated.
2420 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2422 * sysdeps/unix/sysv/linux/shmdt.c: Add cast in call to __ipc.
2424 1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu>
2426 Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
2427 * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
2429 1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2431 * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
2432 msg_add_auth was overflowing it.
2434 1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com>
2436 * time/sys/time.h: Make second argument of setitimer const.
2437 Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2438 * sysdeps/stub/setitimer.c: Likewise.
2439 * sysdeps/mach/hurd/setitimer.c: Likewise.
2441 1997-05-12 21:20 Richard Henderson <rth@tamu.edu>
2443 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
2444 when we can't find the symbol.
2446 1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com>
2448 * posix/regex.c: Fix handling of 32-bit Windog environments.
2449 Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
2451 1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2453 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
2455 1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
2457 * sysdeps/unix/sysv/linux/poll.c: Save errno.
2459 1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com>
2461 * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
2463 1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu>
2465 * sys/ttydefaults.h: Removed.
2467 1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2469 * termios/sys/ttydefaults.h: Delete file.
2470 * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
2472 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
2473 XTABS in TTYDEF_OFLAG.
2474 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
2475 in TTYDEF_OFLAG (which is correct for all existing Linux ports).
2477 1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com>
2479 * posix/TESTS: Add some more tests for character class matching.
2480 * posix/regex.c: Merge with GNU awk version.
2481 (regex_compile): Use ISO C/amend 1 functions for character class
2483 * posix/regex.h: Merge with GNU awk version.
2485 * posix/getopt.c: Declare as master copies.
2486 * posix/getopt1.c: Likewise.
2487 * posix/getopt.h: Likewise.
2489 * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
2490 value to mount functions.
2491 Patch by a sun <asun@zoology.washington.edu>.
2493 1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu>
2495 * sunrpc/svc_run.c (svc_exit): New, defined.
2496 (svc_run): Test for svc_stop variable.
2497 * sunrpc/rpc/svc.h (svc_exit): New, declared.
2499 1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2501 * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
2503 * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
2504 NaN. Fix test for sign of infinite y.
2506 * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
2508 * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
2510 1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2512 * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
2513 * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
2515 1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com>
2517 * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
2518 kernel can return negative values. Only fail when return value is
2519 in range in range which is never returned as valid address.
2520 Patch by Bruno Haible <haible@ilog.fr>.
2522 1997-04-30 17:35 Ulrich Drepper <drepper@cygnus.com>
2524 * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this
2527 * time/strftime.c (add): Respect `0' padding flag.
2528 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2530 1997-05-01 20:02 Richard Henderson <rth@tamu.edu>
2532 * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
2533 will preserve non-call-saved registers; save and restore a0 across
2535 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
2536 data onto the new thread's stack.
2538 1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com>
2540 * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
2541 * config.make.in: Set cross-compiling from configure result.
2542 * configure.in: Emit definition of `cross_compiling'.
2543 Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2545 1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com>
2547 * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
2548 * sysdeps/libm-i387/e_pow.S: Likewise.
2549 * sysdeps/libm-i387/e_powl.S: Likewise.
2551 1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2553 * malloc/obstack.h (obstack_specify_allocation_with_arg,
2554 obstack_chunkfun, obstack_freefun): Fix casts.
2556 1997-04-26 13:37 Ulrich Drepper <drepper@cygnus.com>
2558 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
2559 not <netinet/icmp.h>.
2560 * inet/netinet/tcp.h: Move to...
2561 * sysdeps/generic/netinet/tcp.h: ...here.
2562 Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
2564 1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com>
2566 * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
2567 to command line of compiler.
2568 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2570 * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
2571 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
2573 * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
2575 Patch by Michael Widenius <monty@tcx.se>.
2577 * time/strptime.c (strptime_internal): Fix %I format specifier
2579 Patch by Mark Kettenis <kettenis@phys.uva.nl>.
2581 1997-04-21 16:28 Ulrich Drepper <drepper@cygnus.com>
2583 * Net release 2.0.3.
2585 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com>
2587 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2588 * stdlib/srand48_r.c: Likewise.
2590 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com>
2592 * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
2593 fpclassify & friends, and complex number operations.
2594 Update various other math functions for ISO C 9X.
2595 * manual/math.texi: Update various entries for ISO C 9X.
2596 Add description for complex number functions.
2597 Add description of rand48 function family.
2598 * manual/string.h: Add description of a64l and l64a.
2600 * math/cmathcalls.h: Fix typo.
2602 * stdlib/a64l.c: Pretty printing.
2604 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
2605 * stdlib/srand48_r.c: Likewise.
2607 1997-04-20 01:28 Richard Henderson <rth@tamu.edu>
2609 * rellns-sh: Handle files in the same directory correctly.
2611 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com>
2613 * csu/initfini.c: Place ALIGN instruction at correct positions.
2614 Patch by Richard Henderson <richard@twiddle.rth.home>.
2616 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com>
2618 * Make-dist: Don't automatically ignore .c files if .S or .s files
2621 * csu/Makefile (distribute): Add defs.awk.
2623 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com>
2625 * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
2626 * sysdeps/stub/shmdt.c: Likewise.
2627 Reported by Thomas Bushnell, n/BSG.
2629 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com>
2631 * sysdeps/unix/sysv/linux/Dist: Rename
2632 sysdeps/sysv/linux/netatalk/atalk.h to .../at.h.
2633 Remove sysdeps/sysv/linux/netinet/icmp.h.
2635 * login/utmp.h: Add prototype for updwtmp.
2636 * login/logwtmp.c: Add new function updwtmp which allows to write
2637 a complete record to the wtmp file.
2638 Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
2640 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com>
2642 * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
2643 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
2645 1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com>
2647 * csu/initfini.c: Rewrite by Zack Weinberg
2648 <zack@rabi.phys.columbia.edu>.
2649 * csu/Makefile: Add rules for rewrite.
2650 * csu/defs.awk: Helper script to generate derived header.
2652 1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu>
2654 * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
2656 1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com>
2658 * sysdeps/generic/Dist: Remove old math implementation files.
2659 * sysdeps/generic/mathimpl.h: Removed.
2660 * sysdeps/generic/trig.h: Removed.
2661 * sysdeps/generic/sincos.c: Removed.
2662 * sysdeps/generic/asincos.c: Removed.
2663 * sysdeps/generic/exp__E.c: Removed.
2664 * sysdeps/generic/log__L.c: Removed.
2666 1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2668 * malloc/malloc.c (fREe): Small optimization. Before returning,
2669 add fast check whether the heap containing top can go away.
2671 1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2673 * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
2674 failing to allocate a new chunk, also try the main_arena. It may
2675 be that we are only running out of mmapped regions, and other
2676 arenas cannot be enlarged sufficiently.
2677 (new_heap, malloc_extend_top): Handle top_pad more consistently,
2678 i.e. only in new_heap().
2680 1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com>
2682 * time/strftime.c (memset_space): Increment pointer.
2683 * time/strptime.c: Interpret year number 00-59 as 2000--2059.
2684 Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
2686 1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com>
2688 * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
2690 * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only
2692 * sysdeps/libm-ieee754/s_floorl.c: Likewise.
2694 * po/pl.po: Updated.
2696 * string/swab.c: Correctly handle array of odd length.
2698 * manual/string.texi: Correct prototype in memmem documentation.
2700 1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2702 * manual/Makefile (dir-add.texi): Simplify.
2704 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com>
2706 * rellns-sh: Rewrite to work also in presence of symlinks.
2708 * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
2709 Reported by Greg McGary <gkm@eng.ascend.com>.
2711 * manual/libc.texinfo: Update malloc documentation for new malloc.
2712 * manual/memory.texi: Likewise.
2713 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2715 * stdlib/erand48_r.c (erand48_r): Build double value using
2716 ieee754_double union and use random bits in different order to
2717 increase effect of seed.
2718 Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
2720 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
2722 * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
2725 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com>
2727 * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
2729 Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2731 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu>
2733 * posix/getopt.c (_getopt_initialize): Preserve optind.
2734 (_getopt_internal): Set optind to 1 if optind == 0 before
2735 calling _getopt_initialize ().
2737 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
2739 * libio/fileops.c (_IO_file_overflow): Set error when try to write
2740 on a read-only stream.
2742 * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2743 (ut_time): Define it only if _NO_UT_TIME is not defined.
2745 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com>
2747 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
2748 get definition of sa_family_t for <linux/atalk.h>.
2749 Reported by a sun <asun@zoology.washington.edu>.
2751 * malloc/malloc.c (cALLOc): Little optimization.
2753 1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com>
2755 * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write
2756 headers but instead add comments and parameter names.
2757 Don't use BSD specific types in prototypes.
2759 * manual/nss.texi: Correct a few typos and errors.
2761 1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2763 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
2764 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
2766 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
2767 TAB3, if one of them is defined.
2769 1997-03-24 19:58 Richard Henderson <rth@tamu.edu>
2771 * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
2773 1997-03-25 02:15 Ulrich Drepper <drepper@cygnus.com>
2775 * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
2776 clearenv a weak alias.
2778 * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
2779 of type clashes. Add all definitions here.
2781 * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according
2783 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2784 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2786 * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
2788 * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
2789 use of kernel types.
2791 1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com>
2793 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
2794 Correct typos. Reported by a sun <asun@zoology.washington.edu>.
2796 1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2798 * Makeconfig (all): Make sure this is always the default goal.
2800 1997-03-24 23:14 Ulrich Drepper <drepper@cygnus.com>
2802 * sysdeps/i386/huge_val.h: Remove references to byte order macros.
2803 Don't include <endian.h>.
2805 1997-03-19 15:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2806 * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
2807 Don't include <endian.h>.
2809 1997-03-24 23:09 Ulrich Drepper <drepper@cygnus.com>
2811 * inet/rcmd.c (iruserok): Use access instead of euidaccess.
2813 1997-03-24 15:31 Ulrich Drepper <drepper@cygnus.com>
2815 * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
2818 1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com>
2820 * hurd/Makefile (sunrpc-headers): Add clnt.h.
2821 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
2823 1997-03-24 02:34 Ulrich Drepper <drepper@cygnus.com>
2825 * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
2826 by 31 positions to get 0/1 result.
2827 Patch by Joe Keane <jgk@jgk.org>.
2829 1997-03-23 12:15 H.J. Lu <hjl@gnu.ai.mit.edu>
2831 * posix/getopt.c (__getopt_nonoption_flags): Make it extern
2832 to prevent from ld linking in getopt.o even if there is another
2835 * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
2837 1997-03-20 20:22 H.J. Lu <hjl@gnu.ai.mit.edu>
2839 * Makerules (depfiles): Remove $(test-srcs).
2841 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
2843 * libio/fileops.c (_IO_file_overflow): Set error when try to write
2844 on a read-only stream.
2846 * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
2847 (ut_time): Define it only if _NO_UT_TIME is not defined.
2849 1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu>
2851 * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
2854 1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com>
2856 * Makefile: Add rule to easily generate dir-add.texi file.
2857 * manual/Makefile: Likewise.
2859 1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu>
2861 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2862 (sysdep_headers): Remove netinet/icmp.h.
2864 1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com>
2866 * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic
2867 adjustment if the underlying function say it is too small.
2868 * pwd/fgetpwent.c: Likewise.
2869 * shadow/fgetspent.c: Likewise.
2870 * shadow/sgetspent.c: Likewise.
2872 * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
2873 this means there was not enough room for the gr_mem array.
2875 * nss/nss_files/files-XXX.c: Leave loop and return error if
2876 `parse_result' returns -1.
2878 * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
2879 of trailing list fails because of low memory.
2880 (parse_list): Rewrite. The logic was completly incorrect since
2881 the checks for overflowing the array were not executed when
2884 * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
2887 * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
2888 * nss/getXXent.c: Likewise.
2890 1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com>
2892 * manual/errno.texi: Add description of strerror_r.
2894 1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu)
2896 * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
2898 1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com>
2900 * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
2902 1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2904 * stdlib/stdlib.h: Declare __clearenv.
2906 1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2908 * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
2911 1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2913 * configure.in: Call AC_CANONICAL_BUILD before referencing
2914 $build. Fix test for BUILD_CC.
2916 1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com>
2918 * sysdeps/i386/memset.c: Fix typo.
2919 * sysdeps/stub/fchmod.c: Fix typo.
2920 * sysdeps/stub/fchdir.c: Fix typo.
2921 Reported by Fila Kolodny <fila@ibi.com>.
2923 * time/time.h (strftime): Remove __restrict in declaration.
2925 1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com>
2927 * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
2928 syntax for local label.
2929 * sysdeps/i386/add_n.S: Use correct local label syntax for the
2931 * sysdeps/i386/addmul_1.S: Likewise.
2932 * sysdeps/i386/lshift.S: Likewise.
2933 * sysdeps/i386/memchr.S: Likewise.
2934 * sysdeps/i386/memcmp.S: Likewise.
2935 * sysdeps/i386/mul_1.S: Likewise.
2936 * sysdeps/i386/rshift.S: Likewise.
2937 * sysdeps/i386/stpcpy.S: Likewise.
2938 * sysdeps/i386/stpncpy.S: Likewise.
2939 * sysdeps/i386/strchr.S: Likewise.
2940 * sysdeps/i386/strcspn.S: Likewise.
2941 * sysdeps/i386/strlen.S: Likewise.
2942 * sysdeps/i386/strpbrk.S: Likewise.
2943 * sysdeps/i386/strrchr.S: Likewise.
2944 * sysdeps/i386/strspn.S: Likewise.
2945 * sysdeps/i386/strtok.S: Likewise.
2946 * sysdeps/i386/sub_n.S: Likewise.
2947 * sysdeps/i386/submul_1.S: Likewise.
2948 * sysdeps/i386/i486/strcat.S: Likewise.
2949 * sysdeps/i386/i486/strlen.S: Likewise.
2950 * sysdeps/i386/i586/add_n.S: Likewise.
2951 * sysdeps/i386/i586/addmul_1.S: Likewise.
2952 * sysdeps/i386/i586/lshift.S: Likewise.
2953 * sysdeps/i386/i586/memset.S: Likewise.
2954 * sysdeps/i386/i586/mul_1.S: Likewise.
2955 * sysdeps/i386/i586/rshift.S: Likewise.
2956 * sysdeps/i386/i586/strchr.S: Likewise.
2957 * sysdeps/i386/i586/strlen.S: Likewise.
2958 * sysdeps/i386/i586/sub_n.S: Likewise.
2959 * sysdeps/i386/i586/submul_1.S: Likewise.
2961 * time/africa: Updated from ADO tzdata1997e.
2962 * time/antarctica: Likewise.
2963 * time/asia: Likewise.
2964 * time/australasia: Likewise.
2965 * time/europe: Likewise.
2966 * time/northamerica: Likewise.
2967 * time/southamerica: Likewise.
2968 * time/private.h: Updated from ADO tzcode1997d.
2969 * time/scheck.c: Likewise.
2971 1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com>
2973 * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses
2974 thread-specific memory in multi-threaded programs.
2976 * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
2977 * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
2978 Suggested by a sun <asun@zoology.washington.edu>.
2980 1997-03-30 14:53 Ulrich Drepper <drepper@cygnus.com>
2982 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
2983 of <netinet/icmp.h>.
2984 Patch by a sun <asun@zoology.washington.edu>.
2986 1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com>
2988 * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
2989 before using system.
2990 * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
2993 1997-03-27 02:28 Ulrich Drepper <drepper@cygnus.com>
2995 * inet/rexec.c: Make string parameters `const'.
2996 * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
2999 * posix/glob.h: Add declaration for glob_pattern_p.
3000 * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
3001 make glob_pattern_p a weak alias. This function is used in other
3002 packages (e.g. bash).
3004 * signal/Makefile (routines): Add sigisempty, sigandset, and
3006 * signal/signal.h: Add prototypes for sigisempty, sigandset, and
3008 * signal/sigisempty.c: New file.
3009 * signal/sigandset.c: New file.
3010 * signal/sigorset.c: New file.
3011 * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
3013 * sysdeps/unix/sysv/linux/sigset.h: Likewise.
3015 * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
3016 ip_icmp.h. Reported by HJ Lu.
3018 1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3020 * grp/grp.h: Include <stddef.h> only once.
3022 1997-03-20 17:56 Ulrich Drepper <drepper@cygnus.com>
3024 * version.h (VERSION): Bump to 2.0.3.
3026 1997-03-25 23:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3028 * Makerules (BUILD_CFLAGS): Fix reference to config file.
3030 1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com>
3032 * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
3034 Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
3036 1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com>
3038 * Net release 2.0.2.
3040 1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com>
3042 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
3044 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
3045 * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
3046 of Sun Dec 15 16:33:44 1996.
3047 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
3049 1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com>
3051 * Makefile (distribute): Add BUGS.
3053 * sysdeps/generic/machine-gmon.h: Update copyright.
3055 * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
3057 * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
3058 use regparam mechanism for call of `fixup' call.
3059 * sysdeps/i386/Dist: New file.
3060 * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point.
3061 * sysdeps/i386/machine-gmon.h: New file. i386 specific version
3062 of gmon definitions.
3064 1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de>
3066 * stdlib/tst-strtol.c (main): Save the value of errno since printf
3067 may modify it, use the saved errno everywhere.
3068 * stdlib/tst-strtod.c (main): Likewise.
3070 1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com>
3072 * posix/glob.c (glob): Fix completely broken handling of
3073 GLOB_BRACE and partly broken handling of GLOB_TILDE.
3074 Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
3076 1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com>
3078 * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
3079 UIO_FASTIOV value by multiple readv calls since we need atomicity.
3080 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3081 Reported by Matthis Urlichs.
3083 1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com>
3085 * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
3086 macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
3087 which clobbers %eax.
3089 * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
3090 crtbegin.o/crtend.o, using gcc to find them.
3093 1997-03-20 00:06 Richard Henderson <rth@tamu.edu>
3095 * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
3096 affect the alignment, and therefore the end padding of the structs.
3097 Reported by David Mosberger <davidm@azstarnet.com>.
3098 * gmon/gmon.c: Declare the variables with aligned tags to compensate.
3099 Use __writev instead of write for the I/O.
3101 * misc/sys/uio.h: Declare __writev and __readv.
3102 * sysdeps/posix/readv.c: Rename and alias readv to __readv.
3103 * sysdeps/posix/writev.c: Likewise for writev.
3104 * sysdeps/stub/readv.c: Likewise.
3105 * sysdeps/stub/writev.c: Likewise.
3106 * sysdeps/unix/syscalls.list: Likewise.
3107 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3108 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3110 * stdlib/testdiv.c: Exit with error status when we have an error.
3111 * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
3112 * sysdeps/alpha/ldiv.S: Likewise.
3114 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
3116 1997-03-20 04:21 Ulrich Drepper <drepper@cygnus.com>
3118 * sysdeps/stub/msync.c (msync): Add parameter `flags' to match
3121 * sysdeps/libm-ieee754/w_pow.c: Add definition for `signbit' function.
3122 Future releases will have this function.
3123 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3124 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3127 1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com>
3129 * setjmp/setjmp.h: Change references of ANSI C to ISO C.
3130 * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
3131 `__sigsetjmp' in PIC code.
3132 * sysdeps/i386/bsd-setjmp.S: Likewise.
3134 * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
3136 * sysdeps/libm-i387/e_powf.S: Likewise.
3137 * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
3138 case since expm1(-0) == -0.
3139 * sysdeps/libm-i387/s_expm1f.S: Likewise.
3140 * sysdeps/libm-i387/s_expm1l.S: Likewise.
3141 * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
3142 access to FP number.
3143 * sysdeps/libm-ieee754/s_modff.c: Likewise.
3144 * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
3145 code. It never worked correctly.
3146 * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
3147 case since tanh(-0) == -0.
3148 * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
3149 * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
3151 1997-03-19 21:13 Ulrich Drepper <drepper@cygnus.com>
3153 * time/Makefile: Correct dependencies for test-tz.
3155 * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for
3156 UIO_FASTIOV and set to 8 if not available.
3157 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3160 * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
3162 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3163 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3164 Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
3166 1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
3168 * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
3170 * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
3172 * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrguid.c, and setruid.c.
3174 * sysdeps/unix/sysv/Dist: Add direct.h.
3176 * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
3178 * Make-dist ($(tardir).tar): Prefer writing temporary file to
3179 $TMPDIR is available. The default is /tmp.
3181 * sysdeps/generic/ip.h: Move to...
3182 * sysdeps/generic/netinet/ip.h: ...here.
3184 * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
3185 is placed in wrong place on the stack.
3186 Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
3188 1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
3190 * time/offtime.c (__offtime): Change type of `yg' to long int.
3191 Reported by a sun <asun@zoology.washington.edu>.
3193 1997-03-18 23:09 a sun <asun@zoology.washington.edu>
3195 * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
3196 2.2.0 to prevent version mismatch.
3198 1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
3200 * Make-dist (srcs): Add $(test-srcs).
3201 * MakeTAGS (all-sources): Likewise.
3202 * Makerules (depfiles, common-mostlyclean): Likewise.
3203 * Rules (tests): Likewise.
3205 1997-03-18 05:28 Roland McGrath <roland@frob.com>
3207 * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
3209 1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
3211 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
3212 protocol=NULL to match any protocol rather than returning an
3215 1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
3217 * nss/nss_files/files-service.c (servbyname): Match any protocol
3220 1997-03-18 05:15 Ulrich Drepper <drepper@cygnus.com>
3222 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
3223 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
3224 Proposed by Thomas Bushnell, n/BSG.
3226 1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
3228 * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
3229 the buffer for replacement.
3231 1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
3233 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
3234 sys_lstat and sys_stat.
3236 1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3238 * mach/devstream.c (output/write_some): Don't try and write more
3239 than IO_INBAND_MAX in a single call to device_write_inband.
3241 1997-03-17 04:00 Ulrich Drepper <drepper@cygnus.com>
3243 * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
3245 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3246 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3248 * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
3251 1997-03-16 18:43 Ulrich Drepper <drepper@cygnus.com>
3253 * manual/filesys.texi: Add documentation for scandir and alphasort.
3254 * manual/examples/dir2.c: New example for scandir.
3256 * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values.
3257 * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values.
3258 * sysdeps/ieee754/huge_val.h: Remove definition of long double
3259 definition. Make it the same as the double definition.
3261 * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
3262 * sysdeps/libm-i387/e_acosf.S: Likewise.
3263 * sysdeps/libm-i387/e_acosl.S: Likewise.
3264 * sysdeps/libm-i387/e_asin.S: Likewise.
3265 * sysdeps/libm-i387/e_asinf.S: Likewise.
3266 * sysdeps/libm-i387/e_asinl.S: Likewise.
3267 * sysdeps/libm-i387/e_exp.S: Likewise.
3268 * sysdeps/libm-i387/e_expf.S: Likewise.
3269 * sysdeps/libm-i387/e_expl.S: Likewise.
3270 * sysdeps/libm-i387/s_scalbn.S: Likewise.
3271 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
3272 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
3274 * sysdeps/libm-i387/e_log.S: Optimize branch code.
3275 * sysdeps/libm-i387/e_logf.S: Likewise.
3276 * sysdeps/libm-i387/e_logl.S: Likewise.
3277 * sysdeps/libm-i387/e_log10.S: Likewise.
3278 * sysdeps/libm-i387/e_log10f.S: Likewise.
3279 * sysdeps/libm-i387/e_log10l.S: Likewise.
3281 * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
3282 * sysdeps/libm-i387/e_powf.S: Likewise.
3283 * sysdeps/libm-i387/e_powl.S: Likewise.
3285 * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
3287 * sysdeps/libm-i387/s_expm1f.S: Likewise.
3288 * sysdeps/libm-i387/s_expm1l.S: Likewise.
3290 * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
3292 * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first
3293 stack element after fxtract.
3295 * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double'
3296 implementation for atan2 function.
3298 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
3299 _SVID_ mode when acos, asin, atan2, log, log10 is called with
3300 argument out of range.
3301 Add new error case for pow(+0,neg).
3303 * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
3304 * sysdeps/libm-ieee754/s_isinff.c: Likewise.
3305 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3307 * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
3310 * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
3312 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
3313 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
3315 * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
3317 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3318 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3320 * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
3322 * sysdeps/stub/fcntlbits.h: Update copyright.
3323 * sysdeps/unix/bsd/fcntlbits.h: Likewise.
3324 * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
3325 * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
3326 * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
3327 * sysdeps/unix/common/fcntlbits.h: Likewise.
3328 * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias
3329 of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
3331 * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
3333 * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
3336 * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
3338 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
3340 * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
3342 * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level
3343 struct stat to user-level form.
3344 * sysdeps/unix/sysv/linux/lxstat: New file.
3345 * sysdeps/unix/sysv/linux/xstat: New file.
3346 * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
3348 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
3349 to use prescribed types for elements.
3350 (_STAT_VER): Change to value 3.
3351 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3352 * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
3353 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3355 * time/Makefile: Correct dependencies for test-tz.
3357 * sysdeps/generic/sys/mman.h (msync): Add third parameter.
3359 1997-03-16 15:02 a sun <asun@zoology.washington.edu>
3361 * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
3363 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
3365 1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com>
3367 * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
3368 without testing for last_bfp to be NULL.
3369 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
3371 1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de>
3373 * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
3374 (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC.
3376 1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com>
3378 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
3379 functions. Compare result for correct address type.
3380 (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
3381 * nss/nss_files/files-hosts.c: Likewise.
3382 Reported by Mirko Streckenbach <mirko@marian.hil.de>.
3384 1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr>
3386 * time/strptime.c (recursive): Return rp to caller.
3387 (strptime_internal): First check for long names, then abbreviated
3390 1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3392 * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
3393 1900 from year, regardless of century.
3395 1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com>
3397 * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
3398 all numbers unsigned to make buggy gccs happy.
3399 Patch by Bryan W. Headley <bheadley@interaccess.com>.
3401 * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
3402 definitions. Patch by a sun <asun@zoology.washington.edu>.
3403 Pretty print header.
3405 * Makerules (build-shlib): Also create symlink if library is versioned.
3406 Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
3407 Remove special rule to libc.so symlink.
3409 1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com>
3411 * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
3412 return values for acos, asin, and atan2.
3413 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3415 1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3417 * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
3419 1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3421 * dirent/alphasort.c (alphasort): Interpret arguments as pointers
3422 to pointers to directory entries so that alphasort really can be
3423 used as argument for scandir.
3425 1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de>
3427 * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
3430 1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com>
3432 * catgets/catgets.c (catopen): Always add NLSPATH to search path for
3433 catalogs, not only if the envvar NLSPATH is not available.
3434 Reported by Andries.Brouwer@cwi.nl.
3436 1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com>
3438 * Makeconfig (localtime-file): Don't define using installation
3440 (inst_localtime-file): New variable.
3441 * time/Makefile (installed-localtime-file): Use inst_localtime-file.
3442 Reported by Edward Seidl <seidl@janed.com>.
3444 1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu>
3446 * time/Makefile: Add source files to dependencies for test data.
3448 1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
3450 * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
3451 * nis/nss_nis/nis-proto.c: Likewise.
3452 * nis/nss_nis/nis-rpc.c: Likewise.
3453 * nis/nss_nis/nis-service.c: Likewise.
3455 1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3457 * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
3458 euidaccess weak alias.
3460 1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3462 * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
3464 * sysdeps/generic/sys/mman.h (msync): Mention third arg.
3466 1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3468 * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration.
3470 * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
3473 * mach/mach_error.c (mach_error_string_int): Give full prototype.
3474 * mach/errstring.c (mach_error_string_int): Likewise.
3475 * mach/error_compat.c (__mach_error_map_compat): Likewise.
3476 * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
3477 * stdio/vasprintf.c (vasprintf): Likewise.
3479 * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
3481 * mach/spin-solid.c: Include <mach/mach_traps.h>.
3482 * mach/spin-solid.c (__spin_lock_solid): Provide arg to
3485 * mach/mach_init.c: Include <mach/mig_support.h>.
3487 * mach/mach_error.h (mach_error_string, mach_error,
3488 mach_error_type): Always provide prototypes.
3490 * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
3491 appears to be entirely unused dead code.
3493 1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu>
3495 * string/argz.h (__need_error_t): New macro, before including <errno.h>
3496 [!__const] (__const): New macro.
3497 [!__error_t_defined] (error_t): New typedef.
3499 1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com>
3501 * posix/unistd.h: Add prototype for __euidaccess.
3502 * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
3503 euidaccess weak alias.
3504 * sysdeps/stub/euidaccess.c: Likewise.
3505 * inet/rcmd.c: Use __ protected versions of non-standard functions.
3507 * locale/programs/localedef.c: Don't use LOCALE_PATH to find
3508 binary locale files. Use LOCALEDIR only.
3509 * locale/programs/locfile.c: When named file not found and not
3510 absolute use path in I18NPATH.
3512 * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
3513 and AF_FILE as synonym for AF_LOCAL.
3514 * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
3516 * time/Makefile: Rewrite rules for test to handle parallel builds.
3518 1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com>
3520 * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by
3521 robbe@orcus.priv.at.
3523 1997-03-09 05:10 Edward Seidl <seidl@janed.com>
3525 * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
3528 1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com>
3530 * elf/link.h: Include <features.h>.
3531 Patch by Andreas Jaeger <aj@arthur.pfalz.de>.
3533 1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de>
3535 Rewrite NIS code to allow empty keys.
3536 * nis/nss_nis/nis-ethers.c: Rewritten.
3537 * nis/nss_nis/nis-proto.c: Rewritten.
3538 * nis/nss_nis/nis-publickey.c: Rewritten.
3539 * nis/nss_nis/nis-rpc.c: Rewritten.
3540 * nis/nss_nis/nis-service.c: Rewritten.
3542 1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de>
3544 * time/scheck.c (scheck): Add extra const to second argument.
3546 * time/private.h: Correct prototypes to match definition.
3548 1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com>
3550 * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
3551 switching of UID before opening .rhosts.
3553 * posix/regex.c: Merge with regex sources from Arnold Robbins'
3555 * posix/regex.h: Likewise.
3557 Add regex test suite by Tom Lord.
3558 * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
3559 (tests): Add runtests.
3560 (before-compile): Add testcases.h.
3561 (testcases.h): New rule to generate header with tests.
3562 * posix/TESTS: New file.
3563 * posix/TESTS2C.sed.: New file.
3564 * posix/runtests.c: New file.
3565 * posix/testcases.h: New file.
3567 * time/ialloc.c: Update from tzcode1997c.
3568 * time/private.h: Likewise.
3569 * time/scheck.c: Likewise.
3570 * time/tzselect.ksh: Likewise.
3571 * time/zdump.c: Likewise.
3572 * time/zic.c: Likewise.
3574 * time/tzfile.c: Pretty print.
3576 1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au>
3578 * stdio-common/vfscanf.c: Use __va_copy if available.
3580 1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3582 * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
3585 1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com>
3587 * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
3588 kernel-level sigaction structure is different. handle this
3590 Bug report by Andres Jaeger <jaeger@informatik.uni-kl.de>.
3592 1997-03-06 05:55 David Engel <david@sw.ods.com>
3594 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
3595 recognize cache entries with flag == 3.
3597 1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com>
3599 * time/antarctica: Update from tzdata1997c.
3600 * time/asia: Likewise.
3601 * time/zone.tab: Likewise.
3603 1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3605 * sysdeps/m68k/fpu/__math.h: Update feature tests.
3606 (fabs): Remove defininition, it is a gcc builtin.
3607 (sqrt, __sqrt): Remove definition, they have wrappers in libm.
3609 1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com>
3611 * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
3612 instead to avoid namespace problems.
3613 Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
3615 1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
3617 * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
3618 falling back to select-based implementation if syscall isn't
3620 * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
3622 * time/leapseconds: Update from tzdata1997b.
3623 * time/zic.c: Update from tzcode1997b.
3625 1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3627 * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
3628 depedencies between installed $(tzlinks) and $(tzbases) files.
3630 1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3632 * math/math.h: Make compatible with traditional preprocessor;
3633 requires carefull placement of whitespace in macro arguments.
3634 Use __CONCAT instead of ##.
3635 Declare long double functions only if __STDC__ or __GNUC__.
3636 * math/mathcall.h: Avoid whitespace before argument of macro call
3637 that is used as function name.
3639 * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
3640 (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
3641 of __NO_M81_MATH_INLINES.
3642 [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
3643 starting with __ieee754.
3644 [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
3645 functions as inlines.
3646 (__m81_defun): Put __attribute__ between return type and function
3648 * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
3650 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
3651 instead of __NO_M81_MATH_INLINES.
3652 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3653 * sysdeps/m68k/fpu/k_cos.c: Likewise.
3654 * sysdeps/m68k/fpu/k_sin.c: Likewise.
3655 * sysdeps/m68k/fpu/k_tan.c: Likewise.
3656 * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
3657 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3658 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3659 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3660 * sysdeps/m68k/fpu/s_modf.c: Likewise.
3661 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3663 1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
3665 * stdlib/strtod.c (STRTOF): Make sure return value is large enough
3666 so that clearing second word is necessary.
3668 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
3669 header since it is wrong for 64 bit systems.
3670 Patch by a sun <asun@zoology.washington.edu>.
3672 1997-02-27 10:34:11 Richard Henderson <rth@tamu.edu>
3674 * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
3675 and OSF/1 style brk syscalls. We may want to change Linux/Alpha
3676 for the benefit of running foreign binaries.
3678 1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com>
3680 * manual/Makefile: Add rules to run and distribute xtract-typefun.
3681 * manual/xtract-typefun.awk: New file. Script to extract function,
3682 variable, macro anchor to put into the `dir' file.
3684 * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
3685 exponent before comparing.
3687 1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com>
3689 * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
3690 prototypes to use types with explicit width. `unsigned long' is
3691 different on 64 bit systems.
3692 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3693 * sysdeps/generic/htonl.c: Likewise.
3694 * sysdeps/generic/htons.c: Likewise.
3695 * sysdeps/generic/ntohl.c: Likewise.
3696 * sysdeps/generic/ntohs.c: Likewise.
3697 Suggested by a sun <asun@zoology.washington.edu>.
3699 1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de>
3701 * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
3702 defined and we want optimization.
3704 1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3706 * misc/getpass.c: Don't disable canonical input.
3707 Reverted patch of Mon Jan 6 01:35:29 1997.
3709 1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3711 * libio/libioP.h (_IO_finish_t): Take additional parameter, to
3712 match the hidden __in_chrg parameter of the destructor.
3713 (_IO_FINISH): Pass zero for it.
3714 * libio/genops.c (_IO_default_finish): Add second parameter, which
3716 * libio/memstream.c (_IO_mem_finish): Likewise.
3717 * libio/fileops.c (_IO_file_finish): Likewise.
3718 * libio/strops.c (_IO_str_finish): Likewise. All callers changed.
3720 1997-02-27 00:23 H.J. Lu <hjl@lucon.org>
3722 * time/Makefile: Avoid using patterns in dependencies.
3724 1997-02-26 03:28 Ulrich Drepper <drepper@cygnus.com>
3726 * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3728 1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com>
3730 * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
3731 word on stack for overflow.
3733 1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3735 * malloc/malloc.c (malloc_get_state): New function.
3736 Saves global malloc state to an opaque data structure which
3737 is dynamically allocated in the heap.
3738 * malloc/malloc.c (malloc_set_state): New function.
3739 Restore previously obtained state.
3740 * malloc/malloc.h: Add declaration of malloc_get_state()
3741 and malloc_set_state().
3743 1997-02-24 23:29 Ulrich Drepper <drepper@cygnus.com>
3745 * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
3748 1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com>
3750 * misc/error.c: Make error and error_at_line weak aliases of
3751 __error and __error_at_line respectively.
3752 Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
3754 1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3756 * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
3757 time-era-num-entries.
3759 1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu>
3761 * glibcbug.in: Don't mention destination on MAIL_AGENT command line
3762 to avoid duplicate mail.
3764 1997-02-23 02:32 Ulrich Drepper <drepper@cygnus.com>
3766 * stdio-common/vfprintf.c (printf_unknown): Correct printing of
3769 1997-02-23 04:38 Ulrich Drepper <drepper@cygnus.com>
3771 * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
3772 sign in the strtouXX functions. The results gets simply negated.
3773 * stdlib/tst-strtol.c: Correct tests.
3775 1997-02-22 03:02 Ulrich Drepper <drepper@cygnus.com>
3777 * math/math.h: Prevent definition of struct exception when using
3780 1997-02-22 01:46 Ulrich Drepper <drepper@cygnus.com>
3782 * sysdeps/unix/syscalls.list: Dup takes only one argument.
3783 Reported by Greg McGary.
3785 1997-02-21 00:22 Miles Bader <miles@gnu.ai.mit.edu>
3787 * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
3788 than file_get_translator.
3790 * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
3791 (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
3793 1997-02-20 01:28 Miles Bader <miles@gnu.ai.mit.edu>
3795 * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
3796 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3798 1997-02-19 13:56 Miles Bader <miles@gnu.ai.mit.edu>
3800 * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
3803 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
3804 now instead of a weak extern, as some old programs expect it to be
3807 1997-02-18 15:39 Miles Bader <miles@gnu.ai.mit.edu>
3809 * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
3811 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
3812 __hurd_threadvar_stack_offset): Restore initialized versions, so
3813 startup works correctly.
3815 * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
3817 1997-02-17 10:58 Miles Bader <miles@gnu.ai.mit.edu>
3819 * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
3820 not __mutex_try_lock.
3821 (tsd_setspecific): Cast DATA to (unsigned long) before storing.
3822 (tsd_getspecific): Case variable to (void *) before returning.
3824 * hurd/hurdinit.c (__libc_argv): Remove extern.
3825 (__libc_argc): New variable.
3827 1997-02-15 10:23 Miles Bader <miles@gnu.ai.mit.edu>
3829 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3830 _HURD_THREADVAR_MALLOC.
3832 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3833 (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
3835 (mutex_t): Type removed & replaced by new macro.
3836 (tsd_key_t): Typedef to int instead of pthread_key_t.
3837 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3838 (__pthread_initialize): New macro, work around assumption of pthreads.
3839 (tsd_keys_alloced): New static variable.
3840 <hurd/threadvar.h>: New include.
3842 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
3843 (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
3844 defined before using it.
3846 * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
3848 * hurd/hurdinit.c (__libc_argv): Make extern.
3850 * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
3851 (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
3853 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
3854 __hurd_threadvar_stack_offset,
3855 __hurd_threadvar_stack_mask): New variables.
3856 * hurd/hurdsig.c (__hurd_sigthread_stack_base,
3857 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3858 New variables (moved here from hurdstartup.c).
3859 * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
3860 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
3861 Variables removed (moved to hurdsig.c).
3862 (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
3863 __hurd_threadvar_stack_mask): Variables removed.
3864 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
3865 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
3866 __hurd_threadvar_max, __hurd_threadvar_stack_offset,
3867 __hurd_threadvar_stack_mask): Variables removed.
3869 1997-02-14 14:07 Miles Bader <miles@gnu.ai.mit.edu>
3871 * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
3875 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
3876 (mutex_t): Type removed.
3877 (mutex_t): New macro.
3878 (mutex_trylock): New macro.
3879 (__x_mutex_lock, __x_mutex_unlock): New functions.
3880 (mutex_lock, mutex_unlock): New macros, redefining the behavior of
3881 the cthread definitions.
3882 (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
3883 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
3884 (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
3885 (__pthread_initialize): New macro, work around assumption of pthreads.
3887 1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com>
3889 * sysdeps/generic/netinet/in.h: Protect contents using
3890 __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.edu>.
3892 * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
3893 * inet/Makefile (headers): Remove net/ethernet.h.
3894 * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
3895 * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
3897 1997-02-20 19:19 Ulrich Drepper <drepper@cygnus.com>
3899 * sysdeps/unix/mman/syscalls.list: Explain msync interface.
3900 * sysdeps/unix/bsd/syscalls.list: Add msync with two parameters.
3902 1997-02-19 01:37 Erik Troan <ewt@redhat.com>
3904 * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
3906 1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de>
3908 * stdio-common/test-fseek.c: Remove temporary file, add
3911 1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com>
3913 * string/strxfrm.c (STRCOLL): Correct handling of `position'
3914 levels with no non-IGNOREd element and handling of NUL byte.
3915 * string/strcoll.c (STRXFRM): Likewise.
3916 * locale/weight.h: Likewise.
3918 * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
3920 1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com>
3922 * locale/programs/locale.c: Check whether output of `locale -a'
3923 really is locale directory. Also print locale aliases.
3925 1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com>
3927 * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
3928 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
3930 1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com>
3932 * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
3933 additional argument.
3935 1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com>
3937 * inet/net/ethernet.h: New file.
3938 * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
3939 * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
3940 Contributed by a sun <asun@zoology.washington.edu>.
3942 * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
3943 * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
3944 Reported by a sun <asun@zoology.washington.edu>.
3946 1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com>
3948 * stdio-common/bug10.c (main): Correct parameter.
3950 * string/strcoll.c: Update copyright.
3952 1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com>
3954 * malloc/obstack.h: Add `extern "C"' protection.
3955 * posix/regex.h: Likewise.
3956 * io/ftw.h: Likewise.
3957 * misc/libgen.h: Likewise.
3958 * login/utmp.h: Likewise.
3959 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
3960 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3961 * sunrpc/rpc/pmap_rmt.h: Likewise.
3962 * sunrpc/rpc/auth_des.h: Likewise.
3963 * elf/link.h: Likewise.
3964 * inet/netinet/ether.h: Likewise.
3967 1997-02-17 01:45 a sun <asun@zoology.washington.edu>
3969 Linux specific network headers.
3970 * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
3971 * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
3972 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
3973 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
3974 * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
3975 * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
3976 * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
3977 * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
3978 * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
3979 * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
3980 * sysdeps/unix/sysv/linux/Dist: Add new network headers.
3981 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
3983 [$(subdir)=inet] (sysdep_headers): Add new network header.
3985 * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
3986 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3988 * inet/netinet/ip.h: Move to sysdeps/generic.
3990 1997-02-16 13:15 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
3992 * inet/netinet/ip.h: Add protection.
3994 1997-02-17 01:18 Ulrich Drepper <drepper@cygnus.com>
3996 * misc/sys/syslog.h (prioritynames): Correct definition to use
3997 braces where necessary.
3998 (facilitynames): Likewise.
3999 Patch by Ronald F. Guilmette <rfg@monkeys.com>.
4000 Comment and beautify declarations.
4002 1997-02-16 03:54 Ulrich Drepper <drepper@cygnus.com>
4004 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
4005 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
4007 1997-02-16 03:48 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4009 * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
4010 _nss_nis_gethostton_r.
4011 (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
4013 1997-02-16 02:45 Ulrich Drepper <drepper@cygnus.com>
4015 * intl/l10nflist.c (_nl_make_l10nflist): Fix bug in computation of
4016 length of abs_filename.
4018 1997-02-15 22:37 Andy Berkheimer <andy@tho.org>
4020 * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
4021 trying to resolv name as numeric IPv6 address.
4022 * nss/digits_dots.c: Likewise.
4024 1997-02-13 22:32 Ulrich Drepper <drepper@cygnus.com>
4026 * locale/programs/localedef.c: Implement --quiet option.
4027 * locale/programs/charset.h: Declare be_quiet variable.
4028 * locale/programs/locfile.h: Likewise.
4029 * locale/programs/charmap.c: Don't print warnings if quiet option
4031 * locale/programs/ld-collate.c: Likewise.
4032 * locale/programs/ld-ctype.c: Likewise.
4033 * locale/programs/ld-messages.c: Likewise.
4034 * locale/programs/ld-monetary.c: Likewise.
4035 * locale/programs/ld-numeric.c: Likewise.
4036 * locale/programs/ld-time.c: Likewise.
4037 * locale/programs/locfile.c: Likewise.
4039 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
4041 * stdlib/qsort.c: Add prototype for _quicksort.
4043 * stdlib/msort.c (qsort): Correct prototype for _quicksort.
4045 * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
4048 1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu>
4050 * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
4051 Allow user to overwrite it.
4053 1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com>
4055 * libio/_G_config.h: Make sure win_t is also defined for old gcc
4056 versions. Reported by Andreas Jaeger.
4058 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
4060 * db/btree/bt_split.c (bt_psplit): Fix typo in change of
4063 * time/tzfile.c (__tzfile_read): Change comment to follow
4064 change of 1997-02-12.
4066 1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com>
4068 * time/time.h (__nanosleep): Define only when struct timespec is
4070 Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
4072 1997-02-12 21:34 a sun <asun@zoology.washington.edu>
4074 * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
4075 * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
4077 1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com>
4079 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
4080 of 1997-02-09 in resolv/gethnamaddr.c.
4082 1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
4084 * libio/_G_config.h (_G_wint_t): New.
4086 1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu>
4088 * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
4089 to sizeof (buf.buf) while calling res_search ().
4091 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
4093 * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
4094 val to keydat, stat to status.
4096 1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de>
4098 * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
4100 1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com>
4102 * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
4105 1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de>
4107 * stdlib/atoll.c: Undefine atoll, not atol.
4109 1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4111 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
4112 unused arguments of shell script.
4114 * Makeconfig (all-object-suffixes): New variable.
4115 * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
4116 of $(object-suffixes).
4117 * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment.
4119 1997-02-11 05:27 Ulrich Drepper <drepper@cygnus.com>
4121 * locale/weight.h (collate_rules): It's an u_int32_t array.
4122 (get_weight): Compute initial SLOT value correctly.
4124 1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com>
4126 * string/argz-ctsep.c: Initialize *LEN when successful.
4128 1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com>
4130 * version.h (VERSION): Bump to 2.0.2.
4132 * posix/Makefile (routines): Add getopt_init.
4133 * posix/getopt.c: Don't get environment variable with nonoption
4134 flags here. Depend on __getopt_nonoption_flags variable filled
4135 somewhere else. This is necessary since the variable must be
4136 removed even when getopt isn't used in case exec(2) gets called.
4137 * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags
4138 and remove environment variable.
4139 * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
4140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4141 * sysdeps/stub/init-first.c: Likewise.
4142 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4144 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
4145 AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
4147 * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
4148 encryption is wanted.
4150 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4151 * stdio/vsnprintf.c: Likewise.
4152 Reported by Philip Blundell <pjb27@cam.ac.uk>.
4154 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
4155 * stdio/vsnprintf.c: Likewise.
4156 Reported by Philip Blundell <pjb27@cam.ac.uk>.
4158 1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com>
4160 * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
4161 Change PTR to void *.
4162 * sysdeps/posix/vdprintf.c: Change PTR to void *.
4163 Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
4165 1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk>
4167 * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
4169 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4171 * rellns-sh: No need to check for existance of first parameter.
4173 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4175 * rellns-sh: No need to check for existance of first parameter.
4177 1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4179 * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported
4180 by David Holland <dholland@eecs.harvard.edu>.
4182 1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4184 * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
4185 select, in case it is modified by the latter.
4186 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4187 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4188 * sunrpc/svc_tcp.c (readtcp): Likewise.
4190 * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
4193 * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
4196 * sunrpc/auth_unix.c (authunix_validate): Fix type of second
4199 1997-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4201 * elf/Makefile (extra-objs): Don't zap previous value.
4202 * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h
4205 1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4207 * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
4208 braindamage (sigh!).
4210 1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com>
4212 * manual/memory.texi: Correct `copystring' example for obstacks.
4214 1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com>
4216 * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
4217 GNU tr don't grok it.
4219 1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4221 * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
4222 Don't use GNU C extensions.
4223 (CMSG_DATA): Use portable definition.
4225 1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com>
4227 * elf/ldd.bash.in: Add test for read permission and print appropriate
4228 message. Change warning and error messages to print "ldd: " at start.
4229 * elf/ldd.sh.in: Likewise.
4231 * stdlib/Makefile (routines): Add atoll.
4232 * stdlib/atoll.c: New file.
4233 * stdlib/stdlib.h: Add prototype and optimization for atoll.
4235 * stdlib/a64l.c: Update copyright.
4236 * stdlib/abs.c: Likewise.
4237 * stdlib/atof.c: Likewise.
4238 * stdlib/atoi.c: Likewise.
4239 * stdlib/atol.c: Likewise.
4240 * stdlib/bsearch.c: Likewise.
4241 * stdlib/exit.c: Likewise.
4242 * stdlib/fpioconst.c: Likewise.
4243 * stdlib/fpioconst.h: Likewise.
4244 * stdlib/jrand48.c: Likewise.
4245 * stdlib/jrand48_r.c: Likewise.
4246 * stdlib/labs.c: Likewise.
4247 * stdlib/lcong48.c: Likewise.
4248 * stdlib/lcong48_r.c: Likewise.
4249 * stdlib/llabs.c: Likewise.
4250 * stdlib/lrand48.c: Likewise.
4251 * stdlib/lrand48_r.c: Likewise.
4252 * stdlib/mblen.c: Likewise.
4253 * stdlib/mbstowcs.c: Likewise.
4254 * stdlib/mbtowc.c: Likewise.
4255 * stdlib/mp_clz_tab.c: Likewise.
4256 * stdlib/mrand48.c: Likewise.
4257 * stdlib/mrand48_r.c: Likewise.
4258 * stdlib/msort.c: Likewise.
4259 * stdlib/nrand48.c: Likewise.
4260 * stdlib/nrand48_r.c: Likewise.
4261 * stdlib/qsort.c: Likewise.
4262 * stdlib/rpmatch.c: Likewise.
4263 * stdlib/seed48.c: Likewise.
4264 * stdlib/seed48_r.c: Likewise.
4265 * stdlib/srand48.c: Likewise.
4266 * stdlib/srand48_r.c: Likewise.
4267 * stdlib/strtod.c: Likewise.
4268 * stdlib/wcstombs.c: Likewise.
4269 * stdlib/wctomb.c: Likewise.
4271 1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com>
4273 * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
4276 1997-02-04 23:57 Fila Kolodny <fila@ibi.com>
4278 * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
4279 including <stddef.h>.
4281 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
4283 * time/Makefile (tzbases, tzlinks): New.
4284 (tzfiles): Changed to $(tzbases) $(tzlinks).
4285 ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
4287 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
4289 * Makefile (install): Ignore error from ldconfig.
4291 * time/zic.c (mkdirs): Double check the error return of mkdir ().
4293 1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com>
4295 * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
4296 like PPC where va_list is no integral type.
4298 1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com>
4300 * posix/getopt.c (exchange): Don't allocate nonoption_flags array
4301 if nonoption_flags_len == -1.
4303 1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com>
4305 * Version 2.0.1 net release.
4307 1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com>
4309 * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
4311 1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com>
4313 * stdlib/getsubopt.c: Don't return `=' for suboption which has
4314 a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
4316 1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4318 * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
4319 values as in yp.x and yp.h.
4321 1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com>
4323 * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
4324 1997-02-03 02:17. Sun's implementation internally corrects
4325 this bug but we don't want to hide this from the user.
4326 * nis/rpcsvc/yp.h: Likewise.
4328 1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4330 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
4333 1997-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4335 * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
4338 1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4340 * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
4341 (all-sources, all-headers): Use them instead of $(sources) and
4342 $(headers) when searching in sysdep directories.
4344 1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4346 * Makerules (REAL_MAKE_VERSION): Use internal make function
4347 instead of shelling out.
4349 1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4351 * time/Makefile (install-test-data): Remove mkdir command, zic can
4352 handle that gracefully.
4354 1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4356 * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
4359 1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4361 * sunrpc/Makefile: Check $(cross-compiling) only after including
4363 ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
4364 being considered as a rule.
4365 (generated): Add stamp files before the inclusion of Makerules to
4366 magically mark them as not being intermediate via the `generated'
4369 1997-02-03 02:33 Ulrich Drepper <drepper@cygnus.com>
4371 * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
4372 entries. This is still no complete implementation since AUXILIARY
4373 entries in other shared objects are not yet handled.
4375 * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
4382 * time/Makefile: Better cross-compile support. Avoid test which
4384 (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from
4386 * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
4388 * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
4389 default values as in tzfile.c.
4391 * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
4393 * elf/link.h: Likewise.
4394 * elf/elf.h: Add tag definitions and data structures for versioning.
4396 1997-02-03 02:17 Ulrich Drepper <drepper@cygnus.com>
4398 * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
4399 "Sun bug". This is the order of elements also used by 4.4BSD.
4400 * nis/rpcsvc/yp.h: Likewise.
4403 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
4405 * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
4408 * Makefile (install): Pass installation directories as arguments
4411 1997-02-02 23:15 Ulrich Drepper <drepper@cygnus.com>
4413 * malloc/malloc.c (__after_morecore_hook): New variable.
4414 (malloc_extend_top): Call __after_morecore_hook if set.
4415 (main_trim): Likewise.
4416 * malloc/malloc.h: Add declaration of __after_morecore_hook.
4417 Suggested by Marcus Daniels.
4419 1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com>
4421 * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
4423 (mallinfo): Likewise.
4425 * malloc/malloc.c (__morecore): Make external since it is used in
4428 1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com>
4430 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
4433 1997-02-01 23:36 Richard Henderson <rth@tamu.edu>
4435 * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
4436 use t6 as a temporary; it contains bits we still need in $u_head.
4438 1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de>
4440 * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
4441 using __ prefix. Add prototype for log1p.
4443 1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com>
4445 * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
4447 1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk>
4449 * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
4451 1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com>
4453 * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
4454 structure plus related macros.
4455 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
4456 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
4457 (sysdep_routines): Add cmsg_nxthdr.
4458 * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
4459 Suggested by Philip Blundell <pjb27@cam.ac.uk>.
4461 1997-02-01 12:34 Ulrich Drepper <drepper@cygnus.com>
4463 * time/strftime.c: Define _strftime_copytm without protecting arguments
4464 which breaks the definition.
4466 1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4468 * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
4469 definition of type for element.
4471 1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk>
4473 * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
4476 1997-02-01 03:09 H.J. Lu <hjl@lucon.org>
4478 * Makefile: Pass PARALLELMFLAGS to sub-makes.
4479 * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
4481 1997-01-31 Paul Eggert <eggert@twinsun.com>
4483 * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
4484 Define if _LIBC is defined.
4485 <limits.h>: Include if HAVE_LIMITS_H instead of if
4486 __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
4487 <stdlib.h>: Similarly, include if STDC_HEADERS.
4488 (localtime_r): Redo #ifdef to make it clear that glibc has
4491 1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4493 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
4494 file to avoid unnecessary recompilation.
4496 1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4498 * Makefile: Set install-others, not install_others.
4499 (before-compile): Use += to preserve previous value.
4500 ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
4501 fix dependency name.
4502 ($(objpfx)lib-names.h): Remove rule.
4503 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
4504 with correct name, using an intermediate stamp file.
4505 (common-generated): Add gnu/lib-names.h.
4506 (before-compile): Add $(common-objpfx)gnu/lib-names.h.
4508 1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu>
4510 * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
4511 to prevent warnings on 64 bit systems.
4512 Reported by Paul Wouters <paul@xtdnet.nl>.
4514 * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default
4517 1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com>
4519 * sysdeps/i386/elf/start.S (_start): Align stack pointer to
4520 double word boundary before pushing args for main. This way we
4521 don't get penalties for misaligned memory accesses. Reported by
4522 Edward Seidl <seidl@janed.com>.
4524 * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
4527 * misc/bsd-compat.c: Update copyright.
4528 * misc/efgcvt.c: Likewise.
4529 * misc/efgcvt_r.c: Likewise.
4530 * misc/error.c: Likewise.
4531 * misc/error.h: Likewise.
4532 * misc/fstab.c: Likewise.
4533 * misc/init-misc.c: Likewise.
4534 * misc/lsearch.c: Likewise.
4535 * misc/mntent.c: Likewise.
4536 * misc/qefgcvt.c: Likewise.
4537 * misc/qefgcvt_r.c: Likewise.
4538 * nss/databases.def: Likewise.
4539 * nss/db-Makefile: Likewise.
4540 * nss/ethers-lookup.c: Likewise.
4541 * nss/hosts-lookup.c: Likewise.
4542 * nss/netgrp-lookup.c: Likewise.
4543 * nss/nsswitch.h: Likewise.
4544 * nss/proto-lookup.c: Likewise.
4545 * nss/rpc-lookup.c: Likewise.
4546 * nss/service-lookup.c: Likewise.
4547 * nss/nss_db/db-netgrp.c: Likewise.
4548 * nss/nss_files/files-grp.c: Likewise.
4549 * nss/nss_files/files-hosts.c: Likewise.
4550 * nss/nss_files/files-network.c: Likewise.
4551 * nss/nss_files/files-proto.c: Likewise.
4552 * nss/nss_files/files-pwd.c: Likewise.
4553 * nss/nss_files/files-rpc.c: Likewise.
4554 * nss/nss_files/files-service.c: Likewise.
4555 * nss/nss_files/files-spwd.c: Likewise.
4556 * shadow/fgetspent.c: Likewise.
4557 * shadow/fgetspent_r.c: Likewise.
4558 * shadow/getspent.c: Likewise.
4559 * shadow/getspent_r.c: Likewise.
4560 * shadow/getspnam.c: Likewise.
4561 * shadow/getspnam_r.c: Likewise.
4562 * shadow/putspent.c: Likewise.
4563 * shadow/sgetspent.c: Likewise.
4564 * shadow/sgetspent_r.c: Likewise.
4565 * sysdeps/i386/init-first.c: Likewise.
4566 * sysdeps/unix/i386/sysdep.S: Likewise.
4568 * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be
4569 prepared to be running in a multi-threaded environment. Change
4570 to __USE_MISC unless the function is defined in POSIX.1 (in this
4571 case also test for __USE_POSIX).
4572 * dirent/dirent.h: Likewise.
4573 * grp/grp.h: Likewise.
4574 * inet/aliases.h: Likewise.
4575 * libio/libio.h: Likewise.
4576 * libio/stdio.h: Likewise.
4577 * login/utmp.h: Likewise.
4578 * math/mathcalls.h: Likewise.
4579 * misc/mntent.h: Likewise.
4580 * pwd/pwd.h: Likewise.
4581 * resolv/netdb.h: Likewise.
4582 * stdlib/stdlib.h: Likewise.
4583 * string/string.h: Likewise.
4584 * sunrpc/rpc/netdb.h: Likewise.
4585 * sysdeps/generic/crypt.h: Likewise.
4586 * sysdeps/unix/sysv/linux/errnos.h: Likewise.
4587 * time/time.h: Likewise.
4589 1997-01-30 00:27 Fila Kolodny <fila@ibi.com>
4591 * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
4592 only if not cross compiling.
4594 1997-01-29 16:16 Fila Kolodny <fila@ibi.com>
4596 * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
4598 * sysdeps/posix/sigwait.c: Likewise.
4600 1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4602 * Makeconfig ($(common-objpfx)config.make): Depend on
4603 $(..)config.make.in.
4605 1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
4607 * sunrpc/Makefile: Don't generate headers derived from .x files when
4610 1997-01-28 10:51 Richard Henderson <rth@tamu.edu>
4612 * Makefile: Generate gnu/lib-names.h in before-compile.
4613 * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
4614 * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize
4615 to the revision found for LIBNSS_FILES_SO.
4616 (nss_initilized): Removed. It was tested but never set.
4617 (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
4619 * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
4620 not just libc. Except instead of ld.so.1.1 use ld-linux.so.2.
4622 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
4624 1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de>
4626 * elf/Makefile (CFLAGS-dl-load.c): Use += to not
4627 override the definition.
4629 1997-01-28 20:13 Fila Kolodny <fila@ibi.com>
4631 * config.make.in (malloc): Remove.
4633 1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com>
4635 * version.h (VERSION): Bump to 2.0.1.
4637 * posix/getopt.c: Handle another problem introduced by the
4638 nonoption_flags array. We must be able to work with reordered
4639 argv arrays. Reported by Andreas Schwab.
4641 1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com>
4643 * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
4646 1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
4648 * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
4649 that it works with yp.h.
4651 1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com>
4653 * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
4654 __libc_malloc_initialized so that this variable is not shared with
4655 other users of GNU malloc.
4656 Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
4658 * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/.
4660 * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
4661 variables to prevent warnings.
4662 * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
4663 using attribute regparm.
4664 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
4665 is changed by the resolver code.
4667 1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4669 * malloc/malloc.c (weak_variable): Define.
4670 (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
4671 __memalign_hook): Make them weak definitions.
4673 1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4675 * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
4676 limits, correctly take structure padding into account, use correct
4677 offset when resetting the stream, change heuristic to assume an
4678 average name length of 14 characters.
4680 1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4682 * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
4686 See ChangeLog.6 for earlier changes.