1 1998-12-18 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
4 features.h and stddef.h.
5 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
6 sigaltstack): Move ss_size field at the end.
7 Patches by Jeff Bailey <jbailey@nisa.net>.
9 * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
12 * manual/texinfo.tex: Update to latest version.
14 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
15 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
16 Patch by Cristian Gafton <gafton@redhat.com>.
18 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
20 * iconvdata/gconv-modules: Add remaining aliases from Internet
23 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
24 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
25 (detect_conflict): New function.
26 (add_alias): Call detect_conflict to see whether there is already
27 a module for the new name.
28 (add_module): Make sure there is no alias for the new name.
29 (read_conf_file): Call add_alias with new argument.
30 (__gconv_read_conf): Don't destroy module tree immediately after
31 walking it. We need it to test the internal conversions for
33 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
34 regular expression. There is now room in the module descriptor.
35 (free_mem): Don't free memory for regular expression.
37 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
40 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
41 * libio/oldtmpfile.c: Likewise.
42 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
43 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
45 * iconvdata/iso646.c (gconv_init): Return correct error value if we
47 * iconvdata/iso-2022-jp.c: Likewise.
49 * iconv/gconv_db.c (gen_steps): Respect error return value from
50 init functions and abort.
52 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
54 1998-12-17 H.J. Lu <hjl@gnu.org>
56 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
57 (xdr_destroy): Likewise.
59 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
61 * login/login.c: Determine pts/3 as terminal name if path is
62 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
64 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
66 * sysdeps/posix/tempname.c (__path_search): Add casts for format
69 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
71 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
73 (IXDR_PUT_INT32): Fully parenthesize parameters.
74 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
75 parenthesize parameter.
77 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
79 * iconvdata/gconv-modules: Add some of the charset name aliases
80 used in Internet standards.
82 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
84 * version.h (VERSION): Bump to 2.0.107.
86 * sysdeps/i386/i486/bits/string.h: Pretty printing.
88 1998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
90 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
91 patch from 1998-12-01.
93 1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
95 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
96 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
97 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
99 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
101 * iconvdata/ibm866.c: New file.
102 * iconvdata/cp1258.c: New file.
103 * iconvdata/cp1258.h: New file.
104 * iconvdata/mac-uk.c: New file.
105 * iconvdata/gconv-modules: Add rules for new modules.
106 * iconvdata/Makefile: Likewise.
108 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
109 * include/bits/ipc.h: ..here. New file.
111 1998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
113 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
114 read-only struct termios_p* but change k_termios member directly.
116 1998-12-15 H.J. Lu <hjl@gnu.org>
118 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
121 1998-12-15 Ulrich Drepper <drepper@cygnus.com>
123 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
124 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
125 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
126 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
127 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
128 * sysdeps/unix/sysv/linux/semget.c: Likewise.
129 * sysdeps/unix/sysv/linux/semop.c: Likewise.
130 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
131 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
132 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
133 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
134 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
135 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
137 * time/strftime.c: Remove 'f' format.
139 * time/strptime.c (get_number): Ignore trailing whitespace.
140 (strptime_internal): Handle 'F' and 'k' formats.
142 * sysdeps/posix/tempname.c (__path_search): Add second part of the
143 patch by Andreas Jaeger.
145 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
147 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
148 warnings about unused args. Fix comment.
150 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
152 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
154 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
156 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
158 (IXDR_PUT_INT32): Likewise for writing.
159 Patch by Bruce Elliott <bde@nwlink.com>.
161 1998-12-08 H.J. Lu <hjl@gnu.org>
163 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
164 the IBAUD0 bit in c_iflag.
166 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
167 the IBAUD0 bit in c_iflag.
169 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
171 * time/Makefile (tests): Add tst-strptime.
172 * time/tst-strptime.c: New file.
173 * time/strptime.c: Correct bugs in weekday and yearday computation.
175 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
177 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
178 any of tm_year, tm_mon, or tm_mday was changed and the value
179 itself wasn't specified.
181 * include/stdio.h: Add new parameter to __path_search.
182 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
183 * stdio-common/tmpfile.c: Likewise.
184 * stdio-common/tmpfile64.c: Likewise.
185 * stdio-common/tmpnam.c: Likewise.
186 * stdio-common/tmpnam_r.c: Likewise.
187 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
188 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
189 consider TMPDIR environment variable and dir parameter. Otherwise not.
190 * stdio-common/Makefile (tests): Add tst-tmpnam.
191 * stdio-common/tst-tmpnam.c: New file.
193 * po/es.po: Update from translation team.
195 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
197 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
198 and inhibit_timezone_rules instead of no_deps.
199 * Make-dist: Pass inhibit_timezone_rules=t when making
202 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
204 * manual/Makefile (distribute): Remove dir-add.texinfo.
206 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
209 1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
211 * manual/Makefile (stamp-summary): Use ^L as separator for
213 * manual/arith.texi: Add comments before all @deffoox lines to get
214 them added to the summary.
215 * manual/creature.texi: Likewise.
216 * manual/math.texi: Likewise.
218 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
220 * math/libm-test.c: Remove macro ISINF. Change all usages of
223 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
225 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
226 * sysdeps/unix/grantpt.c: Likewise.
227 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
228 * sysvipc/ftok.c: Likewise.
229 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
231 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
232 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
233 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
235 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
237 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
239 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
241 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
242 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
243 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
244 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
245 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
247 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
249 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
250 (svcudp_recv): Likewise.
252 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
254 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
255 NSS error codes to avoid endless loops.
257 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
259 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
260 aliases for ISO-8859-14.
262 1998-12-12 Geoff Keating <geoffk@ozemail.com.au>
264 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
267 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
269 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
270 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
271 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
272 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
273 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
274 * iconvdata/gconv-modules: Add rules for new modules.
275 * iconvdata/Makefile: Likewise.
277 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
279 * stdio-common/printf_fp.c: #ifdef out long double handling code if
280 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
281 * stdio-common/printf_fphex.c: Likewise.
282 * stdio-common/printf-size.c: Likewise.
284 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
286 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
287 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
289 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
291 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
292 static inline, not extern inline.
293 (elf_machine_dynamic): Likewise.
294 (elf_machine_lazy_rel): Likewise.
295 (elf_machine_plt_value): Likewise.
296 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
298 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
300 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
301 type. Reported by job bogan <job@piquin.uchicago.edu>.
303 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
306 1998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
308 * inet/netinet/in.h: Change obsolete structure member
309 ipv6mr_ifindex to new ipv6mr_interface.
311 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
313 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
314 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
315 due to its big endian floating point format.
316 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
317 * sysdeps/ieee754/mpn2dbl.c: Likewise.
318 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
319 * sysdeps/ieee754/mpn2flt.c: Likewise.
320 Patch by Scott Bambrough <scottb@corelcomputer.com>.
322 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
324 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
326 * posix/PTESTS: Fix typo.
328 * po/es.po: Update from translation team.
329 * po/fr.po: Likewise.
331 1998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
333 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
335 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
337 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
338 it can find the preprocessor.
340 1998-12-09 Geoff Keating <geoffk@ozemail.com.au>
342 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
344 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
347 like linux/sys/procfs.h but uses uid_t and gid_t.
348 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
349 don't include <linux/ptrace.h>.
351 1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
353 * posix/runptests.c (main): Check that regcomp did not succeed
355 * posix/runtests.c (run_a_test): Likewise. Return appropriate
357 * posix/TESTS: Regexp "a[b-a]" should not compile.
358 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
361 1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
363 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
364 there is no codeset name.
365 * locale/programs/ld-collate.c (collate_output): Don't crash if a
366 character has no weight.
368 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
370 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
371 strcasecmp, not strcmp. [PR libc/894].
373 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
375 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
378 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
380 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
382 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
383 prototype for __gethostbyname_r.
385 * include/time.h: Add declarations of internal interfaces.
387 * time/tzset.c: Remove declarations of internal interfaces.
388 * time/gmtime.c: Likewise.
389 * time/localtime.c: Likewise.
390 * time/offtime.c: Likewise.
391 * time/tzfile.c: Likewise.
393 1998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
395 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
396 user-space-relevant definitions from linux/timex.h of kernel
397 2.1.130 and remove include of kernel header.
399 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
401 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
403 * posix/regex.c: Get regex.h from system path, not from local
406 * posix/regex.h: Move internal interfaces to ...
407 * include/regex.h: ...here.
409 * posix/unistd.h: Move internal interfaces to ...
410 * include/unistd.h: ...here.
412 * math/math.h: Move internal interfaces to ...
413 * include/math.h: ...here.
415 * posix/glob.h: Move internal interfaces to ...
416 * include/glob.h: ...here.
418 * string/string.h: Move internal interfaces to ...
419 * include/string.h: ...here.
421 * time/sys/time.h: Move internal interfaces to ...
422 * include/sys/time.h: ...here.
424 * resolv/netdb.h: Move internal interfaces to ...
425 * include/netdb.h: ...here.
427 1998-12-08 Ulrich Drepper <drepper@cygnus.com>
429 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
431 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
432 Fix various bugs in conversion routine.
433 * iconvdata/jis0201.h: Correct variable name.
434 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
436 * iconvdata/jis0208.h: Likewise.
437 * iconvdata/jis0212.c: Likewise.
438 * iconvdata/sjis.c: Likewise.
439 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
441 1998-12-07 Ulrich Drepper <drepper@cygnus.com>
443 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
444 set in c_iflag if cfsetispeed is call with SPEED set to zero.
445 (cfgetispeed): Return zero if prior if IBAUD0 is set.
446 (cfsetospeed): Clear IBAUD0 bit.
447 (cfgetispeed): Set IBAUD0 bit if necessary.
448 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
449 the IBAUD0 bit in c_iflag when making the system call.
450 Work around a Linux kernel bug which silently changes the
451 PARENB/CREAD/CSIZE bits in c_cflag on pty.
452 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
453 function. Don't set speed is SPEED parameter is zero since this
454 means set it to the output speed.
455 Based on a patch by H.J. Lu <hjl@gnu.org>.
457 * version.h (VERSION): Bump to 2.0.106.
459 * Makeconfig (link-libc-static): Don't use link-libc since this
460 includes the shared object. Use gnulib only.
462 * configure.in: Disable --disable-static.
464 1998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
466 * po/de.po: Update from translation team.
467 * po/ko.po: Likewise.
469 1998-12-07 Richard Henderson <rth@cygnus.com>
471 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
474 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
476 * sysdeps/mach/hurd/pselect.c: New file.
478 * sysdeps/mach/hurd/poll.c: New file.
480 * hurd/Makefile (routines): Add hurdselect.
481 * hurd/hurdselect.c: New file.
482 (_hurd_select): New function, guts taken from ...
483 * sysdeps/mach/hurd/select.c (__select): ... here.
484 Now work by just calling _hurd_select.
485 * hurd/hurd/fd.h: Declare _hurd_select.
487 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
489 * time/strptime.c: Fix unterminated comment in last change.
491 1998-12-05 Ulrich Drepper <drepper@cygnus.com>
493 * ctype/ctype.h (_ISbit): Protect use of parameter with
495 * wctype/wctype.h (_ISwbit): Likewise.
497 * locale/Versions: Make experimental locale interface available in
500 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
501 without leading __ only for __USE_GNU.
502 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
504 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
506 * argp/argp.h: Add __restrict.
507 * dirent/dirent.h: Likewise.
508 * elf/dlfcn.h: Likewise.
509 * grp/grp.h: Likewise.
510 * iconv/iconv.h: Likewise.
511 * inet/aliases.h: Likewise.
512 * libio/libio.h: Likewise.
513 * libio/stdio.h: Likewise.
514 * locale/locale.h: Likewise.
515 * misc/mntent.h: Likewise.
516 * posix/wordexp.h: Likewise.
517 * pwd/pwd.h: Likewise.
518 * resolv/netdb.h: Likewise.
519 * rt/aio.h: Likewise.
520 * stdio-common/printf.h: Likewise.
521 * stdlib/monetary.h: Likewise.
522 * stdlib/stdlib.h: Likewise.
523 * string/argz.h: Likewise.
524 * string/envz.h: Likewise.
525 * string/string.h: Likewise.
526 * time/time.h: Likewise.
528 1998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
530 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
531 defined. gcc's redundant include optimizer isn't clever enough to
532 prevent a reinclusion here.
533 Define __restrict to the empty string only if not GCC or
534 GCC version less than 2.92.
536 1998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
538 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
540 1998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
542 * time/strptime.c (strptime_internal): Make use of `%C' format
543 specifier if it is seen together with the `%y' specifier.
545 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
547 * po/sk.po: New file.
549 1998-12-03 Scott Bambrough <scottb@corelcomputer.com>
551 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
552 for _dl_main_searchlist passed to _dl_init_next.
554 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
556 * math/libm-test.c: Expand literal tabs in strings. Normalize
559 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
561 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
563 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
565 Provide backwards binary compatibility for the Hurd.
566 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
568 * hurd/Versions [GLIBC_2.0]: Add __getuids,
569 __hurd_file_name_lookup and _hurd_umask.
570 [GLIBC_2.1]: Add _hurd_proc_init.
571 * hurd/Makefile [versioning] (routines): Add compat-20.
572 (shared-only-routines): Likewise.
573 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
574 _hurd_proc_init. Use it as the default _hurd_proc_init version
576 * hurd/compat-20.c: New file.
577 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
579 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
581 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
583 1998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
585 * inet/Versions: Remove inet6_isipv4mapped.
587 1998-12-02 Philip Blundell <pb@nexus.co.uk>
589 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
591 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
593 * manual/time.texi (Formatting Date and Time): Fix typo.
595 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
597 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
598 when configuring natively. Use autoconf macros instead of rolling
599 our own. Handle defaulted prefix.
601 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
603 * version.h (VERSION): Bump to 2.0.105.
605 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
607 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
609 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
611 1998-11-29 1998 H.J. Lu <hjl@gnu.org>
613 * libio/genops.c (_IO_unbuffer_write): Renamed from
615 (_IO_cleanup): Call _IO_unbuffer_write instead of
618 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
620 * intl/localealias.c: Use *_unlocked version of stdio function if
621 _LIBC_REENTRANT is defined, not _LIBC.
623 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
625 * include/grp.h: Add prototypes for internal functions
626 __getgrgid_r and __getgrnam_r.
628 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
630 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
631 inet_nsap_ntoa prototypes.
633 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
635 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
636 to gcc to have it find the correct system header.
637 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
639 * Makefile (postclean): Add sysd-sorted.
640 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
642 1998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
644 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
645 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
646 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
647 conflicts with new solaris version.
648 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
649 doesn't zero allocated memory).
650 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
651 conflicts with xdr functions. Solves PR libc/877.
652 * nis/rpcsvc/nis.x: Use always uint32_t.
653 * nis/rpcsvc/nis.h: Likewise.
654 * nis/rpcsvc/nis_object.x: Likewise.
656 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
658 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
660 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
661 parameter. Patch by Christian Gafton.
663 * string/envz.h: Add prototype for envz_remove.
664 Reported by Andreas Jaeger.
666 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
668 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
669 __spin_lock_init, __mutex_lock, __mutex_trylock,
671 Remove get_priviliged_ports. Moved to hurd/Versions.
673 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
674 brk implementation see the end of the data segment of the program
675 instead of the shared library.
676 Add __hurd_errno_location. This inline function is used in user
678 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
679 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
680 _hurd_port_locked_get. These inline functions are used by macros
681 used in mail.local in the Hurd distribution.
682 Add get_privileged_ports. Moved here from mach/Versions.
683 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
684 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
685 not used outside libc.
687 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
689 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
692 1998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
694 * sunrpc/Makefile: Add xdr_intXX_t to routines.
695 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
697 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
698 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
699 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
702 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
704 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
706 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
708 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
709 undefine errno to get variable.
711 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
712 instead of <unistd.h> for prototype.
713 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
715 1998-11-30 Ulrich Drepper <drepper@cygnus.com>
717 * misc/err.h: Correct comments and use protected attribute keywords.
718 Reported by Joseph Myers <jsm28@cam.ac.uk>.
720 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
722 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
723 remove tsd stuff from pthreads/cthreads libc sections.
724 Use __libc_tsd_define for MALLOC key.
725 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
727 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
729 * elf/dl-error.c: Include <bits/libc-tsd.h>.
730 Use __libc_tsd_define for DL_ERROR key.
731 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
733 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
734 * sysdeps/generic/bits/libc-tsd.h: New file.
735 * Makefile (distribute): Add bits/libc-tsd.h.
737 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
739 * elf/dl-error.c: Remove kludge to check for ld.so load address.
740 There is no need if weak undefined symbols are not used in ld.so;
741 see linuxthreads/ChangeLog for changes to files
742 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
743 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
745 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
747 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
749 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
751 * sysdeps/i386/bits/string.h: Likewise.
753 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
755 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
757 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
759 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
761 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
763 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
764 __hurd_threadvar_max. Add comment explaining why we define
765 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
767 1998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
769 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
770 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
771 prevent inclusion of Hurd signal handling code.
772 (__libc_write): New function.
773 (_dl_sysdep_output): Removed. The implementation in
774 `elf/dl-misc.c' now also works for the Hurd.
776 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
778 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
779 does not use any of malloc/realloc/free anymore. Include
780 set-hooks.h with <> instead of "".
782 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
784 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
785 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
786 * sunrpc/clnt_unix.c (__msgread): Likewise.
788 1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
790 * hurd/setuids.c: Renamed to ...
791 * hurd/seteuids.c: this.
792 (setuids): Renamed to seteuids.
793 * hurd/getuids.c: Renamed to ...
794 * hurd/geteuids.c: this.
795 (__getuids): Renamed to geteuids, no aliases.
796 * hurd/hurd.h (geteuids, seteuids): Declare them.
797 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
798 * hurd/Makefile (routines): Updated.
800 1998-11-29 Ulrich Drepper <drepper@cygnus.com>
802 * sysdeps/generic/segfault.c (install_handler): Correct test for
803 SEGFAULT_HANDLER=all.
804 Patch by Zack Weinberg.
806 1998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
808 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
809 $prefix/include that may be clobbered on installation.
811 1998-11-27 Philip Blundell <pb@nexus.co.uk>
813 Fixes to allow compilation with static NSS:
814 * nss/Makefile: Make explicit the dependency of getent on
816 [build_static_nss]: Define $(otherlibs) appropriately.
817 * nss/Depend: Add a dependency on `resolv'.
819 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
821 Partial support for MIPS ISO C 9x exception handling:
822 * sysdeps/mips/fclrexcpt.c: New file.
823 * sysdeps/mips/ftestexcept.c: New file.
824 * sysdeps/mips/fgetexcptflg.c: New file.
825 * sysdeps/mips/fesetround.c: New file.
826 * sysdeps/mips/fegetround.c: New file.
827 * sysdeps/mips/fegetenv.c: New file.
828 * sysdeps/mips/fesetenv.c: New file.
829 * sysdeps/mips/feupdateenv.c: Likewise.
830 * sysdeps/mips/bits/fenv.h: New file.
832 1998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
834 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
835 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
836 in sync with linux specific version.
838 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
840 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
843 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
844 of calling __syscall_*.
845 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
847 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
849 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
850 constants, correct values according to Linux 2.1.130.
852 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
853 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
854 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
855 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
857 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
860 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
862 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
864 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
866 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
868 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
869 message, change name of include protection, remove inclusion of
872 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
873 (old_kernel_sigaction): Define.
874 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
876 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
877 the general linux version.
878 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
880 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
882 1998-09-03 Philip Blundell <pb@nexus.co.uk>
884 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
886 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
888 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
889 <bits/endian.h>, make it the same as __BYTE_ORDER.
891 1998-11-27 Ulrich Drepper <drepper@cygnus.com>
893 * math/math.h: Avoid using long double functions in generic macros
894 if __NO_LONG_DOUBLE_MATH.
896 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
897 during bootstrapping.
898 * scripts/config.sub: Add Netwinder specific matches.
899 Patch by Scott Bambrough <scottb@corelcomputer.com>.
901 1998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
903 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
905 ($(common-objpfx)sysd-sorted): Likewise.
907 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
909 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
910 local variables t1,t2 only if needed.
912 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
914 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
915 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
917 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
920 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
922 * math/math.h: Add brace to correct #if expression.
924 1998-11-26 Philip Blundell <philb@gnu.org>
926 Undo change of 1998-11-12:
927 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
930 * sysdeps/unix/sysv/linux/Dist: Likewise.
932 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
934 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
936 1998-11-26 Ulrich Drepper <drepper@cygnus.com>
938 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
939 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
940 Don't modify _dl_global_scope_end in the end.
941 (__dl_runtime_resolv): Also use scope from the map.
942 * sysdeps/mips/mips64/dl-machine.h: Likewise.
943 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
944 ELF_MACHINE_NO_PLT is defined.
945 * sysdeps/mips/sys/ucontext.h: New file.
946 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
948 1998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
950 * sysdeps/generic/pselect.c (__pselect): Change interface,
953 * misc/sys/select.h: Change declaration according to Stevens' Unix
955 * include/sys/select.h (__pselect): Likewise.
956 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
958 * include/fpu_control.h: New file, contains __setfpucw
961 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
962 it's an internal symbol.
963 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
964 * sysdeps/arm/fpu/fpu_control.h: Likewise.
965 * sysdeps/i386/fpu_control.h: Likewise.
966 * sysdeps/m68k/fpu_control.h: Likewise.
967 * sysdeps/powerpc/fpu_control.h: Likewise.
968 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
969 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
971 1998-11-25 Ulrich Drepper <drepper@cygnus.com>
973 * version.h (VERSION): Bump to 2.0.104.
975 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
977 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
980 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
982 * time/tzfile.c (__tzfile_read): Fix comment.
984 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
986 * Makerules (build-shlib): Pass -O1 down to linker to get
987 optimized shared libraries.
989 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
991 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
992 file. Strip "-" from inhibited subdir name. Combine into a
994 ($(common-objpfx)sysd-sorted): Fix sed command.
996 1998-11-25 Roland McGrath <roland@baalperazim.frob.com>
998 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
999 Use constant _HURD_THREADVARS_MAX for temporary array size.
1001 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
1002 s separator, since $(..) might contain a /.
1004 1998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1006 * configure.in (mips): Fix typo (Replace ,, by ;;).
1008 * libio/Versions: Clean up entries.
1010 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
1012 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
1015 1998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1017 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
1018 many differences between the Linux 2.0 and 2.1 versions of this
1019 file and it's too difficult to convert all calls. The file should
1020 only be needed by the ipfw program which has to take care of the
1021 correct kernel version and include files.
1023 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1026 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
1028 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1029 Patch by Zack Weinberg.
1031 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
1033 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1034 __USE_ISOC9X is defined. Provide rint optimization.
1036 1998-11-21 H.J. Lu <hjl@gnu.org>
1038 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1039 popen, pclose): Add to GLIBC_2.1.
1041 * libio/Makefile (routines): Add oldiopopen and oldpclose.
1042 (shared-only-routines): Likewise.
1044 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1045 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1046 _IO_proc_close): Likewise.
1048 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1049 __old_pclose): New prototypes.
1051 * libio/libioP.h (_IO_new_file_jumps): Removed.
1052 (_IO_old_proc_jumps): Added.
1053 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1055 * libio/oldiopopen.c: New file.
1057 * libio/oldpclose.c: New file.
1059 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1061 * nss/Makefile: Build and install getent.
1062 * nss/getent.c: New, get entries from administrative database.
1064 1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
1066 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1067 for the per-thread variables of the main user thread to make it
1068 possible to use malloc as soon as _hurd_preinit_hook has been run.
1069 For cthreads, copy values to new stack from there.
1070 For non-cthreads, malloc threadvar array here and copy from temp space.
1071 (init1): No longer initialize threadvars here.
1072 (doinit1): Made static void at top level.
1073 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1074 inline a function that uses dynamic auto arrays.
1076 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1078 * version.h (VERSION): Bump to 2.0.103.
1080 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1082 * configure.in: Don't define AR and RANLIB here.
1084 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1085 host name res_hconf code.
1086 * inet/gethstbynm_r.c: Likewise.
1087 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1088 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1089 defined execute the code.
1090 * resolv/Makefile (routines): Add res_hconf.
1091 (headers): Add res_hconf.h.
1092 * resolv/res_hconf.c: Pretty print.
1093 * resolv/res_hconf.h: Likewise.
1095 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1097 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1098 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1100 1998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1102 * math/libm-test.c: Raise some epsilons a bit.
1104 1998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1106 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1108 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1110 * Makefile (distribute): Add scripts/gen-sorted.awk.
1112 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1114 * posix/regex.c (regex_compile): Handle extra long class names
1117 1998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1119 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1122 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1124 * misc/error.c: Undo last change.
1126 * ctype/Versions: Add _tolower and _toupper.
1128 1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1130 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1133 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1135 * Makeconfig: Add comment to all-subdirs definition.
1136 Add rule to generate sysd-sorted. Include this file and and set
1137 subdirs value to $(sorted-subdirs).
1138 * scripts/gen-sorted.awk: New file.
1139 * Make-dist (+tsrcs): Add Depend.
1140 * nscd/Depend: New file.
1141 * nss/Depend: New file.
1142 * rt/Depend: New file.
1144 1998-11-18 Ulrich Drepper <drepper@cygnus.com>
1146 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1147 passed file descriptor exceeds the size determined by
1150 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1151 from inline version in bits/socket.h.
1153 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1154 inline function only is __USE_EXTERN_INLINES is defined.
1156 * time/strftime.c (my_strftime): Make code a bit clearer.
1157 Patch by Paul Eggert <eggert@twinsun.com>.
1159 * io/Makefile (CFLAGS-ftw.c): Removed.
1161 * manual/errno.texi: Change the short text for ENODEV to
1164 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1166 * io/Makefile (tests): Make sure that the test program has an
1167 explicit directory part.
1169 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1171 * configure.in: Fix last change.
1173 1998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1175 * sunrpc/Makefile (routines): Add create_xid.
1177 * sunrpc/clnt_tcp.c: Use non-guessable xid.
1178 * sunrpc/clnt_udp.c: Likewise.
1179 * sunrpc/clnt_unix.c: Likewise.
1180 * sunrpc/pmap_rmt.c: Likewise.
1181 * sunrpc/create_xid.c: New, create non-guessable xid.
1183 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1185 * sunrpc/svc_unix.c: Use poll instead of select.
1187 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
1189 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
1190 by removing SIG_IGN handler for SIGCHLD if necessary.
1191 Patch by H.J. Lu <hjl@lucon.org>.
1193 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1194 of denormalized numbers.
1196 1998-10-06 Geoff Keating <geoffk@ozemail.com.au>
1198 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1199 another parentheses warning, make nano-optimisation.
1201 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1202 saved LR on stack so _mcount works.
1203 (_dl_prof_resolve): Likewise.
1204 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
1205 signal handler calling convention.
1206 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1207 correct signal handler calling convention---more like x86 linux and
1208 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1210 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
1212 * configure.in: Correct allowed makeinfo version.
1214 1998-11-17 Philip Blundell <pb@nexus.co.uk>
1216 * sysdeps/generic/bits/mathdef.h: Fix typo.
1218 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1220 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1221 under the right name (squish warning).
1222 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1224 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1226 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1229 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1231 * intl/locale.alias: Change `japanese' alias to match X11R6's.
1232 Add `japanese.euc' alias.
1234 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1235 before running makeinfo.
1237 * math/Makefile (libm-routines): $(strip) entire value.
1239 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1241 1998-10-24 H.J. Lu <hjl@gnu.org>
1243 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1244 (_IO_cookie_file): Likewise.
1246 1998-11-16 Philip Blundell <philb@gnu.org>
1248 * inet/netinet/icmp6.h: Correct naming of constants.
1250 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1252 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
1253 zero value as uninitialized so that variable can go into .bss.
1255 * dirent/opendir-tst1.c: Print error strings to stdout.
1257 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
1258 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1259 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1260 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1261 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1263 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1265 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1268 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1270 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1271 (fwrite_unlocked): Likewise.
1273 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1275 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1276 twice. Don't bother handling zero size.
1277 (fwrite_unlocked): Likewise.
1279 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1281 * configure.in: Fix regex for makeinfo version string.
1283 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1285 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1287 * sunrpc/rpc_svcout.c (write_program): Likewise.
1289 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1291 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1293 1998-11-16 Ulrich Drepper <drepper@cygnus.com
1295 * misc/sys/mman.h: Pretty print prototypes.
1297 1998-11-15 Ulrich Drepper <drepper@cygnus.com
1299 * misc/error.c (error): Don't use result of strerror_r call directly
1300 since at least DEC Unix has a wrong return type.
1301 Patch by Johan Danielsson <joda@pdc.kth.se>.
1303 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1305 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1308 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1310 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
1313 * version.h (VERSION): Bump to 2.0.102.
1315 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1317 * stdio-common/scanf7.c (main): Likewise.
1319 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1321 * stdio-common/vfscanf.c: Return EOF for invalid format
1324 * version.h (VERSION): Bump to 2.0.101.
1326 * Makerules (Versions.all): Generate this file from all Versions.def
1328 (sysd-versions): Use Versions.all instead of Versions.def.
1330 1998-11-13 Philip Blundell <philb@gnu.org>
1332 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1333 Reported by Scott Bambrough.
1335 1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1337 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1339 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1341 * libio/bits/stdio.h: Correct and improve fread_unlocked and
1342 fwrite_unlocked optimizations.
1344 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1345 in time not to last entries in the file.
1346 (__tzfile_compute): Likewise. Fix for PR libc/863.
1348 * timezone/Makefile: Generate GB timezone data for test.
1349 * timezone/tst-timezone.c: More tests for DST switching time (disabled
1352 1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1354 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1355 d0 from clobber list.
1357 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1359 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1361 * libio/Makefile (headers): Add bits/stdio.h.
1362 * libio/iofread_u.c: Undefine fread_unlocked before definition.
1363 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1364 * libio/stdio.h: Move optimizations into ...
1365 * libio/bits/stdio.h: ...here. New file.
1367 * libio/iofread.c: Pretty print.
1369 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
1371 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1372 __exit_status with `__'. Rename pad member of struct utmpx to
1374 (RUN_LVL): Define unconditionally.
1375 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
1378 1998-11-12 Philip Blundell <philb@gnu.org>
1380 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1381 Linux AF_NETLINK sockets (needed since the kernel version is
1383 * sysdeps/unix/sysv/linux/Makefile: Install it.
1384 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1386 1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1388 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1389 to test for bug in PR libc/863.
1391 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1393 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1396 parameter lazy to do_lazy to avoid clashing with struct member name.
1397 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1399 1998-11-10 H.J. Lu <hjl@gnu.org>
1401 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1402 if it is defined in <linux/limits.h>.
1404 1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1406 * include/protocols/routed.h: Include the real header with
1407 a full path from the top of the source tree.
1408 * include/protocols/rwhod.h: Likewise.
1409 * include/protocols/talkd.h: Likewise.
1410 * include/protocols/timed.h: Likewise.
1412 * timezone/Makefile: Don't include z.ZONE files if no_deps
1413 is set, not if avoid-generated is set.
1415 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1417 * signal/signal.h: Undo last change. Get definition of timespec
1418 if __USE_POSIX199309.
1420 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1421 size_t to prevent gcc warning when using -Wqual-cast.
1422 (__strpbrk_c3): Likewise.
1423 Suggested by Alan Curry <pacman@cqc.com>.
1425 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
1427 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1428 unblocked signals are set in the startup masks.
1430 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1431 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
1433 * hurd/hurd/signal.h: Update _hurdsig_init decl.
1434 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1435 INTARRAYSIZE, pass them down to _hurdsig_init.
1436 * hurd/hurd.h: Update _hurd_proc_init decl.
1438 1998-11-10 Ulrich Drepper <drepper@cygnus.com>
1440 * math/cabs.c: Replace complex by _Complex.
1441 * math/cabsf.c: Likewise.
1442 * math/cabsl.c: Likewise.
1443 * math/cimag.c: Likewise.
1444 * math/cimagf.c: Likewise.
1445 * math/cimagl.c: Likewise.
1446 * math/conj.c: Likewise.
1447 * math/conjf.c: Likewise.
1448 * math/conjl.c: Likewise.
1449 * math/creal.c: Likewise.
1450 * math/crealf.c: Likewise.
1451 * math/creall.c: Likewise.
1453 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1454 included from math.h and __USE_ISOC9X is defined.
1455 * sysdeps/generic/bits/mathdef.h: Likewise.
1456 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1457 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1458 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1459 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1461 1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1463 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1465 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1466 * sysdeps/generic/bits/mathdef.h: Likewise.
1467 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1468 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1469 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1471 1998-11-09 Ulrich Drepper <drepper@cygnus.com>
1473 * extra-lib.mk: Fix typo in last change.
1475 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1477 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1478 Don't define `complex' but instead `_Complex'. The later is the
1480 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1483 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1485 * manual/libc.texinfo: Remove colon from category name.
1486 * manual/Makefile (dir-add.info): Likewise.
1488 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1490 * configure.in: Avoid autoconf bug.
1492 1998-10-28 H.J. Lu <hjl@gnu.org>
1494 * posix/getopt.h: Add "__" to arguments in prototypes.
1496 1998-11-05 H.J. Lu <hjl@gnu.org>
1498 * libio/iofgets.c (_IO_fgets): Don't report error
1499 if something was read in and errno is set to
1501 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1503 1998-11-05 Philip Blundell <philb@gnu.org>
1505 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1506 header; it defines too much. Provide a local definition of struct
1507 sockaddr_pkt and a comment advising against its use.
1509 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1511 * extra-lib.mk: Avoid empty include list.
1513 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1515 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1517 * elf/Makefile (libdl-routines): Add dlopenold only if doing
1519 (libdl-shared-only-routines): New variable.
1521 1998-11-06 Paul Eggert <eggert@twinsun.com>
1523 Don't invoke localtime_r or gmtime_r unless it's the GNU C
1524 library's localtime_r and gmtime_r; there are too many buggy
1525 implementations of localtime_r and gmtime_r out there, and
1526 it's not worth keeping track of all the different bugs.
1528 * time/mktime.c (__EXTENSIONS__): Remove.
1529 (<unistd.h>): No need to include.
1530 * time/strftime.c: Likewise.
1532 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1534 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1535 Base it on localtime unless _LIBC.
1537 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1539 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1540 Base them on localtime/gmtime if not _LIBC.
1542 1998-11-07 Ulrich Drepper <drepper@cygnus.com>
1544 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1545 file descriptor. This makes this function actually usable.
1546 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1548 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
1550 * math/math.h: Unconditionally include bits/mathdef.h. Declare
1551 long double functions only if __NO_LONG_DOUBLE_MATH is not
1553 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1554 Define __NO_LONG_DOUBLE_MATH.
1555 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1556 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1558 * elf/rtld.c: Add a few __builtin_expects where they will improve
1561 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
1563 * version.h (VERSION): Bump to 2.0.100.
1565 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1567 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1568 * sysdeps/libm-i387/s_fmaf.S: Likewise.
1570 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1572 * libio/genops.c (_IO_least_marker): Add additional parameter
1573 end_p replacing fp->_IO_read_end.
1574 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
1575 and _IO_ssize_t instead of int.
1576 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1577 (_IO_switch_to_backup_area): Likewise. Fix comments.
1578 (_IO_seekmark): Undo last change.
1579 (_IO_default_pbackfail): Correct use of backup area.
1580 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1582 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1584 * configure.in: Search for install-info and substitute it.
1585 Determine whether install-info is the buggy Debian version
1586 that doesn't understand INFO-DIR-SECTION.
1587 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1589 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1590 install-info the --section argument it needs to work properly.
1591 (dir-add.texinfo): Delete target.
1592 (dir-add.info): Generate this directly. Sort entries. Put a
1593 colon at the end of the INFO-DIR-SECTION line.
1594 * manual/libc.texinfo: Put a colon at the end of the
1597 1998-11-05 Paul Eggert <eggert@twinsun.com>
1599 * time/mktime.c (__mktime_internal): Adopt the traditional (and
1600 problematic) notion of what to do when tm_isdst doesn't match.
1602 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1604 * posix/PTESTS: Fix spelling.
1606 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
1608 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1609 functions. Reduce error in computing normalized value by multiplying
1610 factor in loop and compute result in one step.
1611 Reported by Christian Gafton.
1613 * sysdeps/libm-i387/e_hypot.S: New file.
1614 * sysdeps/libm-i387/e_hypotf.S: New file.
1616 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1618 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1620 1998-11-03 H.J. Lu <hjl@gnu.org>
1622 * libio/fileops.c (new_do_write): New function.
1623 (_IO_new_do_write): Call new_do_write.
1624 (_IO_new_file_xsputn): Likewise.
1626 * libio/oldfileops.c (old_do_write): New function.
1627 (_IO_old_do_write): Call old_do_write.
1628 (_IO_old_file_xsputn): Likewise.
1630 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
1632 * time/mktime.c (__mktime_internal): Correct last change. We must
1633 stop searching for the right isdst value before stepping to the
1636 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1637 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1639 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1641 * sysdeps/generic/bits/signum.h: Define signals with their
1642 historical numbers when those are in the 1-15 range and
1643 consistent across platforms.
1644 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1645 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1646 appropriately instead of with fake function declarations
1647 (would cause link errors).
1648 If __USE_UNIX98, define SIG_HOLD.
1650 1998-10-29 H.J. Lu <hjl@gnu.org>
1652 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1653 union only if __USE_POSIX199309 is defined.
1655 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1658 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
1660 * time/mktime.c (__mktime_internal): Handle broken down times
1661 around the time of the DST switches more correctly.
1663 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1665 * elf/Makefile (libdl-routines): Add dlopenold.
1666 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1667 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1668 is set and bounce otherwise.
1669 * elf/dlopen.c: Rename function to __dlopen_check and make version
1671 * elf/dlopenold.c: New file.
1673 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1675 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1676 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1677 * elf/dl-deps.c: ...here.
1678 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1679 new parameter and expect result. Remove code handling RTLD_GLOBAL.
1680 Add return value of _dl_map_object_deps to
1681 _dl_main_searchlist->r_nlist.
1682 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1683 If we parameter GLOBAL is nonzero add object and dependencies to
1685 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1686 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1687 Mark all objects as in global scope.
1688 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1690 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1692 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1693 used in macro magic.
1695 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1697 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1698 before <sys/socket.h> to make sockaddr_at available to
1701 * posix/glob.h: Remove __P from parameter lists of declarations.
1703 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1705 * time/tzset.c (tz_compute): Remove unused parameter timer.
1708 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1710 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1712 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1714 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1715 unnecessary test and add cast.
1717 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1719 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1721 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1725 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1727 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1729 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1731 1998-10-31 Richard Henderson <rth@cygnus.com>
1733 * math/Makefile (gmp-objs): Add udiv_qrnnd.
1735 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1736 (inline_syscall*): New.
1737 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1738 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1740 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
1742 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1743 avoid ld test generating an unwanted file.
1745 * posix/PTESTS: Remove comment about incorrect test (it is correct).
1747 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1749 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1750 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1751 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1752 * sunrpc/rpc/xdr.h: Add INT32 support.
1753 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
1755 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1756 * nis/nis_callback.c: Likewise.
1757 * nis/nis_creategroup.c: Likewise.
1758 * nis/nis_defaults.c: Likewise.
1759 * nis/nis_intern.h: Likewise.
1760 * nis/nis_lookup.c: Likewise.
1761 * nis/nis_ping.c: Likewise.
1762 * nis/nis_print.c: Likewise.
1763 * nis/nis_table.c: Likewise.
1764 * nis/nis_util.c: Likewise.
1765 * nis/nis_xdr.c: Likewise.
1766 * nis/rpcsvc/nis.h: Likewise.
1767 * nis/rpcsvc/nis.x: Likewise.
1768 * nis/rpcsvc/nis_callback.h: Likewise.
1769 * nis/rpcsvc/nis_object.x: Likewise.
1770 * nis/rpcsvc/nislib.h: Likewise.
1772 * nis/rpcsvc/yp.h: Remove casts to (u_long).
1773 * nis/rpcsvc/yp_prot.h: Likewise.
1774 * nis/rpcsvc/ypupd.h: Likewise.
1775 * nis/ypclnt.c: Change %ld to %d in sprintf.
1777 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1779 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1781 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1783 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1784 0, __fd_mask is usually not a char.
1786 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1788 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1789 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1790 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1792 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1793 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1794 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1795 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1797 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1798 compiling on systems without rt_sigaction syscall.
1799 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1802 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1804 * time/strptime.c (HERE_D_FMT): Fix typo.
1805 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1807 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
1809 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1810 (generate): Add test1.cat and test1.h.
1811 (distribute): Add test1.msg.
1812 * catgets/test1.msg: New file.
1814 * catgets/gencat.c: Do a better job in initializing dynamic
1815 memory [PR libc/844].
1817 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1819 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1820 internal_function since it is called through a pointer.
1821 * iconv/gconv_db.c (free_derivation): Likewise.
1822 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1824 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1825 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1826 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1828 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1829 __aio_notify definitions.
1830 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1832 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
1834 * Makerules (build-shlib): Add -O to generate optimized shared
1837 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1839 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1840 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1841 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1842 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1843 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1844 * sysdeps/libm-i387/s_logb.S: Likewise.
1845 * sysdeps/libm-i387/s_logbf.S: Likewise.
1846 * sysdeps/libm-i387/s_remquo.S: Likewise.
1847 * sysdeps/libm-i387/s_remquof.S: Likewise.
1848 * sysdeps/libm-i387/s_remquol.S: Likewise.
1849 * sysdeps/libm-i387/s_significand.S: Likewise.
1850 * sysdeps/libm-i387/s_significandf.S: Likewise.
1852 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1854 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1857 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1859 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1861 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
1863 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1864 returns without cleaning up the lock.
1865 (printf_unknown): Add label all_done.
1867 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1868 kernels in mind when reading /proc/self/fd/FD.
1869 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1871 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1873 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1876 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1877 /prof/self/fd/FD first.
1878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1880 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1881 formatted number starting at given position and return pointer to
1883 (_fitoa): Likewise, for long long.
1885 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1887 * sysdeps/unix/sysv/linux/bits/sem.h,
1888 sysdeps/unix/sysv/linux/bits/ipc.h,
1889 sysdeps/unix/sysv/linux/bits/shm.h,
1890 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1891 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1892 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1893 so the same bits will be used for the Hurd.
1895 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
1897 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1898 compiling on systems without rt_sigaction syscall.
1900 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1902 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1903 directories as well as add them.
1905 1998-10-28 Philip Blundell <pb@nexus.co.uk>
1907 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1908 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1909 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1910 * sysdeps/unix/sysv/linux/Makefile: Install it.
1912 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1914 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1916 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1918 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1920 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1921 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1922 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1923 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1925 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1927 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1928 __FD_ISSET): Use it.
1929 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1930 __FD_ISSET): Likewise.
1932 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1934 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1937 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1938 Instead call the system call wrapper function using an 64bit argument.
1939 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1943 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
1945 * signal/signal.h: Don't include <time.h> for timespec, add
1946 forward declaration.
1948 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1949 of __FD_* macros which use __fds_bits.
1950 * sysdeps/generic/bits/select.h: Likewise.
1951 Reported by Matt McLean <keys@yikes.com>.
1953 1998-10-27 Philip Blundell <pb@nexus.co.uk>
1955 * elf/elf.h: Update ARM definitions.
1957 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
1959 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1961 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
1963 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1964 define __builtin_expect as a macro substituting to the first
1966 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1967 * configure.in: Add test for __builtin_expect.
1969 * sysdeps/unix/sysv/linux/bits/types.h: Include
1970 bits/pthreadtypes.h only not for POSIX 199506.
1971 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1972 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1975 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
1977 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1978 * socket/Versions [libc, GLIBC_2.0]: ... to here.
1980 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1982 * include/stdio.h: Included <stddef.h> for size_t.
1984 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1986 * include/stdio.h: ...here.
1987 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1989 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
1991 * time/Makefile (tests): Add tst-posixtz.
1992 * time/tst-posixtz.c: New file.
1994 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1996 * elf/rtld.c (process_envvars): Accept any non-null value of
1997 LD_BIND_NOW, as mandated by the ABI.
1999 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2001 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
2003 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
2005 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2006 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2007 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2009 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
2011 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
2012 s_pread64 and s_pwrite64.
2013 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2015 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2017 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
2018 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
2019 to __syscall__llseek.
2020 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2021 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2025 1998-10-26 Cristian Gafton <gafton@redhat.com>
2027 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2030 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
2032 * time/tzset.c (tz_compute): Correct last patch and describe this
2035 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2037 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2038 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2039 rt_sigaction and rt_sigpending.
2040 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2041 for __syscall_* functions.
2042 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2044 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
2046 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2047 _hurd_dtable_lock, _hurd_intern_fd.
2049 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2050 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2052 * mach/Versions: Fix typo in last change.
2054 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2056 * time/tzset.c (tz_compute): If time to switch to DST is later in
2057 the year switch back in the next year.
2058 Reported by jwitford@hutch.com.au.
2060 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
2062 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2063 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2064 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2065 __mach_port_allocate, __mach_port_allocate_name,
2066 __mach_port_insert_right __mutex_trylock, __mutex_lock,
2067 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2068 __task_set_special_port, __task_terminate, __thread_depress_abort,
2069 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
2070 functions are not used outside libc.
2072 * sysdeps/mach/hurd/Versions: New file.
2073 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2074 _cthread_init_routine. These are set by the Hurd cthreads library.
2075 Add __getcwd, __mmap. If we don't add these, the weak definitions in
2076 the dynamic linker will not be replaced by the corresponding shared
2077 library routines once they are loaded.
2079 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
2081 * sysdeps/mach/hurd/i386/init-first.c: Only define
2082 __libc_enable_secure if PIC is not defined.
2084 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2086 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2087 to recurse into argp.
2089 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2091 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2092 greater or equal than 199506L.
2094 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2095 only is __USE_XOPEN. Otherwise use __fds_bits.
2096 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2097 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2099 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2100 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2102 1998-10-24 H.J. Lu <hjl@gnu.org>
2104 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2105 for <code_set_name>.
2107 1998-10-25 H.J. Lu <hjl@gnu.org>
2109 * locale/programs/ld-ctype.c (ctype_finish): Also check
2112 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2114 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2116 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2117 if __USE_POSIX199506 or __USE_UNIX98.
2119 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2121 * string/bits/string2.h: Inline strdup+friends only if
2122 __USE_MISC || __USE_GNU (prevents namespace pollution).
2124 1998-10-24 H.J. Lu <hjl@gnu.org>
2126 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2127 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2129 LOCK_NB, LOCK_UN): Likewise.
2130 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2131 LOCK_NB, LOCK_UN): Likewise.
2132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2133 LOCK_NB, LOCK_UN): Likewise.
2134 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2135 LOCK_NB, LOCK_UN): Likewise.
2137 1998-10-24 H.J. Lu <hjl@gnu.org>
2139 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2141 * libio/rewind.c (rewind): Clear the error.
2143 1998-10-24 H.J. Lu <hjl@gnu.org>
2145 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2148 1998-10-24 H.J. Lu <hjl@gnu.org>
2150 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2151 with __need_timeval.
2152 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2153 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2155 1998-10-24 H.J. Lu <hjl@gnu.org>
2157 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2158 sigqueue): Protect with __USE_POSIX199309.
2160 1998-10-24 H.J. Lu <hjl@gnu.org>
2162 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2165 1998-10-24 H.J. Lu <hjl@gnu.org>
2167 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2168 the kernel file offset.
2169 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2171 1998-10-24 H.J. Lu <hjl@gnu.org>
2173 * time/tzfile.c (__tzfile_default): Set num_types to 2.
2175 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2177 * rt/aio.h: Move __aio_init to...
2178 * include/aio.h: ...here.
2180 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2182 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2183 definition of O_LARGEFILE.
2185 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2187 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2188 as first argument to statfs.
2190 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2192 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2194 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2196 * malloc/mtrace.c: Include <string.h> for strlen.
2198 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2200 * sysdeps/mach/hurd/bits/environments.h: New file.
2202 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2204 * mach/Versions, hurd/Versions: Add numerous symbols.
2205 Remove libmachuser and libhurduser sections, punt
2206 versioning for those libraries for now.
2208 * misc/Versions: Add reboot here; it exists on all platforms.
2209 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2211 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2213 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2215 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2217 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2218 O_NOFOLLOW, O_DIRECT): New macros.
2219 (O_DIRECTORY): Correct definition according to official 2.1.126.
2220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2221 O_NOFOLLOW): New macros.
2223 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2225 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2227 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2228 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2230 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2232 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2233 setfsuid.c, and setfsgid.c.
2234 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2235 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2236 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2238 * version.h (VERSION): Bump to 2.0.99.
2240 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2243 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2246 * posix/fnmath.h: Don't redefine __P when used in glibc.
2247 * posix/glob.h: Likewise.
2249 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2250 Patch by Dick Streefland <dick_streefland@tasking.com>.
2252 * stdio-common/tst-ungetc.c: Add more test cases.
2254 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2255 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2257 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
2258 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2259 * sysdeps/unix/sysv/linux/pathconf.c: New file.
2260 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2261 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2263 1998-10-20 Philip Blundell <pb@nexus.co.uk>
2265 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2266 <asm/ptrace.h> to define struct pt_regs.
2267 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2268 including <asm/ptrace.h> here.
2270 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2271 C_SYMBOL_NAME macro.
2273 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2275 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2276 end of enumerator list.
2277 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2278 * posix/wordexp.h: Likewise.
2280 * db/db.h: Use __PMT instead of __P in typedefs.
2281 * db/mpool.h: Likewise.
2282 * sysdeps/generic/bits/siginfo.h: Likewise.
2283 * nis/rpcsvc/ypclnt.h: Likewise.
2285 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2287 * libio/genops.c (_IO_seekmark): When switching to backup buffer
2288 make sure all characters from the read buffer are read after
2289 switching back to it.
2291 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
2293 * configure.in: Add support for Cygnus GNUPro compilers.
2295 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2297 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2299 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2300 of __P for sa_restorer.
2301 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2302 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2303 kernel_sigaction, old_kernel_sigaction): Likewise.
2305 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
2307 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2308 and __syscall_pwrite aliases.
2310 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
2312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2313 improve INLINE_SYSCALL using macro assembler magic.
2315 1998-10-22 H.J. Lu <hjl@gnu.org>
2317 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2319 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2321 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2322 EINVAL if errno == ENODEV. Tested by VSX-PCT.
2324 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
2327 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
2329 1998-10-22 Philip Blundell <pb@nexus.co.uk>
2331 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2334 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
2336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2339 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
2341 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
2342 __syscall_* function.
2343 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2344 of calling __syscall_* function.
2345 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2346 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2347 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2348 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2349 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2350 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2351 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2352 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2353 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2354 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2355 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2356 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2357 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2358 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2359 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2360 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2361 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2362 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2363 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2364 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2365 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2366 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2367 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2368 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2369 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2370 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2371 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2372 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2373 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2374 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2375 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2376 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2377 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2378 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2379 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2380 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2381 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2382 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2383 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2384 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2385 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2386 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2390 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2391 __syscall_* definitions.
2393 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2395 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2396 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2397 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2398 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2399 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2401 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2403 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2404 Move definition to...
2405 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2406 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2407 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2408 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2409 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2410 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2411 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2413 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2414 (sysdep_routines): Remove s_pread64 and s_pwrite64.
2416 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2417 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2418 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2419 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2420 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2421 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2423 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2425 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2426 and bring them in synch.
2427 * sysdeps/unix/siglist.c: Likewise.
2428 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2430 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2432 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2433 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2435 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2436 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2437 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2438 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2439 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2440 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2441 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2442 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2445 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2446 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2447 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2449 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2451 * sunrpc/rpc_main.c (close_output, close_input): New functions.
2452 (c_output, h_output, s_output, l_output, t_output, svc_output,
2453 clnt_output, mkfile_output): Call them at the end.
2455 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2457 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2460 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2462 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2463 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2465 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
2467 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2469 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2470 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2471 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2472 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2473 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2475 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
2477 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2480 1998-10-20 H.J. Lu <hjl@gnu.org>
2482 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2485 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2487 * math/tgmath.h: Make nested function calls work.
2489 * include/ldsodefs.h: Fix typo.
2491 * posix/Makefile (tests): Add tst-preadwrite.
2492 * posix/tst-preadwrite.c: New file.
2494 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2495 sure that descriptor is in any case for a directory.
2497 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2499 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2500 (atan2): Takes two arguments.
2502 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2504 * include/ldsodefs.h: New file.
2506 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2507 Remove change to avoid using _CALL_DL_FCT.
2508 * iconv/gconv_db.c: Likewise.
2509 * iconv/gconv_dl.c: Likewise.
2510 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2511 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2512 * nss/nsswitch.c: Likewise.
2513 * nss/nsswitch.h: Likewise.
2515 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2517 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2519 * login/Makefile (otherlibs): Likewise.
2520 * nscd/Makefile (otherlibs): Likewise.
2521 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2523 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2525 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2527 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2529 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2532 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2534 * nscd/connections.c: Fix typos in comments and strings.
2536 * nscd/nscd.conf: Update according to recent changes to nscd.
2538 * nscd/cache.c (prune_cache): Remove wrong comment.
2540 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
2542 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2543 category in copy_posix.
2544 (collate_finish): Don't warn about UNDEFINED not being defined.
2545 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2546 category in copy_posix.
2547 * locale/programs/ld-messages.c (messages_startup): Likewise.
2548 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2549 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2550 * locale/programs/ld-time.c (time_startup): Likewise.
2551 * locale/programs/localedef.c: Move copy_def_list_t definition into
2552 locales.h. Define copy_posix variable.
2553 (main): Before processing copy list add ©_posix to copy_list.
2554 * locale/programs/locales.h: Add definition of copy_def_list_t.
2555 * locale/programs/locfile.c: Clear bit for appropriate category in
2556 copy_posix.mask for copy instruction.
2558 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2560 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2561 non-existing file with generic implementation.
2562 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2564 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2566 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2567 defined. Avoid using _CALL_DL_FCT if it is not defined.
2568 * iconv/gconv.c: Likewise.
2570 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2572 * nscd/connections.c (dbs): Define defualt values for timeouts and
2573 set enabled to 0 by default.
2574 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
2577 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2579 (_nl_C_LC_CTYPE_class32): Likewise.
2582 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2584 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2585 _HURD_THREADVAR_DL_ERROR.
2587 * hurd/Makefile (user-interfaces): Add login, password.
2589 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2591 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
2593 [submitted 1998-08-06]
2594 * mach/Machrules: Create target directory and force re-evaluation
2595 of Makefile to prevent `make' from optimizing away most of the
2596 implicit rules and `vpath' directives.
2598 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2600 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2601 is null, short-circuit to __mach_msg.
2603 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2604 broken out of init1.
2605 (init1) [PIC]: Call it.
2606 (__libc_init_first) [! PIC]: Call it.
2608 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2609 __libc_init_secure. Instead set __libc_enable_secure here from
2611 (__libc_enable_secure): New variable it.
2612 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2614 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2616 * nscd/nscd-client.h: New file, broken out of "nscd.h".
2617 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2619 * nscd/Makefile (distribute): Add nscd-client.h.
2620 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2621 Include "nscd-client.h" instead of "nscd.h"
2623 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
2625 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2626 directory entries when a lstat call fails.
2627 Patch by Colin Plumb <colin@nyx.net>.
2629 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2631 * resolv/nss_dns/dns-network.c: Likewise.
2633 * grp/Makefile: Don't search for linuxthreads in add-ons, use
2634 have-thread-library to determine whether threads are available.
2635 * pwd/Makefile: Remove wrong comment.
2637 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2638 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2640 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2642 * nss/Versions: Add __nss_hosts_lookup.
2644 * nss/getXXbyYY.c: Remove unneeded assignment.
2646 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2648 Almost complete rewrite of the NSCD to make it smaller, faster,
2649 add more functionnality and make it easier to extend.
2650 * nscd/Makfile (routines): Add nscd_gethst_r.
2651 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2652 * nscd/cache.c: New file.
2653 * nscd/gethstbyad_r.c: New file.
2654 * nscd/gethstbynm2_r.c: New file.
2655 * nscd/hstcache.c: New file.
2656 * nscd/nscd_gethst_r.c: New file.
2657 * nscd/connections.c: Rewritten. Don't start new thread for every
2658 new connection. Use a fixed set of threads which handle all
2659 connections and also the cache cleanup.
2660 * nscd/grpcache.c: Rewritten to use generic cache handling functions
2662 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
2663 for rewrite. Remove handle_requests function.
2664 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2665 Define new data structure for the new unified cache and the host
2667 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2668 databases easily. Recognize check-files and threads definitions.
2669 * nscd/nscd.conf: Add definition of enable-cache and check-files to
2670 passwd and group definitions. Add new set of definitions for hosts.
2671 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2672 * nscd/nscd_getpw_r.c: Likewise.
2673 * nscd/nscd_proto.h: Add prototype for host database functions.
2674 * nscd/nscd_stat.c: Rewrite to simplify printing of information
2676 * nscd/dbg_log.c: Remove unnecessary variable initializations.
2677 Global variable debug_flag is renamed to dbg_level.
2678 * nscd/dbg_log.h: Declare set_logfile.
2680 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2682 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2685 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
2687 * time/mktime.c: Some systems require <unistd.h> to be
2688 included before <time.h> for localtime_r to be declared
2690 * time/strftime.c: Likewise.
2692 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2694 * db/Makefile: Add rule to generate shared object with the soname
2697 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
2698 available double check to verify it's a directory.
2700 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2701 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2702 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2703 are not generally available.
2704 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2706 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2707 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2708 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2709 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2710 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2711 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2712 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2713 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2714 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2715 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2716 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2717 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2718 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2719 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2720 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2721 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2722 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2723 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2724 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2725 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2726 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2727 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2728 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2729 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2730 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2731 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2732 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2733 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2734 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2736 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2737 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2738 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2740 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2741 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2742 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2745 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2746 s_setresgid, and s_setuid.
2747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2748 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2750 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2751 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2752 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2755 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2757 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2758 localtime_t declaration on some systems.
2760 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2762 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2764 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
2765 defined. Avoid using DL_CLL_FCT if it is not defined.
2767 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2769 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2770 Include endian.h unconditionally. Remove portability goop
2771 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2773 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2775 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2777 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
2779 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2780 again. Use char[44] to define size of the struct.
2782 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2784 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2786 * string/bits/string2.h (strcmp): Don't cache the result of
2787 __builtin_constant_p in variables, otherwise constant folding
2788 can fail in big functions.
2790 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2792 * string/bits/string2.h: Add prototypes for the new inline
2795 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
2797 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2798 have all types defined.
2799 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2801 1998-10-08 Paul Eggert <eggert@twinsun.com>
2803 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2804 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2805 a body that merely expands localtime_r; this works around a
2806 bug in Digital Unix 4.0A and 4.0D.
2808 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
2810 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2811 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2812 __ioctl to __syscall_ioctl and include Linux version of this file.
2813 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2815 ioctl calls which handle struct termios.
2816 Based on a patch by Dan Jacobowitz <drow@false.org>.
2818 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
2820 * version.h (VERSION): Bump to 2.0.98.
2822 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2823 here instead of including kernel_termios.h.
2825 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2827 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2828 unnecessary after the changes of 1998-10-12.
2830 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
2832 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2833 parameter format string.
2834 (inline_outw): Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2837 string.h to get memcpy prototype and NULL definition.
2839 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2841 * misc/sys/cdefs.h (__THROW): New macro.
2842 * argp/argp.h: Use it to replace the kludgey __P in inline
2843 function definitions.
2844 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2845 * stdlib/stdlib.h: Likewise.
2846 * wcsmbs/wchar.h: Likewise.
2847 * libio/stdio.h: Likewise.
2848 * stdio/stdio.h: Likewise.
2849 * sysdeps/wordsize-64/inttypes.h: Likewise.
2850 * sysdeps/wordsize-32/inttypes.h: Likewise.
2851 * string/argz.h: Likewise.
2852 * io/sys/stat.h: Likewise.
2854 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2856 * Rules (stdio_lim): New variable.
2857 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2858 on Rules and config.make, use $(move-if-change) to avoid unnessary
2859 recompilations, and cleanup command.
2860 (common-generated): Add bits/stdio_lim.st.
2862 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
2864 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2865 variable to prevent warnings from use of modern CPU instructions.
2866 Patch by Richard Henderson <rth@cygnus.com>.
2868 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2871 1998-10-12 Philip Blundell <pb@nexus.co.uk>
2873 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2874 semicolon so that profiling works.
2876 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2878 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2880 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2882 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
2884 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2885 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2887 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2888 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2889 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2891 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2893 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2894 it is already defined in <bits/environments.h>.
2896 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
2898 * posix/ptestcases.h: Fix typo.
2900 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2902 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2903 (regexec): Allocate regs.start and regs.end as one block.
2905 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2907 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2910 1998-10-08 Philip Blundell <pb@nexus.co.uk>
2912 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2913 sigcontext union to ...
2914 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2916 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2917 version 2.0 kernels.
2919 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
2921 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2924 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
2925 * argp/argp-xinl.c: Likewise.
2927 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2929 Patch by Christian Gafton.
2931 1998-10-08 Paul Eggert <eggert@twinsun.com>
2933 * time/mktime.c (__mktime_internal): When the requested time falls
2934 in a spring-forward gap of size DT, return a time that is DT away
2935 from the requested time, preferring a time whose tm_isdst differs
2936 from the requested value. Bump the max number of probes from 4 to
2937 6 to account for the extra probes needed to discover a
2938 spring-forward gap in the worst case.
2940 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2942 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2943 of the weird alpha architectures.
2944 Patch by Cristian Gafton <gafton@redhat.com>.
2946 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2948 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2949 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2951 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
2953 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2954 (dl_open_worker): Use realloc, not malloc to resize array.
2955 * elf/rtld.c (_dl_initial_searchlist): New variable.
2956 (_dl_main): Copy content of _dl_main_searchlist to
2957 _dl_initial_searchlist.
2958 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2959 _dl_global_scope_alloc.
2960 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2961 * elf/dl-close.c (_dl_close): When removing object with global
2962 scope remove allocated searchlist if no dynamically loaded object
2964 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2965 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2967 * malloc/mtrace.c (tr_where): Don't print space in location string,
2968 print it afterwards. Print better symbol name information.
2970 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2972 * manual/filesys.texi (Setting Permissions): Fix example for
2975 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2977 * elf/sprof.c (load_profdata): Fix typo in error message.
2979 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2981 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2984 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
2986 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2988 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
2990 * version.h (VERSION): Bump to 2.0.97.
2992 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2994 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2995 in definitions of inline stat functions so that they match the
2997 * stdlib/stdlib.h: Likewise.
2998 * wcsmbs/wchar.h: Likewise.
2999 * libio/stdio.h: Likewise.
3000 * stdio/stdio.h: Likewise.
3001 * sysdeps/wordsize-64/inttypes.h: Likewise.
3002 * sysdeps/wordsize-32/inttypes.h: Likewise.
3003 * string/argz.h: Likewise.
3004 * argp/argp.h: Likewise.
3006 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
3008 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
3011 1998-10-05 Philip Blundell <philb@gnu.org>
3013 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
3014 and constants. Tidy up formatting a little.
3016 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
3017 Move definitions to in.h.
3019 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3021 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3022 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3023 Remove inclusion of <linux/swap.h>.
3025 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3027 * io/sys/stat.h: Use __P in definitions of inline stat functions
3028 so that they match the declaration.
3030 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3032 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3034 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3036 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3039 1998-10-02 Philip Blundell <pb@nexus.co.uk>
3041 * sysdeps/arm/dl-machine.h: Fix typo in last change.
3043 * sysdeps/arm/bits/huge_val.h: New file.
3045 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3047 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3049 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3052 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3054 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3055 store result of realloc instead of using BUF.
3057 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3059 * misc/sgtty.h (_SGTTY_H): Correct spelling.
3060 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3062 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3064 * manual/memory.texi (Obstacks): Document
3065 obstack_alloc_failed_handler usage.
3067 * malloc/obstack.h: Enhance comment about
3068 obstack_alloc_failed_handler usage.
3069 * malloc/obstack.c: Likewise.
3071 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3073 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3074 gcc before 2.8 is used.
3076 1998-10-01 Philip Blundell <pb@nexus.co.uk>
3078 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
3079 from Scott Bambrough.
3081 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3083 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3084 include the lock member.
3086 1998-09-03 Philip Blundell <pb@nexus.co.uk>
3088 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3090 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
3092 * timezone/zic.c: Update from tzcode1998h.
3093 * timezone/europe: Update from tzdata1998i.
3094 * timezone/southamerica: Likewise.
3096 * sys/types.h: Protect use of long long by __extension__.
3097 * stdlib/stdlib.h: Likewise.
3098 * string/string.h: Likewise.
3099 * sysdeps/i386/bits/byteswap.h: Likewise.
3100 * sysdeps/geeric/bits/byteswap.h: Likewise.
3101 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3102 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3103 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3104 * sysdeps/wordsize-32/inttypes.h: Likewise.
3105 * sysdeps/wordsize-32/stdint.h: Likewise.
3106 * wcsmbs/wchar.h: Likewise.
3108 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3110 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3112 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3113 __strsep): Greatly reduce size of expansion by combining common
3115 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3117 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3118 by the above definitions.
3120 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3122 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3123 correct struct ipc_perm definition.
3125 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3127 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3129 1998-09-29 Cristian Gafton <gafton@redhat.com>
3131 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3132 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
3133 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3134 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3135 Add net/if_shaper.h.
3137 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
3139 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3141 * nis/ypclnt.c: Remove not needed close calls.
3143 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3145 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3146 check a bit. Also close socket of domain client. Close socket
3147 in IPPORT_RESERVED error case.
3149 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
3151 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3152 CMSG_ALIGN (fixes a bug) and correct test for availability of
3154 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3156 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3157 availability of another entry.
3160 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3163 * libio/libio.h [!__STDC__]: Define const only if not defined.
3165 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3167 * posix/annexc.c (xsystem): New function. Use it instead of
3170 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
3172 * stdlib/longlong.h: Remove #endif for #if removed in last change.
3174 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
3176 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3177 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3178 allow using `ut' parameter.
3179 [!emacs]: Define ut_argument, ut_argument_spec, and
3180 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
3181 argument_spec to prototypes and definitions.
3182 (my_strftime): Don't call tzset of ut != 0.
3183 Compute diff as 0 is ut != 0;
3184 [emacs]: Define new emacs_strftime function.
3185 Based on a patch by Paul Eggert.
3187 1998-09-24 Paul Eggert <eggert@twinsun.com>
3189 * time/strftime.c (my_strftime): When asking for the length of the
3190 subformatted buffer, do not limit the length to look for;
3191 otherwise, we have no reliable way to distinguish between the
3192 empty buffer and an error.
3194 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
3196 * math/Makefile (gmp-objs): Add mp_clz_tab.
3198 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
3200 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3202 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3203 cpus lacking hardware multiply and divide.
3205 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3207 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3210 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3212 * db/btree/bt_delete.c: Fix -Wparentheses warning.
3214 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3216 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3219 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
3221 * debug/catchsegv.sh: Also produce output if clone process died.
3223 1998-09-24 Paul Eggert <eggert@twinsun.com>
3225 * time/strftime.c (f_wkday): Remove duplicate definition.
3226 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3227 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3228 1998-09-11 fix to this case.
3229 (wkday_len, month_len): Remove these macros; they're no longer needed.
3231 1998-09-24 Paul Eggert <eggert@twinsun.com>
3233 * time/strftime.c (my_strftime): Don't store past the end of a
3236 1998-09-24 Paul Eggert <eggert@twinsun.com>
3238 * time/strftime.c (underlying_strftime):
3239 Set the buffer to a nonzero value before calling
3240 strftime, and check to see whether strftime has set the buffer to zero.
3241 This lets us distinguish between an empty buffer and an error.
3243 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
3245 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3246 This fix is propagated from tzcode1998g.tar.gz.
3248 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
3250 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3251 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
3252 sys_siglist. This is handled correctly by the weak_alias macro.
3254 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
3256 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3257 of mempcpy. Reported by Andreas Jaeger.
3259 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
3260 pollute the namespace since the compiler will resolve it inline.
3261 Reported by Florian La Roche <florian@suse.de>.
3263 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
3265 * timezone/private.h: Update from tzcode1998g.
3267 * timezone/africa: Update from tzdata1998h.
3268 * timezone/asia: Likewise.
3269 * timezone/australasia: Likewise.
3270 * timezone/europe: Likewise.
3271 * timezone/northamerica: Likewise.
3272 * timezone/southamerica: Likewise.
3273 * timezone/zone.tab: Likewise.
3275 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3277 * misc/sys/mman.h: New file.
3279 * sysdeps/generic/bits/mman.h: New file.
3280 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3281 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3282 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3283 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3285 * sysdeps/generic/sys/mman.h: Removed.
3286 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3287 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3288 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3289 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3290 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3292 * include/sys/mman.h: Look directly for misc/sys/mman.h.
3293 * misc/Makefile (headers): Add bits/mman.h.
3294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3297 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3298 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3299 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3300 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3301 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3302 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3306 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3308 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3309 * sysdeps/mach/alpha/thread_state.h: Likewise.
3310 * sysdeps/mach/i386/sysdep.h: Likewise.
3311 * sysdeps/mach/i386/thread_state.h: Likewise.
3312 * sysdeps/mach/mips/sysdep.h: Likewise.
3313 * sysdeps/mach/mips/thread_state.h: Likewise.
3314 * sysdeps/posix/profil.c: Likewise.
3315 * sysdeps/i386/i586/memcopy.h: Likewise.
3316 * sysdeps/mach/pagecopy.h: Likewise.
3318 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3320 * libio/stdio.h: Define __need_getopt and include getopt.h to define
3322 * posix/unistd.h: Likewise.
3323 * stdio/stdio.h: Likewise.
3324 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
3325 define only getopt and the variables.
3327 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3329 * scripts/test-installation.pl (installation_problem): Don't link
3330 the test program against libdb1.
3332 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
3334 * Makeconfig (all-subdirs): Add db.
3335 * Versions.def: Add definition for libdb1.
3336 * shlib-versions: Add definitions for libdb1.
3337 * db/Makefile (extra-libs): Replace by libdb1.
3338 (libdb-routines): Rename to libdb1-routines.
3339 (headers): Rename to db1-headers.
3340 (distribute): Add $(db1-headers).
3341 (install-others): Define to install symlink libdb.so.NN and the
3343 (CPPFLAGS): Add -DUSE_LIBDB1
3344 Remove rules to build makedb.
3345 * db/Versions: Rename libdb to libdb1.
3346 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
3347 * db/makedb.c: Removed.
3349 * scripts/versions.awk: Recognize digits in library names.
3351 * db/btree/bt_open.c: Fix compiler warnings.
3352 * db/btree/bt_put.c: Likewise.
3353 * db/btree/bt_split.c: Likewise.
3354 * db/hash/hash.c: Likewise.
3355 * db/hash/hash_bigkey.c: Likewise.
3356 * db/recno/rec_close.c: Likewise.
3358 * Makefile: Add localedata/% goal.
3360 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3362 * posix/execvp.c: Don't give up searching the PATH if execve
3365 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
3367 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3368 if _dl_fpu_control_set is set.
3369 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3370 * elf/rtld.c: Don't define _dl_fpu_control_set.
3371 * elf/Versions: Remove _dl_fpu_control_set.
3373 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
3375 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3376 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3377 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3378 Correct values of other SA_* macros according to kernel headers.
3380 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3382 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3384 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3387 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3389 * elf/ldsodefs.h: Fix typo in comment.
3391 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3393 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3394 char when comparing buffer contents with putback character.
3396 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3398 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3400 * elf/Versions: Undo last change. Export _dl_fpu_control and
3401 _dl_fpu_control_set.
3402 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3403 variables. Include <fpu_control.h>.
3404 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3405 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3406 to indicate that is was seen.
3407 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3408 only if _dl_fpu_control was set and is equal to desired value.
3409 * math/Makefile (aux): Undo last change.
3410 * math/Versions: Export __fpu_control with version GLIBC_2.0.
3412 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3414 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3417 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
3419 * string/bits/string2.h: Add mempcpy optimization.
3420 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3421 * intl/localealias.c: Define mempcpy only if not already defined.
3423 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3426 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3428 * csu/abi-note.S: Emit the note directly instead of defining
3429 a preprocessor macro that's only used once. Don't include sysdep.h.
3430 * abi-tags: Generalize Solaris entry.
3432 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3434 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3435 Change to array to avoid runtime relocation.
3436 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3438 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3440 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3441 * math/Makefile ($(objpfx)libieee.a): Likewise.
3443 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
3445 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3446 Patch by John Tobey <jtobey@banta-im.com>.
3448 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
3450 * login/Makefile (distribute): Remove pty-internal.h, add
3453 * stdlib/tst-strtol.c: Add more checks.
3454 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3456 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
3458 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3459 * elf/elf.h: Add AT_FPUCW.
3460 * elf/Makefile (dl-routines): Add fpu_control.
3461 (elide-routines.os): Add fpu_control.
3462 (rtld-routines): Add fpu_control.
3463 * math/Makefile (aux): Remove fpu_control.
3464 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3465 (_dl_show_auxv): Likewise.
3466 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3467 if different from OS default.
3469 * stdio-common/tstscanf.c: Add test case for (nil).
3471 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
3473 * libio/fileops.c (_IO_new_file_underflow): Before allocating
3474 buffer make sure the pushback buffer is destroyed.
3475 (_IO_new_file_seekoff): Likewise.
3476 If mode==0 quit early with the result.
3477 Clear OEF flag after successful fseek.
3478 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3479 * libio/ftello.c (ftello): Add offset from original buffer if
3480 stream has pushed back characters.
3481 * libio/ftello64.c (ftello64): Likewise.
3482 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3483 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3484 * libio/ioftell.c (_IO_ftell): Likewise.
3485 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3487 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3488 (_IO_default_pbackfail): Only stored push back character in original
3489 buffer if it is the same as the one in the file at this position.
3490 * libio/iofclose.c: Free backup buffer if one is available.
3491 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3494 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3496 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3498 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3500 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
3502 * login/programs/pt_chown.c (more_help): Correct message that
3503 describes the purpose of the program.
3505 * login/openpty.c: Do not include pty-private.h.
3506 (pts_name): New function. Return name of slave pseudo terminal in
3507 an allocated buffer if necessary.
3508 (openpty): Use pts_name to get name of the slave end of the pseudo
3511 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3512 pts_name before return.
3514 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
3516 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3518 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3520 * login/openpty.c: Include pty-private.h instead of
3523 1998-09-09 Philip Blundell <pb@nexus.co.uk>
3525 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3527 1998-09-07 Philip Blundell <pb@nexus.co.uk>
3529 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3530 recent ld.so changes.
3531 (elf_machine_runtime_setup): Correct behaviour when profiling.
3533 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
3535 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3536 Patch by John Tobey <jtobey@banta-im.com>.
3538 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
3540 * login/pty-internal.h: Removed. Moved constants related to the
3541 `grantpt' helper program protocol to ...
3542 * login/pty-private.h: ... here. New file.
3543 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3544 to make the function work with kernels >= 2.1.115.
3545 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3546 version if using the cloning device fails.
3547 * sysdeps/unix/sysv/linux/grantpt.c: New file.
3548 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3549 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3550 use by Linux specific code.
3551 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3552 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
3553 function. (grantpt): Use pts_name, check group and permission
3554 mode in addition to owner. Try to set the owner, group and
3555 permission mode first without invoking the helper program.
3556 * login/programs/pt_chown.c: Largely rewritten. Add argp and
3557 internationalization support. Use symbolic constants instead of
3558 hardwired numbers for permission mode.
3559 * sysdeps/unix/bsd/ptsname.c: New file.
3561 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
3563 * posix/wordexp-test.c: Undo last change.
3565 * posix/wordexp.c: Undo last change.
3567 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
3569 * nscd/grpcache.c (save_grp): Partly undo last change.
3571 * nscd/pwdcache.c (save_pwd): Undo last change.
3573 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3575 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3576 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3578 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
3580 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3581 Add profiling support.
3582 (TRAMPOLINE_TEMPLATE): New macro.
3583 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3584 (RTLD_START): Prettify, and set __libc_stack_end properly.
3585 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3586 and check for sym being NULL instead.
3587 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3589 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3590 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3591 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3592 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3593 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3594 MEDANY code model %g4 usage.
3595 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3596 MEDANY code model %g4 usage.
3597 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3598 code model address formation.
3599 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3600 include elf/ldsodefs.h
3602 (elf_machine_matches_host): It is now EM_SPARCV9.
3603 (elf_machine_dynamic): Clean up to remove ugly cast.
3604 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3606 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3607 Prettify rest of function.
3608 [R_SPARC_COPY]: Check for sym being NULL.
3609 [R_SPARC_32]: Handle it.
3610 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3612 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3614 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3615 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3616 Add profiling support.
3617 (TRAMPOLINE_TEMPLATE): New macro.
3618 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3619 (RTLD_START): Prettify and set __libc_stack_end.
3620 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3622 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3623 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3624 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3625 unused variable scratch.
3626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3627 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3629 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3630 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
3631 old format kernel sigaction structures.
3632 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3634 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3637 (_JMPBUF_UNWINDS): Define.
3638 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3639 statfs64 structure, which is exactly the same as the normal one.
3640 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3641 of stack. Use correct syscall trap number. Add branch prediction
3642 settings to branch instructions. Remove old MEDANY code model %g4
3643 referneces for non-PIC.
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3645 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3650 __libc_longjmp and __libc_siglongjmp strong aliases.
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3652 Also define to __no__readdir64_decl around readdir.c inclusion.
3653 (__readdir64): Add strong alias.
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3655 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3656 Set strong and weak names properly.
3658 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3660 * manual/Makefile (AWK): Default to gawk if standalone.
3662 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3664 * Makefile (distribute): Undo last change.
3665 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3667 (+subdir-headers): Removed, unused.
3669 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3671 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3674 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3676 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3677 absolute name in $(config-sysdirs), can never happen.
3678 ($(+sysdir_pfx)sysd-rules): Likewise.
3679 * Makeconfig (full-config-sysdirs): Likewise.
3680 (all-Subdirs-files): Prepend $(..).
3682 * configure.in: Don't check for absolute name in $add_ons_pfx, can
3683 not happen. Let --enable-add-ons=yes work if no add-ons actually
3686 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3688 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3689 continuations in command.
3691 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3693 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3695 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
3697 * posix/wordexp-test.c: If expansion or substitution occurs
3698 anywhere in a word, the entire word is subject to field-splitting.
3700 * posix/wordexp.c (parse_glob): Look for end of word instead of
3701 end of field when deciding what to glob.
3702 (field_split_word): New function, now the only place where
3703 field-splitting is performed.
3704 (parse_dollars): New parameter - tell the caller if
3705 field-splitting should be performed on this word.
3707 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3708 succeeded (or failed with WRDE_NOSPACE).
3710 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
3712 * posix/wordexp.c (wordexp): Don't convert IFS characters to
3715 * posix/wordexp-test.c: Words not the result of expansion or
3716 substitution should remain unchanged.
3718 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
3720 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3721 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3723 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3725 * stdio-common/Makefile: Include Makeconfig so that
3726 $(inst_includedir) is defined.
3728 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3730 * io/pwd.c: Include <mcheck.h>.
3732 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
3734 * nscd/pwdcache.c (save_pwd): Correct copying.
3735 * nscd/grpcache.c (save_grp): Likewise.
3737 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
3739 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3740 (free_pwd): Adjust for this change.
3741 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3742 (free_grp): Adjust for this change.
3744 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
3746 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3748 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
3750 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3751 (install-others): Add bits/stdio_lim.h.
3752 Add rule to install bits/stdio_lim.h.
3754 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3756 * Makefile (distribute): Add include/sys/mman.h.
3758 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3759 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3760 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3762 * grp/initgroups.c: Include stdlib.h.
3763 Patch by Zack Weinberg.
3765 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
3767 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3768 for field-splitting :abc: is correct, and that two fields should
3769 result. Revert tests to reflect this.
3771 * posix/wordexp.c (w_emptyword): Remove function.
3772 (exec_comm): Don't use w_emptyword.
3773 (parse_param): Likewise.
3775 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
3777 * sysdeps/arm/fpu/Dist: Moved to...
3778 * sysdeps/arm/Dist: ...here.
3779 * sysdeps/posix/Dist: Removed.
3780 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3781 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3783 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3785 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3787 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
3789 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3791 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3793 * libc-work/nis/nss_nisplus/nisplus-service.c
3794 (_nss_nisplus_parse_servent): Convert port in network byte order.
3796 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3798 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3799 to provide only malloc and calloc.
3800 * include/stdlib.h: Support the above.
3801 * string/bits/string2.h: Use __need_malloc_and_calloc when
3803 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3805 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3806 * iconvdata/iso646.c: Include <stdlib.h>.
3808 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3810 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3811 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3812 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3813 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3815 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3817 * stdio-common/stdio_lim.h.in: New file. All parameters
3818 are adjustable at build time.
3819 * Rules: Add a rule to build bits/stdio_lim.h from
3820 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
3821 all subdirectories know how to make the file. It can't be
3822 in Makerules because then it gets built at top level and the
3823 dependencies are wrong.)
3825 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3826 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3828 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3829 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3830 * sysdeps/posix/Makefile: Removed.
3831 * sysdeps/posix/mk-stdiolim.c: Removed.
3832 * sysdeps/generic/bits/stdio_lim.h: Removed.
3834 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3836 * argp/argp-help.c: Fixup indentation.
3837 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3838 * resolv/nss_dns/dns-network.c: Likewise.
3839 * resolv/res_send.c: Likewise.
3840 * rt/aio_cancel.c: Likewise.
3841 * rt/aio_misc.c: Likewise.
3843 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3845 * Makefile (install-symbolic-link): Remove the link list file at last.
3846 * Makerules (install-clean-symbolic-link-list): Removed.
3848 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3850 * timezone/tst-timezone.c: Print time in UTC to get consistent
3853 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3855 * elf/rtld.c (_dl_rpath): Removed.
3856 * elf/dl-support.c (_dl_path): Removed.
3857 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3858 (CFLAGS-dl-support.c): Removed.
3860 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
3862 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3863 instead of appending it to the main map's rpath info.
3864 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3865 DT_RPATHs. This makes it effective again.
3866 (decompose_rpath): Remove second parameter, callers changed.
3867 (fillin_rpath): Allocate enough space in curwd.
3868 (expand_dynamic_string_token): Cope with get_origin returning -1.
3870 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3872 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3875 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3878 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
3880 * locale/programs/locale.c: Update dates.
3882 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
3884 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
3885 size_t is defined. Some reordering of definitions to make
3886 maintaining this file in parallel with the linux-specific file easier.
3888 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
3890 * io/pwd.c (main): Add call to mtrace.
3892 * malloc/mtrace.pl: Quote @ in string.
3894 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3896 * posix/wordexp.c (parse_arith): Fix memory leaks.
3897 (exec_comm): Likewise.
3898 (parse_param): Likewise.
3899 (wordexp): Likewise.
3900 (exec_comm): Reduce number of function return points.
3901 (parse_param): Likewise.
3902 (wordexp): Likewise.
3904 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3906 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3907 yield three fields, not two. Test both parameter expansion and
3908 command substitution for correct field-splitting behaviour.
3910 * posix/wordexp.c (w_emptyword): New function.
3911 (parse_param): Use it.
3912 (exec_comm): Likewise, for consistency with the way parse_param
3914 (parse_param): Fix some memory leaks.
3916 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
3918 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3919 Don't mark asm `volatile'.
3920 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3921 from the data cache too. Assume it isn't in the instruction cache yet.
3922 (__elf_machine_fixup_plt): Clear the modified address from the caches.
3924 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
3926 * sysdeps/generic/segfault.c (install_handler): Install signal
3927 handler with SA_ONSTACK instead of setting the stack flags to
3928 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
3931 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3933 * signal/signal.h: Fix multiple inclusion guard to cover the
3935 * wcsmbs/wchar.h: Remove prototype of internal function
3937 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3938 arithmetic on `void *'.
3940 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
3942 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
3944 * posix/wordexp.c (wordexp): Perform word-splitting instead of
3945 field-splitting here.
3946 (wordexp): If out of memory mid-word, free the word (but still
3947 leave pwordexp alone for caller to see).
3948 (parse_param): Allow for zero-length fields (smarter checking of
3949 memory allocation failure).
3950 (w_addword): Convert NULL words to "".
3951 (wordexp): Convert left-over IFS characters to blanks (like bash).
3953 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
3955 * configure.in: Use test -f instead of test -e.
3956 Patch by John Tobey <jtobey@banta-im.com>.
3958 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3959 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3960 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3961 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3962 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3963 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3964 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3965 Patches by John Tobey <jtobey@banta-im.com>.
3967 * time/strftime.c (my_strftime): Delay use of *tp values until
3968 latest possible point to allow partly initialized structures
3969 (e.g., from strptime).
3971 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3973 Define *-routines variables for new modules.
3974 (distribute): Add .c files for new modules.
3975 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3977 Add rules for header generation.
3978 * iconvdata/gconv-modules: Add entries for new modules.
3979 * iconvdata/iso_10367-box.c: New file.
3980 * iconvdata/mac-is.c: New file.
3981 * iconvdata/nats-dano.c: New file.
3982 * iconvdata/nats-sefi.c: New file.
3984 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
3986 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3987 loader if PIC is not defined.
3989 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
3991 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3992 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3993 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3995 Define *-routines variables for new modules.
3996 (distribute): Add .c files for new modules.
3997 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3998 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3999 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
4000 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
4001 Add rules for header generation.
4002 * iconvdata/gconv-modules: Add entries for new modules.
4003 * iconvdata/csn_369103.c: New file.
4004 * iconvdata/cwi.c: New file.
4005 * iconvdata/dec-mcs.c: New file.
4006 * iconvdata/ecma-cyrillic.c: New file.
4007 * iconvdata/gost_19768-74.c: New file.
4008 * iconvdata/greek-ccitt.c: New file.
4009 * iconvdata/greek7-old.c: New file.
4010 * iconvdata/greek7.c: New file.
4011 * iconvdata/inis-8.c: New file.
4012 * iconvdata/inis-cyrillic.c: New file.
4013 * iconvdata/inis.c: New file.
4014 * iconvdata/iso6937-2.c: New file.
4015 * iconvdata/iso_2033.c: New file.
4016 * iconvdata/iso_5427-ext.c: New file.
4017 * iconvdata/iso_5427.c: New file.
4018 * iconvdata/iso_5428.c: New file.
4020 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
4022 Convert U02dd correctly.
4024 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
4026 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
4027 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4028 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
4029 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
4031 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
4033 * resolv/res_init.c (res_init): Handle resolv.conf file with only
4034 one nameserver correctly. Patch by HJ Lu.
4036 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
4038 Define *-routines variables for new modules.
4039 (distribute): Add .c files for new modules.
4040 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
4041 Add rules for hedaer generation.
4042 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
4043 * iconvdata/ansi_x3.110.c: New file.
4044 * iconvdata/asmo_449.c: New file.
4045 * iconvdata/baltic.c: New file.
4046 * iconvdata/iec_p27-1.c: New file.
4048 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
4050 Convert U02dc correctly.
4052 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
4053 * math/atest-exp2.c: Likewise.
4054 * math/atest-sincos.c: Likewise.
4056 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
4059 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4061 * string/strcoll.c: Optimize a few expressions.
4062 * string/strxfrm.c: Likewise.
4064 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4066 * manual/locale.texi: Fix typos.
4068 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
4070 * stdlib/random_r.c (__setstate_r): Allow call with same state
4071 array as currently used (PR libc/774).
4073 * include/limits.h: Include gcc's header even if this file is
4074 found more than once before it (PR libc/778)
4076 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
4077 (sysdep_headers): Remove sys/debugreg.h.
4078 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
4079 (sysdep_headers): Add sys/debugreg.h.
4080 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4081 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4083 * stdio-common/tmpnam.c: Move local static variable buf to
4084 toplevel and rename to tmpnam_buffer to ease debugging.
4085 Patch by Joe Keane <jgk@jgk.org>.
4086 Optimize s == NULL case a bit.
4088 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4091 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
4093 * resolv/res_init.c (res_init): Initialize _res.nscount and
4094 _res.nsaddr.sin_port differently for the can when no loopback
4095 is available to allow immediate timeout in non-networking environments.
4096 Patch by Cristian Gafton <gafton@redhat.com>.
4098 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4100 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4101 BAR and not EM DASH.
4102 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4103 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4106 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
4108 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4110 * timezone/tst-timezone.c (tests): Fix typo in last patch.
4112 * time/tzfile.c (__tzfile_read): Handle case when there are no
4113 transitions. Set __timezone based on computed offset.
4114 * time/tzset.c (tzset_internal): Set __timezone before returning.
4116 * time/tzset.c (tzset_internal): Optimize handling of local string
4119 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4121 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4124 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4126 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4127 (csqrt_test): Likewise.
4128 * sysdeps/powerpc/bits/fenv.h: Add parens.
4130 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
4132 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4133 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4134 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4136 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
4138 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4139 the special `-1' pointer.
4141 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
4143 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4146 1998-09-07 Paul Eggert <eggert@twinsun.com>
4148 * time/mktime.c (__EXTENSIONS__): Define if not defined.
4149 (_REENTRANT): Remove. It has undesirable consequences in
4150 Solaris 2.6 (e.g. it turns off the putc macro). Defining
4151 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
4153 * time/strftime.c: Likewise.
4155 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4157 * elf/dl-error.c: Fix spelling.
4159 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4161 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
4162 * stdio-common/_itoa.c: Likewise.
4163 * stdio-common/printf_fp.c: Likewise.
4164 * stdio-common/vfscanf.c: Likewise.
4165 * wcsmbs/wcstok.c: Likewise.
4166 * sysdeps/generic/glob.c: Likewise.
4167 * posix/getopt.c: Likewise.
4168 * sysdeps/posix/getaddrinfo.c: Likewise.
4169 * posix/wordexp.c: Likewise.
4170 * io/ftw.c: Likewise.
4171 * io/fts.c: Likewise.
4172 * misc/getpass.c: Likewise.
4173 * iconv/gconv_conf.c: Likewise.
4174 * argp/argp-fmtstream.c: Likewise.
4175 * argp/argp-help.c: Likewise.
4176 * elf/dl-load.c: Likewise.
4177 * locale/programs/stringtrans.c: Likewise.
4178 * catgets/gencat.c: Likewise.
4179 * posix/getconf.c: Likewise.
4180 * iconv/gconv_conf.c: Likewise.
4181 * iconv/iconv_prog.c: Likewise.
4183 * string/strcoll.c: Optimize a few expressions.
4184 * string/strxfrm.c: Likewise.
4186 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4188 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
4189 level to avoid uninit variable warning.
4191 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4193 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
4194 instead of _dl_default_scope[2] as argument to _dl_init_next.
4196 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
4199 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
4201 Fix compatibility problems introduced in last change.
4202 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
4204 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
4205 -DWEAK_GMON_START to CFLAGS-initfini.s.
4207 * elf/dl-object.c (_dl_new_object): Store map address in
4208 _dl_loaded if _dl_loaded is NULL.
4209 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
4211 * sysdeps/generic/setrlimit64.c: Remove stub warning.
4213 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
4215 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
4217 * db2/btree/bt_cursor.c: Likewise.
4218 * db2/common/db_region.db_c: Likewise.
4219 * db2/common/db_salloc.db_c: Likewise.
4220 * db2/db/db.c: Likewise.
4221 * db2/db/db_rec.c: Likewise.
4222 * db2/hash/hash.c: Likewise.
4223 * db2/hash/hash_page.c: Likewise.
4224 * db2/hash/hash_rec.c: Likewise.
4225 * db2/log/log_findckp.c: Likewise.
4226 * db2/log/log_get.c: Likewise.
4227 * db2/log/log_put.c: Likewise.
4228 * db2/mp/mp_fget.c: Likewise.
4229 * db2/mp/mp_fput.c: Likewise.
4230 * db2/mp/mp_region.c: Likewise.
4231 * stdlib/strtol.c: Likewise.
4232 * string/strcoll.c: Likewise.
4233 * string/strxfrm.c: Likewise.
4234 * argp/argp-help.c: Likewise.