1 1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
3 * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
4 and `struct ucred' #ifndef SCM_CREDENTIALS.
6 * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
7 `__errno_location ()'; means the same, works for Hurd.
9 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
11 1998-12-18 Ulrich Drepper <drepper@cygnus.com>
13 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
14 features.h and stddef.h.
15 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
16 sigaltstack): Move ss_size field at the end.
17 Patches by Jeff Bailey <jbailey@nisa.net>.
19 * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
22 * manual/texinfo.tex: Update to latest version.
24 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
25 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
26 Patch by Cristian Gafton <gafton@redhat.com>.
28 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
30 * iconvdata/gconv-modules: Add remaining aliases from Internet
33 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
34 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
35 (detect_conflict): New function.
36 (add_alias): Call detect_conflict to see whether there is already
37 a module for the new name.
38 (add_module): Make sure there is no alias for the new name.
39 (read_conf_file): Call add_alias with new argument.
40 (__gconv_read_conf): Don't destroy module tree immediately after
41 walking it. We need it to test the internal conversions for
43 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
44 regular expression. There is now room in the module descriptor.
45 (free_mem): Don't free memory for regular expression.
47 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
50 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
51 * libio/oldtmpfile.c: Likewise.
52 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
53 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
55 * iconvdata/iso646.c (gconv_init): Return correct error value if we
57 * iconvdata/iso-2022-jp.c: Likewise.
59 * iconv/gconv_db.c (gen_steps): Respect error return value from
60 init functions and abort.
62 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
64 1998-12-17 H.J. Lu <hjl@gnu.org>
66 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
67 (xdr_destroy): Likewise.
69 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
71 * login/login.c: Determine pts/3 as terminal name if path is
72 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
74 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
76 * sysdeps/posix/tempname.c (__path_search): Add casts for format
79 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
81 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
83 (IXDR_PUT_INT32): Fully parenthesize parameters.
84 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
85 parenthesize parameter.
87 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
89 * iconvdata/gconv-modules: Add some of the charset name aliases
90 used in Internet standards.
92 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
94 * version.h (VERSION): Bump to 2.0.107.
96 * sysdeps/i386/i486/bits/string.h: Pretty printing.
98 1998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
100 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
101 patch from 1998-12-01.
103 1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
105 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
106 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
107 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
109 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
111 * iconvdata/ibm866.c: New file.
112 * iconvdata/cp1258.c: New file.
113 * iconvdata/cp1258.h: New file.
114 * iconvdata/mac-uk.c: New file.
115 * iconvdata/gconv-modules: Add rules for new modules.
116 * iconvdata/Makefile: Likewise.
118 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
119 * include/bits/ipc.h: ..here. New file.
121 1998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
123 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
124 read-only struct termios_p* but change k_termios member directly.
126 1998-12-15 H.J. Lu <hjl@gnu.org>
128 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
131 1998-12-15 Ulrich Drepper <drepper@cygnus.com>
133 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
134 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
135 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
136 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
137 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
138 * sysdeps/unix/sysv/linux/semget.c: Likewise.
139 * sysdeps/unix/sysv/linux/semop.c: Likewise.
140 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
141 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
142 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
143 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
144 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
145 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
147 * time/strftime.c: Remove 'f' format.
149 * time/strptime.c (get_number): Ignore trailing whitespace.
150 (strptime_internal): Handle 'F' and 'k' formats.
152 * sysdeps/posix/tempname.c (__path_search): Add second part of the
153 patch by Andreas Jaeger.
155 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
157 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
158 warnings about unused args. Fix comment.
160 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
162 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
164 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
166 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
168 (IXDR_PUT_INT32): Likewise for writing.
169 Patch by Bruce Elliott <bde@nwlink.com>.
171 1998-12-08 H.J. Lu <hjl@gnu.org>
173 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
174 the IBAUD0 bit in c_iflag.
176 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
177 the IBAUD0 bit in c_iflag.
179 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
181 * time/Makefile (tests): Add tst-strptime.
182 * time/tst-strptime.c: New file.
183 * time/strptime.c: Correct bugs in weekday and yearday computation.
185 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
187 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
188 any of tm_year, tm_mon, or tm_mday was changed and the value
189 itself wasn't specified.
191 * include/stdio.h: Add new parameter to __path_search.
192 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
193 * stdio-common/tmpfile.c: Likewise.
194 * stdio-common/tmpfile64.c: Likewise.
195 * stdio-common/tmpnam.c: Likewise.
196 * stdio-common/tmpnam_r.c: Likewise.
197 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
198 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
199 consider TMPDIR environment variable and dir parameter. Otherwise not.
200 * stdio-common/Makefile (tests): Add tst-tmpnam.
201 * stdio-common/tst-tmpnam.c: New file.
203 * po/es.po: Update from translation team.
205 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
207 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
208 and inhibit_timezone_rules instead of no_deps.
209 * Make-dist: Pass inhibit_timezone_rules=t when making
212 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
214 * manual/Makefile (distribute): Remove dir-add.texinfo.
216 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
219 1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
221 * manual/Makefile (stamp-summary): Use ^L as separator for
223 * manual/arith.texi: Add comments before all @deffoox lines to get
224 them added to the summary.
225 * manual/creature.texi: Likewise.
226 * manual/math.texi: Likewise.
228 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
230 * math/libm-test.c: Remove macro ISINF. Change all usages of
233 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
235 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
236 * sysdeps/unix/grantpt.c: Likewise.
237 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
238 * sysvipc/ftok.c: Likewise.
239 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
241 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
242 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
243 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
245 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
247 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
249 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
251 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
252 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
253 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
254 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
255 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
257 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
259 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
260 (svcudp_recv): Likewise.
262 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
264 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
265 NSS error codes to avoid endless loops.
267 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
269 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
270 aliases for ISO-8859-14.
272 1998-12-12 Geoff Keating <geoffk@ozemail.com.au>
274 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
277 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
279 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
280 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
281 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
282 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
283 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
284 * iconvdata/gconv-modules: Add rules for new modules.
285 * iconvdata/Makefile: Likewise.
287 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
289 * stdio-common/printf_fp.c: #ifdef out long double handling code if
290 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
291 * stdio-common/printf_fphex.c: Likewise.
292 * stdio-common/printf-size.c: Likewise.
294 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
296 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
297 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
299 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
301 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
302 static inline, not extern inline.
303 (elf_machine_dynamic): Likewise.
304 (elf_machine_lazy_rel): Likewise.
305 (elf_machine_plt_value): Likewise.
306 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
308 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
310 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
311 type. Reported by job bogan <job@piquin.uchicago.edu>.
313 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
316 1998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
318 * inet/netinet/in.h: Change obsolete structure member
319 ipv6mr_ifindex to new ipv6mr_interface.
321 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
323 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
324 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
325 due to its big endian floating point format.
326 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
327 * sysdeps/ieee754/mpn2dbl.c: Likewise.
328 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
329 * sysdeps/ieee754/mpn2flt.c: Likewise.
330 Patch by Scott Bambrough <scottb@corelcomputer.com>.
332 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
334 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
336 * posix/PTESTS: Fix typo.
338 * po/es.po: Update from translation team.
339 * po/fr.po: Likewise.
341 1998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
343 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
345 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
347 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
348 it can find the preprocessor.
350 1998-12-09 Geoff Keating <geoffk@ozemail.com.au>
352 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
354 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
357 like linux/sys/procfs.h but uses uid_t and gid_t.
358 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
359 don't include <linux/ptrace.h>.
361 1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
363 * posix/runptests.c (main): Check that regcomp did not succeed
365 * posix/runtests.c (run_a_test): Likewise. Return appropriate
367 * posix/TESTS: Regexp "a[b-a]" should not compile.
368 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
371 1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
373 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
374 there is no codeset name.
375 * locale/programs/ld-collate.c (collate_output): Don't crash if a
376 character has no weight.
378 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
380 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
381 strcasecmp, not strcmp. [PR libc/894].
383 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
385 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
388 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
390 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
392 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
393 prototype for __gethostbyname_r.
395 * include/time.h: Add declarations of internal interfaces.
397 * time/tzset.c: Remove declarations of internal interfaces.
398 * time/gmtime.c: Likewise.
399 * time/localtime.c: Likewise.
400 * time/offtime.c: Likewise.
401 * time/tzfile.c: Likewise.
403 1998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
405 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
406 user-space-relevant definitions from linux/timex.h of kernel
407 2.1.130 and remove include of kernel header.
409 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
411 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
413 * posix/regex.c: Get regex.h from system path, not from local
416 * posix/regex.h: Move internal interfaces to ...
417 * include/regex.h: ...here.
419 * posix/unistd.h: Move internal interfaces to ...
420 * include/unistd.h: ...here.
422 * math/math.h: Move internal interfaces to ...
423 * include/math.h: ...here.
425 * posix/glob.h: Move internal interfaces to ...
426 * include/glob.h: ...here.
428 * string/string.h: Move internal interfaces to ...
429 * include/string.h: ...here.
431 * time/sys/time.h: Move internal interfaces to ...
432 * include/sys/time.h: ...here.
434 * resolv/netdb.h: Move internal interfaces to ...
435 * include/netdb.h: ...here.
437 1998-12-08 Ulrich Drepper <drepper@cygnus.com>
439 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
441 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
442 Fix various bugs in conversion routine.
443 * iconvdata/jis0201.h: Correct variable name.
444 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
446 * iconvdata/jis0208.h: Likewise.
447 * iconvdata/jis0212.c: Likewise.
448 * iconvdata/sjis.c: Likewise.
449 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
451 1998-12-07 Ulrich Drepper <drepper@cygnus.com>
453 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
454 set in c_iflag if cfsetispeed is call with SPEED set to zero.
455 (cfgetispeed): Return zero if prior if IBAUD0 is set.
456 (cfsetospeed): Clear IBAUD0 bit.
457 (cfgetispeed): Set IBAUD0 bit if necessary.
458 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
459 the IBAUD0 bit in c_iflag when making the system call.
460 Work around a Linux kernel bug which silently changes the
461 PARENB/CREAD/CSIZE bits in c_cflag on pty.
462 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
463 function. Don't set speed is SPEED parameter is zero since this
464 means set it to the output speed.
465 Based on a patch by H.J. Lu <hjl@gnu.org>.
467 * version.h (VERSION): Bump to 2.0.106.
469 * Makeconfig (link-libc-static): Don't use link-libc since this
470 includes the shared object. Use gnulib only.
472 * configure.in: Disable --disable-static.
474 1998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
476 * po/de.po: Update from translation team.
477 * po/ko.po: Likewise.
479 1998-12-07 Richard Henderson <rth@cygnus.com>
481 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
484 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
486 * sysdeps/mach/hurd/pselect.c: New file.
488 * sysdeps/mach/hurd/poll.c: New file.
490 * hurd/Makefile (routines): Add hurdselect.
491 * hurd/hurdselect.c: New file.
492 (_hurd_select): New function, guts taken from ...
493 * sysdeps/mach/hurd/select.c (__select): ... here.
494 Now work by just calling _hurd_select.
495 * hurd/hurd/fd.h: Declare _hurd_select.
497 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
499 * time/strptime.c: Fix unterminated comment in last change.
501 1998-12-05 Ulrich Drepper <drepper@cygnus.com>
503 * ctype/ctype.h (_ISbit): Protect use of parameter with
505 * wctype/wctype.h (_ISwbit): Likewise.
507 * locale/Versions: Make experimental locale interface available in
510 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
511 without leading __ only for __USE_GNU.
512 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
514 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
516 * argp/argp.h: Add __restrict.
517 * dirent/dirent.h: Likewise.
518 * elf/dlfcn.h: Likewise.
519 * grp/grp.h: Likewise.
520 * iconv/iconv.h: Likewise.
521 * inet/aliases.h: Likewise.
522 * libio/libio.h: Likewise.
523 * libio/stdio.h: Likewise.
524 * locale/locale.h: Likewise.
525 * misc/mntent.h: Likewise.
526 * posix/wordexp.h: Likewise.
527 * pwd/pwd.h: Likewise.
528 * resolv/netdb.h: Likewise.
529 * rt/aio.h: Likewise.
530 * stdio-common/printf.h: Likewise.
531 * stdlib/monetary.h: Likewise.
532 * stdlib/stdlib.h: Likewise.
533 * string/argz.h: Likewise.
534 * string/envz.h: Likewise.
535 * string/string.h: Likewise.
536 * time/time.h: Likewise.
538 1998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
540 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
541 defined. gcc's redundant include optimizer isn't clever enough to
542 prevent a reinclusion here.
543 Define __restrict to the empty string only if not GCC or
544 GCC version less than 2.92.
546 1998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
548 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
550 1998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
552 * time/strptime.c (strptime_internal): Make use of `%C' format
553 specifier if it is seen together with the `%y' specifier.
555 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
557 * po/sk.po: New file.
559 1998-12-03 Scott Bambrough <scottb@corelcomputer.com>
561 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
562 for _dl_main_searchlist passed to _dl_init_next.
564 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
566 * math/libm-test.c: Expand literal tabs in strings. Normalize
569 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
571 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
573 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
575 Provide backwards binary compatibility for the Hurd.
576 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
578 * hurd/Versions [GLIBC_2.0]: Add __getuids,
579 __hurd_file_name_lookup and _hurd_umask.
580 [GLIBC_2.1]: Add _hurd_proc_init.
581 * hurd/Makefile [versioning] (routines): Add compat-20.
582 (shared-only-routines): Likewise.
583 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
584 _hurd_proc_init. Use it as the default _hurd_proc_init version
586 * hurd/compat-20.c: New file.
587 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
589 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
591 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
593 1998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
595 * inet/Versions: Remove inet6_isipv4mapped.
597 1998-12-02 Philip Blundell <pb@nexus.co.uk>
599 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
601 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
603 * manual/time.texi (Formatting Date and Time): Fix typo.
605 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
607 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
608 when configuring natively. Use autoconf macros instead of rolling
609 our own. Handle defaulted prefix.
611 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
613 * version.h (VERSION): Bump to 2.0.105.
615 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
617 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
619 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
621 1998-11-29 1998 H.J. Lu <hjl@gnu.org>
623 * libio/genops.c (_IO_unbuffer_write): Renamed from
625 (_IO_cleanup): Call _IO_unbuffer_write instead of
628 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
630 * intl/localealias.c: Use *_unlocked version of stdio function if
631 _LIBC_REENTRANT is defined, not _LIBC.
633 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
635 * include/grp.h: Add prototypes for internal functions
636 __getgrgid_r and __getgrnam_r.
638 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
640 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
641 inet_nsap_ntoa prototypes.
643 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
645 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
646 to gcc to have it find the correct system header.
647 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
649 * Makefile (postclean): Add sysd-sorted.
650 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
652 1998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
654 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
655 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
656 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
657 conflicts with new solaris version.
658 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
659 doesn't zero allocated memory).
660 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
661 conflicts with xdr functions. Solves PR libc/877.
662 * nis/rpcsvc/nis.x: Use always uint32_t.
663 * nis/rpcsvc/nis.h: Likewise.
664 * nis/rpcsvc/nis_object.x: Likewise.
666 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
668 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
670 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
671 parameter. Patch by Christian Gafton.
673 * string/envz.h: Add prototype for envz_remove.
674 Reported by Andreas Jaeger.
676 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
678 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
679 __spin_lock_init, __mutex_lock, __mutex_trylock,
681 Remove get_priviliged_ports. Moved to hurd/Versions.
683 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
684 brk implementation see the end of the data segment of the program
685 instead of the shared library.
686 Add __hurd_errno_location. This inline function is used in user
688 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
689 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
690 _hurd_port_locked_get. These inline functions are used by macros
691 used in mail.local in the Hurd distribution.
692 Add get_privileged_ports. Moved here from mach/Versions.
693 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
694 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
695 not used outside libc.
697 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
699 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
702 1998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
704 * sunrpc/Makefile: Add xdr_intXX_t to routines.
705 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
707 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
708 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
709 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
712 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
714 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
716 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
718 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
719 undefine errno to get variable.
721 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
722 instead of <unistd.h> for prototype.
723 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
725 1998-11-30 Ulrich Drepper <drepper@cygnus.com>
727 * misc/err.h: Correct comments and use protected attribute keywords.
728 Reported by Joseph Myers <jsm28@cam.ac.uk>.
730 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
732 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
733 remove tsd stuff from pthreads/cthreads libc sections.
734 Use __libc_tsd_define for MALLOC key.
735 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
737 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
739 * elf/dl-error.c: Include <bits/libc-tsd.h>.
740 Use __libc_tsd_define for DL_ERROR key.
741 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
743 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
744 * sysdeps/generic/bits/libc-tsd.h: New file.
745 * Makefile (distribute): Add bits/libc-tsd.h.
747 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
749 * elf/dl-error.c: Remove kludge to check for ld.so load address.
750 There is no need if weak undefined symbols are not used in ld.so;
751 see linuxthreads/ChangeLog for changes to files
752 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
753 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
755 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
757 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
759 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
761 * sysdeps/i386/bits/string.h: Likewise.
763 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
765 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
767 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
769 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
771 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
773 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
774 __hurd_threadvar_max. Add comment explaining why we define
775 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
777 1998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
779 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
780 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
781 prevent inclusion of Hurd signal handling code.
782 (__libc_write): New function.
783 (_dl_sysdep_output): Removed. The implementation in
784 `elf/dl-misc.c' now also works for the Hurd.
786 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
788 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
789 does not use any of malloc/realloc/free anymore. Include
790 set-hooks.h with <> instead of "".
792 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
794 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
795 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
796 * sunrpc/clnt_unix.c (__msgread): Likewise.
798 1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
800 * hurd/setuids.c: Renamed to ...
801 * hurd/seteuids.c: this.
802 (setuids): Renamed to seteuids.
803 * hurd/getuids.c: Renamed to ...
804 * hurd/geteuids.c: this.
805 (__getuids): Renamed to geteuids, no aliases.
806 * hurd/hurd.h (geteuids, seteuids): Declare them.
807 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
808 * hurd/Makefile (routines): Updated.
810 1998-11-29 Ulrich Drepper <drepper@cygnus.com>
812 * sysdeps/generic/segfault.c (install_handler): Correct test for
813 SEGFAULT_HANDLER=all.
814 Patch by Zack Weinberg.
816 1998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
818 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
819 $prefix/include that may be clobbered on installation.
821 1998-11-27 Philip Blundell <pb@nexus.co.uk>
823 Fixes to allow compilation with static NSS:
824 * nss/Makefile: Make explicit the dependency of getent on
826 [build_static_nss]: Define $(otherlibs) appropriately.
827 * nss/Depend: Add a dependency on `resolv'.
829 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
831 Partial support for MIPS ISO C 9x exception handling:
832 * sysdeps/mips/fclrexcpt.c: New file.
833 * sysdeps/mips/ftestexcept.c: New file.
834 * sysdeps/mips/fgetexcptflg.c: New file.
835 * sysdeps/mips/fesetround.c: New file.
836 * sysdeps/mips/fegetround.c: New file.
837 * sysdeps/mips/fegetenv.c: New file.
838 * sysdeps/mips/fesetenv.c: New file.
839 * sysdeps/mips/feupdateenv.c: Likewise.
840 * sysdeps/mips/bits/fenv.h: New file.
842 1998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
844 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
845 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
846 in sync with linux specific version.
848 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
850 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
853 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
854 of calling __syscall_*.
855 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
857 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
859 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
860 constants, correct values according to Linux 2.1.130.
862 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
863 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
864 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
865 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
867 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
870 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
872 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
874 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
876 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
878 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
879 message, change name of include protection, remove inclusion of
882 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
883 (old_kernel_sigaction): Define.
884 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
886 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
887 the general linux version.
888 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
890 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
892 1998-09-03 Philip Blundell <pb@nexus.co.uk>
894 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
896 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
898 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
899 <bits/endian.h>, make it the same as __BYTE_ORDER.
901 1998-11-27 Ulrich Drepper <drepper@cygnus.com>
903 * math/math.h: Avoid using long double functions in generic macros
904 if __NO_LONG_DOUBLE_MATH.
906 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
907 during bootstrapping.
908 * scripts/config.sub: Add Netwinder specific matches.
909 Patch by Scott Bambrough <scottb@corelcomputer.com>.
911 1998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
913 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
915 ($(common-objpfx)sysd-sorted): Likewise.
917 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
919 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
920 local variables t1,t2 only if needed.
922 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
924 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
925 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
927 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
930 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
932 * math/math.h: Add brace to correct #if expression.
934 1998-11-26 Philip Blundell <philb@gnu.org>
936 Undo change of 1998-11-12:
937 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
940 * sysdeps/unix/sysv/linux/Dist: Likewise.
942 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
944 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
946 1998-11-26 Ulrich Drepper <drepper@cygnus.com>
948 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
949 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
950 Don't modify _dl_global_scope_end in the end.
951 (__dl_runtime_resolv): Also use scope from the map.
952 * sysdeps/mips/mips64/dl-machine.h: Likewise.
953 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
954 ELF_MACHINE_NO_PLT is defined.
955 * sysdeps/mips/sys/ucontext.h: New file.
956 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
958 1998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
960 * sysdeps/generic/pselect.c (__pselect): Change interface,
963 * misc/sys/select.h: Change declaration according to Stevens' Unix
965 * include/sys/select.h (__pselect): Likewise.
966 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
968 * include/fpu_control.h: New file, contains __setfpucw
971 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
972 it's an internal symbol.
973 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
974 * sysdeps/arm/fpu/fpu_control.h: Likewise.
975 * sysdeps/i386/fpu_control.h: Likewise.
976 * sysdeps/m68k/fpu_control.h: Likewise.
977 * sysdeps/powerpc/fpu_control.h: Likewise.
978 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
979 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
981 1998-11-25 Ulrich Drepper <drepper@cygnus.com>
983 * version.h (VERSION): Bump to 2.0.104.
985 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
987 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
990 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
992 * time/tzfile.c (__tzfile_read): Fix comment.
994 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
996 * Makerules (build-shlib): Pass -O1 down to linker to get
997 optimized shared libraries.
999 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1001 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
1002 file. Strip "-" from inhibited subdir name. Combine into a
1004 ($(common-objpfx)sysd-sorted): Fix sed command.
1006 1998-11-25 Roland McGrath <roland@baalperazim.frob.com>
1008 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
1009 Use constant _HURD_THREADVARS_MAX for temporary array size.
1011 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
1012 s separator, since $(..) might contain a /.
1014 1998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1016 * configure.in (mips): Fix typo (Replace ,, by ;;).
1018 * libio/Versions: Clean up entries.
1020 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
1022 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
1025 1998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1027 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
1028 many differences between the Linux 2.0 and 2.1 versions of this
1029 file and it's too difficult to convert all calls. The file should
1030 only be needed by the ipfw program which has to take care of the
1031 correct kernel version and include files.
1033 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1036 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
1038 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1039 Patch by Zack Weinberg.
1041 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
1043 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1044 __USE_ISOC9X is defined. Provide rint optimization.
1046 1998-11-21 H.J. Lu <hjl@gnu.org>
1048 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1049 popen, pclose): Add to GLIBC_2.1.
1051 * libio/Makefile (routines): Add oldiopopen and oldpclose.
1052 (shared-only-routines): Likewise.
1054 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1055 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1056 _IO_proc_close): Likewise.
1058 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1059 __old_pclose): New prototypes.
1061 * libio/libioP.h (_IO_new_file_jumps): Removed.
1062 (_IO_old_proc_jumps): Added.
1063 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1065 * libio/oldiopopen.c: New file.
1067 * libio/oldpclose.c: New file.
1069 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1071 * nss/Makefile: Build and install getent.
1072 * nss/getent.c: New, get entries from administrative database.
1074 1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
1076 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1077 for the per-thread variables of the main user thread to make it
1078 possible to use malloc as soon as _hurd_preinit_hook has been run.
1079 For cthreads, copy values to new stack from there.
1080 For non-cthreads, malloc threadvar array here and copy from temp space.
1081 (init1): No longer initialize threadvars here.
1082 (doinit1): Made static void at top level.
1083 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1084 inline a function that uses dynamic auto arrays.
1086 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1088 * version.h (VERSION): Bump to 2.0.103.
1090 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1092 * configure.in: Don't define AR and RANLIB here.
1094 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1095 host name res_hconf code.
1096 * inet/gethstbynm_r.c: Likewise.
1097 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1098 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1099 defined execute the code.
1100 * resolv/Makefile (routines): Add res_hconf.
1101 (headers): Add res_hconf.h.
1102 * resolv/res_hconf.c: Pretty print.
1103 * resolv/res_hconf.h: Likewise.
1105 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1107 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1108 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1110 1998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1112 * math/libm-test.c: Raise some epsilons a bit.
1114 1998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1116 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1118 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1120 * Makefile (distribute): Add scripts/gen-sorted.awk.
1122 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1124 * posix/regex.c (regex_compile): Handle extra long class names
1127 1998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1129 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1132 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1134 * misc/error.c: Undo last change.
1136 * ctype/Versions: Add _tolower and _toupper.
1138 1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1140 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1143 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1145 * Makeconfig: Add comment to all-subdirs definition.
1146 Add rule to generate sysd-sorted. Include this file and and set
1147 subdirs value to $(sorted-subdirs).
1148 * scripts/gen-sorted.awk: New file.
1149 * Make-dist (+tsrcs): Add Depend.
1150 * nscd/Depend: New file.
1151 * nss/Depend: New file.
1152 * rt/Depend: New file.
1154 1998-11-18 Ulrich Drepper <drepper@cygnus.com>
1156 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1157 passed file descriptor exceeds the size determined by
1160 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1161 from inline version in bits/socket.h.
1163 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1164 inline function only is __USE_EXTERN_INLINES is defined.
1166 * time/strftime.c (my_strftime): Make code a bit clearer.
1167 Patch by Paul Eggert <eggert@twinsun.com>.
1169 * io/Makefile (CFLAGS-ftw.c): Removed.
1171 * manual/errno.texi: Change the short text for ENODEV to
1174 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1176 * io/Makefile (tests): Make sure that the test program has an
1177 explicit directory part.
1179 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1181 * configure.in: Fix last change.
1183 1998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1185 * sunrpc/Makefile (routines): Add create_xid.
1187 * sunrpc/clnt_tcp.c: Use non-guessable xid.
1188 * sunrpc/clnt_udp.c: Likewise.
1189 * sunrpc/clnt_unix.c: Likewise.
1190 * sunrpc/pmap_rmt.c: Likewise.
1191 * sunrpc/create_xid.c: New, create non-guessable xid.
1193 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1195 * sunrpc/svc_unix.c: Use poll instead of select.
1197 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
1199 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
1200 by removing SIG_IGN handler for SIGCHLD if necessary.
1201 Patch by H.J. Lu <hjl@lucon.org>.
1203 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1204 of denormalized numbers.
1206 1998-10-06 Geoff Keating <geoffk@ozemail.com.au>
1208 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1209 another parentheses warning, make nano-optimisation.
1211 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1212 saved LR on stack so _mcount works.
1213 (_dl_prof_resolve): Likewise.
1214 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
1215 signal handler calling convention.
1216 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1217 correct signal handler calling convention---more like x86 linux and
1218 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1220 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
1222 * configure.in: Correct allowed makeinfo version.
1224 1998-11-17 Philip Blundell <pb@nexus.co.uk>
1226 * sysdeps/generic/bits/mathdef.h: Fix typo.
1228 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1230 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1231 under the right name (squish warning).
1232 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1234 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1236 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1239 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1241 * intl/locale.alias: Change `japanese' alias to match X11R6's.
1242 Add `japanese.euc' alias.
1244 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1245 before running makeinfo.
1247 * math/Makefile (libm-routines): $(strip) entire value.
1249 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1251 1998-10-24 H.J. Lu <hjl@gnu.org>
1253 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1254 (_IO_cookie_file): Likewise.
1256 1998-11-16 Philip Blundell <philb@gnu.org>
1258 * inet/netinet/icmp6.h: Correct naming of constants.
1260 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1262 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
1263 zero value as uninitialized so that variable can go into .bss.
1265 * dirent/opendir-tst1.c: Print error strings to stdout.
1267 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
1268 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1269 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1270 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1271 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1273 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1275 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1278 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1280 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1281 (fwrite_unlocked): Likewise.
1283 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1285 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1286 twice. Don't bother handling zero size.
1287 (fwrite_unlocked): Likewise.
1289 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1291 * configure.in: Fix regex for makeinfo version string.
1293 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1295 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1297 * sunrpc/rpc_svcout.c (write_program): Likewise.
1299 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1301 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1303 1998-11-16 Ulrich Drepper <drepper@cygnus.com
1305 * misc/sys/mman.h: Pretty print prototypes.
1307 1998-11-15 Ulrich Drepper <drepper@cygnus.com
1309 * misc/error.c (error): Don't use result of strerror_r call directly
1310 since at least DEC Unix has a wrong return type.
1311 Patch by Johan Danielsson <joda@pdc.kth.se>.
1313 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1315 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1318 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1320 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
1323 * version.h (VERSION): Bump to 2.0.102.
1325 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1327 * stdio-common/scanf7.c (main): Likewise.
1329 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1331 * stdio-common/vfscanf.c: Return EOF for invalid format
1334 * version.h (VERSION): Bump to 2.0.101.
1336 * Makerules (Versions.all): Generate this file from all Versions.def
1338 (sysd-versions): Use Versions.all instead of Versions.def.
1340 1998-11-13 Philip Blundell <philb@gnu.org>
1342 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1343 Reported by Scott Bambrough.
1345 1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1347 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1349 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1351 * libio/bits/stdio.h: Correct and improve fread_unlocked and
1352 fwrite_unlocked optimizations.
1354 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1355 in time not to last entries in the file.
1356 (__tzfile_compute): Likewise. Fix for PR libc/863.
1358 * timezone/Makefile: Generate GB timezone data for test.
1359 * timezone/tst-timezone.c: More tests for DST switching time (disabled
1362 1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1364 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1365 d0 from clobber list.
1367 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1369 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1371 * libio/Makefile (headers): Add bits/stdio.h.
1372 * libio/iofread_u.c: Undefine fread_unlocked before definition.
1373 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1374 * libio/stdio.h: Move optimizations into ...
1375 * libio/bits/stdio.h: ...here. New file.
1377 * libio/iofread.c: Pretty print.
1379 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
1381 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1382 __exit_status with `__'. Rename pad member of struct utmpx to
1384 (RUN_LVL): Define unconditionally.
1385 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
1388 1998-11-12 Philip Blundell <philb@gnu.org>
1390 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1391 Linux AF_NETLINK sockets (needed since the kernel version is
1393 * sysdeps/unix/sysv/linux/Makefile: Install it.
1394 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1396 1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1398 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1399 to test for bug in PR libc/863.
1401 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1403 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1406 parameter lazy to do_lazy to avoid clashing with struct member name.
1407 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1409 1998-11-10 H.J. Lu <hjl@gnu.org>
1411 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1412 if it is defined in <linux/limits.h>.
1414 1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1416 * include/protocols/routed.h: Include the real header with
1417 a full path from the top of the source tree.
1418 * include/protocols/rwhod.h: Likewise.
1419 * include/protocols/talkd.h: Likewise.
1420 * include/protocols/timed.h: Likewise.
1422 * timezone/Makefile: Don't include z.ZONE files if no_deps
1423 is set, not if avoid-generated is set.
1425 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1427 * signal/signal.h: Undo last change. Get definition of timespec
1428 if __USE_POSIX199309.
1430 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1431 size_t to prevent gcc warning when using -Wqual-cast.
1432 (__strpbrk_c3): Likewise.
1433 Suggested by Alan Curry <pacman@cqc.com>.
1435 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
1437 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1438 unblocked signals are set in the startup masks.
1440 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1441 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
1443 * hurd/hurd/signal.h: Update _hurdsig_init decl.
1444 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1445 INTARRAYSIZE, pass them down to _hurdsig_init.
1446 * hurd/hurd.h: Update _hurd_proc_init decl.
1448 1998-11-10 Ulrich Drepper <drepper@cygnus.com>
1450 * math/cabs.c: Replace complex by _Complex.
1451 * math/cabsf.c: Likewise.
1452 * math/cabsl.c: Likewise.
1453 * math/cimag.c: Likewise.
1454 * math/cimagf.c: Likewise.
1455 * math/cimagl.c: Likewise.
1456 * math/conj.c: Likewise.
1457 * math/conjf.c: Likewise.
1458 * math/conjl.c: Likewise.
1459 * math/creal.c: Likewise.
1460 * math/crealf.c: Likewise.
1461 * math/creall.c: Likewise.
1463 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1464 included from math.h and __USE_ISOC9X is defined.
1465 * sysdeps/generic/bits/mathdef.h: Likewise.
1466 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1467 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1468 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1469 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1471 1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1473 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1475 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1476 * sysdeps/generic/bits/mathdef.h: Likewise.
1477 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1478 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1479 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1481 1998-11-09 Ulrich Drepper <drepper@cygnus.com>
1483 * extra-lib.mk: Fix typo in last change.
1485 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1487 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1488 Don't define `complex' but instead `_Complex'. The later is the
1490 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1493 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1495 * manual/libc.texinfo: Remove colon from category name.
1496 * manual/Makefile (dir-add.info): Likewise.
1498 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1500 * configure.in: Avoid autoconf bug.
1502 1998-10-28 H.J. Lu <hjl@gnu.org>
1504 * posix/getopt.h: Add "__" to arguments in prototypes.
1506 1998-11-05 H.J. Lu <hjl@gnu.org>
1508 * libio/iofgets.c (_IO_fgets): Don't report error
1509 if something was read in and errno is set to
1511 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1513 1998-11-05 Philip Blundell <philb@gnu.org>
1515 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1516 header; it defines too much. Provide a local definition of struct
1517 sockaddr_pkt and a comment advising against its use.
1519 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1521 * extra-lib.mk: Avoid empty include list.
1523 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1525 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1527 * elf/Makefile (libdl-routines): Add dlopenold only if doing
1529 (libdl-shared-only-routines): New variable.
1531 1998-11-06 Paul Eggert <eggert@twinsun.com>
1533 Don't invoke localtime_r or gmtime_r unless it's the GNU C
1534 library's localtime_r and gmtime_r; there are too many buggy
1535 implementations of localtime_r and gmtime_r out there, and
1536 it's not worth keeping track of all the different bugs.
1538 * time/mktime.c (__EXTENSIONS__): Remove.
1539 (<unistd.h>): No need to include.
1540 * time/strftime.c: Likewise.
1542 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1544 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1545 Base it on localtime unless _LIBC.
1547 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1549 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1550 Base them on localtime/gmtime if not _LIBC.
1552 1998-11-07 Ulrich Drepper <drepper@cygnus.com>
1554 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1555 file descriptor. This makes this function actually usable.
1556 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1558 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
1560 * math/math.h: Unconditionally include bits/mathdef.h. Declare
1561 long double functions only if __NO_LONG_DOUBLE_MATH is not
1563 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1564 Define __NO_LONG_DOUBLE_MATH.
1565 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1566 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1568 * elf/rtld.c: Add a few __builtin_expects where they will improve
1571 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
1573 * version.h (VERSION): Bump to 2.0.100.
1575 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1577 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1578 * sysdeps/libm-i387/s_fmaf.S: Likewise.
1580 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1582 * libio/genops.c (_IO_least_marker): Add additional parameter
1583 end_p replacing fp->_IO_read_end.
1584 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
1585 and _IO_ssize_t instead of int.
1586 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1587 (_IO_switch_to_backup_area): Likewise. Fix comments.
1588 (_IO_seekmark): Undo last change.
1589 (_IO_default_pbackfail): Correct use of backup area.
1590 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1592 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1594 * configure.in: Search for install-info and substitute it.
1595 Determine whether install-info is the buggy Debian version
1596 that doesn't understand INFO-DIR-SECTION.
1597 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1599 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1600 install-info the --section argument it needs to work properly.
1601 (dir-add.texinfo): Delete target.
1602 (dir-add.info): Generate this directly. Sort entries. Put a
1603 colon at the end of the INFO-DIR-SECTION line.
1604 * manual/libc.texinfo: Put a colon at the end of the
1607 1998-11-05 Paul Eggert <eggert@twinsun.com>
1609 * time/mktime.c (__mktime_internal): Adopt the traditional (and
1610 problematic) notion of what to do when tm_isdst doesn't match.
1612 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1614 * posix/PTESTS: Fix spelling.
1616 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
1618 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1619 functions. Reduce error in computing normalized value by multiplying
1620 factor in loop and compute result in one step.
1621 Reported by Christian Gafton.
1623 * sysdeps/libm-i387/e_hypot.S: New file.
1624 * sysdeps/libm-i387/e_hypotf.S: New file.
1626 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1628 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1630 1998-11-03 H.J. Lu <hjl@gnu.org>
1632 * libio/fileops.c (new_do_write): New function.
1633 (_IO_new_do_write): Call new_do_write.
1634 (_IO_new_file_xsputn): Likewise.
1636 * libio/oldfileops.c (old_do_write): New function.
1637 (_IO_old_do_write): Call old_do_write.
1638 (_IO_old_file_xsputn): Likewise.
1640 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
1642 * time/mktime.c (__mktime_internal): Correct last change. We must
1643 stop searching for the right isdst value before stepping to the
1646 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1647 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1649 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1651 * sysdeps/generic/bits/signum.h: Define signals with their
1652 historical numbers when those are in the 1-15 range and
1653 consistent across platforms.
1654 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1655 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1656 appropriately instead of with fake function declarations
1657 (would cause link errors).
1658 If __USE_UNIX98, define SIG_HOLD.
1660 1998-10-29 H.J. Lu <hjl@gnu.org>
1662 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1663 union only if __USE_POSIX199309 is defined.
1665 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1668 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
1670 * time/mktime.c (__mktime_internal): Handle broken down times
1671 around the time of the DST switches more correctly.
1673 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1675 * elf/Makefile (libdl-routines): Add dlopenold.
1676 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1677 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1678 is set and bounce otherwise.
1679 * elf/dlopen.c: Rename function to __dlopen_check and make version
1681 * elf/dlopenold.c: New file.
1683 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1685 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1686 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1687 * elf/dl-deps.c: ...here.
1688 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1689 new parameter and expect result. Remove code handling RTLD_GLOBAL.
1690 Add return value of _dl_map_object_deps to
1691 _dl_main_searchlist->r_nlist.
1692 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1693 If we parameter GLOBAL is nonzero add object and dependencies to
1695 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1696 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1697 Mark all objects as in global scope.
1698 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1700 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1703 used in macro magic.
1705 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1707 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1708 before <sys/socket.h> to make sockaddr_at available to
1711 * posix/glob.h: Remove __P from parameter lists of declarations.
1713 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1715 * time/tzset.c (tz_compute): Remove unused parameter timer.
1718 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1720 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1722 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1724 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1725 unnecessary test and add cast.
1727 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1729 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1731 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1733 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1735 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1737 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1739 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1741 1998-10-31 Richard Henderson <rth@cygnus.com>
1743 * math/Makefile (gmp-objs): Add udiv_qrnnd.
1745 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1746 (inline_syscall*): New.
1747 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1748 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1750 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
1752 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1753 avoid ld test generating an unwanted file.
1755 * posix/PTESTS: Remove comment about incorrect test (it is correct).
1757 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1759 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1760 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1761 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1762 * sunrpc/rpc/xdr.h: Add INT32 support.
1763 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
1765 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1766 * nis/nis_callback.c: Likewise.
1767 * nis/nis_creategroup.c: Likewise.
1768 * nis/nis_defaults.c: Likewise.
1769 * nis/nis_intern.h: Likewise.
1770 * nis/nis_lookup.c: Likewise.
1771 * nis/nis_ping.c: Likewise.
1772 * nis/nis_print.c: Likewise.
1773 * nis/nis_table.c: Likewise.
1774 * nis/nis_util.c: Likewise.
1775 * nis/nis_xdr.c: Likewise.
1776 * nis/rpcsvc/nis.h: Likewise.
1777 * nis/rpcsvc/nis.x: Likewise.
1778 * nis/rpcsvc/nis_callback.h: Likewise.
1779 * nis/rpcsvc/nis_object.x: Likewise.
1780 * nis/rpcsvc/nislib.h: Likewise.
1782 * nis/rpcsvc/yp.h: Remove casts to (u_long).
1783 * nis/rpcsvc/yp_prot.h: Likewise.
1784 * nis/rpcsvc/ypupd.h: Likewise.
1785 * nis/ypclnt.c: Change %ld to %d in sprintf.
1787 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1789 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1791 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1793 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1794 0, __fd_mask is usually not a char.
1796 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1798 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1799 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1800 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1801 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1802 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1803 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1804 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1805 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1807 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1808 compiling on systems without rt_sigaction syscall.
1809 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1812 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1814 * time/strptime.c (HERE_D_FMT): Fix typo.
1815 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1817 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
1819 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1820 (generate): Add test1.cat and test1.h.
1821 (distribute): Add test1.msg.
1822 * catgets/test1.msg: New file.
1824 * catgets/gencat.c: Do a better job in initializing dynamic
1825 memory [PR libc/844].
1827 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1829 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1830 internal_function since it is called through a pointer.
1831 * iconv/gconv_db.c (free_derivation): Likewise.
1832 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1834 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1835 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1836 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1838 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1839 __aio_notify definitions.
1840 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1842 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
1844 * Makerules (build-shlib): Add -O to generate optimized shared
1847 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1849 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1850 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1851 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1852 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1853 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1854 * sysdeps/libm-i387/s_logb.S: Likewise.
1855 * sysdeps/libm-i387/s_logbf.S: Likewise.
1856 * sysdeps/libm-i387/s_remquo.S: Likewise.
1857 * sysdeps/libm-i387/s_remquof.S: Likewise.
1858 * sysdeps/libm-i387/s_remquol.S: Likewise.
1859 * sysdeps/libm-i387/s_significand.S: Likewise.
1860 * sysdeps/libm-i387/s_significandf.S: Likewise.
1862 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1864 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1867 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1869 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1871 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
1873 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1874 returns without cleaning up the lock.
1875 (printf_unknown): Add label all_done.
1877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1878 kernels in mind when reading /proc/self/fd/FD.
1879 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1881 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1883 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1886 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1887 /prof/self/fd/FD first.
1888 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1890 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1891 formatted number starting at given position and return pointer to
1893 (_fitoa): Likewise, for long long.
1895 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1897 * sysdeps/unix/sysv/linux/bits/sem.h,
1898 sysdeps/unix/sysv/linux/bits/ipc.h,
1899 sysdeps/unix/sysv/linux/bits/shm.h,
1900 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1901 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1902 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1903 so the same bits will be used for the Hurd.
1905 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
1907 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1908 compiling on systems without rt_sigaction syscall.
1910 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1912 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1913 directories as well as add them.
1915 1998-10-28 Philip Blundell <pb@nexus.co.uk>
1917 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1918 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1919 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1920 * sysdeps/unix/sysv/linux/Makefile: Install it.
1922 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1924 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1926 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1928 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1930 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1931 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1932 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1935 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1937 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1938 __FD_ISSET): Use it.
1939 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1940 __FD_ISSET): Likewise.
1942 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1944 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1947 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1948 Instead call the system call wrapper function using an 64bit argument.
1949 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1951 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1953 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
1955 * signal/signal.h: Don't include <time.h> for timespec, add
1956 forward declaration.
1958 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1959 of __FD_* macros which use __fds_bits.
1960 * sysdeps/generic/bits/select.h: Likewise.
1961 Reported by Matt McLean <keys@yikes.com>.
1963 1998-10-27 Philip Blundell <pb@nexus.co.uk>
1965 * elf/elf.h: Update ARM definitions.
1967 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
1969 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1971 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
1973 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1974 define __builtin_expect as a macro substituting to the first
1976 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1977 * configure.in: Add test for __builtin_expect.
1979 * sysdeps/unix/sysv/linux/bits/types.h: Include
1980 bits/pthreadtypes.h only not for POSIX 199506.
1981 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1982 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1983 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1985 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
1987 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1988 * socket/Versions [libc, GLIBC_2.0]: ... to here.
1990 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1992 * include/stdio.h: Included <stddef.h> for size_t.
1994 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1996 * include/stdio.h: ...here.
1997 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1999 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
2001 * time/Makefile (tests): Add tst-posixtz.
2002 * time/tst-posixtz.c: New file.
2004 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2006 * elf/rtld.c (process_envvars): Accept any non-null value of
2007 LD_BIND_NOW, as mandated by the ABI.
2009 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2011 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
2013 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
2015 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2016 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2017 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2018 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2019 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
2021 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
2022 s_pread64 and s_pwrite64.
2023 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2025 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2027 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
2028 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
2029 to __syscall__llseek.
2030 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2031 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2035 1998-10-26 Cristian Gafton <gafton@redhat.com>
2037 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2040 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
2042 * time/tzset.c (tz_compute): Correct last patch and describe this
2045 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2047 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2048 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2049 rt_sigaction and rt_sigpending.
2050 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2051 for __syscall_* functions.
2052 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2054 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
2056 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2057 _hurd_dtable_lock, _hurd_intern_fd.
2059 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2060 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2062 * mach/Versions: Fix typo in last change.
2064 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2066 * time/tzset.c (tz_compute): If time to switch to DST is later in
2067 the year switch back in the next year.
2068 Reported by jwitford@hutch.com.au.
2070 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
2072 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2073 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2074 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2075 __mach_port_allocate, __mach_port_allocate_name,
2076 __mach_port_insert_right __mutex_trylock, __mutex_lock,
2077 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2078 __task_set_special_port, __task_terminate, __thread_depress_abort,
2079 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
2080 functions are not used outside libc.
2082 * sysdeps/mach/hurd/Versions: New file.
2083 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2084 _cthread_init_routine. These are set by the Hurd cthreads library.
2085 Add __getcwd, __mmap. If we don't add these, the weak definitions in
2086 the dynamic linker will not be replaced by the corresponding shared
2087 library routines once they are loaded.
2089 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
2091 * sysdeps/mach/hurd/i386/init-first.c: Only define
2092 __libc_enable_secure if PIC is not defined.
2094 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2096 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2097 to recurse into argp.
2099 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2101 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2102 greater or equal than 199506L.
2104 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2105 only is __USE_XOPEN. Otherwise use __fds_bits.
2106 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2107 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2109 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2110 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2112 1998-10-24 H.J. Lu <hjl@gnu.org>
2114 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2115 for <code_set_name>.
2117 1998-10-25 H.J. Lu <hjl@gnu.org>
2119 * locale/programs/ld-ctype.c (ctype_finish): Also check
2122 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2124 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2126 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2127 if __USE_POSIX199506 or __USE_UNIX98.
2129 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2131 * string/bits/string2.h: Inline strdup+friends only if
2132 __USE_MISC || __USE_GNU (prevents namespace pollution).
2134 1998-10-24 H.J. Lu <hjl@gnu.org>
2136 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2137 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2139 LOCK_NB, LOCK_UN): Likewise.
2140 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2141 LOCK_NB, LOCK_UN): Likewise.
2142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2143 LOCK_NB, LOCK_UN): Likewise.
2144 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2145 LOCK_NB, LOCK_UN): Likewise.
2147 1998-10-24 H.J. Lu <hjl@gnu.org>
2149 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2151 * libio/rewind.c (rewind): Clear the error.
2153 1998-10-24 H.J. Lu <hjl@gnu.org>
2155 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2158 1998-10-24 H.J. Lu <hjl@gnu.org>
2160 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2161 with __need_timeval.
2162 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2163 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2165 1998-10-24 H.J. Lu <hjl@gnu.org>
2167 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2168 sigqueue): Protect with __USE_POSIX199309.
2170 1998-10-24 H.J. Lu <hjl@gnu.org>
2172 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2175 1998-10-24 H.J. Lu <hjl@gnu.org>
2177 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2178 the kernel file offset.
2179 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2181 1998-10-24 H.J. Lu <hjl@gnu.org>
2183 * time/tzfile.c (__tzfile_default): Set num_types to 2.
2185 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2187 * rt/aio.h: Move __aio_init to...
2188 * include/aio.h: ...here.
2190 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2192 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2193 definition of O_LARGEFILE.
2195 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2197 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2198 as first argument to statfs.
2200 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2202 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2204 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2206 * malloc/mtrace.c: Include <string.h> for strlen.
2208 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2210 * sysdeps/mach/hurd/bits/environments.h: New file.
2212 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2214 * mach/Versions, hurd/Versions: Add numerous symbols.
2215 Remove libmachuser and libhurduser sections, punt
2216 versioning for those libraries for now.
2218 * misc/Versions: Add reboot here; it exists on all platforms.
2219 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2221 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2223 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2225 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2227 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2228 O_NOFOLLOW, O_DIRECT): New macros.
2229 (O_DIRECTORY): Correct definition according to official 2.1.126.
2230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2231 O_NOFOLLOW): New macros.
2233 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2235 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2237 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2238 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2240 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2242 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2243 setfsuid.c, and setfsgid.c.
2244 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2245 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2248 * version.h (VERSION): Bump to 2.0.99.
2250 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2253 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2256 * posix/fnmath.h: Don't redefine __P when used in glibc.
2257 * posix/glob.h: Likewise.
2259 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2260 Patch by Dick Streefland <dick_streefland@tasking.com>.
2262 * stdio-common/tst-ungetc.c: Add more test cases.
2264 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2265 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2267 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
2268 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2269 * sysdeps/unix/sysv/linux/pathconf.c: New file.
2270 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2271 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2273 1998-10-20 Philip Blundell <pb@nexus.co.uk>
2275 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2276 <asm/ptrace.h> to define struct pt_regs.
2277 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2278 including <asm/ptrace.h> here.
2280 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2281 C_SYMBOL_NAME macro.
2283 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2285 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2286 end of enumerator list.
2287 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2288 * posix/wordexp.h: Likewise.
2290 * db/db.h: Use __PMT instead of __P in typedefs.
2291 * db/mpool.h: Likewise.
2292 * sysdeps/generic/bits/siginfo.h: Likewise.
2293 * nis/rpcsvc/ypclnt.h: Likewise.
2295 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2297 * libio/genops.c (_IO_seekmark): When switching to backup buffer
2298 make sure all characters from the read buffer are read after
2299 switching back to it.
2301 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
2303 * configure.in: Add support for Cygnus GNUPro compilers.
2305 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2307 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2309 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2310 of __P for sa_restorer.
2311 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2312 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2313 kernel_sigaction, old_kernel_sigaction): Likewise.
2315 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
2317 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2318 and __syscall_pwrite aliases.
2320 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
2322 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2323 improve INLINE_SYSCALL using macro assembler magic.
2325 1998-10-22 H.J. Lu <hjl@gnu.org>
2327 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2329 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2331 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2332 EINVAL if errno == ENODEV. Tested by VSX-PCT.
2334 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
2337 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
2339 1998-10-22 Philip Blundell <pb@nexus.co.uk>
2341 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2344 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
2346 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2349 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
2351 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
2352 __syscall_* function.
2353 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2354 of calling __syscall_* function.
2355 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2356 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2357 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2358 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2359 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2360 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2361 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2362 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2363 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2364 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2365 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2366 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2367 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2368 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2369 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2370 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2371 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2372 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2373 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2374 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2375 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2376 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2377 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2378 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2379 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2380 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2381 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2382 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2383 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2384 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2385 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2386 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2387 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2388 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2389 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2390 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2391 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2392 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2393 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2394 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2395 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2396 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2400 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2401 __syscall_* definitions.
2403 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2405 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...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/Makefile [subdir=signal] (sysdep_routines):
2414 Move definition to...
2415 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2416 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2417 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2418 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2419 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2423 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2424 (sysdep_routines): Remove s_pread64 and s_pwrite64.
2426 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2427 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2428 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2429 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2430 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2431 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2433 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2435 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2436 and bring them in synch.
2437 * sysdeps/unix/siglist.c: Likewise.
2438 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2440 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2442 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2443 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2445 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2446 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2447 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2448 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2449 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2450 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2452 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2455 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2456 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2457 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2459 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2461 * sunrpc/rpc_main.c (close_output, close_input): New functions.
2462 (c_output, h_output, s_output, l_output, t_output, svc_output,
2463 clnt_output, mkfile_output): Call them at the end.
2465 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2467 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2470 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2472 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2473 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2475 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
2477 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2479 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2480 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2481 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2482 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2483 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2485 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
2487 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2490 1998-10-20 H.J. Lu <hjl@gnu.org>
2492 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2495 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2497 * math/tgmath.h: Make nested function calls work.
2499 * include/ldsodefs.h: Fix typo.
2501 * posix/Makefile (tests): Add tst-preadwrite.
2502 * posix/tst-preadwrite.c: New file.
2504 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2505 sure that descriptor is in any case for a directory.
2507 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2509 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2510 (atan2): Takes two arguments.
2512 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2514 * include/ldsodefs.h: New file.
2516 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2517 Remove change to avoid using _CALL_DL_FCT.
2518 * iconv/gconv_db.c: Likewise.
2519 * iconv/gconv_dl.c: Likewise.
2520 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2521 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2522 * nss/nsswitch.c: Likewise.
2523 * nss/nsswitch.h: Likewise.
2525 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2527 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2529 * login/Makefile (otherlibs): Likewise.
2530 * nscd/Makefile (otherlibs): Likewise.
2531 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2533 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2535 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2537 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2539 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2542 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2544 * nscd/connections.c: Fix typos in comments and strings.
2546 * nscd/nscd.conf: Update according to recent changes to nscd.
2548 * nscd/cache.c (prune_cache): Remove wrong comment.
2550 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
2552 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2553 category in copy_posix.
2554 (collate_finish): Don't warn about UNDEFINED not being defined.
2555 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2556 category in copy_posix.
2557 * locale/programs/ld-messages.c (messages_startup): Likewise.
2558 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2559 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2560 * locale/programs/ld-time.c (time_startup): Likewise.
2561 * locale/programs/localedef.c: Move copy_def_list_t definition into
2562 locales.h. Define copy_posix variable.
2563 (main): Before processing copy list add ©_posix to copy_list.
2564 * locale/programs/locales.h: Add definition of copy_def_list_t.
2565 * locale/programs/locfile.c: Clear bit for appropriate category in
2566 copy_posix.mask for copy instruction.
2568 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2570 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2571 non-existing file with generic implementation.
2572 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2574 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2576 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2577 defined. Avoid using _CALL_DL_FCT if it is not defined.
2578 * iconv/gconv.c: Likewise.
2580 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2582 * nscd/connections.c (dbs): Define defualt values for timeouts and
2583 set enabled to 0 by default.
2584 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
2587 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2589 (_nl_C_LC_CTYPE_class32): Likewise.
2592 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2594 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2595 _HURD_THREADVAR_DL_ERROR.
2597 * hurd/Makefile (user-interfaces): Add login, password.
2599 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2601 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
2603 [submitted 1998-08-06]
2604 * mach/Machrules: Create target directory and force re-evaluation
2605 of Makefile to prevent `make' from optimizing away most of the
2606 implicit rules and `vpath' directives.
2608 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2610 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2611 is null, short-circuit to __mach_msg.
2613 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2614 broken out of init1.
2615 (init1) [PIC]: Call it.
2616 (__libc_init_first) [! PIC]: Call it.
2618 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2619 __libc_init_secure. Instead set __libc_enable_secure here from
2621 (__libc_enable_secure): New variable it.
2622 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2624 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2626 * nscd/nscd-client.h: New file, broken out of "nscd.h".
2627 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2629 * nscd/Makefile (distribute): Add nscd-client.h.
2630 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2631 Include "nscd-client.h" instead of "nscd.h"
2633 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
2635 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2636 directory entries when a lstat call fails.
2637 Patch by Colin Plumb <colin@nyx.net>.
2639 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2641 * resolv/nss_dns/dns-network.c: Likewise.
2643 * grp/Makefile: Don't search for linuxthreads in add-ons, use
2644 have-thread-library to determine whether threads are available.
2645 * pwd/Makefile: Remove wrong comment.
2647 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2648 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2650 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2652 * nss/Versions: Add __nss_hosts_lookup.
2654 * nss/getXXbyYY.c: Remove unneeded assignment.
2656 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2658 Almost complete rewrite of the NSCD to make it smaller, faster,
2659 add more functionnality and make it easier to extend.
2660 * nscd/Makfile (routines): Add nscd_gethst_r.
2661 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2662 * nscd/cache.c: New file.
2663 * nscd/gethstbyad_r.c: New file.
2664 * nscd/gethstbynm2_r.c: New file.
2665 * nscd/hstcache.c: New file.
2666 * nscd/nscd_gethst_r.c: New file.
2667 * nscd/connections.c: Rewritten. Don't start new thread for every
2668 new connection. Use a fixed set of threads which handle all
2669 connections and also the cache cleanup.
2670 * nscd/grpcache.c: Rewritten to use generic cache handling functions
2672 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
2673 for rewrite. Remove handle_requests function.
2674 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2675 Define new data structure for the new unified cache and the host
2677 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2678 databases easily. Recognize check-files and threads definitions.
2679 * nscd/nscd.conf: Add definition of enable-cache and check-files to
2680 passwd and group definitions. Add new set of definitions for hosts.
2681 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2682 * nscd/nscd_getpw_r.c: Likewise.
2683 * nscd/nscd_proto.h: Add prototype for host database functions.
2684 * nscd/nscd_stat.c: Rewrite to simplify printing of information
2686 * nscd/dbg_log.c: Remove unnecessary variable initializations.
2687 Global variable debug_flag is renamed to dbg_level.
2688 * nscd/dbg_log.h: Declare set_logfile.
2690 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2692 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2695 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
2697 * time/mktime.c: Some systems require <unistd.h> to be
2698 included before <time.h> for localtime_r to be declared
2700 * time/strftime.c: Likewise.
2702 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2704 * db/Makefile: Add rule to generate shared object with the soname
2707 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
2708 available double check to verify it's a directory.
2710 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2711 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2712 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2713 are not generally available.
2714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2717 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2718 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2719 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2720 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2721 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2722 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2723 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2724 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2725 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2726 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2727 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2728 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2729 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2730 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2731 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2732 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2733 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2734 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2735 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2736 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2737 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2738 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2739 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2740 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2741 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2742 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2743 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2744 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2745 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2746 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2749 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2750 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2751 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2752 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2755 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2756 s_setresgid, and s_setuid.
2757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2758 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2759 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2760 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2761 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2762 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2765 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2767 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2768 localtime_t declaration on some systems.
2770 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2772 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2774 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
2775 defined. Avoid using DL_CLL_FCT if it is not defined.
2777 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2779 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2780 Include endian.h unconditionally. Remove portability goop
2781 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2783 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2785 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2787 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
2789 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2790 again. Use char[44] to define size of the struct.
2792 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2794 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2796 * string/bits/string2.h (strcmp): Don't cache the result of
2797 __builtin_constant_p in variables, otherwise constant folding
2798 can fail in big functions.
2800 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2802 * string/bits/string2.h: Add prototypes for the new inline
2805 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
2807 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2808 have all types defined.
2809 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2811 1998-10-08 Paul Eggert <eggert@twinsun.com>
2813 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2814 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2815 a body that merely expands localtime_r; this works around a
2816 bug in Digital Unix 4.0A and 4.0D.
2818 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
2820 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2821 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2822 __ioctl to __syscall_ioctl and include Linux version of this file.
2823 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2825 ioctl calls which handle struct termios.
2826 Based on a patch by Dan Jacobowitz <drow@false.org>.
2828 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
2830 * version.h (VERSION): Bump to 2.0.98.
2832 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2833 here instead of including kernel_termios.h.
2835 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2837 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2838 unnecessary after the changes of 1998-10-12.
2840 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
2842 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2843 parameter format string.
2844 (inline_outw): Likewise.
2846 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2847 string.h to get memcpy prototype and NULL definition.
2849 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2851 * misc/sys/cdefs.h (__THROW): New macro.
2852 * argp/argp.h: Use it to replace the kludgey __P in inline
2853 function definitions.
2854 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2855 * stdlib/stdlib.h: Likewise.
2856 * wcsmbs/wchar.h: Likewise.
2857 * libio/stdio.h: Likewise.
2858 * stdio/stdio.h: Likewise.
2859 * sysdeps/wordsize-64/inttypes.h: Likewise.
2860 * sysdeps/wordsize-32/inttypes.h: Likewise.
2861 * string/argz.h: Likewise.
2862 * io/sys/stat.h: Likewise.
2864 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2866 * Rules (stdio_lim): New variable.
2867 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2868 on Rules and config.make, use $(move-if-change) to avoid unnessary
2869 recompilations, and cleanup command.
2870 (common-generated): Add bits/stdio_lim.st.
2872 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
2874 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2875 variable to prevent warnings from use of modern CPU instructions.
2876 Patch by Richard Henderson <rth@cygnus.com>.
2878 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2881 1998-10-12 Philip Blundell <pb@nexus.co.uk>
2883 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2884 semicolon so that profiling works.
2886 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2888 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2890 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2892 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
2894 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2895 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2897 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2898 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2899 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2901 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2903 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2904 it is already defined in <bits/environments.h>.
2906 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
2908 * posix/ptestcases.h: Fix typo.
2910 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2912 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2913 (regexec): Allocate regs.start and regs.end as one block.
2915 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2917 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2920 1998-10-08 Philip Blundell <pb@nexus.co.uk>
2922 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2923 sigcontext union to ...
2924 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2926 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2927 version 2.0 kernels.
2929 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
2931 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2934 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
2935 * argp/argp-xinl.c: Likewise.
2937 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2939 Patch by Christian Gafton.
2941 1998-10-08 Paul Eggert <eggert@twinsun.com>
2943 * time/mktime.c (__mktime_internal): When the requested time falls
2944 in a spring-forward gap of size DT, return a time that is DT away
2945 from the requested time, preferring a time whose tm_isdst differs
2946 from the requested value. Bump the max number of probes from 4 to
2947 6 to account for the extra probes needed to discover a
2948 spring-forward gap in the worst case.
2950 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2952 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2953 of the weird alpha architectures.
2954 Patch by Cristian Gafton <gafton@redhat.com>.
2956 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2958 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2959 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2961 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
2963 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2964 (dl_open_worker): Use realloc, not malloc to resize array.
2965 * elf/rtld.c (_dl_initial_searchlist): New variable.
2966 (_dl_main): Copy content of _dl_main_searchlist to
2967 _dl_initial_searchlist.
2968 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2969 _dl_global_scope_alloc.
2970 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2971 * elf/dl-close.c (_dl_close): When removing object with global
2972 scope remove allocated searchlist if no dynamically loaded object
2974 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2975 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2977 * malloc/mtrace.c (tr_where): Don't print space in location string,
2978 print it afterwards. Print better symbol name information.
2980 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2982 * manual/filesys.texi (Setting Permissions): Fix example for
2985 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2987 * elf/sprof.c (load_profdata): Fix typo in error message.
2989 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2991 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2994 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
2996 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2998 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
3000 * version.h (VERSION): Bump to 2.0.97.
3002 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3004 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
3005 in definitions of inline stat functions so that they match the
3007 * stdlib/stdlib.h: Likewise.
3008 * wcsmbs/wchar.h: Likewise.
3009 * libio/stdio.h: Likewise.
3010 * stdio/stdio.h: Likewise.
3011 * sysdeps/wordsize-64/inttypes.h: Likewise.
3012 * sysdeps/wordsize-32/inttypes.h: Likewise.
3013 * string/argz.h: Likewise.
3014 * argp/argp.h: Likewise.
3016 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
3018 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
3021 1998-10-05 Philip Blundell <philb@gnu.org>
3023 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
3024 and constants. Tidy up formatting a little.
3026 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
3027 Move definitions to in.h.
3029 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3031 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3032 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3033 Remove inclusion of <linux/swap.h>.
3035 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3037 * io/sys/stat.h: Use __P in definitions of inline stat functions
3038 so that they match the declaration.
3040 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3042 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3044 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3046 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3049 1998-10-02 Philip Blundell <pb@nexus.co.uk>
3051 * sysdeps/arm/dl-machine.h: Fix typo in last change.
3053 * sysdeps/arm/bits/huge_val.h: New file.
3055 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3057 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3059 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3062 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3064 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3065 store result of realloc instead of using BUF.
3067 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3069 * misc/sgtty.h (_SGTTY_H): Correct spelling.
3070 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3072 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3074 * manual/memory.texi (Obstacks): Document
3075 obstack_alloc_failed_handler usage.
3077 * malloc/obstack.h: Enhance comment about
3078 obstack_alloc_failed_handler usage.
3079 * malloc/obstack.c: Likewise.
3081 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3083 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3084 gcc before 2.8 is used.
3086 1998-10-01 Philip Blundell <pb@nexus.co.uk>
3088 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
3089 from Scott Bambrough.
3091 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3093 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3094 include the lock member.
3096 1998-09-03 Philip Blundell <pb@nexus.co.uk>
3098 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3100 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
3102 * timezone/zic.c: Update from tzcode1998h.
3103 * timezone/europe: Update from tzdata1998i.
3104 * timezone/southamerica: Likewise.
3106 * sys/types.h: Protect use of long long by __extension__.
3107 * stdlib/stdlib.h: Likewise.
3108 * string/string.h: Likewise.
3109 * sysdeps/i386/bits/byteswap.h: Likewise.
3110 * sysdeps/geeric/bits/byteswap.h: Likewise.
3111 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3112 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3113 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3114 * sysdeps/wordsize-32/inttypes.h: Likewise.
3115 * sysdeps/wordsize-32/stdint.h: Likewise.
3116 * wcsmbs/wchar.h: Likewise.
3118 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3120 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3122 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3123 __strsep): Greatly reduce size of expansion by combining common
3125 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3127 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3128 by the above definitions.
3130 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3132 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3133 correct struct ipc_perm definition.
3135 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3137 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3139 1998-09-29 Cristian Gafton <gafton@redhat.com>
3141 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3142 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
3143 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3144 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3145 Add net/if_shaper.h.
3147 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
3149 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3151 * nis/ypclnt.c: Remove not needed close calls.
3153 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3155 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3156 check a bit. Also close socket of domain client. Close socket
3157 in IPPORT_RESERVED error case.
3159 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
3161 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3162 CMSG_ALIGN (fixes a bug) and correct test for availability of
3164 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3166 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3167 availability of another entry.
3170 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3173 * libio/libio.h [!__STDC__]: Define const only if not defined.
3175 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3177 * posix/annexc.c (xsystem): New function. Use it instead of
3180 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
3182 * stdlib/longlong.h: Remove #endif for #if removed in last change.
3184 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
3186 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3187 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3188 allow using `ut' parameter.
3189 [!emacs]: Define ut_argument, ut_argument_spec, and
3190 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
3191 argument_spec to prototypes and definitions.
3192 (my_strftime): Don't call tzset of ut != 0.
3193 Compute diff as 0 is ut != 0;
3194 [emacs]: Define new emacs_strftime function.
3195 Based on a patch by Paul Eggert.
3197 1998-09-24 Paul Eggert <eggert@twinsun.com>
3199 * time/strftime.c (my_strftime): When asking for the length of the
3200 subformatted buffer, do not limit the length to look for;
3201 otherwise, we have no reliable way to distinguish between the
3202 empty buffer and an error.
3204 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
3206 * math/Makefile (gmp-objs): Add mp_clz_tab.
3208 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
3210 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3212 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3213 cpus lacking hardware multiply and divide.
3215 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3217 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3220 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3222 * db/btree/bt_delete.c: Fix -Wparentheses warning.
3224 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3226 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3229 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
3231 * debug/catchsegv.sh: Also produce output if clone process died.
3233 1998-09-24 Paul Eggert <eggert@twinsun.com>
3235 * time/strftime.c (f_wkday): Remove duplicate definition.
3236 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3237 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3238 1998-09-11 fix to this case.
3239 (wkday_len, month_len): Remove these macros; they're no longer needed.
3241 1998-09-24 Paul Eggert <eggert@twinsun.com>
3243 * time/strftime.c (my_strftime): Don't store past the end of a
3246 1998-09-24 Paul Eggert <eggert@twinsun.com>
3248 * time/strftime.c (underlying_strftime):
3249 Set the buffer to a nonzero value before calling
3250 strftime, and check to see whether strftime has set the buffer to zero.
3251 This lets us distinguish between an empty buffer and an error.
3253 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
3255 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3256 This fix is propagated from tzcode1998g.tar.gz.
3258 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
3260 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3261 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
3262 sys_siglist. This is handled correctly by the weak_alias macro.
3264 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
3266 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3267 of mempcpy. Reported by Andreas Jaeger.
3269 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
3270 pollute the namespace since the compiler will resolve it inline.
3271 Reported by Florian La Roche <florian@suse.de>.
3273 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
3275 * timezone/private.h: Update from tzcode1998g.
3277 * timezone/africa: Update from tzdata1998h.
3278 * timezone/asia: Likewise.
3279 * timezone/australasia: Likewise.
3280 * timezone/europe: Likewise.
3281 * timezone/northamerica: Likewise.
3282 * timezone/southamerica: Likewise.
3283 * timezone/zone.tab: Likewise.
3285 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3287 * misc/sys/mman.h: New file.
3289 * sysdeps/generic/bits/mman.h: New file.
3290 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3291 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3292 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3293 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3295 * sysdeps/generic/sys/mman.h: Removed.
3296 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3297 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3298 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3299 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3300 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3302 * include/sys/mman.h: Look directly for misc/sys/mman.h.
3303 * misc/Makefile (headers): Add bits/mman.h.
3304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3307 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3308 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3309 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3310 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3311 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3314 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3316 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3318 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3319 * sysdeps/mach/alpha/thread_state.h: Likewise.
3320 * sysdeps/mach/i386/sysdep.h: Likewise.
3321 * sysdeps/mach/i386/thread_state.h: Likewise.
3322 * sysdeps/mach/mips/sysdep.h: Likewise.
3323 * sysdeps/mach/mips/thread_state.h: Likewise.
3324 * sysdeps/posix/profil.c: Likewise.
3325 * sysdeps/i386/i586/memcopy.h: Likewise.
3326 * sysdeps/mach/pagecopy.h: Likewise.
3328 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3330 * libio/stdio.h: Define __need_getopt and include getopt.h to define
3332 * posix/unistd.h: Likewise.
3333 * stdio/stdio.h: Likewise.
3334 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
3335 define only getopt and the variables.
3337 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3339 * scripts/test-installation.pl (installation_problem): Don't link
3340 the test program against libdb1.
3342 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
3344 * Makeconfig (all-subdirs): Add db.
3345 * Versions.def: Add definition for libdb1.
3346 * shlib-versions: Add definitions for libdb1.
3347 * db/Makefile (extra-libs): Replace by libdb1.
3348 (libdb-routines): Rename to libdb1-routines.
3349 (headers): Rename to db1-headers.
3350 (distribute): Add $(db1-headers).
3351 (install-others): Define to install symlink libdb.so.NN and the
3353 (CPPFLAGS): Add -DUSE_LIBDB1
3354 Remove rules to build makedb.
3355 * db/Versions: Rename libdb to libdb1.
3356 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
3357 * db/makedb.c: Removed.
3359 * scripts/versions.awk: Recognize digits in library names.
3361 * db/btree/bt_open.c: Fix compiler warnings.
3362 * db/btree/bt_put.c: Likewise.
3363 * db/btree/bt_split.c: Likewise.
3364 * db/hash/hash.c: Likewise.
3365 * db/hash/hash_bigkey.c: Likewise.
3366 * db/recno/rec_close.c: Likewise.
3368 * Makefile: Add localedata/% goal.
3370 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3372 * posix/execvp.c: Don't give up searching the PATH if execve
3375 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
3377 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3378 if _dl_fpu_control_set is set.
3379 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3380 * elf/rtld.c: Don't define _dl_fpu_control_set.
3381 * elf/Versions: Remove _dl_fpu_control_set.
3383 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
3385 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3386 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3387 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3388 Correct values of other SA_* macros according to kernel headers.
3390 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3392 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3394 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3397 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3399 * elf/ldsodefs.h: Fix typo in comment.
3401 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3403 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3404 char when comparing buffer contents with putback character.
3406 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3408 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3410 * elf/Versions: Undo last change. Export _dl_fpu_control and
3411 _dl_fpu_control_set.
3412 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3413 variables. Include <fpu_control.h>.
3414 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3415 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3416 to indicate that is was seen.
3417 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3418 only if _dl_fpu_control was set and is equal to desired value.
3419 * math/Makefile (aux): Undo last change.
3420 * math/Versions: Export __fpu_control with version GLIBC_2.0.
3422 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3424 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3427 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
3429 * string/bits/string2.h: Add mempcpy optimization.
3430 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3431 * intl/localealias.c: Define mempcpy only if not already defined.
3433 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3436 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3438 * csu/abi-note.S: Emit the note directly instead of defining
3439 a preprocessor macro that's only used once. Don't include sysdep.h.
3440 * abi-tags: Generalize Solaris entry.
3442 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3444 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3445 Change to array to avoid runtime relocation.
3446 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3448 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3450 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3451 * math/Makefile ($(objpfx)libieee.a): Likewise.
3453 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
3455 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3456 Patch by John Tobey <jtobey@banta-im.com>.
3458 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
3460 * login/Makefile (distribute): Remove pty-internal.h, add
3463 * stdlib/tst-strtol.c: Add more checks.
3464 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3466 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
3468 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3469 * elf/elf.h: Add AT_FPUCW.
3470 * elf/Makefile (dl-routines): Add fpu_control.
3471 (elide-routines.os): Add fpu_control.
3472 (rtld-routines): Add fpu_control.
3473 * math/Makefile (aux): Remove fpu_control.
3474 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3475 (_dl_show_auxv): Likewise.
3476 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3477 if different from OS default.
3479 * stdio-common/tstscanf.c: Add test case for (nil).
3481 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
3483 * libio/fileops.c (_IO_new_file_underflow): Before allocating
3484 buffer make sure the pushback buffer is destroyed.
3485 (_IO_new_file_seekoff): Likewise.
3486 If mode==0 quit early with the result.
3487 Clear OEF flag after successful fseek.
3488 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3489 * libio/ftello.c (ftello): Add offset from original buffer if
3490 stream has pushed back characters.
3491 * libio/ftello64.c (ftello64): Likewise.
3492 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3493 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3494 * libio/ioftell.c (_IO_ftell): Likewise.
3495 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3497 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3498 (_IO_default_pbackfail): Only stored push back character in original
3499 buffer if it is the same as the one in the file at this position.
3500 * libio/iofclose.c: Free backup buffer if one is available.
3501 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3504 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3506 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3508 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3510 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
3512 * login/programs/pt_chown.c (more_help): Correct message that
3513 describes the purpose of the program.
3515 * login/openpty.c: Do not include pty-private.h.
3516 (pts_name): New function. Return name of slave pseudo terminal in
3517 an allocated buffer if necessary.
3518 (openpty): Use pts_name to get name of the slave end of the pseudo
3521 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3522 pts_name before return.
3524 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
3526 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3528 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3530 * login/openpty.c: Include pty-private.h instead of
3533 1998-09-09 Philip Blundell <pb@nexus.co.uk>
3535 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3537 1998-09-07 Philip Blundell <pb@nexus.co.uk>
3539 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3540 recent ld.so changes.
3541 (elf_machine_runtime_setup): Correct behaviour when profiling.
3543 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
3545 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3546 Patch by John Tobey <jtobey@banta-im.com>.
3548 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
3550 * login/pty-internal.h: Removed. Moved constants related to the
3551 `grantpt' helper program protocol to ...
3552 * login/pty-private.h: ... here. New file.
3553 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3554 to make the function work with kernels >= 2.1.115.
3555 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3556 version if using the cloning device fails.
3557 * sysdeps/unix/sysv/linux/grantpt.c: New file.
3558 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3559 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3560 use by Linux specific code.
3561 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3562 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
3563 function. (grantpt): Use pts_name, check group and permission
3564 mode in addition to owner. Try to set the owner, group and
3565 permission mode first without invoking the helper program.
3566 * login/programs/pt_chown.c: Largely rewritten. Add argp and
3567 internationalization support. Use symbolic constants instead of
3568 hardwired numbers for permission mode.
3569 * sysdeps/unix/bsd/ptsname.c: New file.
3571 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
3573 * posix/wordexp-test.c: Undo last change.
3575 * posix/wordexp.c: Undo last change.
3577 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
3579 * nscd/grpcache.c (save_grp): Partly undo last change.
3581 * nscd/pwdcache.c (save_pwd): Undo last change.
3583 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3585 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3586 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3588 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
3590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3591 Add profiling support.
3592 (TRAMPOLINE_TEMPLATE): New macro.
3593 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3594 (RTLD_START): Prettify, and set __libc_stack_end properly.
3595 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3596 and check for sym being NULL instead.
3597 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3599 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3600 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3601 * sysdeps/sparc/sparc64/rshift.S: Likewise.