Update.
[platform/upstream/glibc.git] / ChangeLog
1 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
2
3         * posix/PTESTS: Fix typo.
4
5 1998-12-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6
7         * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
8
9 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
10
11         * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
12         it can find the preprocessor.
13
14 1998-12-09  Geoff Keating  <geoffk@ozemail.com.au>
15
16         * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
17         asm/user.h.
18         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
19
20         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
21         like linux/sys/procfs.h but uses uid_t and gid_t.
22         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
23         don't include <linux/ptrace.h>.
24
25 1998-12-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
26
27         * posix/runptests.c (main): Check that regcomp did not succeed
28         unexpectedly.
29         * posix/runtests.c (run_a_test): Likewise.  Return appropriate
30         exit code.
31         * posix/TESTS: Regexp "a[b-a]" should not compile.
32         * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
33         GA147(2).
34
35 1998-12-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
36
37         * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
38         there is no codeset name.
39         * locale/programs/ld-collate.c (collate_output): Don't crash if a
40         character has no weight.
41
42 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
43
44         * inet/getnetgrent_r.c (innetgr): Check host and domain name with
45         strcasecmp, not strcmp.  [PR libc/894].
46
47 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
48
49         * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
50         get prototypes.
51
52         * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
53
54 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
55
56         * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
57         prototype for __gethostbyname_r.
58
59         * include/time.h: Add declarations of internal interfaces.
60
61         * time/tzset.c: Remove declarations of internal interfaces.
62         * time/gmtime.c: Likewise.
63         * time/localtime.c: Likewise.
64         * time/offtime.c: Likewise.
65         * time/tzfile.c: Likewise.
66
67 1998-12-01 09:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
68
69         * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
70         user-space-relevant definitions from linux/timex.h of kernel
71         2.1.130 and remove include of kernel header.
72
73         * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
74
75 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
76
77         * posix/regex.c: Get regex.h from system path, not from local
78         directory.
79
80         * posix/regex.h: Move internal interfaces to ...
81         * include/regex.h: ...here.
82
83         * posix/unistd.h: Move internal interfaces to ...
84         * include/unistd.h: ...here.
85
86         * math/math.h: Move internal interfaces to ...
87         * include/math.h: ...here.
88
89         * posix/glob.h: Move internal interfaces to ...
90         * include/glob.h: ...here.
91
92         * string/string.h: Move internal interfaces to ...
93         * include/string.h: ...here.
94
95         * time/sys/time.h: Move internal interfaces to ...
96         * include/sys/time.h: ...here.
97
98         * resolv/netdb.h: Move internal interfaces to ...
99         * include/netdb.h: ...here.
100
101 1998-12-08  Ulrich Drepper  <drepper@cygnus.com>
102
103         * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
104         correctly.
105         * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
106         Fix various bugs in conversion routine.
107         * iconvdata/jis0201.h: Correct variable name.
108         * iconvdata/jis0208.c: Correct script to generate tables and regenerate
109         them.
110         * iconvdata/jis0208.h: Likewise.
111         * iconvdata/jis0212.c: Likewise.
112         * iconvdata/sjis.c: Likewise.
113         Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
114
115 1998-12-07  Ulrich Drepper  <drepper@cygnus.com>
116
117         * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition.  Bit
118         set in c_iflag if cfsetispeed is call with SPEED set to zero.
119         (cfgetispeed): Return zero if prior if IBAUD0 is set.
120         (cfsetospeed): Clear IBAUD0 bit.
121         (cfgetispeed): Set IBAUD0 bit if necessary.
122         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
123         the IBAUD0 bit in c_iflag when making the system call.
124         Work around a Linux kernel bug which silently changes the
125         PARENB/CREAD/CSIZE bits in c_cflag on pty.
126         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
127         function.  Don't set speed is SPEED parameter is zero since this
128         means set it to the output speed.
129         Based on a patch by H.J. Lu <hjl@gnu.org>.
130
131         * version.h (VERSION): Bump to 2.0.106.
132
133         * Makeconfig (link-libc-static): Don't use link-libc since this
134         includes the shared object.  Use gnulib only.
135
136         * configure.in: Disable --disable-static.
137
138 1998-12-07 12:06  Ulrich Drepper  <drepper@cygnus.com>
139
140         * po/de.po: Update from translation team.
141         * po/ko.po: Likewise.
142
143 1998-12-07  Richard Henderson  <rth@cygnus.com>
144
145         * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
146         both paths.
147
148 1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>
149
150         * sysdeps/mach/hurd/pselect.c: New file.
151
152         * sysdeps/mach/hurd/poll.c: New file.
153
154         * hurd/Makefile (routines): Add hurdselect.
155         * hurd/hurdselect.c: New file.
156         (_hurd_select): New function, guts taken from ...
157         * sysdeps/mach/hurd/select.c (__select): ... here.
158         Now work by just calling _hurd_select.
159         * hurd/hurd/fd.h: Declare _hurd_select.
160
161 1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>
162
163         * time/strptime.c: Fix unterminated comment in last change.
164
165 1998-12-05  Ulrich Drepper  <drepper@cygnus.com>
166
167         * ctype/ctype.h (_ISbit): Protect use of parameter with
168         parentheses.
169         * wctype/wctype.h (_ISwbit): Likewise.
170
171         * locale/Versions: Make experimental locale interface available in
172         GLIBC_2.1.
173
174         * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
175         without leading __ only for __USE_GNU.
176         * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
177
178 1998-12-04  Ulrich Drepper  <drepper@cygnus.com>
179
180         * argp/argp.h: Add __restrict.
181         * dirent/dirent.h: Likewise.
182         * elf/dlfcn.h: Likewise.
183         * grp/grp.h: Likewise.
184         * iconv/iconv.h: Likewise.
185         * inet/aliases.h: Likewise.
186         * libio/libio.h: Likewise.
187         * libio/stdio.h: Likewise.
188         * locale/locale.h: Likewise.
189         * misc/mntent.h: Likewise.
190         * posix/wordexp.h: Likewise.
191         * pwd/pwd.h: Likewise.
192         * resolv/netdb.h: Likewise.
193         * rt/aio.h: Likewise.
194         * stdio-common/printf.h: Likewise.
195         * stdlib/monetary.h: Likewise.
196         * stdlib/stdlib.h: Likewise.
197         * string/argz.h: Likewise.
198         * string/envz.h: Likewise.
199         * string/string.h: Likewise.
200         * time/time.h: Likewise.
201
202 1998-12-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
203
204         * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
205         defined.  gcc's redundant include optimizer isn't clever enough to
206         prevent a reinclusion here.
207         Define __restrict to the empty string only if not GCC or
208         GCC version less than 2.92.
209
210 1998-12-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
211
212         * sysdeps/unix/sysv/linux/configure.in: Fix last change.
213
214 1998-12-03  Mark Kettenis  <kettenis@phys.uva.nl>
215
216         * time/strptime.c (strptime_internal): Make use of `%C' format
217         specifier if it is seen together with the `%y' specifier.
218
219 1998-12-04  Ulrich Drepper  <drepper@cygnus.com>
220
221         * po/sk.po: New file.
222
223 1998-12-03  Scott Bambrough  <scottb@corelcomputer.com>
224
225         * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
226         for _dl_main_searchlist passed to _dl_init_next.
227
228 1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
229
230         * math/libm-test.c: Expand literal tabs in strings.  Normalize
231         whitespace.
232
233 1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
234
235         * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
236
237 1998-12-04  Mark Kettenis  <kettenis@phys.uva.nl>
238
239         Provide backwards binary compatibility for the Hurd.
240         * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
241         alias for geteuids.
242         * hurd/Versions [GLIBC_2.0]: Add __getuids,
243         __hurd_file_name_lookup and _hurd_umask.
244         [GLIBC_2.1]: Add _hurd_proc_init.
245         * hurd/Makefile [versioning] (routines): Add compat-20.
246         (shared-only-routines): Likewise.
247         * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
248         _hurd_proc_init.  Use it as the default _hurd_proc_init version
249         for GLIBC_2.1.
250         * hurd/compat-20.c: New file.
251         * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
252
253 1998-12-02  Ulrich Drepper  <drepper@cygnus.com>
254
255         * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
256
257 1998-12-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
258
259         * inet/Versions: Remove inet6_isipv4mapped.
260
261 1998-12-02  Philip Blundell  <pb@nexus.co.uk>
262
263         * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
264
265 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
266
267         * manual/time.texi (Formatting Date and Time): Fix typo.
268
269 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
270
271         * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
272         when configuring natively.  Use autoconf macros instead of rolling
273         our own.  Handle defaulted prefix.
274
275 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
276
277         * version.h (VERSION): Bump to 2.0.105.
278
279         * sysdeps/generic/Dist: Add bits/libc-tsd.h.
280
281         * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
282
283         * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
284
285 1998-11-29 1998  H.J. Lu  <hjl@gnu.org>
286
287         * libio/genops.c (_IO_unbuffer_write): Renamed from
288         _IO_unbuffer_all.
289         (_IO_cleanup): Call _IO_unbuffer_write instead of
290         _IO_unbuffer_all.
291
292 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
293
294         * intl/localealias.c: Use *_unlocked version of stdio function if
295         _LIBC_REENTRANT is defined, not _LIBC.
296
297 1998-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
298
299         * include/grp.h: Add prototypes for internal functions
300         __getgrgid_r and __getgrnam_r.
301
302         * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
303
304         * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
305         inet_nsap_ntoa prototypes.
306
307 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
308
309         * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
310         to gcc to have it find the correct system header.
311         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
312
313         * Makefile (postclean): Add sysd-sorted.
314         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
315
316 1998-12-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
317
318         * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
319         * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
320         * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
321         conflicts with new solaris version.
322         * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
323         doesn't zero allocated memory).
324         * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
325         conflicts with xdr functions.  Solves PR libc/877.
326         * nis/rpcsvc/nis.x: Use always uint32_t.
327         * nis/rpcsvc/nis.h: Likewise.
328         * nis/rpcsvc/nis_object.x: Likewise.
329
330 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
331
332         * math/libm-test.c: Various cleanups.  Patch by Zack Weinberg.
333
334         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
335         parameter.  Patch by Christian Gafton.
336
337         * string/envz.h: Add prototype for envz_remove.
338         Reported by Andreas Jaeger.
339
340 1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>
341
342         * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
343         __spin_lock_init,  __mutex_lock, __mutex_trylock,
344         __mutex_unlock.
345         Remove get_priviliged_ports.  Moved to hurd/Versions.
346
347         * hurd/Versions [libc, GLIBC_2.0]: Add _end.  This makes the Hurd
348         brk implementation see the end of the data segment of the program
349         instead of the shared library.
350         Add __hurd_errno_location.  This inline function is used in user
351         programs.
352         Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
353         _hurd_fd_get, _hurd_port_free, _hurd_port_get,
354         _hurd_port_locked_get.  These inline functions are used by macros
355         used in mail.local in the Hurd distribution.
356         Add get_privileged_ports.  Moved here from mach/Versions.
357         Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
358         __hurd_file_name_split, __hurd_file_name_path_lookup.  These are
359         not used outside libc.
360
361 1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>
362
363         * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
364         of "".
365
366 1998-11-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
367
368         * sunrpc/Makefile: Add xdr_intXX_t to routines.
369         * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
370           xdr_uint16_t.
371         * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
372         * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
373         * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
374
375         * nis/Depend: New.
376         * nis/nss_nis/nis-service.c: Include generated prototype for parser.
377
378 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
379
380         * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
381
382         * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
383         undefine errno to get variable.
384
385         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
386         instead of <unistd.h> for prototype.
387         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
388
389 1998-11-30  Ulrich Drepper  <drepper@cygnus.com>
390
391         * misc/err.h: Correct comments and use protected attribute keywords.
392         Reported by Joseph Myers <jsm28@cam.ac.uk>.
393
394 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
395
396         * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
397         remove tsd stuff from pthreads/cthreads libc sections.
398         Use __libc_tsd_define for MALLOC key.
399         [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
400         no-op, respectively.
401         [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
402
403         * elf/dl-error.c: Include <bits/libc-tsd.h>.
404         Use __libc_tsd_define for DL_ERROR key.
405         (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
406
407         * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
408         * sysdeps/generic/bits/libc-tsd.h: New file.
409         * Makefile (distribute): Add bits/libc-tsd.h.
410
411 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
412
413         * elf/dl-error.c: Remove kludge to check for ld.so load address.
414         There is no need if weak undefined symbols are not used in ld.so;
415         see linuxthreads/ChangeLog for changes to files
416         linuxthreads/sysdeps/pthread/bits/libc-lock.h and
417         linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
418
419 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
420
421         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
422
423         * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
424         inline functions.
425         * sysdeps/i386/bits/string.h: Likewise.
426
427 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
428
429         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
430
431 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
432
433         * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
434
435 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
436
437         * sysdeps/mach/hurd/dl-sysdep.c: Do not define
438         __hurd_threadvar_max.  Add comment explaining why we define
439         __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
440
441 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
442
443         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
444         __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
445         prevent inclusion of Hurd signal handling code.
446         (__libc_write): New function.
447         (_dl_sysdep_output): Removed.  The implementation in
448         `elf/dl-misc.c' now also works for the Hurd.
449
450 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
451
452         * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
453         does not use any of malloc/realloc/free anymore.  Include
454         set-hooks.h with <> instead of "".
455
456 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
457
458         * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
459         within #ifdef SO_PASSCRED.  Avoids unused var when no SO_PASSCRED.
460         * sunrpc/clnt_unix.c (__msgread): Likewise.
461
462 1998-11-28  Roland McGrath  <roland@baalperazim.frob.com>
463
464         * hurd/setuids.c: Renamed to ...
465         * hurd/seteuids.c: this.
466         (setuids): Renamed to seteuids.
467         * hurd/getuids.c: Renamed to ...
468         * hurd/geteuids.c: this.
469         (__getuids): Renamed to geteuids, no aliases.
470         * hurd/hurd.h (geteuids, seteuids): Declare them.
471         * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
472         * hurd/Makefile (routines): Updated.
473
474 1998-11-29  Ulrich Drepper  <drepper@cygnus.com>
475
476         * sysdeps/generic/segfault.c (install_handler): Correct test for
477         SEGFAULT_HANDLER=all.
478         Patch by Zack Weinberg.
479
480 1998-11-28 23:23 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
481
482         * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
483         $prefix/include that may be clobbered on installation.
484
485 1998-11-27  Philip Blundell  <pb@nexus.co.uk>
486
487         Fixes to allow compilation with static NSS:
488         * nss/Makefile: Make explicit the dependency of getent on
489         libnss_files.a.
490         [build_static_nss]: Define $(otherlibs) appropriately.
491         * nss/Depend: Add a dependency on `resolv'.
492
493 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
494
495         Partial support for MIPS ISO C 9x exception handling:
496         * sysdeps/mips/fclrexcpt.c: New file.
497         * sysdeps/mips/ftestexcept.c: New file.
498         * sysdeps/mips/fgetexcptflg.c: New file.
499         * sysdeps/mips/fesetround.c: New file.
500         * sysdeps/mips/fegetround.c: New file.
501         * sysdeps/mips/fegetenv.c: New file.
502         * sysdeps/mips/fesetenv.c: New file.
503         * sysdeps/mips/feupdateenv.c: Likewise.
504         * sysdeps/mips/bits/fenv.h: New file.
505
506 1998-11-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
507
508         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
509         <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
510         in sync with linux specific version.
511
512         Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
513
514         * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
515         errno declaration.
516
517         * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
518         of calling __syscall_*.
519         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
520
521         * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
522
523         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
524         constants, correct values according to Linux 2.1.130.
525
526         * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
527         * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
528         * sysdeps/unix/sysv/linux/mips/pread.c: New file.
529         * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
530
531         * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
532         :=.
533
534         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
535
536         * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
537
538         * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
539
540         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
541
542         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
543         message, change name of include protection, remove inclusion of
544         <bits/termios.h>.
545
546         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
547         (old_kernel_sigaction): Define.
548         (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
549
550         * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
551         the general linux version.
552         * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
553
554         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
555
556 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
557
558         * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
559         endian.
560         * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
561         BYTE_ORDER.
562         * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
563         <bits/endian.h>, make it the same as __BYTE_ORDER.
564
565 1998-11-27  Ulrich Drepper  <drepper@cygnus.com>
566
567         * math/math.h: Avoid using long double functions in generic macros
568         if __NO_LONG_DOUBLE_MATH.
569
570         * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
571         during bootstrapping.
572         * scripts/config.sub: Add Netwinder specific matches.
573         Patch by Scott Bambrough <scottb@corelcomputer.com>.
574
575 1998-11-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
576
577         * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
578         if possible.
579         ($(common-objpfx)sysd-sorted): Likewise.
580
581 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
582
583         * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
584         local variables t1,t2 only if needed.
585
586         * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
587         warnings.
588         * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
589         * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
590
591         * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
592         warning.
593
594 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
595
596         * math/math.h: Add brace to correct #if expression.
597
598 1998-11-26  Philip Blundell  <philb@gnu.org>
599
600         Undo change of 1998-11-12:
601         * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
603         netlink/netlink.h.
604         * sysdeps/unix/sysv/linux/Dist: Likewise.
605
606 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
607
608         * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
609
610 1998-11-26  Ulrich Drepper  <drepper@cygnus.com>
611
612         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
613         (elf_machine_got_rel): Remove scope variable.  Use scope from the map.
614         Don't modify _dl_global_scope_end in the end.
615         (__dl_runtime_resolv): Also use scope from the map.
616         * sysdeps/mips/mips64/dl-machine.h: Likewise.
617         * elf/dl-runtime.c: Don't define fixup and profile_fixup if
618         ELF_MACHINE_NO_PLT is defined.
619         * sysdeps/mips/sys/ucontext.h: New file.
620         Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
621
622 1998-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
623
624         * sysdeps/generic/pselect.c (__pselect): Change interface,
625         set/restore sigmask.
626
627         * misc/sys/select.h: Change declaration according to Stevens' Unix
628         Network Programming.
629         * include/sys/select.h (__pselect): Likewise.
630         Reported by <bwelling@anomaly.munge.com> [PR libc/872].
631
632         * include/fpu_control.h: New file, contains __setfpucw
633         declaration.
634
635         * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
636         it's an internal symbol.
637         * sysdeps/alpha/fpu/fpu_control.h: Likewise.
638         * sysdeps/arm/fpu/fpu_control.h: Likewise.
639         * sysdeps/i386/fpu_control.h: Likewise.
640         * sysdeps/m68k/fpu_control.h: Likewise.
641         * sysdeps/powerpc/fpu_control.h: Likewise.
642         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
643         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
644
645 1998-11-25  Ulrich Drepper  <drepper@cygnus.com>
646
647         * version.h (VERSION): Bump to 2.0.104.
648
649 1998-11-25  Mark Kettenis  <kettenis@phys.uva.nl>
650
651         * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
652         around parameter n.
653
654 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
655
656         * time/tzfile.c (__tzfile_read): Fix comment.
657
658 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
659
660         * Makerules (build-shlib): Pass -O1 down to linker to get
661         optimized shared libraries.
662
663 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
664
665         * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
666         file.  Strip "-" from inhibited subdir name.  Combine into a
667         single awk program.
668         ($(common-objpfx)sysd-sorted): Fix sed command.
669
670 1998-11-25  Roland McGrath  <roland@baalperazim.frob.com>
671
672         * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
673         Use constant _HURD_THREADVARS_MAX for temporary array size.
674
675         * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
676         s separator, since $(..) might contain a /.
677
678 1998-11-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
679
680         * configure.in (mips): Fix typo (Replace ,, by ;;).
681
682         * libio/Versions: Clean up entries.
683
684 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
685
686         * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
687         and llrint.
688
689 1998-11-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
690
691         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed.  There are too
692         many differences between the Linux 2.0 and 2.1 versions of this
693         file and it's too difficult to convert all calls.  The file should
694         only be needed by the ipfw program which has to take care of the
695         correct kernel version and include files.
696
697         * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
699
700 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
701
702         * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
703         Patch by Zack Weinberg.
704
705         * math/bits/mathcalls.h: Adjust comments.  Remove gamma_r prototype.
706
707         * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
708         __USE_ISOC9X is defined.  Provide rint optimization.
709
710 1998-11-21  H.J. Lu  <hjl@gnu.org>
711
712         * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
713         popen, pclose): Add to GLIBC_2.1.
714
715         * libio/Makefile (routines): Add oldiopopen and oldpclose.
716         (shared-only-routines): Likewise.
717
718         * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
719         * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
720         _IO_proc_close): Likewise.
721
722         * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
723         __old_pclose): New prototypes.
724
725         * libio/libioP.h (_IO_new_file_jumps): Removed.
726         (_IO_old_proc_jumps): Added.
727         (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
728
729         * libio/oldiopopen.c: New file.
730
731         * libio/oldpclose.c: New file.
732
733 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
734
735         * nss/Makefile: Build and install getent.
736         * nss/getent.c: New, get entries from administrative database.
737
738 1998-11-22  Roland McGrath  <roland@baalperazim.frob.com>
739
740         * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
741         for the per-thread variables of the main user thread to make it
742         possible to use malloc as soon as _hurd_preinit_hook has been run.
743         For cthreads, copy values to new stack from there.
744         For non-cthreads, malloc threadvar array here and copy from temp space.
745         (init1): No longer initialize threadvars here.
746         (doinit1): Made static void at top level.
747         (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
748         inline a function that uses dynamic auto arrays.
749
750 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
751
752         * version.h (VERSION): Bump to 2.0.103.
753
754         * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
755         same method.
756         * configure.in: Don't define AR and RANLIB here.
757
758         * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
759         host name res_hconf code.
760         * inet/gethstbynm_r.c: Likewise.
761         * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
762         is defined.  Call res_hconf_init if necessary.  If POSTPROCESS is
763         defined execute the code.
764         * resolv/Makefile (routines): Add res_hconf.
765         (headers): Add res_hconf.h.
766         * resolv/res_hconf.c: Pretty print.
767         * resolv/res_hconf.h: Likewise.
768
769 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
770
771         * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
772         definitions.  Reported by Scott Bambrough <scottb@corelcomputer.com>.
773
774 1998-11-20 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
775
776         * math/libm-test.c: Raise some epsilons a bit.
777
778 1998-11-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
779
780         * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
781
782 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
783
784         * Makefile (distribute): Add scripts/gen-sorted.awk.
785
786 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
787
788         * posix/regex.c (regex_compile): Handle extra long class names
789         correctly.
790
791 1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>
792
793         * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
794         correctly.
795
796 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
797
798         * misc/error.c: Undo last change.
799
800         * ctype/Versions: Add _tolower and _toupper.
801
802 1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
803
804         * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
805         POLLNVAL.
806
807 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
808
809         * Makeconfig: Add comment to all-subdirs definition.
810         Add rule to generate sysd-sorted.  Include this file and and set
811         subdirs value to $(sorted-subdirs).
812         * scripts/gen-sorted.awk: New file.
813         * Make-dist (+tsrcs): Add Depend.
814         * nscd/Depend: New file.
815         * nss/Depend: New file.
816         * rt/Depend: New file.
817
818 1998-11-18  Ulrich Drepper  <drepper@cygnus.com>
819
820         * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
821         passed file descriptor exceeds the size determined by
822         getdtablesize.
823
824         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
825         from inline version in bits/socket.h.
826
827         * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
828         inline function only is __USE_EXTERN_INLINES is defined.
829
830         * time/strftime.c (my_strftime): Make code a bit clearer.
831         Patch by Paul Eggert <eggert@twinsun.com>.
832
833         * io/Makefile (CFLAGS-ftw.c): Removed.
834
835         * manual/errno.texi: Change the short text for ENODEV to
836         "No such device".
837
838 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
839
840         * io/Makefile (tests): Make sure that the test program has an
841         explicit directory part.
842
843 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
844
845         * configure.in: Fix last change.
846
847 1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
848
849         * sunrpc/Makefile (routines): Add create_xid.
850
851         * sunrpc/clnt_tcp.c: Use non-guessable xid.
852         * sunrpc/clnt_udp.c: Likewise.
853         * sunrpc/clnt_unix.c: Likewise.
854         * sunrpc/pmap_rmt.c: Likewise.
855         * sunrpc/create_xid.c: New, create non-guessable xid.
856
857         * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
858         of select.
859         * sunrpc/svc_unix.c: Use poll instead of select.
860
861 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
862
863         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
864         by removing SIG_IGN handler for SIGCHLD if necessary.
865         Patch by H.J. Lu <hjl@lucon.org>.
866
867         * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
868         of denormalized numbers.
869
870 1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>
871
872         * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
873         another parentheses warning, make nano-optimisation.
874
875         * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
876         saved LR on stack so _mcount works.
877         (_dl_prof_resolve): Likewise.
878         * sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
879         signal handler calling convention.
880         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
881         correct signal handler calling convention---more like x86 linux and
882         mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
883
884 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
885
886         * configure.in: Correct allowed makeinfo version.
887
888 1998-11-17  Philip Blundell  <pb@nexus.co.uk>
889
890         * sysdeps/generic/bits/mathdef.h: Fix typo.
891
892 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
893
894         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
895         under the right name (squish warning).
896         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
897
898 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
899
900         * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
901         prevent warnings.
902
903 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
904
905         * intl/locale.alias: Change `japanese' alias to match X11R6's.
906         Add `japanese.euc' alias.
907
908         * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
909         before running makeinfo.
910
911         * math/Makefile (libm-routines): $(strip) entire value.
912
913         * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
914
915 1998-10-24  H.J. Lu  <hjl@gnu.org>
916
917         * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
918         (_IO_cookie_file): Likewise.
919
920 1998-11-16  Philip Blundell  <philb@gnu.org>
921
922         * inet/netinet/icmp6.h: Correct naming of constants.
923
924 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
925
926         * sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
927         zero value as uninitialized so that variable can go into .bss.
928
929         * dirent/opendir-tst1.c: Print error strings to stdout.
930
931         * sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
932         * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
933         * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
934         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
935         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
936
937 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
938
939         * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
940         range.
941
942 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
943
944         * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
945         (fwrite_unlocked): Likewise.
946
947 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
948
949         * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
950         twice.  Don't bother handling zero size.
951         (fwrite_unlocked): Likewise.
952
953 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
954
955         * configure.in: Fix regex for makeinfo version string.
956
957 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
958
959         * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
960         warning.
961         * sunrpc/rpc_svcout.c (write_program): Likewise.
962
963 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
964
965         * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
966
967 1998-11-16  Ulrich Drepper  <drepper@cygnus.com
968
969         * misc/sys/mman.h: Pretty print prototypes.
970
971 1998-11-15  Ulrich Drepper  <drepper@cygnus.com
972
973         * misc/error.c (error): Don't use result of strerror_r call directly
974         since at least DEC Unix has a wrong return type.
975         Patch by Johan Danielsson <joda@pdc.kth.se>.
976
977 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
978
979         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
980         last change.
981
982 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
983
984         * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
985         format, just stop.
986
987         * version.h (VERSION): Bump to 2.0.102.
988
989         * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
990         change.
991         * stdio-common/scanf7.c (main): Likewise.
992
993 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
994
995         * stdio-common/vfscanf.c: Return EOF for invalid format
996         characters.
997
998         * version.h (VERSION): Bump to 2.0.101.
999
1000         * Makerules (Versions.all): Generate this file from all Versions.def
1001         files.
1002         (sysd-versions): Use Versions.all instead of Versions.def.
1003
1004 1998-11-13  Philip Blundell  <philb@gnu.org>
1005
1006         * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1007         Reported by Scott Bambrough.
1008
1009 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1010
1011         * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1012
1013 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
1014
1015         * libio/bits/stdio.h: Correct and improve fread_unlocked and
1016         fwrite_unlocked optimizations.
1017
1018         * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1019         in time not to last entries in the file.
1020         (__tzfile_compute): Likewise.  Fix for PR libc/863.
1021
1022         * timezone/Makefile: Generate GB timezone data for test.
1023         * timezone/tst-timezone.c: More tests for DST switching time (disabled
1024         for now).
1025
1026 1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1027
1028         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1029         d0 from clobber list.
1030
1031 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
1032
1033         * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1034
1035         * libio/Makefile (headers): Add bits/stdio.h.
1036         * libio/iofread_u.c: Undefine fread_unlocked before definition.
1037         * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1038         * libio/stdio.h: Move optimizations into ...
1039         * libio/bits/stdio.h: ...here.  New file.
1040
1041         * libio/iofread.c: Pretty print.
1042
1043 1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>
1044
1045         * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1046         __exit_status with `__'.  Rename pad member of struct utmpx to
1047         __unused.
1048         (RUN_LVL): Define unconditionally.
1049         * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
1050         __unused.
1051
1052 1998-11-12  Philip Blundell  <philb@gnu.org>
1053
1054         * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1055         Linux AF_NETLINK sockets (needed since the kernel version is
1056         unusable).
1057         * sysdeps/unix/sysv/linux/Makefile: Install it.
1058         * sysdeps/unix/sysv/linux/Dist: Distribute it.
1059
1060 1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1061
1062         * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1063         to test for bug in PR libc/863.
1064
1065 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
1066
1067         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1068
1069         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1070         parameter lazy to do_lazy to avoid clashing with struct member name.
1071         Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1072
1073 1998-11-10  H.J. Lu  <hjl@gnu.org>
1074
1075         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1076         if it is defined in <linux/limits.h>.
1077
1078 1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1079
1080         * include/protocols/routed.h: Include the real header with
1081         a full path from the top of the source tree.
1082         * include/protocols/rwhod.h: Likewise.
1083         * include/protocols/talkd.h: Likewise.
1084         * include/protocols/timed.h: Likewise.
1085
1086         * timezone/Makefile: Don't include z.ZONE files if no_deps
1087         is set, not if avoid-generated is set.
1088
1089 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
1090
1091         * signal/signal.h: Undo last change.  Get definition of timespec
1092         if __USE_POSIX199309.
1093
1094         * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1095         size_t to prevent gcc warning when using -Wqual-cast.
1096         (__strpbrk_c3): Likewise.
1097         Suggested by Alan Curry <pacman@cqc.com>.
1098
1099 1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>
1100
1101         * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1102         unblocked signals are set in the startup masks.
1103
1104         * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1105         INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
1106
1107         * hurd/hurd/signal.h: Update _hurdsig_init decl.
1108         * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1109         INTARRAYSIZE, pass them down to _hurdsig_init.
1110         * hurd/hurd.h: Update _hurd_proc_init decl.
1111
1112 1998-11-10  Ulrich Drepper  <drepper@cygnus.com>
1113
1114         * math/cabs.c: Replace complex by _Complex.
1115         * math/cabsf.c: Likewise.
1116         * math/cabsl.c: Likewise.
1117         * math/cimag.c: Likewise.
1118         * math/cimagf.c: Likewise.
1119         * math/cimagl.c: Likewise.
1120         * math/conj.c: Likewise.
1121         * math/conjf.c: Likewise.
1122         * math/conjl.c: Likewise.
1123         * math/creal.c: Likewise.
1124         * math/crealf.c: Likewise.
1125         * math/creall.c: Likewise.
1126
1127         * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1128         included from math.h and __USE_ISOC9X is defined.
1129         * sysdeps/generic/bits/mathdef.h: Likewise.
1130         * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1131         * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1132         * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1133         * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1134
1135 1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1136
1137         * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1138         <complex.h>.
1139         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1140         * sysdeps/generic/bits/mathdef.h: Likewise.
1141         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1142         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1143         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1144
1145 1998-11-09  Ulrich Drepper  <drepper@cygnus.com>
1146
1147         * extra-lib.mk: Fix typo in last change.
1148
1149         * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1150         is needed.
1151         Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1152         Don't define `complex' but instead `_Complex'.  The later is the
1153         reserved keyword.
1154         * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1155         not complex.
1156
1157 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1158
1159         * manual/libc.texinfo: Remove colon from category name.
1160         * manual/Makefile (dir-add.info): Likewise.
1161
1162 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1163
1164         * configure.in: Avoid autoconf bug.
1165
1166 1998-10-28  H.J. Lu  <hjl@gnu.org>
1167
1168         * posix/getopt.h: Add "__" to arguments in prototypes.
1169
1170 1998-11-05  H.J. Lu  <hjl@gnu.org>
1171
1172         * libio/iofgets.c (_IO_fgets): Don't report error
1173         if something was read in and errno is set to
1174         EAGAIN.
1175         * libio/iofgets_u.c (fgets_unlocked): Likewise.
1176
1177 1998-11-05  Philip Blundell  <philb@gnu.org>
1178
1179         * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1180         header; it defines too much.  Provide a local definition of struct
1181         sockaddr_pkt and a comment advising against its use.
1182
1183 1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1184
1185         * extra-lib.mk: Avoid empty include list.
1186
1187 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1188
1189         * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1190
1191         * elf/Makefile (libdl-routines): Add dlopenold only if doing
1192         versioning.
1193         (libdl-shared-only-routines): New variable.
1194
1195 1998-11-06  Paul Eggert  <eggert@twinsun.com>
1196
1197         Don't invoke localtime_r or gmtime_r unless it's the GNU C
1198         library's localtime_r and gmtime_r; there are too many buggy
1199         implementations of localtime_r and gmtime_r out there, and
1200         it's not worth keeping track of all the different bugs.
1201
1202         * time/mktime.c (__EXTENSIONS__): Remove.
1203         (<unistd.h>): No need to include.
1204         * time/strftime.c: Likewise.
1205
1206         * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1207         Remove.
1208         (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1209         Base it on localtime unless _LIBC.
1210
1211         * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1212         all uses changed.
1213         (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1214         Base them on localtime/gmtime if not _LIBC.
1215
1216 1998-11-07  Ulrich Drepper  <drepper@cygnus.com>
1217
1218         * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1219         file descriptor.  This makes this function actually usable.
1220         Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1221
1222 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
1223
1224         * math/math.h: Unconditionally include bits/mathdef.h.  Declare
1225         long double functions only if __NO_LONG_DOUBLE_MATH is not
1226         defined.
1227         * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1228         Define __NO_LONG_DOUBLE_MATH.
1229         * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1230         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1231
1232         * elf/rtld.c: Add a few __builtin_expects where they will improve
1233         a lot.
1234
1235 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
1236
1237         * version.h (VERSION): Bump to 2.0.100.
1238
1239         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1240
1241         * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1242         * sysdeps/libm-i387/s_fmaf.S: Likewise.
1243
1244 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1245
1246         * libio/genops.c (_IO_least_marker): Add additional parameter
1247         end_p replacing fp->_IO_read_end.
1248         (save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
1249         and _IO_ssize_t instead of int.
1250         (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1251         (_IO_switch_to_backup_area): Likewise.  Fix comments.
1252         (_IO_seekmark): Undo last change.
1253         (_IO_default_pbackfail): Correct use of backup area.
1254         * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1255
1256 1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1257
1258         * configure.in: Search for install-info and substitute it.
1259         Determine whether install-info is the buggy Debian version
1260         that doesn't understand INFO-DIR-SECTION.
1261         * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1262         to be substituted.
1263         * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1264         install-info the --section argument it needs to work properly.
1265         (dir-add.texinfo): Delete target.
1266         (dir-add.info): Generate this directly.  Sort entries.  Put a
1267         colon at the end of the INFO-DIR-SECTION line.
1268         * manual/libc.texinfo: Put a colon at the end of the
1269         @dircategory line.
1270
1271 1998-11-05  Paul Eggert  <eggert@twinsun.com>
1272
1273         * time/mktime.c (__mktime_internal): Adopt the traditional (and
1274         problematic) notion of what to do when tm_isdst doesn't match.
1275
1276 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1277
1278         * posix/PTESTS: Fix spelling.
1279
1280 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
1281
1282         * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1283         functions.  Reduce error in computing normalized value by multiplying
1284         factor in loop and compute result in one step.
1285         Reported by Christian Gafton.
1286
1287         * sysdeps/libm-i387/e_hypot.S: New file.
1288         * sysdeps/libm-i387/e_hypotf.S: New file.
1289
1290 1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1291
1292         * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1293
1294 1998-11-03  H.J. Lu  <hjl@gnu.org>
1295
1296         * libio/fileops.c (new_do_write): New function.
1297         (_IO_new_do_write): Call new_do_write.
1298         (_IO_new_file_xsputn): Likewise.
1299
1300         * libio/oldfileops.c (old_do_write): New function.
1301         (_IO_old_do_write): Call old_do_write.
1302         (_IO_old_file_xsputn): Likewise.
1303
1304 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
1305
1306         * time/mktime.c (__mktime_internal): Correct last change.  We must
1307         stop searching for the right isdst value before stepping to the
1308         initial value.
1309
1310         * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1311         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1312
1313 1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1314
1315         * sysdeps/generic/bits/signum.h: Define signals with their
1316         historical numbers when those are in the 1-15 range and
1317         consistent across platforms.
1318         Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1319         Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1320         appropriately instead of with fake function declarations
1321         (would cause link errors).
1322         If __USE_UNIX98, define SIG_HOLD.
1323
1324 1998-10-29  H.J. Lu  <hjl@gnu.org>
1325
1326         * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1327         union only if __USE_POSIX199309 is defined.
1328
1329         * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1330         defined.
1331
1332 1998-11-03  Ulrich Drepper  <drepper@cygnus.com>
1333
1334         * time/mktime.c (__mktime_internal): Handle broken down times
1335         around the time of the DST switches more correctly.
1336
1337 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1338
1339         * elf/Makefile (libdl-routines): Add dlopenold.
1340         * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1341         * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1342         is set and bounce otherwise.
1343         * elf/dlopen.c: Rename function to __dlopen_check and make version
1344         named dlopen.
1345         * elf/dlopenold.c: New file.
1346
1347 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1348
1349         * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1350         * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1351         * elf/dl-deps.c: ...here.
1352         * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1353         new parameter and expect result.  Remove code handling RTLD_GLOBAL.
1354         Add return value of _dl_map_object_deps to
1355         _dl_main_searchlist->r_nlist.
1356         * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1357         If we parameter GLOBAL is nonzero add object and dependencies to
1358         the global scope.
1359         * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1360         * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1361         Mark all objects as in global scope.
1362         * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1363
1364         * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1365
1366         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1367         used in macro magic.
1368
1369 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1370
1371         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1372         before <sys/socket.h> to make sockaddr_at available to
1373         <sys/socket.h>.
1374
1375         * posix/glob.h: Remove __P from parameter lists of declarations.
1376
1377 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1378
1379         * time/tzset.c (tz_compute): Remove unused parameter timer.
1380         Change caller.
1381
1382 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
1383
1384         * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1385
1386 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1387
1388         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1389         unnecessary test and add cast.
1390
1391 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1392
1393         * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1394
1395         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1396         parameter fd.
1397         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1398
1399 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
1400
1401         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1402         fds_bits member.
1403         (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1404
1405 1998-10-31  Richard Henderson  <rth@cygnus.com>
1406
1407         * math/Makefile (gmp-objs): Add udiv_qrnnd.
1408
1409         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1410         (inline_syscall*): New.
1411         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1412         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1413
1414 1998-10-31  Ulrich Drepper  <drepper@cygnus.com>
1415
1416         * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1417         avoid ld test generating an unwanted file.
1418
1419         * posix/PTESTS: Remove comment about incorrect test (it is correct).
1420
1421 1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1422
1423         * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1424         * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1425         * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1426         * sunrpc/rpc/xdr.h: Add INT32 support.
1427         * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
1428
1429         * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1430         * nis/nis_callback.c: Likewise.
1431         * nis/nis_creategroup.c: Likewise.
1432         * nis/nis_defaults.c: Likewise.
1433         * nis/nis_intern.h: Likewise.
1434         * nis/nis_lookup.c: Likewise.
1435         * nis/nis_ping.c: Likewise.
1436         * nis/nis_print.c: Likewise.
1437         * nis/nis_table.c: Likewise.
1438         * nis/nis_util.c: Likewise.
1439         * nis/nis_xdr.c: Likewise.
1440         * nis/rpcsvc/nis.h: Likewise.
1441         * nis/rpcsvc/nis.x: Likewise.
1442         * nis/rpcsvc/nis_callback.h: Likewise.
1443         * nis/rpcsvc/nis_object.x: Likewise.
1444         * nis/rpcsvc/nislib.h: Likewise.
1445
1446         * nis/rpcsvc/yp.h: Remove casts to (u_long).
1447         * nis/rpcsvc/yp_prot.h: Likewise.
1448         * nis/rpcsvc/ypupd.h: Likewise.
1449         * nis/ypclnt.c: Change %ld to %d in sprintf.
1450
1451 1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1452
1453         * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1454
1455 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1456
1457         * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1458         0, __fd_mask is usually not a char.
1459
1460 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1461
1462         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1463         compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1464         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1465         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1466         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1467         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1468         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1469         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1470
1471         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1472         compiling on systems without rt_sigaction syscall.
1473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1474         Likewise.
1475
1476 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1477
1478         * time/strptime.c (HERE_D_FMT): Fix typo.
1479         Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1480
1481 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
1482
1483         * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1484         (generate): Add test1.cat and test1.h.
1485         (distribute): Add test1.msg.
1486         * catgets/test1.msg: New file.
1487
1488         * catgets/gencat.c: Do a better job in initializing dynamic
1489         memory [PR libc/844].
1490
1491 1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>
1492
1493         * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1494         internal_function since it is called through a pointer.
1495         * iconv/gconv_db.c (free_derivation): Likewise.
1496         * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1497
1498         * posix/wordexp.c: Add internal_function to parse_backtick definition.
1499         * rt/aio_misc.c: Add internal_function to __aio_free_request,
1500         __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1501         definitions.
1502         * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1503         __aio_notify definitions.
1504         * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1505
1506 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
1507
1508         * Makerules (build-shlib): Add -O to generate optimized shared
1509         objects.
1510
1511 1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>
1512
1513         * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1514         * sysdeps/libm-i387/e_fmodf.S: Likewise.
1515         * sysdeps/libm-i387/e_fmodl.S: Likewise.
1516         * sysdeps/libm-i387/s_ilogb.S: Likewise.
1517         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1518         * sysdeps/libm-i387/s_logb.S: Likewise.
1519         * sysdeps/libm-i387/s_logbf.S: Likewise.
1520         * sysdeps/libm-i387/s_remquo.S: Likewise.
1521         * sysdeps/libm-i387/s_remquof.S: Likewise.
1522         * sysdeps/libm-i387/s_remquol.S: Likewise.
1523         * sysdeps/libm-i387/s_significand.S: Likewise.
1524         * sysdeps/libm-i387/s_significandf.S: Likewise.
1525
1526 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
1527
1528         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1529         _llseek.
1530
1531 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
1532
1533         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1534
1535 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
1536
1537         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1538         returns without cleaning up the lock.
1539         (printf_unknown): Add label all_done.
1540
1541         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1542         kernels in mind when reading /proc/self/fd/FD.
1543         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1544
1545         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1546
1547         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1548         _fitoa.
1549
1550         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1551         /prof/self/fd/FD first.
1552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1553
1554         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
1555         formatted number starting at given position and return pointer to
1556         following byte.
1557         (_fitoa): Likewise, for long long.
1558
1559 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
1560
1561         * sysdeps/unix/sysv/linux/bits/sem.h,
1562         sysdeps/unix/sysv/linux/bits/ipc.h,
1563         sysdeps/unix/sysv/linux/bits/shm.h,
1564         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1565         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1566         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1567         so the same bits will be used for the Hurd.
1568
1569 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
1570
1571         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1572         compiling on systems without rt_sigaction syscall.
1573
1574 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
1575
1576         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1577         directories as well as add them.
1578
1579 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
1580
1581         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
1582         AF_ECONET sockets as found in recent Linux 2.1 kernels.
1583         * sysdeps/unix/sysv/linux/Dist: Distribute it.
1584         * sysdeps/unix/sysv/linux/Makefile: Install it.
1585
1586 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1587
1588         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1589
1590 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1591
1592         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1593         fds_bits member.
1594         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1595         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1596         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1597         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1598         Likewise.
1599         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1600         Likewise.
1601         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1602         __FD_ISSET): Use it.
1603         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1604         __FD_ISSET): Likewise.
1605
1606 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
1607
1608         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1609         llseek.
1610
1611         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1612         Instead call the system call wrapper function using an 64bit argument.
1613         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1614         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1616
1617 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
1618
1619         * signal/signal.h: Don't include <time.h> for timespec, add
1620         forward declaration.
1621
1622         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1623         of __FD_* macros which use __fds_bits.
1624         * sysdeps/generic/bits/select.h: Likewise.
1625         Reported by Matt McLean <keys@yikes.com>.
1626
1627 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
1628
1629         * elf/elf.h: Update ARM definitions.
1630
1631 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
1632
1633         * signal/signal.h: Include bits/sigthread.h only for Unix98.
1634
1635 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
1636
1637         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1638         define __builtin_expect as a macro substituting to the first
1639         argument.
1640         * config.h.in: Define HAVE_BUILTIN_EXPECT.
1641         * configure.in: Add test for __builtin_expect.
1642
1643         * sysdeps/unix/sysv/linux/bits/types.h: Include
1644         bits/pthreadtypes.h only not for POSIX 199506.
1645         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1646         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1647         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1648
1649 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
1650
1651         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1652         * socket/Versions [libc, GLIBC_2.0]: ... to here.
1653
1654 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1655
1656         * include/stdio.h: Included <stddef.h> for size_t.
1657
1658         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1659         to ...
1660         * include/stdio.h: ...here.
1661         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1662
1663 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
1664
1665         * time/Makefile (tests): Add tst-posixtz.
1666         * time/tst-posixtz.c: New file.
1667
1668 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1669
1670         * elf/rtld.c (process_envvars): Accept any non-null value of
1671         LD_BIND_NOW, as mandated by the ABI.
1672
1673 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1674
1675         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1676         __syscall_pread.
1677         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1678         __syscall_pwrite.
1679         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1680         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1681         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1682         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1683         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
1684         duplicate entries.
1685         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1686         s_pread64 and s_pwrite64.
1687         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1688
1689 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1690
1691         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
1692         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
1693         to __syscall__llseek.
1694         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1695         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
1697         __sys_llseek.
1698
1699 1998-10-26  Cristian Gafton  <gafton@redhat.com>
1700
1701         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
1702         and s_setfsuid.
1703
1704 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
1705
1706         * time/tzset.c (tz_compute): Correct last patch and describe this
1707         in a comment.
1708
1709 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1710
1711         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
1712         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
1713         rt_sigaction and rt_sigpending.
1714         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
1715         for __syscall_* functions.
1716         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1717
1718 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
1719
1720         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
1721         _hurd_dtable_lock, _hurd_intern_fd.
1722
1723         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
1724         cthread_getspecific, cthread_setspecific, __libc_getspecific.
1725
1726         * mach/Versions: Fix typo in last change.
1727
1728 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1729
1730         * time/tzset.c (tz_compute): If time to switch to DST is later in
1731         the year switch back in the next year.
1732         Reported by jwitford@hutch.com.au.
1733
1734 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
1735
1736         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1737         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1738         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1739         __mach_port_allocate, __mach_port_allocate_name,
1740         __mach_port_insert_right __mutex_trylock, __mutex_lock,
1741         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1742         __task_set_special_port, __task_terminate, __thread_depress_abort,
1743         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
1744         functions are not used outside libc.
1745
1746         * sysdeps/mach/hurd/Versions: New file.
1747         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1748         _cthread_init_routine.  These are set by the Hurd cthreads library.
1749         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
1750         the dynamic linker will not be replaced by the corresponding shared
1751         library routines once they are loaded.
1752
1753 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
1754
1755         * sysdeps/mach/hurd/i386/init-first.c: Only define
1756         __libc_enable_secure if PIC is not defined.
1757
1758 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
1759
1760         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
1761         to recurse into argp.
1762
1763 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1764
1765         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
1766         greater or equal than 199506L.
1767
1768         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
1769         only is __USE_XOPEN.  Otherwise use __fds_bits.
1770         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1771         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1772         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1773         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1774         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1775
1776 1998-10-24  H.J. Lu  <hjl@gnu.org>
1777
1778         * locale/programs/charmap.c (parse_charmap): Accept tok_string
1779         for <code_set_name>.
1780
1781 1998-10-25  H.J. Lu  <hjl@gnu.org>
1782
1783         * locale/programs/ld-ctype.c (ctype_finish): Also check
1784         <space>.
1785
1786 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
1787
1788         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1789
1790         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1791         if __USE_POSIX199506 or __USE_UNIX98.
1792
1793 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1794
1795         * string/bits/string2.h: Inline strdup+friends only if
1796         __USE_MISC || __USE_GNU (prevents namespace pollution).
1797
1798 1998-10-24  H.J. Lu  <hjl@gnu.org>
1799
1800         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1801         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1802         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1803         LOCK_NB, LOCK_UN): Likewise.
1804         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1805         LOCK_NB, LOCK_UN): Likewise.
1806         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1807         LOCK_NB, LOCK_UN): Likewise.
1808         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1809         LOCK_NB, LOCK_UN): Likewise.
1810
1811 1998-10-24  H.J. Lu  <hjl@gnu.org>
1812
1813         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1814
1815         * libio/rewind.c (rewind): Clear the error.
1816
1817 1998-10-24  H.J. Lu  <hjl@gnu.org>
1818
1819         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1820         "buffer".
1821
1822 1998-10-24  H.J. Lu  <hjl@gnu.org>
1823
1824         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1825         with __need_timeval.
1826         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1827         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1828
1829 1998-10-24  H.J. Lu  <hjl@gnu.org>
1830
1831         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1832         sigqueue): Protect with __USE_POSIX199309.
1833
1834 1998-10-24  H.J. Lu  <hjl@gnu.org>
1835
1836         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1837         __USE_POSIX.
1838
1839 1998-10-24  H.J. Lu  <hjl@gnu.org>
1840
1841         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1842         the kernel file offset.
1843         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1844
1845 1998-10-24  H.J. Lu  <hjl@gnu.org>
1846
1847         * time/tzfile.c (__tzfile_default): Set num_types to 2.
1848
1849 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1850
1851         * rt/aio.h: Move __aio_init to...
1852         * include/aio.h: ...here.
1853
1854 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1855
1856         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1857         definition of O_LARGEFILE.
1858
1859 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1860
1861         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1862         as first argument to statfs.
1863
1864 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1865
1866         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1867
1868 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1869
1870         * malloc/mtrace.c: Include <string.h> for strlen.
1871
1872 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1873
1874         * sysdeps/mach/hurd/bits/environments.h: New file.
1875
1876         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1877
1878         * mach/Versions, hurd/Versions: Add numerous symbols.
1879         Remove libmachuser and libhurduser sections, punt
1880         versioning for those libraries for now.
1881
1882         * misc/Versions: Add reboot here; it exists on all platforms.
1883         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1884
1885 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1886
1887         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1888         macro.
1889         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1890         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1891         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1892         O_NOFOLLOW, O_DIRECT): New macros.
1893         (O_DIRECTORY): Correct definition according to official 2.1.126.
1894         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1895         O_NOFOLLOW): New macros.
1896
1897 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
1898
1899         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1900
1901         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1902         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1903
1904 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1905
1906         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1907         setfsuid.c, and setfsgid.c.
1908         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1909         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1910         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1911
1912         * version.h (VERSION): Bump to 2.0.99.
1913
1914         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1915         ustat definition.
1916
1917         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1918         s_pwrite64.c.
1919
1920         * posix/fnmath.h: Don't redefine __P when used in glibc.
1921         * posix/glob.h: Likewise.
1922
1923         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1924         Patch by Dick Streefland <dick_streefland@tasking.com>.
1925
1926         * stdio-common/tst-ungetc.c: Add more test cases.
1927
1928         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1929         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1930         definitions to ...
1931         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
1932         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1933         * sysdeps/unix/sysv/linux/pathconf.c: New file.
1934         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1935         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1936
1937 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
1938
1939         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1940         <asm/ptrace.h> to define struct pt_regs.
1941         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1942         including <asm/ptrace.h> here.
1943
1944         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1945         C_SYMBOL_NAME macro.
1946
1947 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1948
1949         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1950         end of enumerator list.
1951         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1952         * posix/wordexp.h: Likewise.
1953
1954         * db/db.h: Use __PMT instead of __P in typedefs.
1955         * db/mpool.h: Likewise.
1956         * sysdeps/generic/bits/siginfo.h: Likewise.
1957         * nis/rpcsvc/ypclnt.h: Likewise.
1958
1959 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
1960
1961         * libio/genops.c (_IO_seekmark): When switching to backup buffer
1962         make sure all characters from the read buffer are read after
1963         switching back to it.
1964
1965 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1966
1967         * configure.in: Add support for Cygnus GNUPro compilers.
1968
1969 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1970
1971         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1972
1973         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1974         of __P for sa_restorer.
1975         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1976         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1977         kernel_sigaction, old_kernel_sigaction): Likewise.
1978
1979 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
1980
1981         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1982         and __syscall_pwrite aliases.
1983
1984         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
1985
1986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1987         improve INLINE_SYSCALL using macro assembler magic.
1988
1989 1998-10-22  H.J. Lu  <hjl@gnu.org>
1990
1991         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1992         sanity check for n.
1993         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1994
1995         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1996         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
1997
1998         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
1999         by VSX-PCT.
2000
2001         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
2002
2003 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
2004
2005         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2006         __ASSEMBLER__.
2007
2008 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
2009
2010         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2011         and adjust formats.
2012
2013 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
2014
2015         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
2016         __syscall_* function.
2017         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2018         of calling __syscall_* function.
2019         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2020         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2021         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2022         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2023         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2024         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2025         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2026         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2027         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2028         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2029         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2030         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2031         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2032         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2033         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2034         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2035         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2036         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2037         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2038         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2039         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2040         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2041         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2042         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2043         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2044         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2045         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2046         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2047         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2048         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2049         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2050         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2051         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2052         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2053         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2054         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2055         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2056         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2057         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2058         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2059         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2060         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2061
2062         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2063         inline assembler.
2064         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2065         __syscall_* definitions.
2066
2067         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2068         definitions to...
2069         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2070         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2071         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2072         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2073         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2074         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2075         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2076
2077         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2078         Move definition to...
2079         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2080         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2081         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2082         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2083         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2084         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2085         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2086
2087         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2088         (sysdep_routines): Remove s_pread64 and s_pwrite64.
2089
2090         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2091         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2092         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2093         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2094         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2095         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2096
2097 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2098
2099         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2100         and bring them in synch.
2101         * sysdeps/unix/siglist.c: Likewise.
2102         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2103
2104 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2105
2106         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2107         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2108
2109         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2110         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2111         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2112         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2113         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2114         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2115         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2116         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2118         s_setregid.
2119         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2120         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2121         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2122
2123 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2124
2125         * sunrpc/rpc_main.c (close_output, close_input): New functions.
2126         (c_output, h_output, s_output, l_output, t_output, svc_output,
2127         clnt_output, mkfile_output): Call them at the end.
2128
2129 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2130
2131         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2132         link command.
2133
2134 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2135
2136         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2137         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2138
2139 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
2140
2141         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2142         s_pwrite64.
2143         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2144         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2145         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2146         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2147         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2148
2149 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2150
2151         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2152         O_DIRECTORY.
2153
2154 1998-10-20  H.J. Lu  <hjl@gnu.org>
2155
2156         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2157         argument types.
2158
2159 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2160
2161         * math/tgmath.h: Make nested function calls work.
2162
2163         * include/ldsodefs.h: Fix typo.
2164
2165         * posix/Makefile (tests): Add tst-preadwrite.
2166         * posix/tst-preadwrite.c: New file.
2167
2168         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2169         sure that descriptor is in any case for a directory.
2170
2171 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2172
2173         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2174         (atan2): Takes two arguments.
2175
2176 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2177
2178         * include/ldsodefs.h: New file.
2179
2180         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2181         Remove change to avoid using _CALL_DL_FCT.
2182         * iconv/gconv_db.c: Likewise.
2183         * iconv/gconv_dl.c: Likewise.
2184         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2185         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2186         * nss/nsswitch.c: Likewise.
2187         * nss/nsswitch.h: Likewise.
2188
2189 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
2190
2191         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2192         required libraries.
2193         * login/Makefile (otherlibs): Likewise.
2194         * nscd/Makefile (otherlibs): Likewise.
2195         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2196
2197         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2198
2199         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2200
2201 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
2202
2203         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2204         and setfsuid.
2205
2206 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2207
2208         * nscd/connections.c: Fix typos in comments and strings.
2209
2210         * nscd/nscd.conf: Update according to recent changes to nscd.
2211
2212         * nscd/cache.c (prune_cache): Remove wrong comment.
2213
2214 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
2215
2216         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2217         category in copy_posix.
2218         (collate_finish): Don't warn about UNDEFINED not being defined.
2219         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2220         category in copy_posix.
2221         * locale/programs/ld-messages.c (messages_startup): Likewise.
2222         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2223         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2224         * locale/programs/ld-time.c (time_startup): Likewise.
2225         * locale/programs/localedef.c: Move copy_def_list_t definition into
2226         locales.h.  Define copy_posix variable.
2227         (main): Before processing copy list add &copy_posix to copy_list.
2228         * locale/programs/locales.h: Add definition of copy_def_list_t.
2229         * locale/programs/locfile.c: Clear bit for appropriate category in
2230         copy_posix.mask for copy instruction.
2231
2232 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2233
2234         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2235         non-existing file with generic implementation.
2236         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2237
2238 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
2239
2240         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2241         defined.  Avoid using _CALL_DL_FCT if it is not defined.
2242         * iconv/gconv.c: Likewise.
2243
2244 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2245
2246         * nscd/connections.c (dbs): Define defualt values for timeouts and
2247         set enabled to 0 by default.
2248         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
2249         nscd_run.
2250
2251         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2252         character >= 0x80.
2253         (_nl_C_LC_CTYPE_class32): Likewise.
2254         Reported by HJ Lu.
2255
2256 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
2257
2258         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2259         _HURD_THREADVAR_DL_ERROR.
2260
2261         * hurd/Makefile (user-interfaces): Add login, password.
2262
2263         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2264
2265 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
2266
2267         [submitted 1998-08-06]
2268         * mach/Machrules: Create target directory and force re-evaluation
2269         of Makefile to prevent `make' from optimizing away most of the
2270         implicit rules and `vpath' directives.
2271
2272 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
2273
2274         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2275         is null, short-circuit to __mach_msg.
2276
2277         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2278         broken out of init1.
2279         (init1) [PIC]: Call it.
2280         (__libc_init_first) [! PIC]: Call it.
2281
2282         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2283         __libc_init_secure.  Instead set __libc_enable_secure here from
2284         the exec flags.
2285         (__libc_enable_secure): New variable it.
2286         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2287
2288 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
2289
2290         * nscd/nscd-client.h: New file, broken out of "nscd.h".
2291         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2292         and #include that.
2293         * nscd/Makefile (distribute): Add nscd-client.h.
2294         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2295         Include "nscd-client.h" instead of "nscd.h"
2296
2297 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
2298
2299         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2300         directory entries when a lstat call fails.
2301         Patch by Colin Plumb <colin@nyx.net>.
2302
2303         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2304         NSS functions.
2305         * resolv/nss_dns/dns-network.c: Likewise.
2306
2307         * grp/Makefile: Don't search for linuxthreads in add-ons, use
2308         have-thread-library to determine whether threads are available.
2309         * pwd/Makefile: Remove wrong comment.
2310
2311         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2312         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2313
2314         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2315
2316         * nss/Versions: Add __nss_hosts_lookup.
2317
2318         * nss/getXXbyYY.c: Remove unneeded assignment.
2319
2320         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2321
2322         Almost complete rewrite of the NSCD to make it smaller, faster,
2323         add more functionnality and make it easier to extend.
2324         * nscd/Makfile (routines): Add nscd_gethst_r.
2325         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2326         * nscd/cache.c: New file.
2327         * nscd/gethstbyad_r.c: New file.
2328         * nscd/gethstbynm2_r.c: New file.
2329         * nscd/hstcache.c: New file.
2330         * nscd/nscd_gethst_r.c: New file.
2331         * nscd/connections.c: Rewritten.  Don't start new thread for every
2332         new connection.  Use a fixed set of threads which handle all
2333         connections and also the cache cleanup.
2334         * nscd/grpcache.c: Rewritten to use generic cache handling functions
2335         in cache.c.
2336         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
2337         for rewrite.  Remove handle_requests function.
2338         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2339         Define new data structure for the new unified cache and the host
2340         database entries.
2341         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2342         databases easily.  Recognize check-files and threads definitions.
2343         * nscd/nscd.conf: Add definition of enable-cache and check-files to
2344         passwd and group definitions.  Add new set of definitions for hosts.
2345         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2346         * nscd/nscd_getpw_r.c: Likewise.
2347         * nscd/nscd_proto.h: Add prototype for host database functions.
2348         * nscd/nscd_stat.c: Rewrite to simplify printing of information
2349         for many databases.
2350         * nscd/dbg_log.c: Remove unnecessary variable initializations.
2351         Global variable debug_flag is renamed to dbg_level.
2352         * nscd/dbg_log.h: Declare set_logfile.
2353
2354 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2355
2356         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2357         O_LARGEFILE back.
2358
2359 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
2360
2361         * time/mktime.c: Some systems require <unistd.h> to be
2362         included before <time.h> for localtime_r to be declared
2363         properly.
2364         * time/strftime.c: Likewise.
2365
2366 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2367
2368         * db/Makefile: Add rule to generate shared object with the soname
2369         from glibc 2.0.
2370
2371         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
2372         available double check to verify it's a directory.
2373
2374         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2375         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2376         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2377         are not generally available.
2378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2379
2380         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2381         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2382         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2383         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2384         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2385         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2386         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2387         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2388         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2389         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2390         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2391         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2392         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2393         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2394         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2395         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2396         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2397         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2398         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2399         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2400         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2401         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2402         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2403         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2404         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2405         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2406         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2407         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2408         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2409         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2410         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2411         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2412         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2413         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2414         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2415         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2416         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2417         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2418
2419         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2420         s_setresgid, and s_setuid.
2421         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2422         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2423         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2424         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2425         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2426         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2427         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2428
2429 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2430
2431         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2432         localtime_t declaration on some systems.
2433
2434 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
2435
2436         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2437         -DSTATIC_GCONV.
2438         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
2439         defined.  Avoid using DL_CLL_FCT if it is not defined.
2440
2441 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2442
2443         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2444         Include endian.h unconditionally.  Remove portability goop
2445         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2446
2447 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2448
2449         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2450
2451 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
2452
2453         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2454         again.  Use char[44] to define size of the struct.
2455
2456         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2457
2458 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2459
2460         * string/bits/string2.h (strcmp): Don't cache the result of
2461         __builtin_constant_p in variables, otherwise constant folding
2462         can fail in big functions.
2463
2464 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2465
2466         * string/bits/string2.h: Add prototypes for the new inline
2467         functions.
2468
2469 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
2470
2471         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2472         have all types defined.
2473         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2474
2475 1998-10-08  Paul Eggert  <eggert@twinsun.com>
2476
2477         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2478         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2479         a body that merely expands localtime_r; this works around a
2480         bug in Digital Unix 4.0A and 4.0D.
2481
2482 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
2483
2484         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2485         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2486         __ioctl to __syscall_ioctl and include Linux version of this file.
2487         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2488         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
2489         ioctl calls which handle struct termios.
2490         Based on a patch by Dan Jacobowitz <drow@false.org>.
2491
2492 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
2493
2494         * version.h (VERSION): Bump to 2.0.98.
2495
2496         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2497         here instead of including kernel_termios.h.
2498
2499 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2500
2501         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2502         unnecessary after the changes of 1998-10-12.
2503
2504 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
2505
2506         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2507         parameter format string.
2508         (inline_outw): Likewise.
2509
2510         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2511         string.h to get memcpy prototype and NULL definition.
2512
2513 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2514
2515         * misc/sys/cdefs.h (__THROW): New macro.
2516         * argp/argp.h: Use it to replace the kludgey __P in inline
2517         function definitions.
2518         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2519         * stdlib/stdlib.h: Likewise.
2520         * wcsmbs/wchar.h: Likewise.
2521         * libio/stdio.h: Likewise.
2522         * stdio/stdio.h: Likewise.
2523         * sysdeps/wordsize-64/inttypes.h: Likewise.
2524         * sysdeps/wordsize-32/inttypes.h: Likewise.
2525         * string/argz.h: Likewise.
2526         * io/sys/stat.h: Likewise.
2527
2528 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2529
2530         * Rules (stdio_lim): New variable.
2531         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2532         on Rules and config.make, use $(move-if-change) to avoid unnessary
2533         recompilations, and cleanup command.
2534         (common-generated): Add bits/stdio_lim.st.
2535
2536 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
2537
2538         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2539         variable to prevent warnings from use of modern CPU instructions.
2540         Patch by Richard Henderson <rth@cygnus.com>.
2541
2542         * sysdeps/unix/opendir.c: Test whether NAME is directory before
2543         opening it.
2544
2545 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
2546
2547         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2548         semicolon so that profiling works.
2549
2550 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
2551
2552         * sysdeps/generic/glob.c: #undef mempcpy before #define.
2553
2554         * sysdeps/unix/bsd/clock.c: Use prototype defns.
2555
2556 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
2557
2558         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2559         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2560
2561         * string/bits/string2.h [!_STRING_ARCH_unaligned]
2562         (__mempcpy_small): Add parameter for 1 byte copy and use it.
2563         Reported by Geoff Keating <geoffk@ozemail.com.au>.
2564
2565 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
2566
2567         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2568         it is already defined in <bits/environments.h>.
2569
2570 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
2571
2572         * posix/ptestcases.h: Fix typo.
2573
2574 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2575
2576         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2577         (regexec): Allocate regs.start and regs.end as one block.
2578
2579 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2580
2581         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2582         enum decl.
2583
2584 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
2585
2586         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2587         sigcontext union to ...
2588         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
2589         file.
2590         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2591         version 2.0 kernels.
2592
2593 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
2594
2595         * malloc/mtrace.c (tr_reallochook): Produce better output for real
2596         reallocation case.
2597
2598         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
2599         * argp/argp-xinl.c: Likewise.
2600
2601         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2602         Ruffian entry back.
2603         Patch by Christian Gafton.
2604
2605 1998-10-08  Paul Eggert  <eggert@twinsun.com>
2606
2607         * time/mktime.c (__mktime_internal): When the requested time falls
2608         in a spring-forward gap of size DT, return a time that is DT away
2609         from the requested time, preferring a time whose tm_isdst differs
2610         from the requested value.  Bump the max number of probes from 4 to
2611         6 to account for the extra probes needed to discover a
2612         spring-forward gap in the worst case.
2613
2614 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
2615
2616         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2617         of the weird alpha architectures.
2618         Patch by Cristian Gafton <gafton@redhat.com>.
2619
2620 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
2621
2622         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2623         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
2624
2625 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
2626
2627         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2628         (dl_open_worker): Use realloc, not malloc to resize array.
2629         * elf/rtld.c (_dl_initial_searchlist): New variable.
2630         (_dl_main): Copy content of _dl_main_searchlist to
2631         _dl_initial_searchlist.
2632         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2633         _dl_global_scope_alloc.
2634         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2635         * elf/dl-close.c (_dl_close): When removing object with global
2636         scope remove allocated searchlist if no dynamically loaded object
2637         is on it anymore.
2638         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2639         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2640
2641         * malloc/mtrace.c (tr_where): Don't print space in location string,
2642         print it afterwards.  Print better symbol name information.
2643
2644 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2645
2646         * manual/filesys.texi (Setting Permissions): Fix example for
2647         reading umask.
2648
2649 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2650
2651         * elf/sprof.c (load_profdata): Fix typo in error message.
2652
2653 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2654
2655         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2656         flag.
2657
2658 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2659
2660         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2661
2662 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
2663
2664         * version.h (VERSION): Bump to 2.0.97.
2665
2666 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2667
2668         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2669         in definitions of inline stat functions so that they match the
2670         declaration.
2671         * stdlib/stdlib.h: Likewise.
2672         * wcsmbs/wchar.h: Likewise.
2673         * libio/stdio.h: Likewise.
2674         * stdio/stdio.h: Likewise.
2675         * sysdeps/wordsize-64/inttypes.h: Likewise.
2676         * sysdeps/wordsize-32/inttypes.h: Likewise.
2677         * string/argz.h: Likewise.
2678         * argp/argp.h: Likewise.
2679
2680 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
2681
2682         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
2683         netinet/in.h.
2684
2685 1998-10-05  Philip Blundell  <philb@gnu.org>
2686
2687         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
2688         and constants.  Tidy up formatting a little.
2689
2690         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
2691         Move definitions to in.h.
2692
2693 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2694
2695         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
2696         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
2697         Remove inclusion of <linux/swap.h>.
2698
2699 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2700
2701         * io/sys/stat.h: Use __P in definitions of inline stat functions
2702         so that they match the declaration.
2703
2704 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2705
2706         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
2707
2708 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2709
2710         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
2711         linux 2.1 version.
2712
2713 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
2714
2715         * sysdeps/arm/dl-machine.h: Fix typo in last change.
2716
2717         * sysdeps/arm/bits/huge_val.h: New file.
2718
2719 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2720
2721         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
2722
2723         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
2724         define.
2725
2726 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2727
2728         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
2729         store result of realloc instead of using BUF.
2730
2731 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2732
2733         * misc/sgtty.h (_SGTTY_H): Correct spelling.
2734         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
2735
2736 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2737
2738         * manual/memory.texi (Obstacks): Document
2739         obstack_alloc_failed_handler usage.
2740
2741         * malloc/obstack.h: Enhance comment about
2742         obstack_alloc_failed_handler usage.
2743         * malloc/obstack.c: Likewise.
2744
2745 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
2746
2747         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2748         gcc before 2.8 is used.
2749
2750 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
2751
2752         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
2753         from Scott Bambrough.
2754
2755         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
2756
2757         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
2758         include the lock member.
2759
2760 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
2761
2762         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
2763
2764 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
2765
2766         * timezone/zic.c: Update from tzcode1998h.
2767         * timezone/europe: Update from tzdata1998i.
2768         * timezone/southamerica: Likewise.
2769
2770         * sys/types.h: Protect use of long long by __extension__.
2771         * stdlib/stdlib.h: Likewise.
2772         * string/string.h: Likewise.
2773         * sysdeps/i386/bits/byteswap.h: Likewise.
2774         * sysdeps/geeric/bits/byteswap.h: Likewise.
2775         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2776         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2777         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2778         * sysdeps/wordsize-32/inttypes.h: Likewise.
2779         * sysdeps/wordsize-32/stdint.h: Likewise.
2780         * wcsmbs/wchar.h: Likewise.
2781
2782 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2783
2784         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
2785         expression.
2786         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
2787         __strsep): Greatly reduce size of expansion by combining common
2788         expressions.
2789         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2790         inline function.
2791         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2792         by the above definitions.
2793
2794 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
2795
2796         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2797         correct struct ipc_perm definition.
2798
2799 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2800
2801         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2802
2803 1998-09-29  Cristian Gafton  <gafton@redhat.com>
2804
2805         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2806         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
2807         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2808         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2809         Add net/if_shaper.h.
2810
2811 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
2812
2813         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2814
2815         * nis/ypclnt.c: Remove not needed close calls.
2816
2817 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
2818
2819         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
2820         check a bit.  Also close socket of domain client.  Close socket
2821         in IPPORT_RESERVED error case.
2822
2823 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2824
2825         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2826         CMSG_ALIGN (fixes a bug) and correct test for availability of
2827         another entry.
2828         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2829         Linux version.
2830         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2831         availability of another entry.
2832         Patch by ak@muc.de.
2833
2834         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2835         Patch by ak@muc.de.
2836
2837         * libio/libio.h [!__STDC__]: Define const only if not defined.
2838
2839 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2840
2841         * posix/annexc.c (xsystem): New function.  Use it instead of
2842         system.
2843
2844 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
2845
2846         * stdlib/longlong.h: Remove #endif for #if removed in last change.
2847
2848 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2849
2850         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2851         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2852         allow using `ut' parameter.
2853         [!emacs]: Define ut_argument, ut_argument_spec, and
2854         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
2855         argument_spec to prototypes and definitions.
2856         (my_strftime): Don't call tzset of ut != 0.
2857         Compute diff as 0 is ut != 0;
2858         [emacs]: Define new emacs_strftime function.
2859         Based on a patch by Paul Eggert.
2860
2861 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2862
2863         * time/strftime.c (my_strftime): When asking for the length of the
2864         subformatted buffer, do not limit the length to look for;
2865         otherwise, we have no reliable way to distinguish between the
2866         empty buffer and an error.
2867
2868 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
2869
2870         * math/Makefile (gmp-objs): Add mp_clz_tab.
2871
2872 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
2873
2874         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2875         set them.
2876         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2877         cpus lacking hardware multiply and divide.
2878
2879 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2880
2881         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2882         $(<F), not $(^F).
2883
2884 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2885
2886         * db/btree/bt_delete.c: Fix -Wparentheses warning.
2887
2888 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2889
2890         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2891         $(do-install).
2892
2893 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2894
2895         * debug/catchsegv.sh: Also produce output if clone process died.
2896
2897 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2898
2899         * time/strftime.c (f_wkday): Remove duplicate definition.
2900         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2901         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2902         1998-09-11 fix to this case.
2903         (wkday_len, month_len): Remove these macros; they're no longer needed.
2904
2905 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2906
2907         * time/strftime.c (my_strftime): Don't store past the end of a
2908         zero-sized buffer.
2909
2910 1998-09-24  Paul Eggert  <eggert@twinsun.com>
2911
2912         * time/strftime.c (underlying_strftime):
2913         Set the buffer to a nonzero value before calling
2914         strftime, and check to see whether strftime has set the buffer to zero.
2915         This lets us distinguish between an empty buffer and an error.
2916
2917 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
2918
2919         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
2920         This fix is propagated from tzcode1998g.tar.gz.
2921
2922 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
2923
2924         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2925         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
2926         sys_siglist.  This is handled correctly by the weak_alias macro.
2927
2928 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
2929
2930         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2931         of mempcpy.  Reported by Andreas Jaeger.
2932
2933         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
2934         pollute the namespace since the compiler will resolve it inline.
2935         Reported by Florian La Roche <florian@suse.de>.
2936
2937 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
2938
2939         * timezone/private.h: Update from tzcode1998g.
2940
2941         * timezone/africa: Update from tzdata1998h.
2942         * timezone/asia: Likewise.
2943         * timezone/australasia: Likewise.
2944         * timezone/europe: Likewise.
2945         * timezone/northamerica: Likewise.
2946         * timezone/southamerica: Likewise.
2947         * timezone/zone.tab: Likewise.
2948
2949 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2950
2951         * misc/sys/mman.h: New file.
2952
2953         * sysdeps/generic/bits/mman.h: New file.
2954         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2955         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2956         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2957         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2958
2959         * sysdeps/generic/sys/mman.h: Removed.
2960         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2961         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2962         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2963         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2964         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2965
2966         * include/sys/mman.h: Look directly for misc/sys/mman.h.
2967         * misc/Makefile (headers): Add bits/mman.h.
2968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2969         bits/mman.h.
2970
2971         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2972         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2973         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2974         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2975         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2976         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2977         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2978         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2979
2980 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2981
2982         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2983         * sysdeps/mach/alpha/thread_state.h: Likewise.
2984         * sysdeps/mach/i386/sysdep.h: Likewise.
2985         * sysdeps/mach/i386/thread_state.h: Likewise.
2986         * sysdeps/mach/mips/sysdep.h: Likewise.
2987         * sysdeps/mach/mips/thread_state.h: Likewise.
2988         * sysdeps/posix/profil.c: Likewise.
2989         * sysdeps/i386/i586/memcopy.h: Likewise.
2990         * sysdeps/mach/pagecopy.h: Likewise.
2991
2992 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
2993
2994         * libio/stdio.h: Define __need_getopt and include getopt.h to define
2995         getopt stuff.
2996         * posix/unistd.h: Likewise.
2997         * stdio/stdio.h: Likewise.
2998         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
2999         define only getopt and the variables.
3000
3001 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3002
3003         * scripts/test-installation.pl (installation_problem): Don't link
3004         the test program against libdb1.
3005
3006 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
3007
3008         * Makeconfig (all-subdirs): Add db.
3009         * Versions.def: Add definition for libdb1.
3010         * shlib-versions: Add definitions for libdb1.
3011         * db/Makefile (extra-libs): Replace by libdb1.
3012         (libdb-routines): Rename to libdb1-routines.
3013         (headers): Rename to db1-headers.
3014         (distribute): Add $(db1-headers).
3015         (install-others): Define to install symlink libdb.so.NN and the
3016         $(db1-headers).
3017         (CPPFLAGS): Add -DUSE_LIBDB1
3018         Remove rules to build makedb.
3019         * db/Versions: Rename libdb to libdb1.
3020         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
3021         * db/makedb.c: Removed.
3022
3023         * scripts/versions.awk: Recognize digits in library names.
3024
3025         * db/btree/bt_open.c: Fix compiler warnings.
3026         * db/btree/bt_put.c: Likewise.
3027         * db/btree/bt_split.c: Likewise.
3028         * db/hash/hash.c: Likewise.
3029         * db/hash/hash_bigkey.c: Likewise.
3030         * db/recno/rec_close.c: Likewise.
3031
3032         * Makefile: Add localedata/% goal.
3033
3034 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3035
3036         * posix/execvp.c: Don't give up searching the PATH if execve
3037         returns ENOTDIR.
3038
3039 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
3040
3041         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3042         if _dl_fpu_control_set is set.
3043         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3044         * elf/rtld.c: Don't define _dl_fpu_control_set.
3045         * elf/Versions: Remove _dl_fpu_control_set.
3046
3047 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
3048
3049         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3050         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3051         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3052         Correct values of other SA_* macros according to kernel headers.
3053
3054 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3055
3056         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3057         variable l.
3058         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3059         old.
3060
3061 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3062
3063         * elf/ldsodefs.h: Fix typo in comment.
3064
3065 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3066
3067         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3068         char when comparing buffer contents with putback character.
3069
3070 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3071
3072         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3073         Undo last change.
3074         * elf/Versions: Undo last change.  Export _dl_fpu_control and
3075         _dl_fpu_control_set.
3076         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3077         variables.  Include <fpu_control.h>.
3078         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3079         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3080         to indicate that is was seen.
3081         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3082         only if _dl_fpu_control was set and is equal to desired value.
3083         * math/Makefile (aux): Undo last change.
3084         * math/Versions: Export __fpu_control with version GLIBC_2.0.
3085
3086 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3087
3088         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3089         optimized.
3090
3091 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
3092
3093         * string/bits/string2.h: Add mempcpy optimization.
3094         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3095         * intl/localealias.c: Define mempcpy only if not already defined.
3096
3097         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3098         defined.
3099
3100 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3101
3102         * csu/abi-note.S: Emit the note directly instead of defining
3103         a preprocessor macro that's only used once.  Don't include sysdep.h.
3104         * abi-tags: Generalize Solaris entry.
3105
3106 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3107
3108         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3109         Change to array to avoid runtime relocation.
3110         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3111
3112 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3113
3114         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3115         * math/Makefile ($(objpfx)libieee.a): Likewise.
3116
3117 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
3118
3119         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3120         Patch by John Tobey <jtobey@banta-im.com>.
3121
3122 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
3123
3124         * login/Makefile (distribute): Remove pty-internal.h, add
3125         pty-private.h.
3126
3127         * stdlib/tst-strtol.c: Add more checks.
3128         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3129
3130 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
3131
3132         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3133         * elf/elf.h: Add AT_FPUCW.
3134         * elf/Makefile (dl-routines): Add fpu_control.
3135         (elide-routines.os): Add fpu_control.
3136         (rtld-routines): Add fpu_control.
3137         * math/Makefile (aux): Remove fpu_control.
3138         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3139         (_dl_show_auxv): Likewise.
3140         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3141         if different from OS default.
3142
3143         * stdio-common/tstscanf.c: Add test case for (nil).
3144
3145 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
3146
3147         * libio/fileops.c (_IO_new_file_underflow): Before allocating
3148         buffer make sure the pushback buffer is destroyed.
3149         (_IO_new_file_seekoff): Likewise.
3150         If mode==0 quit early with the result.
3151         Clear OEF flag after successful fseek.
3152         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3153         * libio/ftello.c (ftello): Add offset from original buffer if
3154         stream has pushed back characters.
3155         * libio/ftello64.c (ftello64): Likewise.
3156         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3157         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3158         * libio/ioftell.c (_IO_ftell): Likewise.
3159         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3160         and _IO_save_ptr.
3161         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3162         (_IO_default_pbackfail): Only stored push back character in original
3163         buffer if it is the same as the one in the file at this position.
3164         * libio/iofclose.c: Free backup buffer if one is available.
3165         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3166         mode!=0.
3167
3168         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3169
3170         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3171
3172         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3173
3174 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
3175
3176         * login/programs/pt_chown.c (more_help): Correct message that
3177         describes the purpose of the program.
3178
3179         * login/openpty.c: Do not include pty-private.h.
3180         (pts_name): New function.  Return name of slave pseudo terminal in
3181         an allocated buffer if necessary.
3182         (openpty): Use pts_name to get name of the slave end of the pseudo
3183         terminal pair.
3184
3185         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3186         pts_name before return.
3187
3188 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
3189
3190         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3191
3192 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3193
3194         * login/openpty.c: Include pty-private.h instead of
3195         pty-internal.h.
3196
3197 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
3198
3199         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3200
3201 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
3202
3203         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3204         recent ld.so changes.
3205         (elf_machine_runtime_setup): Correct behaviour when profiling.
3206
3207 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
3208
3209         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3210         Patch by John Tobey <jtobey@banta-im.com>.
3211
3212 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
3213
3214         * login/pty-internal.h: Removed.  Moved constants related to the
3215         `grantpt' helper program protocol to ...
3216         * login/pty-private.h: ... here.  New file.
3217         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3218         to make the function work with kernels >= 2.1.115.
3219         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3220         version if using the cloning device fails.
3221         * sysdeps/unix/sysv/linux/grantpt.c: New file.
3222         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3223         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3224         use by Linux specific code.
3225         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3226         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
3227         function.  (grantpt): Use pts_name, check group and permission
3228         mode in addition to owner.  Try to set the owner, group and
3229         permission mode first without invoking the helper program.
3230         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
3231         internationalization support.  Use symbolic constants instead of
3232         hardwired numbers for permission mode.
3233         * sysdeps/unix/bsd/ptsname.c: New file.
3234
3235 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
3236
3237         * posix/wordexp-test.c: Undo last change.
3238
3239         * posix/wordexp.c: Undo last change.
3240
3241 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
3242
3243         * nscd/grpcache.c (save_grp): Partly undo last change.
3244
3245         * nscd/pwdcache.c (save_pwd): Undo last change.
3246
3247 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3248
3249         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3250         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3251
3252 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
3253
3254         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3255         Add profiling support.
3256         (TRAMPOLINE_TEMPLATE): New macro.
3257         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3258         (RTLD_START): Prettify, and set __libc_stack_end properly.
3259         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3260         and check for sym being NULL instead.
3261         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3262         of stack space.
3263         * sysdeps/sparc/sparc64/lshift.S: Likewise.
3264         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3265         * sysdeps/sparc/sparc64/rshift.S: Likewise.
3266         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3267         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3268         MEDANY code model %g4 usage.
3269         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3270         MEDANY code model %g4 usage.
3271         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3272         code model address formation.
3273         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3274         include elf/ldsodefs.h
3275         (DT_SPARC): Remove.
3276         (elf_machine_matches_host): It is now EM_SPARCV9.
3277         (elf_machine_dynamic): Clean up to remove ugly cast.
3278         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3279         new PLT formats.
3280         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3281         Prettify rest of function.
3282         [R_SPARC_COPY]: Check for sym being NULL.
3283         [R_SPARC_32]: Handle it.
3284         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3285         MEDMID code model.
3286         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3287         MEDANY code model.
3288         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3289         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3290         Add profiling support.
3291         (TRAMPOLINE_TEMPLATE): New macro.
3292         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3293         (RTLD_START): Prettify and set __libc_stack_end.
3294         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3295         Define.
3296         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3297         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3298         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3299         unused variable scratch.
3300         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3301         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3302         Declare.
3303         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3304         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
3305         old format kernel sigaction structures.
3306         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3307         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3308         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3309         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3310         ucontext include.
3311         (_JMPBUF_UNWINDS): Define.
3312         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3313         statfs64 structure, which is exactly the same as the normal one.
3314         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3315         of stack.  Use correct syscall trap number.  Add branch prediction
3316         settings to branch instructions.  Remove old MEDANY code model %g4
3317         referneces for non-PIC.
3318         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3319         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3320         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3321         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3323         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3324         __libc_longjmp and __libc_siglongjmp strong aliases.
3325         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3326         Also define to __no__readdir64_decl around readdir.c inclusion.
3327         (__readdir64): Add strong alias.
3328         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3329         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3330         Set strong and weak names properly.
3331
3332 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3333
3334         * manual/Makefile (AWK): Default to gawk if standalone.
3335
3336 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3337
3338         * Makefile (distribute): Undo last change.
3339         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3340         for sysdep headers.
3341         (+subdir-headers): Removed, unused.
3342
3343 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3344
3345         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3346         $(do-install).
3347
3348 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3349
3350         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3351         absolute name in $(config-sysdirs), can never happen.
3352         ($(+sysdir_pfx)sysd-rules): Likewise.
3353         * Makeconfig (full-config-sysdirs): Likewise.
3354         (all-Subdirs-files): Prepend $(..).
3355
3356         * configure.in: Don't check for absolute name in $add_ons_pfx, can
3357         not happen.  Let --enable-add-ons=yes work if no add-ons actually
3358         exist.
3359
3360 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3361
3362         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3363         continuations in command.
3364
3365 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3366
3367         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3368
3369 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
3370
3371         * posix/wordexp-test.c: If expansion or substitution occurs
3372         anywhere in a word, the entire word is subject to field-splitting.
3373
3374         * posix/wordexp.c (parse_glob): Look for end of word instead of
3375         end of field when deciding what to glob.
3376         (field_split_word): New function, now the only place where
3377         field-splitting is performed.
3378         (parse_dollars): New parameter - tell the caller if
3379         field-splitting should be performed on this word.
3380
3381         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3382         succeeded (or failed with WRDE_NOSPACE).
3383
3384 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
3385
3386         * posix/wordexp.c (wordexp): Don't convert IFS characters to
3387         blanks.
3388
3389         * posix/wordexp-test.c: Words not the result of expansion or
3390         substitution should remain unchanged.
3391
3392 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
3393
3394         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3395         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3396
3397 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3398
3399         * stdio-common/Makefile: Include Makeconfig so that
3400         $(inst_includedir) is defined.
3401
3402 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3403
3404         * io/pwd.c: Include <mcheck.h>.
3405
3406 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
3407
3408         * nscd/pwdcache.c (save_pwd): Correct copying.
3409         * nscd/grpcache.c (save_grp): Likewise.
3410
3411 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
3412
3413         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3414         (free_pwd): Adjust for this change.
3415         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3416         (free_grp): Adjust for this change.
3417
3418 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
3419
3420         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3421
3422 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
3423
3424         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3425         (install-others): Add bits/stdio_lim.h.
3426         Add rule to install bits/stdio_lim.h.
3427
3428         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3429
3430         * Makefile (distribute): Add include/sys/mman.h.
3431
3432         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3433         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3434         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3435
3436         * grp/initgroups.c: Include stdlib.h.
3437         Patch by Zack Weinberg.
3438
3439 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
3440
3441         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3442         for field-splitting :abc: is correct, and that two fields should
3443         result. Revert tests to reflect this.
3444
3445         * posix/wordexp.c (w_emptyword): Remove function.
3446         (exec_comm): Don't use w_emptyword.
3447         (parse_param): Likewise.
3448
3449 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
3450
3451         * sysdeps/arm/fpu/Dist: Moved to...
3452         * sysdeps/arm/Dist: ...here.
3453         * sysdeps/posix/Dist: Removed.
3454         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3455         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3456
3457 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
3458
3459         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3460
3461 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
3462
3463         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3464
3465 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3466
3467         * libc-work/nis/nss_nisplus/nisplus-service.c
3468         (_nss_nisplus_parse_servent): Convert port in network byte order.
3469
3470 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3471
3472         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3473         to provide only malloc and calloc.
3474         * include/stdlib.h: Support the above.
3475         * string/bits/string2.h: Use __need_malloc_and_calloc when
3476         including stdlib.h.
3477         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3478
3479         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3480         * iconvdata/iso646.c: Include <stdlib.h>.
3481
3482 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3483
3484         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3485         * sysdeps/libm-ieee754/w_pow.c: Likewise.
3486         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3487         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3488
3489 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3490
3491         * stdio-common/stdio_lim.h.in: New file.  All parameters
3492         are adjustable at build time.
3493         * Rules: Add a rule to build bits/stdio_lim.h from
3494         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
3495         all subdirectories know how to make the file.  It can't be
3496         in Makerules because then it gets built at top level and the
3497         dependencies are wrong.)
3498
3499         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3500         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3501         stdio_lim.h.
3502         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3503         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3504         * sysdeps/posix/Makefile: Removed.
3505         * sysdeps/posix/mk-stdiolim.c: Removed.
3506         * sysdeps/generic/bits/stdio_lim.h: Removed.
3507
3508 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3509
3510         * argp/argp-help.c: Fixup indentation.
3511         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3512         * resolv/nss_dns/dns-network.c: Likewise.
3513         * resolv/res_send.c: Likewise.
3514         * rt/aio_cancel.c: Likewise.
3515         * rt/aio_misc.c: Likewise.
3516
3517 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3518
3519         * Makefile (install-symbolic-link): Remove the link list file at last.
3520         * Makerules (install-clean-symbolic-link-list): Removed.
3521
3522 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3523
3524         * timezone/tst-timezone.c: Print time in UTC to get consistent
3525         output.
3526
3527 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3528
3529         * elf/rtld.c (_dl_rpath): Removed.
3530         * elf/dl-support.c (_dl_path): Removed.
3531         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3532         (CFLAGS-dl-support.c): Removed.
3533
3534         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
3535         uses changed.
3536         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3537         instead of appending it to the main map's rpath info.
3538         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3539         DT_RPATHs.  This makes it effective again.
3540         (decompose_rpath): Remove second parameter, callers changed.
3541         (fillin_rpath): Allocate enough space in curwd.
3542         (expand_dynamic_string_token): Cope with get_origin returning -1.
3543
3544 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3545
3546         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3547         passwd.adjunct.
3548
3549         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3550         invalid password.
3551
3552 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
3553
3554         * locale/programs/locale.c: Update dates.
3555
3556 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
3557
3558         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
3559         size_t is defined.  Some reordering of definitions to make
3560         maintaining this file in parallel with the linux-specific file easier.
3561
3562 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
3563
3564         * io/pwd.c (main): Add call to mtrace.
3565
3566         * malloc/mtrace.pl: Quote @ in string.
3567
3568 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
3569
3570         * posix/wordexp.c (parse_arith): Fix memory leaks.
3571         (exec_comm): Likewise.
3572         (parse_param): Likewise.
3573         (wordexp): Likewise.
3574         (exec_comm): Reduce number of function return points.
3575         (parse_param): Likewise.
3576         (wordexp): Likewise.
3577
3578 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
3579
3580         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3581         yield three fields, not two.  Test both parameter expansion and
3582         command substitution for correct field-splitting behaviour.
3583
3584         * posix/wordexp.c (w_emptyword): New function.
3585         (parse_param): Use it.
3586         (exec_comm): Likewise, for consistency with the way parse_param
3587         splits fields.
3588         (parse_param): Fix some memory leaks.
3589
3590 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
3591
3592         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3593         Don't mark asm `volatile'.
3594         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3595         from the data cache too.  Assume it isn't in the instruction cache yet.
3596         (__elf_machine_fixup_plt): Clear the modified address from the caches.
3597
3598 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
3599
3600         * sysdeps/generic/segfault.c (install_handler): Install signal
3601         handler with SA_ONSTACK instead of setting the stack flags to
3602         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
3603         defined.
3604
3605 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3606
3607         * signal/signal.h: Fix multiple inclusion guard to cover the
3608         entire file.
3609         * wcsmbs/wchar.h: Remove prototype of internal function
3610         __mbsrtowcs.
3611         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3612         arithmetic on `void *'.
3613
3614 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
3615
3616         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
3617
3618         * posix/wordexp.c (wordexp): Perform word-splitting instead of
3619         field-splitting here.
3620         (wordexp): If out of memory mid-word, free the word (but still
3621         leave pwordexp alone for caller to see).
3622         (parse_param): Allow for zero-length fields (smarter checking of
3623         memory allocation failure).
3624         (w_addword): Convert NULL words to "".
3625         (wordexp): Convert left-over IFS characters to blanks (like bash).
3626
3627 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3628
3629         * configure.in: Use test -f instead of test -e.
3630         Patch by John Tobey <jtobey@banta-im.com>.
3631
3632         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3633         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3634         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3635         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3636         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3637         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3638         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3639         Patches by John Tobey <jtobey@banta-im.com>.
3640
3641         * time/strftime.c (my_strftime): Delay use of *tp values until
3642         latest possible point to allow partly initialized structures
3643         (e.g., from strptime).
3644
3645         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3646         and NATS-SEFI.
3647         Define *-routines variables for new modules.
3648         (distribute): Add .c files for new modules.
3649         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3650         and nats-sefi.h.
3651         Add rules for header generation.
3652         * iconvdata/gconv-modules: Add entries for new modules.
3653         * iconvdata/iso_10367-box.c: New file.
3654         * iconvdata/mac-is.c: New file.
3655         * iconvdata/nats-dano.c: New file.
3656         * iconvdata/nats-sefi.c: New file.
3657
3658 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
3659
3660         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3661         loader if PIC is not defined.
3662
3663 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3664
3665         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3666         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3667         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3668         and ISO_5428.
3669         Define *-routines variables for new modules.
3670         (distribute): Add .c files for new modules.
3671         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3672         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3673         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3674         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
3675         Add rules for header generation.
3676         * iconvdata/gconv-modules: Add entries for new modules.
3677         * iconvdata/csn_369103.c: New file.
3678         * iconvdata/cwi.c: New file.
3679         * iconvdata/dec-mcs.c: New file.
3680         * iconvdata/ecma-cyrillic.c: New file.
3681         * iconvdata/gost_19768-74.c: New file.
3682         * iconvdata/greek-ccitt.c: New file.
3683         * iconvdata/greek7-old.c: New file.
3684         * iconvdata/greek7.c: New file.
3685         * iconvdata/inis-8.c: New file.
3686         * iconvdata/inis-cyrillic.c: New file.
3687         * iconvdata/inis.c: New file.
3688         * iconvdata/iso6937-2.c: New file.
3689         * iconvdata/iso_2033.c: New file.
3690         * iconvdata/iso_5427-ext.c: New file.
3691         * iconvdata/iso_5427.c: New file.
3692         * iconvdata/iso_5428.c: New file.
3693
3694         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
3695         entries.
3696         Convert U02dd correctly.
3697
3698 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
3699
3700         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
3701         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3702         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
3703         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
3704
3705 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3706
3707         * resolv/res_init.c (res_init): Handle resolv.conf file with only
3708         one nameserver correctly.  Patch by HJ Lu.
3709
3710         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
3711         and ANSI_X3.110.
3712         Define *-routines variables for new modules.
3713         (distribute): Add .c files for new modules.
3714         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
3715         Add rules for hedaer generation.
3716         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
3717         * iconvdata/ansi_x3.110.c: New file.
3718         * iconvdata/asmo_449.c: New file.
3719         * iconvdata/baltic.c: New file.
3720         * iconvdata/iec_p27-1.c: New file.
3721
3722         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
3723         entries.
3724         Convert U02dc correctly.
3725
3726         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
3727         * math/atest-exp2.c: Likewise.
3728         * math/atest-sincos.c: Likewise.
3729
3730         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
3731         is defined.
3732
3733 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3734
3735         * string/strcoll.c: Optimize a few expressions.
3736         * string/strxfrm.c: Likewise.
3737
3738 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3739
3740         * manual/locale.texi: Fix typos.
3741
3742 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
3743
3744         * stdlib/random_r.c (__setstate_r): Allow call with same state
3745         array as currently used (PR libc/774).
3746
3747         * include/limits.h: Include gcc's header even if this file is
3748         found more than once before it (PR libc/778)
3749
3750         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3751         (sysdep_headers): Remove sys/debugreg.h.
3752         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3753         (sysdep_headers): Add sys/debugreg.h.
3754         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
3755         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
3756
3757         * stdio-common/tmpnam.c: Move local static variable buf to
3758         toplevel and rename to tmpnam_buffer to ease debugging.
3759         Patch by Joe Keane <jgk@jgk.org>.
3760         Optimize s == NULL case a bit.
3761
3762         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
3763         correction.
3764
3765 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
3766
3767         * resolv/res_init.c (res_init): Initialize _res.nscount and
3768         _res.nsaddr.sin_port differently for the can when no loopback
3769         is available to allow immediate timeout in non-networking environments.
3770         Patch by Cristian Gafton <gafton@redhat.com>.
3771
3772 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3773
3774         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
3775         BAR and not EM DASH.
3776         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
3777         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
3778         Fixes PR libc/717.
3779
3780 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
3781
3782         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
3783         for test.
3784         * timezone/tst-timezone.c (tests): Fix typo in last patch.
3785
3786         * time/tzfile.c (__tzfile_read): Handle case when there are no
3787         transitions.  Set __timezone based on computed offset.
3788         * time/tzset.c (tzset_internal): Set __timezone before returning.
3789
3790         * time/tzset.c (tzset_internal): Optimize handling of local string
3791         copy.
3792
3793 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3794
3795         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3796         libc/776).
3797
3798 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
3799
3800         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3801         (csqrt_test): Likewise.
3802         * sysdeps/powerpc/bits/fenv.h: Add parens.
3803
3804 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
3805
3806         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3807         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3808         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3809
3810 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
3811
3812         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3813         the special `-1' pointer.
3814
3815 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
3816
3817         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3818         inline.
3819
3820 1998-09-07  Paul Eggert  <eggert@twinsun.com>
3821
3822         * time/mktime.c (__EXTENSIONS__): Define if not defined.
3823         (_REENTRANT): Remove.  It has undesirable consequences in
3824         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
3825         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3826         is what we want.
3827         * time/strftime.c: Likewise.
3828
3829 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3830
3831         * elf/dl-error.c: Fix spelling.
3832
3833 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3834
3835         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3836         * stdio-common/_itoa.c: Likewise.
3837         * stdio-common/printf_fp.c: Likewise.
3838         * stdio-common/vfscanf.c: Likewise.
3839         * wcsmbs/wcstok.c: Likewise.
3840         * sysdeps/generic/glob.c: Likewise.
3841         * posix/getopt.c: Likewise.
3842         * sysdeps/posix/getaddrinfo.c: Likewise.
3843         * posix/wordexp.c: Likewise.
3844         * io/ftw.c: Likewise.
3845         * io/fts.c: Likewise.
3846         * misc/getpass.c: Likewise.
3847         * iconv/gconv_conf.c: Likewise.
3848         * argp/argp-fmtstream.c: Likewise.
3849         * argp/argp-help.c: Likewise.
3850         * elf/dl-load.c: Likewise.
3851         * locale/programs/stringtrans.c: Likewise.
3852         * catgets/gencat.c: Likewise.
3853         * posix/getconf.c: Likewise.
3854         * iconv/gconv_conf.c: Likewise.
3855         * iconv/iconv_prog.c: Likewise.
3856
3857         * string/strcoll.c: Optimize a few expressions.
3858         * string/strxfrm.c: Likewise.
3859
3860 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3861
3862         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3863         level to avoid uninit variable warning.
3864
3865 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3866
3867         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
3868         instead of _dl_default_scope[2] as argument to _dl_init_next.
3869
3870         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3871         C9x macro.
3872
3873 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
3874
3875         Fix compatibility problems introduced in last change.
3876         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3877         defined.
3878         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3879         -DWEAK_GMON_START to CFLAGS-initfini.s.
3880
3881         * elf/dl-object.c (_dl_new_object): Store map address in
3882         _dl_loaded if _dl_loaded is NULL.
3883         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
3884
3885         * sysdeps/generic/setrlimit64.c: Remove stub warning.
3886
3887 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
3888
3889         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3890         quiet.
3891         * db2/btree/bt_cursor.c: Likewise.
3892         * db2/common/db_region.db_c: Likewise.
3893         * db2/common/db_salloc.db_c: Likewise.
3894         * db2/db/db.c: Likewise.
3895         * db2/db/db_rec.c: Likewise.
3896         * db2/hash/hash.c: Likewise.
3897         * db2/hash/hash_page.c: Likewise.
3898         * db2/hash/hash_rec.c: Likewise.
3899         * db2/log/log_findckp.c: Likewise.
3900         * db2/log/log_get.c: Likewise.
3901         * db2/log/log_put.c: Likewise.
3902         * db2/mp/mp_fget.c: Likewise.
3903         * db2/mp/mp_fput.c: Likewise.
3904         * db2/mp/mp_region.c: Likewise.
3905         * stdlib/strtol.c: Likewise.
3906         * string/strcoll.c: Likewise.
3907         * string/strxfrm.c: Likewise.
3908         * argp/argp-help.c: Likewise.
3909         * argp/argp-parse.c: Likewise.
3910         * resolv/res_debug.c: Likewise.
3911
3912 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
3913
3914         * math/tgmath.h (scalb): Only define for __USE_MISC or
3915         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
3916
3917 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3918
3919         * libio/stdio.h: Fix comment.
3920
3921         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3922         __USE_ISOC9X.
3923
3924 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3925
3926         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3927
3928         * elf/dl-open.c: Quiet -Wparentheses warnings.
3929         * iconvdata/johab.c: Likewise.
3930         * iconvdata/uhc.c: Likewise.
3931         * inet/inet_net.c: Likewise.
3932         * io/fts.c: Likewise.
3933         * locale/newlocale.c: Likewise.
3934         * misc/getttyent.c: Likewise.
3935         * misc/mntent_r.c: Likewise.
3936         * misc/ttyslot.c: Likewise.
3937         * nscd/nscd_conf.c: Likewise.
3938         * nss/nsswitch.c: Likewise.
3939         * resolv/gethnamaddr.c: Likewise.
3940         * resolv/nsap_addr.c: Likewise.
3941         * resolv/res_debug.c: Likewise.
3942         * stdio-common/_itoa.c: Likewise.
3943         * stdlib/strtod.c: Likewise.
3944         * string/strverscmp.c: Likewise.
3945         * sunrpc/svc.c: Likewise.
3946         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3947         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3948         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3949         * sysdeps/posix/getaddrinfo.c: Likewise.
3950
3951 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
3952
3953         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3954         for use of global scope.
3955         * elf/dlvsym.c (dlvsym_doit): Likewise.
3956
3957 1998-09-02  Paul Eggert  <eggert@twinsun.com>
3958
3959         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3960         copy the redundant bytes at the end of the format as-is; don't
3961         just copy their first byte and then rescan, as that might get
3962         us an encoding error.
3963         Account correctly for the length of multibyte sequences in the
3964         format.
3965
3966 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
3967
3968         * posix/wordexp-test.c: Add tests for different IFS values.
3969         Change unquoted-newline test so that newline is not in IFS.
3970
3971         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3972         determining IFS characters.  Return WRDE_BADCHAR for unquoted
3973         special characters _except_ if they are separators.
3974
3975 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
3976
3977         * include/tgmath.h: New file.
3978
3979         * libio/stdio.h: Correct reversed #ifs.
3980         Patch by Zack Weinberg.
3981
3982         * manual/creature.texi: Better explain reason for feature select
3983         macros.
3984         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3985
3986 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3987
3988         * include/alloca.h: Add multiple-inclusion guard.
3989         * include/db.h: Likewise.
3990         * include/db_185.h: Likewise.
3991         * include/dlfcn.h: Likewise.
3992         * include/fcntl.h: Likewise.
3993         * include/grp.h: Likewise.
3994         * include/libintl.h: Likewise.
3995         * include/mntent.h: Likewise.
3996         * include/pwd.h: Likewise.
3997         * include/sched.h: Likewise.
3998         * include/search.h: Likewise.
3999         * include/setjmp.h: Likewise.
4000         * include/shadow.h: Likewise.
4001         * include/signal.h: Likewise.
4002         * include/stdio.h: Likewise.
4003         * include/stdlib.h: Likewise.
4004         * include/string.h: Likewise.
4005         * include/termios.h: Likewise.
4006         * include/time.h: Likewise.
4007         * include/ulimit.h: Likewise.
4008         * include/utmp.h: Likewise.
4009         * include/wchar.h: Likewise.
4010         * include/sys/file.h: Likewise.
4011         * include/sys/gmon.h: Likewise.
4012         * include/sys/ioctl.h: Likewise.
4013         * include/sys/mman.h: Likewise.
4014         * include/sys/resource.h: Likewise.
4015         * include/sys/select.h: Likewise.
4016         * include/sys/socket.h: Likewise.
4017         * include/sys/statfs.h: Likewise.
4018         * include/sys/time.h: Likewise.
4019         * include/sys/times.h: Likewise.
4020         * include/sys/wait.h: Likewise.
4021
4022 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
4023
4024         * version.h (VERSION): Bump to 2.0.96.
4025
4026         Rewrite runtime linker to be truly thread-safe.  There is now no
4027         global variable specifying the scope.  We create all needed
4028         scopes at the time the link maps are created.
4029         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
4030         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
4031         l_symbolic_searchlist, l_scope, and l_local_scope elements in
4032         struct link_map.
4033         * elf/dl-close.c: Rewritten accordingly.
4034         * elf/dl-deps.c: Likewise.
4035         * elf/dl-error.c: Likewise.
4036         * elf/dl-init.c: Likewise.
4037         * elf/dl-load.c: Likewise.
4038         * elf/dl-lookup.c: Likewise.
4039         * elf/dl-object.c: Likewise.
4040         * elf/dl-open.c: Likewise.
4041         * elf/dl-reloc.c: Likewise.
4042         * elf/dl-runtime.c: Likewise.
4043         * elf/dl-support.c: Likewise.
4044         * elf/dl-symbol.c: Likewise.
4045         * elf/dl-version.c: Likewise.
4046         * elf/dlsym.c: Likewise.
4047         * elf/dlvsym.c: Likewise.
4048         * elf/ldsodefs.h: Likewise.
4049         * elf/rtld.c: Likewise.
4050         * iconv/gconv_dl.c: Likewise.
4051         * nss/nsswitch.c: Likewise.
4052         * sysdeps/i386/dl-machine.h: Likewise.
4053         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4054
4055         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
4056         Define RTLD_DEFAULT.
4057
4058 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
4059
4060         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
4061         __getopt_clean_environment with __environ instead of envp.
4062
4063 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
4064
4065         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
4066
4067         * string/argz-extract.c (__argz_extract): Add de-consting cast for
4068         setting results.
4069
4070         * string/argz.h (argz_next): Add de-consting cast for return.
4071         * string/argz-next.c (__argz_next): Likewise.
4072
4073         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
4074         Don't add netinet/udp.h, netinet/ip_icmp.h here.
4075         * sysdeps/gnu/Makefile: Do it here instead.
4076         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
4077         * sysdeps/gnu/Dist: ... to here.
4078
4079         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
4080         sysdeps/unix/sysv/linux/netinet/tcp.h,
4081         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
4082
4083 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
4084
4085         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
4086         * string/argz-next.c, string/argz-extract.c: Fix defns.
4087
4088 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
4089
4090         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
4091
4092         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
4093         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
4094         * sysdeps/generic/sysd-stdio.c: Likewise.
4095
4096 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
4097
4098         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
4099         (_dl_map_object_from_fd): Make NAME argument const.
4100         Remove last parameter in _dl_new_object call.
4101         (print_search_path): Correct construction of composed path name.
4102         (_dl_map_object): Prevent looking at RPATH of the main map twice.
4103         Remove last parameter in _dl_new_object call.
4104         * elf/dl-object.c: Remove last parameter.  Determine whether create
4105         origin entry based on empty realname.  Handle file in root directory
4106         correctly.
4107         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
4108         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
4109         Remove last parameter in _dl_new_object call.
4110         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
4111         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
4112
4113 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
4114
4115         * elf/dl-close.c (_dl_close): Add more comments and correct some.
4116         Free l_searchlist and l_dupsearchlist.
4117
4118         * debug/catchsegv.sh: Add one more pair of quotes.
4119
4120 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
4121
4122         * elf/dl-load.c (add_name_to_object): Change return type to void and
4123         make NAME parameter const.  Allocate room for NAME in same memory
4124         block used for l_libname entry.
4125         (_dl_map_object_from_fd): Don't free NAME on failure.
4126         (map_segment): Pass SONAME to add_name_to_object, not a copy.
4127         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
4128         _dl_map_object_from_fd.
4129         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
4130         memory block used for l_libname entry.
4131         * elf/dl-close.c: Adjust free()ing for this change.
4132
4133 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
4134
4135         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
4136
4137         * malloc/mtrace.c: Add bug report address.  Update email address.
4138         Add more @XXX@ to print correct address size.
4139
4140         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
4141         really initialized.
4142
4143         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
4144         for munmap call instead of examining phdr again.
4145         Free all malloc()ed strings and arrays.
4146
4147 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
4148
4149         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
4150         dl-machine.h.
4151         * sysdeps/powerpc/dl-machine.c: New file.
4152         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
4153         files.  Revise ELF_PREFERRED_ADDRESS to take account of
4154         the new mapping information (fixes bug involving huge bloated
4155         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
4156         * sysdeps/powerpc/dl-start.S: New file.
4157
4158         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
4159         l_map_end.
4160         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
4161         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
4162         others.  Call elf_dynamic_do_##reloc only once (to save even more
4163         space).
4164         * elf/link.h: Add new members l_map_start and l_map_end to keep
4165         track of the memory map.
4166         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
4167         the executable.
4168
4169 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
4170
4171         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
4172         Reported by Andreas Jaeger.
4173
4174         * posix/glob.h: Use __size_t instead of size_t in definitions and
4175         make sure this is defined.
4176
4177 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
4178
4179         * manual/locale.texi: Almost complete rewrite.  Document more functions
4180         and functionality.
4181         * manual/arith.texi: Correct reference.
4182         * manual/string.texi: Pretty printing.
4183
4184         * manual/texinfo.tex: Update from last available version.
4185
4186 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
4187
4188         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
4189         invalid password.
4190         (_nss_nis_getpwuid_r): Likewise.
4191         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
4192
4193         * inet/rcmd.c: Implement netgroup support.
4194         Patch by Dick Streefland <dick_streefland@tasking.com>.
4195
4196 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
4197
4198         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
4199         object on the list is removed.  Don't use this code for PIC.
4200         Reported by HJ Lu [PR libc/770].
4201
4202 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
4203
4204         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
4205
4206         * include/stdio.h: Add __vsscanf.
4207
4208         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
4209         __USE_ISOC9X.
4210         Remove __vsscanf declaration.
4211         Always declare fgetpos and fsetpos.
4212
4213         * math/math.h: Define isinf as macro.
4214         * math/bits/mathcalls.h: Change to declare __isinf all the time.
4215         Don't declare scalb for ISO C 9x.
4216
4217         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
4218
4219         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
4220
4221         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
4222         sys/ucontext.h.
4223
4224         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
4225         macros.
4226
4227 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4228
4229         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
4230         Reported by jreising@frequentis.com [PR libc/767].
4231
4232 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4233
4234         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
4235         fl.l_start at beginning of function.
4236         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
4237
4238 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
4239
4240         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
4241         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
4242
4243         * nscd/nscd.init: Make it work in RedHat systems.
4244         Patch by Christian Gafton.
4245
4246 1998-08-29  Philip Blundell  <philb@gnu.org>
4247
4248         * catgets/Makefile: Don't try to run test programs when
4249         cross-compiling.
4250
4251 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
4252
4253         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
4254         Reported by Zack Weinberg.
4255
4256 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4257
4258         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
4259         * elf/Makefile (distribute): Remove ldd.sh.in.
4260
4261 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4262
4263         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
4264         variable.
4265
4266 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
4267
4268         * sysdeps/i386/register-dump.h: Move to ...
4269         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
4270
4271 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
4272
4273         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
4274         with load address, not map address.
4275         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
4276         parameter and use this value.
4277         * sysdeps/arm/dl-machine.h: Likewise.
4278         * sysdeps/i386/dl-machine.h: Likewise.
4279         * sysdeps/m68k/dl-machine.h: Likewise.
4280         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
4281         parameter.
4282         * sysdeps/powerpc/dl-machine.h: Likewise
4283         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
4284         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
4285
4286 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
4287
4288         * elf/rtld.c (process_envvars): Fix copy&paste error.
4289
4290         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
4291         memalign hook.
4292         (realloc_hook_ini): Don't overwrite memalign hook.
4293         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
4294         Reported by Philippe Troin <phil@fifi.org>.
4295
4296         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
4297         Patch by Philippe Troin <phil@fifi.org>.
4298
4299 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4300
4301         * sysdeps/generic/segfault.c (install_handler): Protect the
4302         non-POSIX signals with #ifdef.
4303         (catch_segfault): Add missing mode parameter for open.
4304         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
4305         other termination signals.
4306
4307 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4308
4309         * debug/Makefile (distribute): Add register-dump.h.
4310
4311 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4312
4313         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
4314
4315 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
4316
4317         * elf/Makefile (distribute): Add dl-origin.h.
4318         * sysdeps/generic/dl-origin.h: New file.
4319         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
4320         * elf/link.h (struct link_map): Add l_origin field.
4321         * elf/dl-load.c (expand_dynamic_string_token): New function.
4322         (decompose_path): Remove WHERE argument, take link map pointer instead.
4323         Call expand_dynamic_string_token instead of local_strdup to make copy
4324         of rpath.
4325         (_dl_init_paths): Call decompose_path with correct argument.
4326         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
4327         not defined.
4328         Check EI_OSABI and EI_ABIVERSION fields in header.
4329         Call _dl_new_object with extra argument.
4330         (_dl_map_object): Call decompose_path with correct argument.
4331         Call expand_dynamic_string_token instead of local_strdup to also
4332         expand DST.
4333         Call _dl_new_object with extra argument.
4334         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
4335         but the main one if new argument is nonzero.
4336         * elf/ldsodefs.h: Adjust for _dl_new_object change.
4337         * elf/dl-support.c: Define _dl_origin_path.
4338         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
4339         (dl_main): Call _dl_new_object with extra argument.
4340
4341         * elf/dl-close (_dl_close): Free l_name and l_origin.
4342
4343         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
4344         modifier in asm, not c.
4345
4346         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
4347         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
4348
4349 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
4350
4351         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
4352         variable so that map can be freed.
4353         Reported by Philippe Troin <phil@fifi.org>.
4354
4355         * elf/dl-open.c (dl_open_worker): Correct test for extending global
4356         scope array.
4357         Patch by Philippe Troin <phil@fifi.org>.
4358
4359 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
4360
4361         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
4362         Don't call writev() with a 100-element vector.
4363         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
4364         return address.
4365
4366         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
4367         In particular, set __libc_stack_end.
4368         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
4369         undefined.  Fix copyright notice.
4370
4371 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4372
4373         * math/Makefile (gmp-objs): New variable.
4374         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
4375         Depend on it.
4376         (tests): Add atest-exp atest-sincos atest-exp2.
4377         (tests-static): Remove atest-exp atest-sincos atest-exp2.
4378
4379 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
4380
4381         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4382         to toplevel.
4383         (_dl_unload_cache): New function.
4384         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4385         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
4386         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
4387
4388         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4389         Correct comment for O_LARGEFILE.
4390         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4391         Change O_LARGEFILE to correct value.
4392
4393 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
4394
4395         * libio/iogetline.c (_IO_getline_info): Don't read anything for
4396         N == 0.  Patch by HJ Lu.
4397
4398 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
4399
4400         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4401
4402 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
4403
4404         * argp/argp.h: Use __inline__ not inline.
4405
4406         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4407         an input register as being clobbered.
4408         * sysdeps/i386/memset.c (memset): Likewise.
4409         * sysdeps/i386/bzero.c (__bzero): Likewise.
4410         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4411
4412 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4413
4414         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4415         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4416
4417 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
4418
4419         * debug/catchsegv.sh: Handle text preceding backtrace better.
4420         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
4421         to be installed for other signals than SIGSEGV.
4422         * sysdeps/generic/register-dump.h: New file.
4423         * sysdeps/i386/register-dump.h: New file.
4424         * sysdeps/powerpc/register-dump.h: New file.
4425
4426         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4427         sigcontextinfo.h.
4428         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4429
4430 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
4431
4432         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4433
4434 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
4435
4436         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4437         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4438         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4439         getresuid, getresgid.
4440
4441 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
4442
4443         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
4444         pointer in userland.
4445
4446 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4447
4448         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4449         and fix value.
4450
4451 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4452
4453         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
4454         over arguments Bourne shell compatible.  Don't exit unsuccessfully
4455         if nonelf returns successfully.  Avoid duplicating most of the
4456         script.
4457         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4458         around $file.
4459
4460 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4461
4462         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4463         sys/reg.h.
4464         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4465         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4466
4467 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
4468
4469         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4470         __modify_ldt and modify_ldt.
4471         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4472
4473         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4474         Use orl $-1 instead of movl $-1 to save two bytes.
4475         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4476         Likewise.
4477
4478 1998-08-17  H.J. Lu  <hjl@gnu.org>
4479
4480         * libio/Versions (_IO_do_write, _IO_file_attach,
4481         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4482         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4483         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4484         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4485
4486         * libio/fileops.c (_IO_do_write, _IO_file_attach,
4487         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4488         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4489         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4490         _IO_file_write, _IO_file_xsputn): Change the prefix to
4491         "_IO_new_". Added to GLIBC_2.1.
4492
4493         * libio/libioP.h (_IO_do_write, _IO_file_attach,
4494         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4495         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4496         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4497         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4498         "_IO_new_".
4499
4500         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4501         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4502         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4503         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4504         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4505
4506 1998-08-23  Richard Henderson  <rth@cygnus.com>
4507
4508         * Makeconfig (LDFLAGS): Remove.
4509
4510         * csu/initfini.c: Return to .text before __gmon_start__.
4511
4512         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4513         (STO_MIPS_*): Rename from STO_*.
4514         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4515         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
4516
4517         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4518         (main): e3s is negative on zero.
4519         * math/atest-exp2.c: Likewise.
4520         * math/atest-sincos.c: Likewise.
4521
4522 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4523
4524         * Makerules (install): Add comment about absolute paths.
4525
4526 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
4527
4528         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4529         array to NUL to handle maxlen==1 case correctly.
4530         Patch by HJ Lu.
4531
4532 1998-08-23  Richard Henderson  <rth@cygnus.com>
4533
4534         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4535         * sysdeps/alpha/elf/crtend.S: Likewise.
4536         * sysdeps/alpha/elf/start.S: Likewise.
4537
4538         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4539         non-standard pv usage.
4540
4541         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4542         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4543         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4544         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4545         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4546         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4547         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4548         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4549         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4550         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4551         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4552
4553         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4554         a finite non-denormal, deferring to the full IEEE version otherwise.
4555
4556         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4557         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
4558         * sysdeps/alpha/fpu/s_floor.c: New.
4559         * sysdeps/alpha/fpu/s_floorf.c: New.
4560         * sysdeps/alpha/fpu/s_ceil.c: New.
4561         * sysdeps/alpha/fpu/s_ceilf.c: New.
4562
4563 1998-08-22  Philip Blundell  <philb@gnu.org>
4564
4565         * sysdeps/arm/bits/string.h: New file.
4566
4567 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4568
4569         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4570         document it.
4571
4572         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4573         test for recent Linux 2.1.100+ headers.
4574
4575 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4576
4577         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4578
4579 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
4580
4581         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4582
4583 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4584
4585         * Makefile (elf/ldso_install): Put back.  The problem still persists.
4586         * elf/Makefile (ldso_install): Likewise.
4587
4588 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4589
4590         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4591         create weak alias.
4592         * include/db.h: Declare __nss_db_open.
4593         * db2/Versions: Export it.
4594
4595         * db2/makedb.c: Convert to use db2 API.
4596         * nss/nss_db/db-XXX.c: Likewise.
4597         * nss/nss_db/db-netgrp.c: Likewise.
4598         * nss/nss_db/db-alias.c: Likewise.
4599         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4600
4601 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4602
4603         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4604         sys_setresuid, already built automatically (or not).
4605         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4606         instead of __syscall_setresuid and add back setresuid.
4607         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4608         __syscall_setresuid.
4609
4610 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4611
4612         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4613
4614 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
4615
4616         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4617         BASH-ONLY marked region.
4618         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4619
4620 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
4621
4622         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4623         _IO_SYSSEEK fails.
4624
4625         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4626
4627         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
4628         element.
4629
4630 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
4631
4632         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4633         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4634         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4635         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4636         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4637         those magic comments, and to use /bin/sh for @BASH@.
4638         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4639         * elf/ldd.sh.in: File removed.
4640
4641 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
4642
4643         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4644         cast them to unsigned long int.
4645         * pwd/putpwent.c (putpwent): Likewise.
4646         Patch by John Tobey <jtobey@banta-im.com>.
4647
4648 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
4649
4650         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4651         _IO_pos_BAD.
4652
4653 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
4654
4655         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4656         _IO_SYSSEEK fails.
4657
4658 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
4659
4660         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4661         Add umount and umount2.
4662         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4663         * sysdeps/unix/sysv/linux/umount.S: New file.
4664         * sysdeps/unix/sysv/linux/umount2.S: New file.
4665         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4666         Define MNT_FORCE.
4667
4668         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4669         Add sys/sendfile.h.
4670         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4671         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4672
4673         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4674
4675         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4676         sendfile.
4677
4678 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
4679
4680         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
4681         * elf/ldd.bash.in: Likewise.
4682
4683         * elf/sln.c: Avoid warning for no main prototype.
4684
4685         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
4686         O_WRITE.
4687         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4689
4690         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
4691         F_GETSIG.
4692         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4693         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4695
4696 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
4697
4698         * sysdeps/arm/fpu/ieee754.h: Move to...
4699         * sysdeps/arm/ieee754.h: ... here.
4700
4701         * sysdeps/arm/__longjmp.S: Put return value in correct register.
4702         Don't set the condition flags unnecessarily.
4703         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
4704         registers correctly.
4705
4706         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
4707         (patch from Scott Bambrough).
4708
4709         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
4710
4711         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
4712         NULL, just call it unconditionally.
4713         (__gmon_start__): Provide stub version as a weak symbol.
4714
4715 1998-07-30  Philip Blundell  <philb@gnu.org>
4716
4717         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
4718         by Scott Bambrough)
4719
4720         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
4721         like `@' in .type directives.
4722
4723         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
4724         * sysdeps/arm/bsd-_setjmp.S: Likewise.
4725
4726         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
4727
4728 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4729
4730         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
4731         (F_GETOWN): Likewise.
4732
4733         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
4734         Linux 2.1.117).
4735
4736 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
4737
4738         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4739         already defined.
4740
4741 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
4742
4743         * include/features.h: Define __USE_EXTERN_INLINES for recent
4744         enough gcc.
4745         * argp/argp.h: Define extern inline functions only if
4746         __USE_EXTERN_INLINES is defined.
4747         * libio/stdio.h: Likewise.
4748         * math/math.h: Likewise.
4749         * stdlib/stdlib.h: Likewise.
4750         * string/argz.h: Likewise.
4751         * sysdeps/generic/bits/sigset.h: Likewise.
4752         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4753         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4754         * sysdeps/wordsize-32/inttypes.h: Likewise.
4755         * sysdeps/wordsize-64/inttypes.h: Likewise.
4756         * wcsmbs/wchar.h: Likewise.
4757
4758         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
4759         to allow compilation without optimization.
4760
4761 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4762
4763         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
4764         more entries.
4765         * nis/nss_compat/compat-initgroups.c: Likewise.
4766         * nis/nss_compat/compat-pwd.c: Likewise.
4767         * nis/nss_compat/compat-spwd.c: Likewise.
4768         * nis/nss_nis/nis-alias.c: Likewise.
4769         * nis/nss_nis/nis-ethers.c: Likewise.
4770         * nis/nss_nis/nis-grp.c: Likewise.
4771         * nis/nss_nis/nis-hosts.c: Likewise.
4772         * nis/nss_nis/nis-initgroups.c: Likewise.
4773         * nis/nss_nis/nis-network.c: Likewise.
4774         * nis/nss_nis/nis-proto.c: Likewise.
4775         * nis/nss_nis/nis-pwd.c: Likewise.
4776         * nis/nss_nis/nis-rpc.c: Likewise.
4777         * nis/nss_nis/nis-service.c: Likewise.
4778         * nis/nss_nis/nis-spwd.c: Likewise.
4779
4780         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
4781
4782         * nis/ypclnt.c: Try binding dir only first time, could be to old.
4783
4784         * nis/yp_xdr.c: Remove 1024 byte limit.
4785         * nis/ypupdate_xdr.c: Likewise.
4786
4787         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
4788         wrong data.
4789
4790 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
4791
4792         * Rules (binaries-static, binaries-shared static pattern rules):
4793         Depend on lib%, not just libc%, from $(link-libc{,-static}).
4794
4795         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4796         this here, overriding Makeconfig generic value so we link against
4797         the RPC libs.
4798
4799 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
4800
4801         * posix/tstgetopt.c (options): Add NULL entry at end
4802         Patch by Adrian Miranda <ade@psg.com>.
4803
4804 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
4805
4806         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
4807         to 9.
4808
4809 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
4810
4811         * elf/elf.h: Add PPC Diab relocations.
4812
4813         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4814
4815 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
4816
4817         * manual/texinfo.tex: Update.
4818
4819 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
4820
4821         * sysdeps/powerpc/backtrace.c: New file.
4822
4823 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
4824
4825         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4826         sigjmp_save.
4827         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4828
4829 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4830
4831         * Makefile (install-symbolic-link): Fix spelling.
4832
4833 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4834
4835         * elf/elf.h (SHT_HIOS): Fix value.
4836
4837 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4838
4839         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4840         part of the expansion, this is undefined by the standard.
4841
4842 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
4843
4844         * posix/getconf.c: Add support for systems with incomplete confname.h.
4845
4846         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4847
4848         * sysdeps/posix/wait3.c: Make it work.
4849
4850 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4851
4852         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4853         (elf/ldso_install): Remove.
4854
4855         * elf/Makefile (distribute): Add sln.c.
4856         (others): Add sln.
4857         (others-static): Add sln.
4858         (install-rootsbin): Add sln.
4859         (others-static): Add sln.
4860         (ldso_install): Remove.
4861
4862 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4863
4864         * Makerules (install-clean-symbolic-link-list): Make phony.
4865         * Makefile (install-symbolic-link): Make phony.  Depend on
4866         subdir_install for parallel makes.
4867
4868
4869 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
4870
4871         * elf/Makefile (distribute): Add sln.c
4872
4873 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
4874
4875         * elf/sln.c: New file.
4876
4877         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4878         (install-clean-symbolic-link-list): New target.
4879         (install): Depend on install-clean-symbolic-link-list.
4880         (make-shlib-link): Changed for $(symbolic-link-list).
4881
4882         * Makefile (install-symbolic-link): New target.
4883         (install): Depend on install-symbolic-link.
4884
4885 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
4886
4887         * include/unistd.h: Protect against multiple inclusion.
4888
4889         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4890         is defined, not is glob is defined.
4891         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4892
4893 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
4894
4895         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4896         xdr_string for ut_line, ut_name and ut_host.
4897
4898 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4899
4900         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4901         /var/mail in accordance with FHS 2.0.
4902         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4903
4904 1998-08-12  Richard Henderson  <rth@cygnus.com>
4905
4906         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4907         Update aliases for cancelation.
4908
4909         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4910         playing with symbol versions.
4911
4912 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4913
4914         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4915         multiple inclusion protection.
4916         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4917         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4918         define all these to 1.
4919         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4920
4921 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
4922
4923         * sysdeps/mach/usleep.c: Include <unistd.h>.
4924         (usleep): Return void.
4925
4926 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4927
4928         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4929         decl to inhibit warning in if_freenameindex defn.
4930
4931         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4932
4933         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4934
4935         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4936         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4937         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4938         * sysdeps/mach/usleep.c: Likewise.
4939
4940         * sysdeps/mach/hurd/bind.c (bind): Add a const.
4941
4942         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4943         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4944         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4945         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4946         * sysdeps/mach/usleep.c (usleep): Likewise.
4947         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4948         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4949         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4950         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4951
4952 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
4953
4954         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4955         (glob64): Fix typo.
4956
4957         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4958         %p arg to fprintf, since `void *' is the right type already.
4959
4960 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
4961
4962         * sysdeps/mach/hurd/getcwd.c
4963         (_hurd_canonicalize_directory_name_internal): Do not loop forever
4964         for unknown root directories.
4965         (__getcwd): Return NULL when the current root directory could not
4966         be reached.
4967
4968 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
4969
4970         * string/strsignal.c (strsignal): Count real-time signals from zero.
4971
4972
4973 See ChangeLog.8 for earlier changes.