Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-02-02  Ulrich Drepper  <drepper@cygnus.com>
2
3         * nscd/nscd_getpw_r.c (nscd_getpw_r): Mark as internal and take
4         extra argument with length of key string.
5         (__nscd_getpwnam_r): Call nscd_getpw_r with extra argument.
6         (__nscd_getpwuid_r): Create key string on stack.
7         * nscd/nscd_getgr_r.c: Mark local functions as internal.
8         * nscd/nscd_gethst_r.c: Likewise.
9
10         * elf/dl-load.c: Use alloca, not __alloca.
11
12         * sysdeps/unix/sysv/linux/reboot.c: Make sure first parameter is
13         correctly passed to the kernel even on 64bit platforms.
14         Patch by Bruce Elliott <bde@nwlink.com>.
15
16         * localedata/locales/it_CH: New file.
17         Contributed by Giacomo Amabile Catenazzi <gcatenaz@g26.ethz.ch>.
18
19 1999-01-31  Ulrich Drepper  <drepper@cygnus.com>
20
21         * math/libm-test.c (fdim_test): Fix typo in message.
22         Patch by Paul Kimoto <kimoto@spacenet.tn.cornell.edu>.
23
24 1999-01-31  Philip Blundell  <philb@gnu.org>
25
26         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: If the kernel
27         doesn't have vfork, resort to using fork.
28         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
29
30 1999-01-30  Ulrich Drepper  <drepper@cygnus.com>
31
32         * sysdeps/sparc/sparc32/__longjmp.S: Include bits/setjmp.h not
33         jmp_buf.h.  Patch by David S. Miller <davem@dm.cobaltmicro.com>.
34
35         * sysdeps/libm-i387/s_fdim.S: Reverse arguments of instruction
36         changed in last patch.
37         * sysdeps/libm-i387/s_fdimf.S: Likewise.
38         * sysdeps/libm-i387/s_fdiml.S: Likewise.
39
40 1999-01-29  Richard Henderson  <rth@twiddle.net>
41
42         * scripts/config.sub: Recognize alpha{pca5[67],ev[67]}.
43
44         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
45         Format pointer differences as longs.
46
47         * sysdeps/alpha/fpu/s_floor.c, sysdeps/alpha/fpu/s_floorf.c:
48         Copy commentary from bits/mathinclude.h.  Kill unused defines.
49
50         * sysdeps/alpha/atomicity.h: New file.
51
52 1999-01-29  Ulrich Drepper  <drepper@cygnus.com>
53
54         * version.h (VERSION): Bump to 2.0.112.
55
56         * scripts/versions.awk: Quote { in regexp.
57
58         * sunrpc/clnt_tcp.c (clnttcp_call): Resolve 32-64 comparison
59         conflict for 64 bit platforms.
60         Patch by trott@rottmann.hi.shuttle.de.
61
62         * sysdeps/unix/sparc/vfork.S: Correct comment.
63         * sysdeps/unix/sparc/fork.S: Likewise.
64         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove vfork.
65         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
66         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: No special case for
67         child necessary.
68         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: New file.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: New file.
71         Patches by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
72
73         * sysdeps/libm-i387/s_fdim.S: Change fsubp to fsubrp for picky gas.
74         * sysdeps/libm-i387/s_fdimf.S: Likewise.
75         * sysdeps/libm-i387/s_fdiml.S: Likewise.
76
77         * sysdeps/alpha/fpu/s_floor.c (__floor): Don't depend on inlining,
78         duplicate the code.
79         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
80
81         * sysdeps/i386/Versions: Exports functions from libgcc since this
82         is what was done in glibc 2.0.
83         * sysdeps/m68k/Versions: Likewise.  New file.
84
85 1999-01-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
86
87         * sysdeps/wordsize-32/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C,
88         UINT8_C, UINT16_C, UINT32_C, UINT64_C): Remove casts, they must be
89         integer constants.  Use ## directly instead of __CONCAT so that
90         the suffix string is not expanded as a macro.
91         * sysdeps/wordsize-64/stdint.h (INT8_C, INT16_C, INT32_C, INT64_C,
92         UINT8_C, UINT16_C, UINT32_C, UINT64_C): Likewise.
93         (INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST64_MIN,
94         INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST16_MIN, INT_FAST32_MIN,
95         INT_FAST64_MIN, INT_FAST16_MAX, INT_FAST32_MAX, INT_FAST64_MAX,
96         UINT_FAST16_MAX, UINT_FAST32_MAX, UINT_FAST64_MAX, INTMAX_MIN,
97         INTMAX_MAX, UINTMAX_MAX): Define as long constants, not long long.
98
99 1999-01-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
100
101         * locale/mb_cur_max.c (__ctype_get_mb_cur_max): Correct return
102         type to size_t.
103         * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Likewise.
104         * stdlib/stdlib.h (__ctype_get_mb_cur_max): Likewise.
105
106 1999-01-27  Philip Blundell  <pb@nexus.co.uk>
107
108         * sysdeps/unix/sysv/linux/arm/vfork.S: Deleted.
109
110 1999-01-28  David S. Miller  <davem@redhat.com>
111
112         * sysdeps/sparc/sparc32/__longjmp.S: Rewrite without bogus sanity
113         checks and aborts, to make longjmp based thread schemes work again.
114
115 1999-01-28  Ulrich Drepper  <drepper@cygnus.com>
116
117         * sysdeps/unix/sysv/sysv4/solaris2/configure.in: New file.
118         * sysdeps/unix/sysv/sysv4/solaris2/configure: New file.
119         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: New file.
120         Patch by Jeff Bailey <jbailey@phn.ca>.
121
122         * locale/setlocale.c (free_mem): Don't try to free C locale data
123         and use setdata instead of doing it by hand.
124
125         * iconv/gconv_conf.c (add_alias): Check that so such alias is
126         currently stored.
127
128         * iconv/gconv_db.c (free_derivation): Free names if charsets for
129         first and last step.
130
131         * iconv/gconv_dl.c: Unload all modules when debugging memory use.
132
133         * locale/loadlocale.c (_nl_unload_locale): Free locale name.
134
135         * intl/finddomain.c (free_mem): Also free filename.
136         * locale/findlocale.c (free_mem): Likewise.
137         (_nl_find_locale): Duplicate loc_name with strdupa not strdup.
138         * locale/setlocale.c (free_mem): New function.  Free current locale
139         data and set current locale to "C".
140
141         * libio/genops.c (_IO_un_link): Move #ifdef introduced in last
142         change in right place.
143
144         * sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel
145         header.  Suggested by Thomas Quinot <thomas@Cuivre.FR.EU.ORG>.
146
147 1999-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
148
149         * libio/getc_u.c (__getc_unlocked): Avoid compiler warning.
150
151 1999-01-28  Ulrich Drepper  <drepper@cygnus.com>
152
153         * libio/genops.c (_IO_un_link, _IO_link_in): Don't use locking if
154         _IO_MTSAFE_IO is not defined.
155
156         * iconv/gconv_db.c (free_modules_db): Don't free memory of
157         internal modules.
158
159         * iconv/gconv_db.c (free_mem): Don't free module tree if there is none.
160
161 1999-01-27  Ulrich Drepper  <drepper@cygnus.com>
162
163         * locale/programs/locale-spec.c (locale_special): Take care of
164         possible trigraph sequence.
165         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
166
167         * time/strptime.c (strptime_internal, case 's'): Initialize secs
168         to zero.  Patch by Bruce Elliott <bde@nwlink.com>.
169
170 1999-01-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
171
172         * elf/Makefile (extra-objs): Add test modules objects.
173
174 1999-01-27  Ulrich Drepper  <drepper@cygnus.com>
175
176         * wctype/wcextra.c: Declare __ctype32_b.
177
178         * manual/string.texi: Add optimization examples for strcat and strchr.
179
180 1999-01-26  Ulrich Drepper  <drepper@cygnus.com>
181
182         * libio/Makefile (routines): Remove fgetc.
183         * libio/fgetc.c: Removed.
184         * libio/getc.c: Add fgetc alias.
185         * libio/Versions [GLIBC_2.1]: Add fgetc_unlocked.
186         * libio/getc_u.c: Rename function to __getc_unlocked and make
187         getc_unlocked and fgetc_unlocked weak aliases.
188         * libio/stdio.h: Add prototype for fgetc_unlocked.
189
190         * sysdeps/gnu/bits/utmp.h: Don't prepend exit_status elements with
191         __ since utmp.h is not mentioned in any standard.
192
193         * sysdeps/unix/sysv/linux/i386/clone.S: When not using PIC don't
194         use jecxz since the label might be far away.
195
196         * sysdeps/unix/sysv/linux/sigaction.c: Update comment to say the
197         __libc_missing_rt_sigs is defined here.
198         * sysdeps/unix/sysv/linux/sigpending.c: Only declare
199         __libc_missing_rt_sigs.
200         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
201         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
202
203 1999-01-25  Ulrich Drepper  <drepper@cygnus.com>
204
205         * scripts/config.guess: Changes for ARM/Linux.
206         * scripts/config.sub: Likewise.
207
208         * elf/Makefile: Define libdl variable as name of libdl library and
209         use it in all dependencies.
210
211 1999-01-26  Geoff Keating  <geoffk@ozemail.com.au>
212
213         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Suppress warning
214         about potentially uninitialized `flags'.
215         * nss/nss_db/db-alias.c (internal_setent): Likewise.
216
217 1999-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
218
219         * elf/failobj.c: Provide prototype for xyzzy.
220
221 1999-01-25  Philip Blundell  <pb@nexus.co.uk>
222
223         * sysdeps/unix/sysv/linux/arm/clone.S: Correct error check again.
224
225 1999-01-24  Roland McGrath  <roland@baalperazim.frob.com>
226
227         * sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>.
228         (__ioctl): Use IOC_MSGID macro.
229
230 1999-01-24  Ulrich Drepper  <drepper@cygnus.com>
231
232         * libio/iofopen.c (_IO_fopen): Pass correct value as fourth
233         parameter to _IO_file_fopen.
234         * libio/iofopen64.c (_IO_fopen64): Likewise.
235
236         * po/sv.po: Update from translation team.
237
238         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork
239         as alias.
240         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
241
242 1999-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
243
244         * ctype/ctype.h (toupper,tolower): Use __inline instead of inline,
245         define inline functions only when optimizing for speed and
246         __USE_EXTERN_INLINES is set.
247
248 1999-01-24  Ulrich Drepper  <drepper@cygnus.com>
249
250         * scripts/config.sub: Update from latest autoconf release.
251         * scripts/config.guess: Likewise.
252
253         * sysdeps/i386/i786/Implies: New file.
254
255 1999-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
256
257         * manual/install.texi (Running make install): Change for Linux 2.2.
258
259 1999-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
260
261         * manual/process.texi (Creating a Process): Fix typos.
262
263 1999-01-24  Roland McGrath  <roland@baalperazim.frob.com>
264
265         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): Fail with ENOSYS, don't
266         call abort.  Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
267
268 1999-01-23  Roland McGrath  <roland@baalperazim.frob.com>
269
270         * sysdeps/unix/sysv/linux/sys/mtio.h: Moved to...
271         * sysdeps/gnu/sys/mtio.h: ...here.
272         (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros.
273         * sysdeps/gnu/Dist: Add sys/mtio.h.
274         * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h.
275         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
276         (sysdep_headers): Don't add sys/mtio.h here.
277         * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it
278         here instead.
279
280         Revamp Hurd ioctl typing magic to handle `struct' keyword in the
281         ioctl command macros, so we can use Unix-compatible headers that
282         make use of the _IO* macros.
283         * sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE,
284         _IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros.
285         (_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t.
286         (_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*.
287         (numerous ioctl command macros): Restore `struct' keyword.
288
289 1999-01-24  Ulrich Drepper  <drepper@cygnus.com>
290
291         * ctype/ctype.c (toupper): Correct variable names from last change.
292         (tolower): Likewise.
293
294 1999-01-23  Ulrich Drepper  <drepper@cygnus.com>
295
296         * sunrpc/rpc_main.c (open_output): Allow better translation of
297         error message.
298         (close_output): Likewise.
299         * locale/programs/localedef.c: Unify messages.
300         * malloc/obstack.c: Likewise.
301         Suggested by Vladimir Michl <Vladimir.Michl@upol.cz>.
302
303         * grp/putgrent.c (putgrent): Don't insert extra colon.
304         Patch by Michael Schaefer <michael.schaefer@dlr.de>.
305
306         * nss/nss_files/files-XXX.c (internal_getent): Make sure the buffer has
307         at least two bytes (not one).  Correct buflen parameter type.
308         * nss/nss_files/files-alias.c (get_next_alias): Make sure buffer
309         has at least two bytes.  Use fgets_unlocked instead of fgets.
310
311         * ctype/ctype.h: Don't user __tolower directly for tolower
312         implementation.  Use inline function which tests for the range
313         first.  Make _tolower equivalent to old tolower macros.
314         Likewise for toupper.
315         * ctype/ctype.c: Change tolower/toupper definition accordingly.
316
317         * argp/argp-help.c: Use _tolower instead of tolower if possible.
318         * inet/ether_aton_r.c: Likewise.
319         * inet/ether_line.c: Likewise.
320         * inet/rcmd.c: Likewise.
321         * intl/l10nflist.c: Likewise.
322         * locale/programs/ld-collate.c: Likewise.
323         * locale/programs/linereader.c: Likewise.
324         * locale/programs/localedef.c: Likewise.
325         * nis/nss_nis/nis-alias.c: Likewise.
326         * nis/nss_nis/nis-network.c: Likewise.
327         * posix/regex.c: Likewise.
328         * resolv/inet_net_pton.c: Likewise.
329         * stdio-common/printf_fp.c: Likewise.
330         * stdio-common/vfscanf.c: Likewise.
331         * sysdeps/generic/strcasestr.c: Likewise.
332
333         * math/bits/mathcalls.h: Fix typo.
334
335 1999-01-23  Roland McGrath  <roland@baalperazim.frob.com>
336
337         * sysdeps/gnu/errlist.awk: Add comment.
338
339 1999-01-23  Ulrich Drepper  <drepper@cygnus.com>
340
341         * csu/Versions: Add __register_frame_info_table.
342
343 1998-12-29  Geoff Keating  <geoffk@ozemail.com.au>
344
345         * sunrpc/Versions: Include _authenticate, it's defined in a user
346         header (in fact, it's the whole contents of rpc/svc_auth.h).
347
348 1999-01-23  Ulrich Drepper  <drepper@cygnus.com>
349
350         * io/ftw.c (process_entry): Initialize flag since not all gcc
351         versions are smart enough to see that this is no problem.
352
353         * elf/dl-open.c (_dl_init_paths): Check malloc result.
354
355         * csu/Versions: Add __frame_state_for.
356
357 1999-01-22  Ulrich Drepper  <drepper@cygnus.com>
358
359         * sysdeps/gnu/errlist.awk: Mark ENOTSUP as alias for EOPNOTSUPP.
360
361         * iconv/gconv_conf.c (add_alias): Convert names to uppercase before
362         adding into search tree.
363         (add_module): Likewise.
364         * iconv/iconv_open.c: Likewise.
365         * iconv/gconv_db.c: Change all __strcasecmp to strcmp.
366         * iconv/skeleton.c (gconv_init): Likewise.
367
368 1999-01-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
369
370         * elf/Makefile: Make dependencies between test modules explicit.
371         (preloadtest-preloads): New variable.
372         ($(objpfx)preloadtest.out): Use it.
373         (preloadtest-ENV): Use it.
374
375 1999-01-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
376
377         * sysdeps/unix/sysv/linux/arm/Dist: Undo last change.  Not needed.
378
379 1999-01-22  Roland McGrath  <roland@baalperazim.frob.com>
380
381         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend on
382         $(common-objpfx)errnos.d.
383
384         * sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules.
385
386         * manual/errno.texi (Error Codes): Fix ENOSYS description.
387         Add ENOTSUP.
388
389 1999-01-21  Ulrich Drepper  <drepper@cygnus.com>
390
391         * elf/Makefile: Add missing dependency for preloadtest binary.
392
393 1999-01-21  Ulrich Drepper  <drepper@cygnus.com>
394
395         * version.h (VERSION): Bump to 2.0.111.
396
397         * elf/Makefile (distribute): Add test module sources.
398
399         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print.
400         * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h.
401         * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h.
402         * posix/Makefile (headers): Add sys/sysmacros.h.
403         * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD.
404         * sysdeps/generic/sys/sysmacros.h: New file.
405         * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and
406         major definition.
407
408         * elf/dl-close.c: Rewrite the way adding to the global scope works
409         to handle error cases better than the last change.
410         The l_global flag is now only set when the object is actually
411         counted in the global scope list.
412         * elf/dl-deps.c: Likewise.
413         * elf/dl-open.c: Likewise.
414
415 1999-01-20  Philip Blundell  <pb@nexus.co.uk>
416
417         * sysdeps/unix/sysv/linux/arm/sigaction.c: New file.
418
419         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
420         * sysdeps/unix/sysv/linux/arm/Dist: Add vfork.S.
421
422         * sysdeps/unix/sysv/linux/arm/clone.S: Optimise a little, support
423         26-bit machines correctly and fix check for returned errors.
424
425 1999-01-21  Ulrich Drepper  <drepper@cygnus.com>
426
427         * sysdeps/unix/sysv/linux/i386/clone.S: Micro-optimization.
428
429         * sysdeps/unix/sysv/linux/i386/vfork.S: Add back the first
430         implementation now that the syscall is back in 2.2.0.
431
432         * elf/Makefile: Change rule to make test module so that they are
433         compiled using -fPIC.
434         * elf/testobj1.c: Add missing prototype.
435         * elf/testobj1_1.c: Likewise.
436         * elf/testobj2.c: Likewise.
437         * elf/testobj3.c: Likewise.
438         * elf/testobj4.c: Likewise.
439         * elf/testobj5.c: Likewise.
440         * elf/testobj6.c: Likewise.
441
442 1999-01-20  Ulrich Drepper  <drepper@cygnus.com>
443
444         * elf/Makefile (tests): Add loadfail.
445         Add rules to build failobj.so.
446         * elf/loadfail.c: New file.  Test of failing to load object with
447         RTLD_GLOBAL set.
448         * elf/failobj.c: New file.  Object which will fail to load.
449
450         * elf/dl-close.c (_dl_close): Fix last patch (cnt is unsigned).
451
452         * elf/dl-close.c: Handle failed loads which would have gone in the
453         global scope correctly.
454
455         * elf/testobj1.c: Include stdlib.h to get NULL defined.
456         * elf/testobj2.c: Likewise.
457         * elf/testobj3.c: Likewise.
458         * elf/testobj4.c: Likewise.
459         * elf/testobj5.c: Likewise.
460
461         * iconvdata/Makefile (modules): Add SAMI-WS2 and ISO-IR-197.
462         * iconvdata/gconv-modules: Add entries for above charsets.
463         * iconvdata/iso-ir-197.c: New file.
464         * iconvdata/sami-ws2.c: New file.
465
466         * sysdeps/unix/sysv/linux/vfork.c: Once again use generic version.
467
468 1999-01-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
469
470         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.d): Fix
471         generation of dependency list to make it work with newer versions
472         of gcc.
473
474 1999-01-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
475
476         * Makerules (build-module): New macro, moved from...
477         * elf/Makefile (build-module): ... here.
478         * iconvdata/Makefile (build-module): ... and here.
479
480 1999-01-20  Ulrich Drepper  <drepper@cygnus.com>
481
482         * sysdeps/alpha/Versions: Add __atan2 for libm and GLIBC_2.0.
483
484         * elf/Makefile (tests): Add preloadtest.  Add rules to build more test
485         modules and the preloadtest binary.
486         * elf/loadtest.c (TEST_ROUNDS): Increase to 1000.
487         (testobjs): Add more modules.
488         (tests): Add entries for new modules.
489         * elf/preloadtest.c: New file.  Test for LD_PRELOAD.
490         * elf/testobj1.c: Add 'preload' function.
491         * elf/testobj2.c: Likewise.
492         * elf/testobj3.c: Likewise.
493         * elf/testobj4.c: New file.
494         * elf/testobj5.c: New file.
495         * elf/testobj6.c: New file.
496
497 1999-01-19  Ulrich Drepper  <drepper@cygnus.com>
498
499         * elf/dl-object.c (_dl_new_object): Micro-optimization.
500
501         * elf/restest1.c: New file.  Symbol resolution test.
502         * elf/testobj1_1.c: New file.  Module used in this test.
503         * elf/Makefile: Add rules for restest1 generation and execution.
504
505         * elf/dl-object.c (_dl_new_object): l_local_scope really gets
506         assigned the local scope.
507
508         * posix/test-vfork.c (main): Improve test to check for correct
509         exit code.
510
511         * sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone.
512
513         * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK.
514
515         * timezone/zdump.c: Update from tzcode1999a.
516         * timezone/zic.c: Likewise.
517
518 1999-01-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
519
520         * math/tgmath.h: Rename nextafterx to nexttoward.
521
522 1999-01-19  Ulrich Drepper  <drepper@cygnus.com>
523
524         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add baud rates >
525         460800.
526         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
527         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
528         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
529
530         * math/Makefile (libm-calls): Rename s_nextafterx to s_nexttoward.
531         * math/Versions: Likewise.
532         * math/bits/mathcalls.h: Likewise.
533         * manual/arith.texi: Likewise.
534         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
535         * sysdeps/libm-ieee754/s_nextafterx.c: Replaced by...
536         * sysdeps/libm-ieee754/s_nexttoward.c: New file.
537         * sysdeps/libm-ieee754/s_nextafterxf.c: Replaced by...
538         * sysdeps/libm-ieee754/s_nexttowardf.c: New file.
539         * sysdeps/libm-ieee754/s_nextafterxl.c: Replaced by...
540         * sysdeps/libm-ieee754/s_nexttowardl.c: New file.
541
542         * time/Makefile (routines): Removed strfxtime.
543         * time/Versions: Likewise.
544         * time/strfxtime.c: Removed.
545         * time/time.h: Remove _LOCALTIME, _NO_LEAP_SECONDS, struct tmx,
546         mkxtime, and strfxtime.
547
548 1999-01-18  Ulrich Drepper  <drepper@cygnus.com>
549
550         * iconv/gconv_conf.c (add_module): Complete rewrite.  Use cleverer
551         data structures and avoid creating intermediate representations
552         first.  Rewrite also all helper functions.
553         * iconv/gconv_db.c (find_derivation): Use new data structure for
554         module database.
555         * iconv/Versions: Remove __gconv_nmodules.
556         * iconv/iconv_prog.c: Rewrite generation of charset name list to
557         use new data structure.
558         * iconv/gconv_int.h (struct gconv_module): Add new elements for
559         database data structure.
560         (__gconv_modules_db): Update type.
561         (__gconv_transform_dummy): Removed.
562         * iconv/gconv_builtin.h: Remove dummy transformation.
563         * iconv/gconv_simple.c: Remove __gconv_transform_dummy.
564
565         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
566         __syscall_vfork, add vfork.
567         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
568
569 1999-01-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
570
571         * posix/test-vfork.c: Include <sys/wait.h> for wait declaration.
572
573 1999-01-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
574
575         * manual/ctype.texi: Fix cross refs and typos.
576         * manual/charset.texi: Likewise.
577
578 1999-01-18  Ulrich Drepper  <drepper@cygnus.com>
579
580         * Rules: Add dummy.c and dummy.o to common-generated.
581         Patch by Andreas Schwab.
582
583 1999-01-18 10:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
584
585         * manual/libc-texinfo.sh: Use tsort.awk.
586         * manual/tsort.awk: New file.
587         * manual/Makefile (minimal-dist): Add tsort.awk.
588         (distribute): Remove generated files: summary.texi,
589         stamp-summary, chapters.texi, top-menu.texi, and texis.
590
591 1999-01-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
592
593         * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
594         fork syscall.
595
596 1999-01-17  Ulrich Drepper  <drepper@cygnus.com>
597
598         * wctype/wcfuncs.c: Declare __ctype32_b.
599
600         * elf/Makefile (test-modules): Add test-modules.
601
602         * stdlib/canonicalize.c (canonicalize): Update write pointer after
603         realloc.  Minor optimizations.
604
605 1999-01-16  Ulrich Drepper  <drepper@cygnus.com>
606
607         * po/no.po: Update from norwegian translation team.
608
609         * iconvdata/iso-2022-jp.c: Correct handling of G2 set.
610         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
611
612         * elf/Makefile (tests): Add loadtest.
613         Add rules to generate test modules.
614         * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line.
615         * elf/loadtest.c: New file.
616         * elf/testobj1.c: New file.
617         * elf/testobj2.c: New file.
618         * elf/testobj3.c: New file.
619
620         * elf/dl-close.c: Correct removing module from global list.
621
622         * elf/dl-open.c: Add debugging code.
623
624         * include/string.h: Add __rawmemchr prototype.
625         * string/Makefile (routines): Add rawmemchr.
626         * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr.
627         * string/string.h: Add prototype for rawmemchr.
628         * string/bits/string2.h: Optimize strchr with rawmemchr.
629         * sysdeps/generic/rawmemchr.c: New file.
630         * sysdeps/i386/rawmemchr.c: New file.
631         * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code.
632         Optimize strchr with rawmemchr.
633
634         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE,
635         _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98.
636
637 1999-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
638
639         * nis/nis_error.c (nis_errlist): Fix capitilasation.
640
641 1999-01-15  Ulrich Drepper  <drepper@cygnus.com>
642
643         * posix/Makefile (tests): Add test-vfork.
644         * posix/test-vfork.c: New file by Andreas Schwab.
645
646         * manual/charset.texi: More misspelling fixes.
647         Reported by Tom Tromey <tromey@cygnus.com>.
648         Improve mbsinit example.
649
650         * sysdeps/unix/sysv/linux/vfork.c: Removed.
651         * sysdeps/unix/sysv/linux/i386/vfork.S: New file.
652
653 1999-01-14  Ulrich Drepper  <drepper@cygnus.com>
654
655         * Make-dist: If file is generated but still distributed the later
656         is correct.
657
658         * sysdeps/unix/sysv/linux/arm/Dist: Add sys/user.h.
659
660         * manual/Makefile (examples): Filter out the example code from
661         add-ons.
662
663         * version.h (VERSION): Bump to 2.0.110.
664
665         * nis/nis_error.c (nis_errlist): Fix typo in string.
666
667         * misc/regexp.h: Add restrict to function declarations.
668
669 1998-12-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
670
671         Patche by Ralf Baechle <ralf@gnu.org>:
672         * sysdeps/mips/sys/regdef.h: New file, enhanced versions of
673         deleted linux specific files.
674
675 1998-12-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
676
677         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: New file.
678
679 1999-01-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
680
681         * misc/regexp.h (compile): Correct end-of-line check, fix typo in
682         docu.  Reported by Kalle Olavi Niemitalo <kalle@Niemitalo.fi>.
683
684 1999-01-14  Ulrich Drepper  <drepper@cygnus.com>
685
686         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add vfork.
687         Patch by Richard Henderson <rth@twiddle.net>.
688
689 1999-01-13  Ulrich Drepper  <drepper@cygnus.com>
690
691         * manual/nss.texi (NSS Module Interface): Document requirement on errno
692         value after unsuccessful call of module function.
693
694         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_fork alias.
695         * sysdeps/unix/sysv/linux/vfork.c: Use vfork syscall if available,
696         otherwise use fork.
697         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add vfork.
698         * sysdeps/unix/sysv/linux/sparc32/syscalls.list: Likewise.
699         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
700
701         * sysdeps/unix/sysv/linux/i386/sysdep.h: Correct handling of
702         INLINE_SYSCALL for syscall without parameters.
703
704 1999-01-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
705
706         * sysdeps/unix/make-syscalls.sh: Set shared-only-routines for
707         versioned syscalls.
708
709         * Rules: Remove rules for empty.* again.
710
711 1999-01-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
712
713         * sysdeps/unix/sysv/linux/m68k/vfork.S: New file.
714
715 1999-01-13  Ulrich Drepper  <drepper@cygnus.com>
716
717         * sysdeps/i386/bits/string.h: Correct several bugs in various
718         functions which never worked.
719         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
720
721 1999-01-12  Ulrich Drepper  <drepper@cygnus.com>
722
723         * manual/charset.texi: Add many corrections.
724         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
725
726 1999-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
727
728         * manual/charset.texi: Fix some typos.
729
730 1999-01-12  Ulrich Drepper  <drepper@cygnus.com>
731
732         * login/programs/pt_chown.c (main): Update copyright year.
733
734 1999-01-11  Ulrich Drepper  <drepper@cygnus.com>
735
736         * sysdeps/posix/tempname.c: Open files with mode 0600.
737
738         * ctype/Versions [GLIBC_2.0]: Export __ctype32_b.
739         * include/wctype.h: Declare __iswctype.
740         * stdio-common/vfscanf.c (__vfscanf): Use __iswspace instead of
741         iswspace.
742         * wctype/Makefile (routines): Add wcextra_l.
743         * wctype/wcextra.c (iswblank): Implement function here and don't use
744         __iswctype.
745         (__iswblank_l):  Move definition to...
746         * wctype/wcextra_l.c: ...here.  New file.
747         * wctype/wcfuncs.c: Really implement functions and don't call
748         __iswctype or __towctrans.
749         * wctype/wctype.h: Change isw* and tow* macros.  Don't call
750         __iswctype or __towctrans.  Instead optimize constant argument case.
751
752         * iconv/gconv.h: Fix typos.
753
754         * iconv/skeleton.c: Fix typos.  Optimize init function a bit.
755         Correctly emit escape sequence to return to initial state in
756         conversion function.
757
758         * iconvdata/iso-2022-jp.c (gconv_init): Correctly initialize
759         max_needed_to element.
760
761         * manual/mbyte.texi: Removed.  This is now described in charset.texi.
762         * manual/charset.texi: New file.
763         * manual/Makefile (chapters): Replace mbyte by charset.
764         * manual/ctype.texi: Document wide character functions.
765         * manual/intro.texi: Fix reference to mbyte chapter.
766         * manual/lang.texi: Likewise.
767         * manual/locale.texi: Likewise.
768         * manual/stdio.texi: Likewise.
769         * manual/string.texi: Fix @node line for new charset chapter.
770         * manual/libc.texinfo (UPDATED): Updated.  Also update copyright years.
771         * manual/memory.texi (savestring): Optimize code to give a good
772         example.
773
774         * manual/filesys.texi: Fix wording.  Patches by Jim Meyering.
775
776         * nscd/nscd_getgr_r.c: Include stdint.h to get uintptr_t definition.
777         * nscd/nscd_getpw_r.c: Likewise.
778         * nscd/nscd_gethst_r.c: Likewise.
779
780         * stdlib/stdtold_l.c: Always include xlocale.h.
781
782 1999-01-11  Geoffrey Keating  <geoffk@ozemail.com.au>
783
784         * stdlib/fpioconst.h (LDBL_MAX_10_EXP_LOG): Define to be same as
785         DBL_MAX_10_EXP_LOG if there is no long double.
786         (_fpioconst_pow10): Always use size as LDBL_MAX_10_EXP_LOG to match
787         printf_fp.c.
788
789 1999-01-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
790
791         * timezone/Makefile ($(testdata)/GB): Changed to ...
792         ($(testdata)/Europe/London): ... for tst-timezone test.
793         ($(objpfx)tst-timezone.out): Change GB to Europe/London.
794
795         * timezone/tst-timezone.c (main): Enable DST switching test,
796         change GB to Europe/London.
797
798 1999-01-10  Philip Blundell  <philb@gnu.org>
799
800         * socket/Makefile (headers): Remove bits/sockunion.h.
801
802 1999-01-09  Philip Blundell  <philb@gnu.org>
803
804         * socket/sys/socket.h: Don't include <bits/sockunion.h>.
805         * sysdeps/generic/bits/sockunion.h: Deleted.
806         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
807
808 1999-01-08  H.J. Lu  <hjl@gnu.org>
809
810         * io/fts.c (fts_close): Don't access memory after having it freed.
811
812 1998-01-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
813
814         * manual/Makefile (stamp-summary): Remove space after -t option
815         for compatibility with non-GNU sort programs.
816
817 1999-01-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
818
819         * manual/search.texi (Comparison Functions): Fix compare_doubles
820         example.
821
822 1999-01-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
823
824         * Makerules (do-tests-clean): Remove reference to obsolete
825         variable tests-static.
826
827 1999-01-07  Ulrich Drepper  <drepper@cygnus.com>
828
829         * sysdeps/unix/sysv/linux/ntp_adjtime.c: Removed.  It's an alias
830         for adjtimex.
831         * sysdeps/unix/sysv/linux/Dist: Add ntp_gettime.c.
832         * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
833         Remove ntp_adjtime.
834         * sysdeps/unix/sysv/linux/syscalls.list: Add alias ntp_adjtime to
835         adjtimex.
836         * sysdeps/unix/sysv/linux/sys/timex.h: Correct prototype for
837         ntp_adjtime.
838
839         * sysdeps/i386/i686/mempcpy.S: Fix typos.
840
841         * sysdeps/i386/i686/memset.S: New file.
842         * sysdeps/i386/i686/bzero.S: New file.
843         * sysdeps/i386/i686/strcmp.S: New file.
844         * sysdeps/i386/i686/memcpy.S: New file.
845
846         * sysdeps/unix/sysv/linux/Makefile [subdir=time] (sysdep_routines):
847         Add ntp_adjtime and ntp_gettime.
848         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add ntp_adjtime and
849         ntp_gettime.
850
851 1998-12-29  Ulrich Windl  <Ulrich.Windl@rz.uni-regensburg.de>
852
853         * manual/time.texi (Precision Time): Add documentation for
854         ntp_gettime and ntp_adjtime.
855
856 1998-12-28  Ulrich Windl  <Ulrich.Windl@rz.uni-regensburg.de>
857
858         * sysdeps/unix/sysv/linux/ntp_gettime.c: Created new file
859
860         * sysdeps/unix/sysv/linux/ntp_adjtime.c: Created new file
861
862         * sysdeps/unix/sysv/linux/sys/timex.h (struct ntptimeval): Added.
863         Add prototypes for ntp_adjtime and ntp_gettime.
864
865 1999-01-07  Ulrich Drepper  <drepper@cygnus.com>
866
867         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
868         from c and D register output.
869
870 1999-01-07  Philip Blundell  <philb@gnu.org>
871
872         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Fix bug in last change.
873
874 1999-01-07  Ulrich Drepper  <drepper@cygnus.com>
875
876         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Correct type for
877         __fsfilcnt_t.  Patch by Bruce Elliott <bde@nwlink.com>.
878
879 1999-01-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
880
881         * manual/conf.texi: Remove pointers from first @node.  Move old
882         @node spec inside comment.
883         * manual/lang.texi: Likewise.
884         * manual/libc-texinfo.sh: Also find `@node.*Top' in a comment.
885         * manual/stdio.texi: Fix typo.
886
887 1999-01-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
888
889         * wcsmbs/btowc.c: Accept all values in the range [SCHAR_MIN
890         .. UCHAR_MAX].  Local var buf renamed to result and its type
891         changed from char[] to wchar_t to get proper alignment.
892
893         * posix/fnmatch.c: Also cast the arguments of the other ctype
894         functions to unsigned char.
895
896 1999-01-07  Ulrich Drepper  <drepper@cygnus.com>
897
898         * Rules: Add rules for empty.{o,os,op} back.
899
900 1999-01-05  Ulrich Drepper  <drepper@cygnus.com>
901
902         * Makerules (common-mostlyclean): Add missing parentheses.
903
904         * Rules: Add back rules for empty.o generation.
905
906 1999-01-05  Philip Blundell  <philb@gnu.org>
907
908         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new ARPHRD definitions
909         from latest (2.2.0pre4) kernel.
910
911 1999-01-05  Scott Bambrough  <scottb@corelcomputer.com>
912
913         * sysdeps/unix/sysv/linux/arm/sys/user.h : New file.  Fixes problem
914         on ARM platforms with programs that include <sys/user.h> and
915         <sys/ptrace.h>.  Solution suggested by Geoff Keating earlier with
916         fix for same problem on the PowerPC platform.
917
918 1999-01-04  Philip Blundell  <philb@gnu.org>
919
920         * sysdeps/unix/sysv/linux/arm/register-dump.h: Correct widths of
921         register values.
922         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: New file.
923
924 1999-01-04  Ulrich Drepper  <drepper@cygnus.com>
925
926         * csu/version.c (banner): Update date.
927         * catgets/gencat.c: Update year in copyright message text.
928         * db2/makedb.c: Likewise.
929         * debug/catchsegv.sh: Likewise.
930         * elf/ldd.bash.in: Likewise.
931         * elf/sprof.c: Likewise.
932         * iconv/iconv_prog.c: Likewise.
933         * locale/programs/locale.c: Likewise.
934         * locale/programs/localedef.c: Likewise.
935         * login/programs/utmpd.c: Likewise.
936         * malloc/mtrace.pl: Likewise.
937         * nscd/nscd.c: Likewise.
938         * nss/getent.c: Likewise.
939         * posix/getconf.c: Likewise.
940
941 1999-01-02  Philip Blundell  <philb@gnu.org>
942
943         * sunrpc/Makefile: Ensure that we really use the right path for cpp.
944
945 1999-01-03  Philip Blundell  <philb@gnu.org>
946
947         * Makefile (tests-clean): New target to delete test output files.
948         * Makerules (do-tests-clean): New rule to support the above.
949         * Rules (subdir_testclean): Likewise.
950
951 1999-01-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
952
953         * iconv/Makefile: Use install-others instead of explicit
954         dependency on subdir_install.
955
956 1999-01-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
957
958         * iconv/gconv_db.c (find_derivation): Release lock before
959         returning.
960         (__gconv_find_transform): Likewise.
961
962 1999-01-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
963
964         * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
965         what we return.
966
967 1999-01-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
968
969         * Makerules: Remove all references to obsolete variables
970         tests-static and test-srcs-static.
971         * Make-dist: Likewise.
972         * Rules: Likewise.  Remove rules to generate obsolete empty.{c,o*}.
973
974 1999-01-03  Philip Blundell  <philb@gnu.org>
975
976         * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation.
977         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
978         * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
979         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
980
981 1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
982
983         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
984         to avoid accessing global data in the usual case.
985
986 1999-01-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
987
988         * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from
989         system path.
990
991 1998-12-31  Ulrich Drepper  <drepper@cygnus.com>
992
993         * iconvdata/Makefile: Use rpath $ORIGIN for modules which use any of
994         the conversion libraries.
995
996         * include/features.h: Mention latest extensions in _POSIX_C_SOURCE
997         description.
998
999         * libio/genops.c (list_all_lock): New variable.
1000         (_IO_un_link, _IO_link_in): Acquire lock before modifying _IO_list_all.
1001         [PR libc/911].
1002
1003         * sysdeps/i386/i686/strtok.s: Add missing cld.
1004
1005         * sysdeps/i386/i686/mempcpy.S: New file.
1006
1007 1998-12-30  Geoff Keating  <geoffk@ozemail.com.au>
1008
1009         Suppress parentheses warnings:
1010         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1011         (DL_FIND_ARG_COMPONENTS): here,
1012         * sysdeps/powerpc/dl-machine.c: here,
1013         * sysdeps/powerpc/fclrexcpt.c (feclearexcept): here,
1014         * sysdeps/powerpc/fesetround.c (fesetround): here,
1015         * sysdeps/powerpc/feupdateenv.c (feupdateenv): here,
1016         * sysdeps/powerpc/fraiseexcpt.c (feraiseexcept): here,
1017         * sysdeps/powerpc/fsetexcptflg.c (fesetexceptflag): here,
1018         * sysdeps/powerpc/s_rint.c (__rint): here,
1019         * sysdeps/powerpc/s_rintf.c (__rintf): here,
1020         * sysdeps/powerpc/w_sqrt.c (__sqrt): here,
1021         * sysdeps/powerpc/w_sqrtf.c (__sqrtf): and here.
1022
1023 1998-12-30  Geoff Keating  <geoffk@ozemail.com.au>
1024
1025         * wcsmbs/wcstold.c [__NO_LONG_DOUBLE_MATH]: Include wchar.h.
1026         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Likewise.  Also define
1027         appropropriate prototypes, correct procedure names.
1028
1029 1998-12-30  Geoff Keating  <geoffk@ozemail.com.au>
1030
1031         * sysdeps/generic/crypt-entry.c: Prototype __crypt_r, suppress
1032         warning.
1033         (__crypt_r): Add __restrict.
1034         * sysdeps/generic/crypt.h: Remove internal routine.  Add __restrict.
1035
1036 1998-12-31  Ulrich Drepper  <drepper@cygnus.com>
1037
1038         * stdlib/longlong.h: Add missing #else in SPARC definitions.
1039
1040 1998-12-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1041
1042         Patches by Ralf Baechle <ralf@gnu.org>:
1043         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Removed.
1044         * sysdeps/unix/sysv/linux/mips/sys/asm.h:  Removed.
1045         * sysdeps/unix/sysv/linux/mips/sys/regdef.h:  Removed.
1046         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h:  Removed.
1047         * sysdeps/unix/sysv/linux/mips/regdef.h:  Removed.
1048         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Removed.
1049
1050         * sysdeps/unix/sysv/linux/mips/Makefile: Remove delete files.
1051         * sysdeps/unix/sysv/linux/mips/Dist: Remove deleted files.
1052
1053         * sysdeps/mips/sys/fpregdef.h: New files, enhanced versions of deleted
1054         linux specific files.
1055         * sysdeps/mips/sys/asm.h: Likewise.
1056         * sysdeps/mips/sgidefs.h: Likewise.
1057         * sysdeps/mips/fpregdef.h: Likewise.
1058         * sysdeps/mips/regdef.h: Likewise.
1059
1060         * sysdeps/mips/Makefile: Add new headers.
1061         * sysdeps/mips/Dist: Add new files.
1062
1063         * sysdeps/mips/fpu_control.h (_FPU_DEFAULT): Change value.
1064
1065 1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1066
1067         * iconvdata/Makefile: Remove variable assignments and rules that
1068         are now auto-generated.  Include $(objpfx)iconv-rules instead.
1069         Btw, that removes a few typos.
1070         (charmaps): New variable.
1071         ($(objpfx)iconv-rules): New target.
1072         (gen-8bit-modules): Renamed from sed-generated-headers, remove .h
1073         suffixes.
1074         (gen-8bit-gap-modules): Renamed from awk-generated-headers, remove
1075         .h suffixes.
1076         (gen-special-modules): New variable.
1077         (generated-modules): New variable.
1078         (headers): Use it.
1079         (before-compile): Likewise.
1080         (generated): Likewise, and add iconv-rules.
1081         * iconvdata/euc-cn.c: Renamed from euccn.c.
1082         * iconvdata/euc-jp.c: Renamed from eucjp.c.
1083         * iconvdata/euc-kr.c: Renamed from euckr.c.
1084         * iconvdata/euc-tw.c: Renamed from euctw.c.
1085         * iconvdata/iso_6937.c: Renamed from iso6937.c.
1086         * iconvdata/iso_6937-2.c: Renamed from iso6937-2.c.
1087         * iconvdata/t.61.c: Renamed from t61.c.
1088         * iconvdata/Makefile (distribute): Adjusted for those renames.
1089         Remove $(objpfx) from names.
1090
1091 1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1092
1093         * sysdeps/generic/hp-timing.h: Fix comment.
1094         * sysdeps/generic/dl-hash.h: Likewise.
1095         * sysdeps/i386/i686/hp-timing.h: Likewise.
1096
1097 1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1098
1099         * posix/fnmatch.c (fnmatch): Always pass unsigned char values to
1100         FOLD macro.
1101
1102 1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1103
1104         * nss/db-Makefile ($(VAR_DB)/shadow.db): Fix last change.
1105
1106 1998-12-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1107
1108         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Sync with
1109         current Linux 2.1.132 kernel sources.
1110
1111 1998-12-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1112
1113         Patches by Ralf Baechle <ralf@gnu.org> for Linux/MIPS:
1114         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add ipc, change
1115         pread/pwrite and llseek calls.
1116
1117         * sysdeps/unix/sysv/linux/mips/sysdep.S: New file.
1118
1119 1998-12-29  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1120
1121         * malloc/thread-m.h [_LIBC] : Fix for NO_THREADS case.
1122
1123 1998-12-28  Ulrich Drepper  <drepper@cygnus.com>
1124
1125         * version.h (VERSION): Bump to 2.0.109.
1126
1127         * Makefile (distribute): Add INTERFACE and CONFORMANCE.
1128         * elf/Makefile (distribute): Add hp-timing.h.
1129         * sysdeps/i386/i686/Dist: New file.
1130
1131         * mach/Versions: Add mach_msg_send and mach_msg_receive.
1132         Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
1133
1134         * sysdeps/unix/sysv/linux/netipx/ipx.h (SIOCIPXNCPCONN): New macro
1135         from latest kernel.
1136
1137         * stdlib/fpioconst.c: If __NO_LONG_DOUBLE_MATH don't define constants
1138         beyond range of double.
1139         * stdlib/fpioconst.h (_fpioconst_pow10): Reduce size according to
1140         fpioconst.c change.
1141         * stdlib/strtold.c: Fall back on double functions if
1142         __NO_LONG_DOUBLE_MATH.
1143         * stdlib/strtold_l.c: Likewise.
1144         * wcsmbs/wcstold.c: Likewise.
1145         * wcsmbs/wcstold_l.c: Likewise.
1146         * sysdeps/ieee754/ldbl2mpn.c: Don't generate code if
1147         __NO_LONG_DOUBLE_MATH.
1148         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
1149
1150 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
1151
1152         * sysdeps/powerpc/bits/endian.h: Use #warning, not #error, if
1153         the endianness can't be determined, for makedepend.
1154
1155 1998-12-27  Ulrich Drepper  <drepper@cygnus.com>
1156
1157         * elf/dl-lookup.c (_dl_num_relocations): New variable.
1158         (do_lookup): Increment _dl_num_relocations for every call.
1159         * elf/rtld.c (print_statistics): New function.
1160         (_dl_debug_statistics): New variable.  Set when statistics are asked
1161         for.
1162         (rtld_total_time, relocate_time, load_time): New variables.  Used
1163         in print_statistics.
1164         (_dl_start): Record start and end time of startup.  Call
1165         print_statistics if needed.
1166         (dk_main): Record times for relocations and loading.
1167         (process_dl_debug): Recognize statistics.
1168
1169         Low-level, low-overhead, high-precision timing functionality.
1170         * sysdeps/generic/hp-timing.h: New file.
1171         * sysdeps/i386/i686/Makefile: New file.
1172         * sysdeps/i386/i686/hp-timing.h: New file.
1173         * sysdeps/i386/i686/hp-timing.c: New file.
1174
1175         * sysdeps/i386/dl-machine.h (elf_machine_rel): Reverse order of OR
1176         clauses to avoid accessing global variables during rtld relocation.
1177
1178         * sunrpc/rpc_main.c: Unify messages.
1179
1180         * sysdeps/unix/sysv/linux/arm/Dist: Add ioperm.c and sys/io.h.
1181
1182 1998-12-27  Roland McGrath  <roland@baalperazim.frob.com>
1183
1184         * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
1185         Remove __ from member names; rename __unused to f_spare.
1186
1187 1998-12-21  Mark Kettenis  <kettenis@phys.uva.nl>
1188
1189         Implement fstatvfs and statvfs on the Hurd.
1190         * sysdeps/mach/hurd/bits/statfs.h: New file.
1191         * sysdeps/mach/hurd/bits/statvfs.h: New file.
1192         * sysdeps/mach/hurd/fstatvfs.c: New file.
1193         * sysdeps/mach/hurd/statvfs.c: New file.
1194
1195         * sysdeps/generic/fstatfs64.c: Changed into stub.
1196         Moved previous contents to...
1197         * sysdeps/unix/sysv/linux/fstatfs64.c: ...here.
1198         * sysdeps/generic/fstatvfs64.c: Likewise.
1199         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1200         * sysdeps/generic/statfs64.c: Likewise.
1201         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
1202         * sysdeps/generic/statvfs64.c: Likewise.
1203         * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
1204
1205 1998-12-25  Ulrich Drepper  <drepper@cygnus.com>
1206
1207         * elf/dl-hash.h: Move to...
1208         * sysdeps/generic/dl-hash.h: ...here.  Correct parameter type (must
1209         be unsigned char).  Remove conditional from inner loop and rearrange
1210         binary operations (12-22% performance increase).
1211         * sysdeps/i386/i686/dl-hash.h: New file.  Another 10% faster than
1212         optimized generic version.
1213
1214 1998-12-23  Ulrich Drepper  <drepper@cygnus.com>
1215
1216         * elf/dl-lookup.c (do_lookup): If looking up an unversioned symbol
1217         but the object file only contains versioned definitions than
1218         accept the definition if there is exactly one even if the version
1219         number is not the default version.  This helps dlsym() to find
1220         newly introduced symbols.
1221
1222         * locale/programs/ld-collate.c: Unify messages and correct typos.
1223         * locale/programs/ld-monetary.c: Likewise.
1224         * locale/programs/ld-numeric.c: Likewise.
1225         * locale/programs/ld-time.c: Likewise.
1226         * manual/errno.texi: Likewise.
1227         * nis/nis_error.c: Likewise.
1228         * nis/nis_print.c: Likewise.
1229         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1230         * sunrpc/rpc_main.c: Likewise.
1231
1232 1998-12-20  Philip Blundell  <philb@gnu.org>
1233
1234         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
1235         implementation.
1236         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove wrappers for
1237         now-inlined calls.
1238
1239 1998-12-22  Philip Blundell  <pb@nexus.co.uk>
1240
1241         * sysdeps/unix/sysv/linux/arm/ioperm.c: New file.
1242         Implementation of inb, outb etc for ARM systems.
1243         * sysdeps/unix/sysv/linux/arm/sys/io.h: Likewise.
1244         * sysdeps/unix/sysv/linux/arm/Versions: Add appropriate
1245         entries for the above.
1246
1247 1998-12-21  Ulrich Drepper  <drepper@cygnus.com>
1248
1249         * nss/db-Makefile (shadow.db): Create file with correct protections.
1250         Based on a patch by Joel Klecker <espy@debian.org>.
1251
1252         * inet/gethstbynm_r.c: Remove NEED__RES definition since we do this
1253         anyway for digits_dots.c.
1254         * nss/getXXbyYY.c: Initialize _res before using digits_dots.c
1255         functions.
1256         * nss/getXXbyYY_r.c: Likewise.
1257
1258 1998-12-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1259
1260         * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of
1261         fcntl.
1262
1263 1998-12-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1264
1265         * locale/weight.h (get_weight): Extract string elements as
1266         unsigned values.
1267
1268 1998-12-06  Mark Kettenis  <kettenis@phys.uva.nl>
1269
1270         Reverse the change of 1998-04-22.  Providing a struct dirent with
1271         different members when __USE_FILE_OFFSET64 is defined is asking
1272         for trouble.  Instead add the necessary LFS magic to the 4.4BSD
1273         header.
1274         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions.
1275         * sysdeps/mach/hurd/bits/dirent.h: Removed.
1276         * sysdeps/mach/hurd/readdir64.c: Removed.
1277         * sysdeps/mach/hurd/readdir64_r.c: Removed.
1278
1279 1998-12-20  Roland McGrath  <roland@baalperazim.frob.com>
1280
1281         * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as
1282         alias for MAP_ANON.
1283
1284         * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
1285         Remove decls.  They don't exist at all on the Hurd.
1286
1287         * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr'
1288         and `struct ucred' #ifndef SCM_CREDENTIALS.
1289
1290         * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
1291         `__errno_location ()'; means the same, works for Hurd.
1292
1293         * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
1294
1295 1998-12-18  Ulrich Drepper  <drepper@cygnus.com>
1296
1297         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
1298         features.h and stddef.h.
1299         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
1300         sigaltstack): Move ss_size field at the end.
1301         Patches by Jeff Bailey <jbailey@nisa.net>.
1302
1303         * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
1304         not 1 to 12.
1305
1306         * manual/texinfo.tex: Update to latest version.
1307
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
1309         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1310         Patch by Cristian Gafton <gafton@redhat.com>.
1311
1312 1998-12-17  Ulrich Drepper  <drepper@cygnus.com>
1313
1314         * iconvdata/gconv-modules: Add remaining aliases from Internet
1315         standards.
1316
1317         * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
1318         * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
1319         (detect_conflict): New function.
1320         (add_alias): Call detect_conflict to see whether there is already
1321         a module for the new name.
1322         (add_module): Make sure there is no alias for the new name.
1323         (read_conf_file): Call add_alias with new argument.
1324         (__gconv_read_conf): Don't destroy module tree immediately after
1325         walking it.  We need it to test the internal conversions for
1326         conflicts.
1327         * iconv/gconv_db.c (find_derivation): Don't allocate memory for
1328         regular expression.  There is now room in the module descriptor.
1329         (free_mem): Don't free memory for regular expression.
1330
1331         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
1332         MSG_TRYHARD.
1333
1334         * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
1335         * libio/oldtmpfile.c: Likewise.
1336         * libio/oldiofdopen.c: Use __fcntl instead fcntl.
1337         * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
1338
1339         * iconvdata/iso646.c (gconv_init): Return correct error value if we
1340         run out of memory.
1341         * iconvdata/iso-2022-jp.c: Likewise.
1342
1343         * iconv/gconv_db.c (gen_steps): Respect error return value from
1344         init functions and abort.
1345
1346         * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
1347
1348 1998-12-17  H.J. Lu  <hjl@gnu.org>
1349
1350         * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
1351         (xdr_destroy): Likewise.
1352
1353 1998-12-17  Ulrich Drepper  <drepper@cygnus.com>
1354
1355         * login/login.c: Determine pts/3 as terminal name if path is
1356         /dev/pts/3.  This is consistent with getlogin.  [PR libc/906]
1357
1358 1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1359
1360         * sysdeps/posix/tempname.c (__path_search): Add casts for format
1361         string.
1362
1363 1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1364
1365         * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
1366         problem.
1367         (IXDR_PUT_INT32): Fully parenthesize parameters.
1368         (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension.  Fully
1369         parenthesize parameter.
1370
1371 1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
1372
1373         * iconvdata/gconv-modules: Add some of the charset name aliases
1374         used in Internet standards.
1375
1376 1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
1377
1378         * version.h (VERSION): Bump to 2.0.107.
1379
1380         * sysdeps/i386/i486/bits/string.h: Pretty printing.
1381
1382 1998-12-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1383
1384         * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
1385         patch from 1998-12-01.
1386
1387 1998-12-16  Roland McGrath  <roland@baalperazim.frob.com>
1388
1389         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
1390         __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
1391         Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
1392
1393 1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
1394
1395         * iconvdata/ibm866.c: New file.
1396         * iconvdata/cp1258.c: New file.
1397         * iconvdata/cp1258.h: New file.
1398         * iconvdata/mac-uk.c: New file.
1399         * iconvdata/gconv-modules: Add rules for new modules.
1400         * iconvdata/Makefile: Likewise.
1401
1402         * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
1403         * include/bits/ipc.h: ..here.  New file.
1404
1405 1998-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1406
1407         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
1408         read-only struct termios_p* but change k_termios member directly.
1409
1410 1998-12-15  H.J. Lu  <hjl@gnu.org>
1411
1412         * sysdeps/posix/tempname.c (__path_search): Fix the maximum
1413         string length.
1414
1415 1998-12-15  Ulrich Drepper  <drepper@cygnus.com>
1416
1417         * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
1418         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
1419         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1420         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1421         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1422         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1423         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1424         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1425         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1426         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1427         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1428         * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
1429         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
1430
1431         * time/strftime.c: Remove 'f' format.
1432
1433         * time/strptime.c (get_number): Ignore trailing whitespace.
1434         (strptime_internal): Handle 'F' and 'k' formats.
1435
1436         * sysdeps/posix/tempname.c (__path_search): Add second part of the
1437         patch by Andreas Jaeger.
1438
1439 1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1440
1441         * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
1442         warnings about unused args.  Fix comment.
1443
1444 1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1445
1446         * sysdeps/posix/tempname.c (__path_search): Correct last patch.
1447
1448 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
1449
1450         * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
1451         it.
1452         (IXDR_PUT_INT32): Likewise for writing.
1453         Patch by Bruce Elliott <bde@nwlink.com>.
1454
1455 1998-12-08  H.J. Lu  <hjl@gnu.org>
1456
1457         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
1458         the IBAUD0 bit in c_iflag.
1459
1460         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
1461         the IBAUD0 bit in c_iflag.
1462
1463 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
1464
1465         * time/Makefile (tests): Add tst-strptime.
1466         * time/tst-strptime.c: New file.
1467         * time/strptime.c: Correct bugs in weekday and yearday computation.
1468
1469 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
1470
1471         * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
1472         any of tm_year, tm_mon, or tm_mday was changed and the value
1473         itself wasn't specified.
1474
1475         * include/stdio.h: Add new parameter to __path_search.
1476         * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
1477         * stdio-common/tmpfile.c: Likewise.
1478         * stdio-common/tmpfile64.c: Likewise.
1479         * stdio-common/tmpnam.c: Likewise.
1480         * stdio-common/tmpnam_r.c: Likewise.
1481         * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
1482         * sysdeps/posix/tempname.c: Add new parameter.  If value is nonzero
1483         consider TMPDIR environment variable and dir parameter.  Otherwise not.
1484         * stdio-common/Makefile (tests): Add tst-tmpnam.
1485         * stdio-common/tst-tmpnam.c: New file.
1486
1487         * po/es.po: Update from translation team.
1488
1489 1998-12-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1490
1491         * timezone/Makefile: Protect inclusion of z.* by avoid-generated
1492         and inhibit_timezone_rules instead of no_deps.
1493         * Make-dist: Pass inhibit_timezone_rules=t when making
1494         echo-distinfo.
1495
1496 1998-12-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1497
1498         * manual/Makefile (distribute): Remove dir-add.texinfo.
1499
1500         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
1501         sys/user.h.
1502
1503 1998-12-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1504
1505         * manual/Makefile (stamp-summary): Use ^L as separator for
1506         sorting.
1507         * manual/arith.texi: Add comments before all @deffoox lines to get
1508         them added to the summary.
1509         * manual/creature.texi: Likewise.
1510         * manual/math.texi: Likewise.
1511
1512 1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1513
1514         * math/libm-test.c: Remove macro ISINF.  Change all usages of
1515         ISINF to isinf.
1516
1517 1998-12-13  Ulrich Drepper  <drepper@cygnus.com>
1518
1519         * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
1520         * sysdeps/unix/grantpt.c: Likewise.
1521         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1522         * sysvipc/ftok.c: Likewise.
1523         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1524
1525         * stdlib/test-canon.c: Define PATH_MAX if the system does not.
1526         * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
1527         Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
1528
1529 1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1530
1531         * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
1532
1533         * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
1534         warning.
1535         * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
1536         * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
1537         * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
1538         * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
1539         * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
1540
1541 1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1542
1543         * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
1544         (svcudp_recv): Likewise.
1545
1546 1998-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1547
1548         * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
1549         NSS error codes to avoid endless loops.
1550
1551 1998-12-13  Ulrich Drepper  <drepper@cygnus.com>
1552
1553         * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
1554         aliases for ISO-8859-14.
1555
1556 1998-12-12  Geoff Keating  <geoffk@ozemail.com.au>
1557
1558         * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
1559         side-effects.
1560
1561 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
1562
1563         * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
1564         * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
1565         * iconvdata/iso-8859-13.c: Likewise for 8859-13.
1566         * iconvdata/iso-8859-14.c: Likewise for 8859-14.
1567         * iconvdata/iso-8859-15.c: Likewise for 8859-15.
1568         * iconvdata/gconv-modules: Add rules for new modules.
1569         * iconvdata/Makefile: Likewise.
1570
1571 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
1572
1573         * stdio-common/printf_fp.c: #ifdef out long double handling code if
1574         __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
1575         * stdio-common/printf_fphex.c: Likewise.
1576         * stdio-common/printf-size.c: Likewise.
1577
1578 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
1579
1580         * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
1581         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1582
1583 1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
1584
1585         * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
1586         static inline, not extern inline.
1587         (elf_machine_dynamic): Likewise.
1588         (elf_machine_lazy_rel): Likewise.
1589         (elf_machine_plt_value): Likewise.
1590         * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
1591         definition.
1592         Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1593
1594         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
1595         type.  Reported by job bogan <job@piquin.uchicago.edu>.
1596
1597         * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
1598         __stat.
1599
1600 1998-12-11  Kunihiro Ishiguro  <kunihiro@zebra.org>
1601
1602         * inet/netinet/in.h: Change obsolete structure member
1603         ipv6mr_ifindex to new ipv6mr_interface.
1604
1605 1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
1606
1607         * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
1608         '#include <ieee754.h>'.  ARM port has its own version of 'ieee754.h'
1609         due to its big endian floating point format.
1610         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
1611         * sysdeps/ieee754/mpn2dbl.c: Likewise.
1612         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
1613         * sysdeps/ieee754/mpn2flt.c: Likewise.
1614         Patch by Scott Bambrough <scottb@corelcomputer.com>.
1615
1616 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
1617
1618         * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
1619
1620         * posix/PTESTS: Fix typo.
1621
1622         * po/es.po: Update from translation team.
1623         * po/fr.po: Likewise.
1624
1625 1998-12-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1626
1627         * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
1628
1629 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
1630
1631         * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
1632         it can find the preprocessor.
1633
1634 1998-12-09  Geoff Keating  <geoffk@ozemail.com.au>
1635
1636         * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
1637         asm/user.h.
1638         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
1639
1640         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
1641         like linux/sys/procfs.h but uses uid_t and gid_t.
1642         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
1643         don't include <linux/ptrace.h>.
1644
1645 1998-12-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1646
1647         * posix/runptests.c (main): Check that regcomp did not succeed
1648         unexpectedly.
1649         * posix/runtests.c (run_a_test): Likewise.  Return appropriate
1650         exit code.
1651         * posix/TESTS: Regexp "a[b-a]" should not compile.
1652         * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
1653         GA147(2).
1654
1655 1998-12-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1656
1657         * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
1658         there is no codeset name.
1659         * locale/programs/ld-collate.c (collate_output): Don't crash if a
1660         character has no weight.
1661
1662 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
1663
1664         * inet/getnetgrent_r.c (innetgr): Check host and domain name with
1665         strcasecmp, not strcmp.  [PR libc/894].
1666
1667 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1668
1669         * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
1670         get prototypes.
1671
1672         * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
1673
1674 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1675
1676         * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
1677         prototype for __gethostbyname_r.
1678
1679         * include/time.h: Add declarations of internal interfaces.
1680
1681         * time/tzset.c: Remove declarations of internal interfaces.
1682         * time/gmtime.c: Likewise.
1683         * time/localtime.c: Likewise.
1684         * time/offtime.c: Likewise.
1685         * time/tzfile.c: Likewise.
1686
1687 1998-12-01 09:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1688
1689         * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
1690         user-space-relevant definitions from linux/timex.h of kernel
1691         2.1.130 and remove include of kernel header.
1692
1693         * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
1694
1695 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1696
1697         * posix/regex.c: Get regex.h from system path, not from local
1698         directory.
1699
1700         * posix/regex.h: Move internal interfaces to ...
1701         * include/regex.h: ...here.
1702
1703         * posix/unistd.h: Move internal interfaces to ...
1704         * include/unistd.h: ...here.
1705
1706         * math/math.h: Move internal interfaces to ...
1707         * include/math.h: ...here.
1708
1709         * posix/glob.h: Move internal interfaces to ...
1710         * include/glob.h: ...here.
1711
1712         * string/string.h: Move internal interfaces to ...
1713         * include/string.h: ...here.
1714
1715         * time/sys/time.h: Move internal interfaces to ...
1716         * include/sys/time.h: ...here.
1717
1718         * resolv/netdb.h: Move internal interfaces to ...
1719         * include/netdb.h: ...here.
1720
1721 1998-12-08  Ulrich Drepper  <drepper@cygnus.com>
1722
1723         * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
1724         correctly.
1725         * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
1726         Fix various bugs in conversion routine.
1727         * iconvdata/jis0201.h: Correct variable name.
1728         * iconvdata/jis0208.c: Correct script to generate tables and regenerate
1729         them.
1730         * iconvdata/jis0208.h: Likewise.
1731         * iconvdata/jis0212.c: Likewise.
1732         * iconvdata/sjis.c: Likewise.
1733         Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
1734
1735 1998-12-07  Ulrich Drepper  <drepper@cygnus.com>
1736
1737         * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition.  Bit
1738         set in c_iflag if cfsetispeed is call with SPEED set to zero.
1739         (cfgetispeed): Return zero if prior if IBAUD0 is set.
1740         (cfsetospeed): Clear IBAUD0 bit.
1741         (cfgetispeed): Set IBAUD0 bit if necessary.
1742         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
1743         the IBAUD0 bit in c_iflag when making the system call.
1744         Work around a Linux kernel bug which silently changes the
1745         PARENB/CREAD/CSIZE bits in c_cflag on pty.
1746         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
1747         function.  Don't set speed is SPEED parameter is zero since this
1748         means set it to the output speed.
1749         Based on a patch by H.J. Lu <hjl@gnu.org>.
1750
1751         * version.h (VERSION): Bump to 2.0.106.
1752
1753         * Makeconfig (link-libc-static): Don't use link-libc since this
1754         includes the shared object.  Use gnulib only.
1755
1756         * configure.in: Disable --disable-static.
1757
1758 1998-12-07 12:06  Ulrich Drepper  <drepper@cygnus.com>
1759
1760         * po/de.po: Update from translation team.
1761         * po/ko.po: Likewise.
1762
1763 1998-12-07  Richard Henderson  <rth@cygnus.com>
1764
1765         * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
1766         both paths.
1767
1768 1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>
1769
1770         * sysdeps/mach/hurd/pselect.c: New file.
1771
1772         * sysdeps/mach/hurd/poll.c: New file.
1773
1774         * hurd/Makefile (routines): Add hurdselect.
1775         * hurd/hurdselect.c: New file.
1776         (_hurd_select): New function, guts taken from ...
1777         * sysdeps/mach/hurd/select.c (__select): ... here.
1778         Now work by just calling _hurd_select.
1779         * hurd/hurd/fd.h: Declare _hurd_select.
1780
1781 1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>
1782
1783         * time/strptime.c: Fix unterminated comment in last change.
1784
1785 1998-12-05  Ulrich Drepper  <drepper@cygnus.com>
1786
1787         * ctype/ctype.h (_ISbit): Protect use of parameter with
1788         parentheses.
1789         * wctype/wctype.h (_ISwbit): Likewise.
1790
1791         * locale/Versions: Make experimental locale interface available in
1792         GLIBC_2.1.
1793
1794         * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
1795         without leading __ only for __USE_GNU.
1796         * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
1797
1798 1998-12-04  Ulrich Drepper  <drepper@cygnus.com>
1799
1800         * argp/argp.h: Add __restrict.
1801         * dirent/dirent.h: Likewise.
1802         * elf/dlfcn.h: Likewise.
1803         * grp/grp.h: Likewise.
1804         * iconv/iconv.h: Likewise.
1805         * inet/aliases.h: Likewise.
1806         * libio/libio.h: Likewise.
1807         * libio/stdio.h: Likewise.
1808         * locale/locale.h: Likewise.
1809         * misc/mntent.h: Likewise.
1810         * posix/wordexp.h: Likewise.
1811         * pwd/pwd.h: Likewise.
1812         * resolv/netdb.h: Likewise.
1813         * rt/aio.h: Likewise.
1814         * stdio-common/printf.h: Likewise.
1815         * stdlib/monetary.h: Likewise.
1816         * stdlib/stdlib.h: Likewise.
1817         * string/argz.h: Likewise.
1818         * string/envz.h: Likewise.
1819         * string/string.h: Likewise.
1820         * time/time.h: Likewise.
1821
1822 1998-12-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1823
1824         * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
1825         defined.  gcc's redundant include optimizer isn't clever enough to
1826         prevent a reinclusion here.
1827         Define __restrict to the empty string only if not GCC or
1828         GCC version less than 2.92.
1829
1830 1998-12-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1831
1832         * sysdeps/unix/sysv/linux/configure.in: Fix last change.
1833
1834 1998-12-03  Mark Kettenis  <kettenis@phys.uva.nl>
1835
1836         * time/strptime.c (strptime_internal): Make use of `%C' format
1837         specifier if it is seen together with the `%y' specifier.
1838
1839 1998-12-04  Ulrich Drepper  <drepper@cygnus.com>
1840
1841         * po/sk.po: New file.
1842
1843 1998-12-03  Scott Bambrough  <scottb@corelcomputer.com>
1844
1845         * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
1846         for _dl_main_searchlist passed to _dl_init_next.
1847
1848 1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1849
1850         * math/libm-test.c: Expand literal tabs in strings.  Normalize
1851         whitespace.
1852
1853 1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1854
1855         * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
1856
1857 1998-12-04  Mark Kettenis  <kettenis@phys.uva.nl>
1858
1859         Provide backwards binary compatibility for the Hurd.
1860         * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
1861         alias for geteuids.
1862         * hurd/Versions [GLIBC_2.0]: Add __getuids,
1863         __hurd_file_name_lookup and _hurd_umask.
1864         [GLIBC_2.1]: Add _hurd_proc_init.
1865         * hurd/Makefile [versioning] (routines): Add compat-20.
1866         (shared-only-routines): Likewise.
1867         * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
1868         _hurd_proc_init.  Use it as the default _hurd_proc_init version
1869         for GLIBC_2.1.
1870         * hurd/compat-20.c: New file.
1871         * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
1872
1873 1998-12-02  Ulrich Drepper  <drepper@cygnus.com>
1874
1875         * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
1876
1877 1998-12-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1878
1879         * inet/Versions: Remove inet6_isipv4mapped.
1880
1881 1998-12-02  Philip Blundell  <pb@nexus.co.uk>
1882
1883         * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
1884
1885 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1886
1887         * manual/time.texi (Formatting Date and Time): Fix typo.
1888
1889 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1890
1891         * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
1892         when configuring natively.  Use autoconf macros instead of rolling
1893         our own.  Handle defaulted prefix.
1894
1895 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
1896
1897         * version.h (VERSION): Bump to 2.0.105.
1898
1899         * sysdeps/generic/Dist: Add bits/libc-tsd.h.
1900
1901         * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
1902
1903         * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
1904
1905 1998-11-29 1998  H.J. Lu  <hjl@gnu.org>
1906
1907         * libio/genops.c (_IO_unbuffer_write): Renamed from
1908         _IO_unbuffer_all.
1909         (_IO_cleanup): Call _IO_unbuffer_write instead of
1910         _IO_unbuffer_all.
1911
1912 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
1913
1914         * intl/localealias.c: Use *_unlocked version of stdio function if
1915         _LIBC_REENTRANT is defined, not _LIBC.
1916
1917 1998-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1918
1919         * include/grp.h: Add prototypes for internal functions
1920         __getgrgid_r and __getgrnam_r.
1921
1922         * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
1923
1924         * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
1925         inet_nsap_ntoa prototypes.
1926
1927 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
1928
1929         * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
1930         to gcc to have it find the correct system header.
1931         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1932
1933         * Makefile (postclean): Add sysd-sorted.
1934         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1935
1936 1998-12-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1937
1938         * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
1939         * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
1940         * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
1941         conflicts with new solaris version.
1942         * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
1943         doesn't zero allocated memory).
1944         * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
1945         conflicts with xdr functions.  Solves PR libc/877.
1946         * nis/rpcsvc/nis.x: Use always uint32_t.
1947         * nis/rpcsvc/nis.h: Likewise.
1948         * nis/rpcsvc/nis_object.x: Likewise.
1949
1950 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
1951
1952         * math/libm-test.c: Various cleanups.  Patch by Zack Weinberg.
1953
1954         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
1955         parameter.  Patch by Christian Gafton.
1956
1957         * string/envz.h: Add prototype for envz_remove.
1958         Reported by Andreas Jaeger.
1959
1960 1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>
1961
1962         * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
1963         __spin_lock_init,  __mutex_lock, __mutex_trylock,
1964         __mutex_unlock.
1965         Remove get_priviliged_ports.  Moved to hurd/Versions.
1966
1967         * hurd/Versions [libc, GLIBC_2.0]: Add _end.  This makes the Hurd
1968         brk implementation see the end of the data segment of the program
1969         instead of the shared library.
1970         Add __hurd_errno_location.  This inline function is used in user
1971         programs.
1972         Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
1973         _hurd_fd_get, _hurd_port_free, _hurd_port_get,
1974         _hurd_port_locked_get.  These inline functions are used by macros
1975         used in mail.local in the Hurd distribution.
1976         Add get_privileged_ports.  Moved here from mach/Versions.
1977         Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
1978         __hurd_file_name_split, __hurd_file_name_path_lookup.  These are
1979         not used outside libc.
1980
1981 1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>
1982
1983         * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
1984         of "".
1985
1986 1998-11-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1987
1988         * sunrpc/Makefile: Add xdr_intXX_t to routines.
1989         * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
1990           xdr_uint16_t.
1991         * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
1992         * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
1993         * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
1994
1995         * nis/Depend: New.
1996         * nis/nss_nis/nis-service.c: Include generated prototype for parser.
1997
1998 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1999
2000         * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
2001
2002         * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
2003         undefine errno to get variable.
2004
2005         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
2006         instead of <unistd.h> for prototype.
2007         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2008
2009 1998-11-30  Ulrich Drepper  <drepper@cygnus.com>
2010
2011         * misc/err.h: Correct comments and use protected attribute keywords.
2012         Reported by Joseph Myers <jsm28@cam.ac.uk>.
2013
2014 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
2015
2016         * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
2017         remove tsd stuff from pthreads/cthreads libc sections.
2018         Use __libc_tsd_define for MALLOC key.
2019         [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
2020         no-op, respectively.
2021         [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
2022
2023         * elf/dl-error.c: Include <bits/libc-tsd.h>.
2024         Use __libc_tsd_define for DL_ERROR key.
2025         (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
2026
2027         * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
2028         * sysdeps/generic/bits/libc-tsd.h: New file.
2029         * Makefile (distribute): Add bits/libc-tsd.h.
2030
2031 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
2032
2033         * elf/dl-error.c: Remove kludge to check for ld.so load address.
2034         There is no need if weak undefined symbols are not used in ld.so;
2035         see linuxthreads/ChangeLog for changes to files
2036         linuxthreads/sysdeps/pthread/bits/libc-lock.h and
2037         linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
2038
2039 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2040
2041         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
2042
2043         * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
2044         inline functions.
2045         * sysdeps/i386/bits/string.h: Likewise.
2046
2047 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2048
2049         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
2050
2051 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2052
2053         * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
2054
2055 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
2056
2057         * sysdeps/mach/hurd/dl-sysdep.c: Do not define
2058         __hurd_threadvar_max.  Add comment explaining why we define
2059         __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
2060
2061 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
2062
2063         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
2064         __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
2065         prevent inclusion of Hurd signal handling code.
2066         (__libc_write): New function.
2067         (_dl_sysdep_output): Removed.  The implementation in
2068         `elf/dl-misc.c' now also works for the Hurd.
2069
2070 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
2071
2072         * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
2073         does not use any of malloc/realloc/free anymore.  Include
2074         set-hooks.h with <> instead of "".
2075
2076 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
2077
2078         * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
2079         within #ifdef SO_PASSCRED.  Avoids unused var when no SO_PASSCRED.
2080         * sunrpc/clnt_unix.c (__msgread): Likewise.
2081
2082 1998-11-28  Roland McGrath  <roland@baalperazim.frob.com>
2083
2084         * hurd/setuids.c: Renamed to ...
2085         * hurd/seteuids.c: this.
2086         (setuids): Renamed to seteuids.
2087         * hurd/getuids.c: Renamed to ...
2088         * hurd/geteuids.c: this.
2089         (__getuids): Renamed to geteuids, no aliases.
2090         * hurd/hurd.h (geteuids, seteuids): Declare them.
2091         * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
2092         * hurd/Makefile (routines): Updated.
2093
2094 1998-11-29  Ulrich Drepper  <drepper@cygnus.com>
2095
2096         * sysdeps/generic/segfault.c (install_handler): Correct test for
2097         SEGFAULT_HANDLER=all.
2098         Patch by Zack Weinberg.
2099
2100 1998-11-28 23:23 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2101
2102         * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
2103         $prefix/include that may be clobbered on installation.
2104
2105 1998-11-27  Philip Blundell  <pb@nexus.co.uk>
2106
2107         Fixes to allow compilation with static NSS:
2108         * nss/Makefile: Make explicit the dependency of getent on
2109         libnss_files.a.
2110         [build_static_nss]: Define $(otherlibs) appropriately.
2111         * nss/Depend: Add a dependency on `resolv'.
2112
2113 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2114
2115         Partial support for MIPS ISO C 9x exception handling:
2116         * sysdeps/mips/fclrexcpt.c: New file.
2117         * sysdeps/mips/ftestexcept.c: New file.
2118         * sysdeps/mips/fgetexcptflg.c: New file.
2119         * sysdeps/mips/fesetround.c: New file.
2120         * sysdeps/mips/fegetround.c: New file.
2121         * sysdeps/mips/fegetenv.c: New file.
2122         * sysdeps/mips/fesetenv.c: New file.
2123         * sysdeps/mips/feupdateenv.c: Likewise.
2124         * sysdeps/mips/bits/fenv.h: New file.
2125
2126 1998-11-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2127
2128         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
2129         <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
2130         in sync with linux specific version.
2131
2132         Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
2133
2134         * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
2135         errno declaration.
2136
2137         * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
2138         of calling __syscall_*.
2139         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
2140
2141         * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
2142
2143         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
2144         constants, correct values according to Linux 2.1.130.
2145
2146         * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
2147         * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
2148         * sysdeps/unix/sysv/linux/mips/pread.c: New file.
2149         * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
2150
2151         * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
2152         :=.
2153
2154         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
2155
2156         * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
2157
2158         * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
2159
2160         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
2161
2162         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
2163         message, change name of include protection, remove inclusion of
2164         <bits/termios.h>.
2165
2166         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
2167         (old_kernel_sigaction): Define.
2168         (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
2169
2170         * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
2171         the general linux version.
2172         * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
2173
2174         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
2175
2176 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
2177
2178         * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
2179         endian.
2180         * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
2181         BYTE_ORDER.
2182         * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
2183         <bits/endian.h>, make it the same as __BYTE_ORDER.
2184
2185 1998-11-27  Ulrich Drepper  <drepper@cygnus.com>
2186
2187         * math/math.h: Avoid using long double functions in generic macros
2188         if __NO_LONG_DOUBLE_MATH.
2189
2190         * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
2191         during bootstrapping.
2192         * scripts/config.sub: Add Netwinder specific matches.
2193         Patch by Scott Bambrough <scottb@corelcomputer.com>.
2194
2195 1998-11-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2196
2197         * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
2198         if possible.
2199         ($(common-objpfx)sysd-sorted): Likewise.
2200
2201 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2202
2203         * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
2204         local variables t1,t2 only if needed.
2205
2206         * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
2207         warnings.
2208         * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
2209         * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
2210
2211         * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
2212         warning.
2213
2214 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2215
2216         * math/math.h: Add brace to correct #if expression.
2217
2218 1998-11-26  Philip Blundell  <philb@gnu.org>
2219
2220         Undo change of 1998-11-12:
2221         * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
2222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2223         netlink/netlink.h.
2224         * sysdeps/unix/sysv/linux/Dist: Likewise.
2225
2226 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2227
2228         * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
2229
2230 1998-11-26  Ulrich Drepper  <drepper@cygnus.com>
2231
2232         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
2233         (elf_machine_got_rel): Remove scope variable.  Use scope from the map.
2234         Don't modify _dl_global_scope_end in the end.
2235         (__dl_runtime_resolv): Also use scope from the map.
2236         * sysdeps/mips/mips64/dl-machine.h: Likewise.
2237         * elf/dl-runtime.c: Don't define fixup and profile_fixup if
2238         ELF_MACHINE_NO_PLT is defined.
2239         * sysdeps/mips/sys/ucontext.h: New file.
2240         Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2241
2242 1998-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2243
2244         * sysdeps/generic/pselect.c (__pselect): Change interface,
2245         set/restore sigmask.
2246
2247         * misc/sys/select.h: Change declaration according to Stevens' Unix
2248         Network Programming.
2249         * include/sys/select.h (__pselect): Likewise.
2250         Reported by <bwelling@anomaly.munge.com> [PR libc/872].
2251
2252         * include/fpu_control.h: New file, contains __setfpucw
2253         declaration.
2254
2255         * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
2256         it's an internal symbol.
2257         * sysdeps/alpha/fpu/fpu_control.h: Likewise.
2258         * sysdeps/arm/fpu/fpu_control.h: Likewise.
2259         * sysdeps/i386/fpu_control.h: Likewise.
2260         * sysdeps/m68k/fpu_control.h: Likewise.
2261         * sysdeps/powerpc/fpu_control.h: Likewise.
2262         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
2263         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2264
2265 1998-11-25  Ulrich Drepper  <drepper@cygnus.com>
2266
2267         * version.h (VERSION): Bump to 2.0.104.
2268
2269 1998-11-25  Mark Kettenis  <kettenis@phys.uva.nl>
2270
2271         * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
2272         around parameter n.
2273
2274 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2275
2276         * time/tzfile.c (__tzfile_read): Fix comment.
2277
2278 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2279
2280         * Makerules (build-shlib): Pass -O1 down to linker to get
2281         optimized shared libraries.
2282
2283 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2284
2285         * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
2286         file.  Strip "-" from inhibited subdir name.  Combine into a
2287         single awk program.
2288         ($(common-objpfx)sysd-sorted): Fix sed command.
2289
2290 1998-11-25  Roland McGrath  <roland@baalperazim.frob.com>
2291
2292         * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
2293         Use constant _HURD_THREADVARS_MAX for temporary array size.
2294
2295         * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
2296         s separator, since $(..) might contain a /.
2297
2298 1998-11-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2299
2300         * configure.in (mips): Fix typo (Replace ,, by ;;).
2301
2302         * libio/Versions: Clean up entries.
2303
2304 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
2305
2306         * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
2307         and llrint.
2308
2309 1998-11-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2310
2311         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed.  There are too
2312         many differences between the Linux 2.0 and 2.1 versions of this
2313         file and it's too difficult to convert all calls.  The file should
2314         only be needed by the ipfw program which has to take care of the
2315         correct kernel version and include files.
2316
2317         * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
2318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2319
2320 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
2321
2322         * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
2323         Patch by Zack Weinberg.
2324
2325         * math/bits/mathcalls.h: Adjust comments.  Remove gamma_r prototype.
2326
2327         * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
2328         __USE_ISOC9X is defined.  Provide rint optimization.
2329
2330 1998-11-21  H.J. Lu  <hjl@gnu.org>
2331
2332         * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
2333         popen, pclose): Add to GLIBC_2.1.
2334
2335         * libio/Makefile (routines): Add oldiopopen and oldpclose.
2336         (shared-only-routines): Likewise.
2337
2338         * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
2339         * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
2340         _IO_proc_close): Likewise.
2341
2342         * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
2343         __old_pclose): New prototypes.
2344
2345         * libio/libioP.h (_IO_new_file_jumps): Removed.
2346         (_IO_old_proc_jumps): Added.
2347         (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
2348
2349         * libio/oldiopopen.c: New file.
2350
2351         * libio/oldpclose.c: New file.
2352
2353 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2354
2355         * nss/Makefile: Build and install getent.
2356         * nss/getent.c: New, get entries from administrative database.
2357
2358 1998-11-22  Roland McGrath  <roland@baalperazim.frob.com>
2359
2360         * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
2361         for the per-thread variables of the main user thread to make it
2362         possible to use malloc as soon as _hurd_preinit_hook has been run.
2363         For cthreads, copy values to new stack from there.
2364         For non-cthreads, malloc threadvar array here and copy from temp space.
2365         (init1): No longer initialize threadvars here.
2366         (doinit1): Made static void at top level.
2367         (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
2368         inline a function that uses dynamic auto arrays.
2369
2370 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
2371
2372         * version.h (VERSION): Bump to 2.0.103.
2373
2374         * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
2375         same method.
2376         * configure.in: Don't define AR and RANLIB here.
2377
2378         * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
2379         host name res_hconf code.
2380         * inet/gethstbynm_r.c: Likewise.
2381         * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
2382         is defined.  Call res_hconf_init if necessary.  If POSTPROCESS is
2383         defined execute the code.
2384         * resolv/Makefile (routines): Add res_hconf.
2385         (headers): Add res_hconf.h.
2386         * resolv/res_hconf.c: Pretty print.
2387         * resolv/res_hconf.h: Likewise.
2388
2389 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
2390
2391         * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
2392         definitions.  Reported by Scott Bambrough <scottb@corelcomputer.com>.
2393
2394 1998-11-20 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2395
2396         * math/libm-test.c: Raise some epsilons a bit.
2397
2398 1998-11-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2399
2400         * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
2401
2402 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
2403
2404         * Makefile (distribute): Add scripts/gen-sorted.awk.
2405
2406 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
2407
2408         * posix/regex.c (regex_compile): Handle extra long class names
2409         correctly.
2410
2411 1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>
2412
2413         * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
2414         correctly.
2415
2416 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
2417
2418         * misc/error.c: Undo last change.
2419
2420         * ctype/Versions: Add _tolower and _toupper.
2421
2422 1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2423
2424         * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
2425         POLLNVAL.
2426
2427 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
2428
2429         * Makeconfig: Add comment to all-subdirs definition.
2430         Add rule to generate sysd-sorted.  Include this file and and set
2431         subdirs value to $(sorted-subdirs).
2432         * scripts/gen-sorted.awk: New file.
2433         * Make-dist (+tsrcs): Add Depend.
2434         * nscd/Depend: New file.
2435         * nss/Depend: New file.
2436         * rt/Depend: New file.
2437
2438 1998-11-18  Ulrich Drepper  <drepper@cygnus.com>
2439
2440         * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
2441         passed file descriptor exceeds the size determined by
2442         getdtablesize.
2443
2444         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
2445         from inline version in bits/socket.h.
2446
2447         * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
2448         inline function only is __USE_EXTERN_INLINES is defined.
2449
2450         * time/strftime.c (my_strftime): Make code a bit clearer.
2451         Patch by Paul Eggert <eggert@twinsun.com>.
2452
2453         * io/Makefile (CFLAGS-ftw.c): Removed.
2454
2455         * manual/errno.texi: Change the short text for ENODEV to
2456         "No such device".
2457
2458 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2459
2460         * io/Makefile (tests): Make sure that the test program has an
2461         explicit directory part.
2462
2463 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2464
2465         * configure.in: Fix last change.
2466
2467 1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2468
2469         * sunrpc/Makefile (routines): Add create_xid.
2470
2471         * sunrpc/clnt_tcp.c: Use non-guessable xid.
2472         * sunrpc/clnt_udp.c: Likewise.
2473         * sunrpc/clnt_unix.c: Likewise.
2474         * sunrpc/pmap_rmt.c: Likewise.
2475         * sunrpc/create_xid.c: New, create non-guessable xid.
2476
2477         * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
2478         of select.
2479         * sunrpc/svc_unix.c: Use poll instead of select.
2480
2481 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
2482
2483         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
2484         by removing SIG_IGN handler for SIGCHLD if necessary.
2485         Patch by H.J. Lu <hjl@lucon.org>.
2486
2487         * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
2488         of denormalized numbers.
2489
2490 1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>
2491
2492         * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
2493         another parentheses warning, make nano-optimisation.
2494
2495         * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
2496         saved LR on stack so _mcount works.
2497         (_dl_prof_resolve): Likewise.
2498         * sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
2499         signal handler calling convention.
2500         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
2501         correct signal handler calling convention---more like x86 linux and
2502         mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
2503
2504 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
2505
2506         * configure.in: Correct allowed makeinfo version.
2507
2508 1998-11-17  Philip Blundell  <pb@nexus.co.uk>
2509
2510         * sysdeps/generic/bits/mathdef.h: Fix typo.
2511
2512 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
2513
2514         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
2515         under the right name (squish warning).
2516         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2517
2518 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
2519
2520         * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
2521         prevent warnings.
2522
2523 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
2524
2525         * intl/locale.alias: Change `japanese' alias to match X11R6's.
2526         Add `japanese.euc' alias.
2527
2528         * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
2529         before running makeinfo.
2530
2531         * math/Makefile (libm-routines): $(strip) entire value.
2532
2533         * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
2534
2535 1998-10-24  H.J. Lu  <hjl@gnu.org>
2536
2537         * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
2538         (_IO_cookie_file): Likewise.
2539
2540 1998-11-16  Philip Blundell  <philb@gnu.org>
2541
2542         * inet/netinet/icmp6.h: Correct naming of constants.
2543
2544 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
2545
2546         * sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
2547         zero value as uninitialized so that variable can go into .bss.
2548
2549         * dirent/opendir-tst1.c: Print error strings to stdout.
2550
2551         * sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
2552         * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
2553         * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
2554         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2555         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2556
2557 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2558
2559         * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
2560         range.
2561
2562 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
2563
2564         * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
2565         (fwrite_unlocked): Likewise.
2566
2567 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2568
2569         * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
2570         twice.  Don't bother handling zero size.
2571         (fwrite_unlocked): Likewise.
2572
2573 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2574
2575         * configure.in: Fix regex for makeinfo version string.
2576
2577 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2578
2579         * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
2580         warning.
2581         * sunrpc/rpc_svcout.c (write_program): Likewise.
2582
2583 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2584
2585         * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
2586
2587 1998-11-16  Ulrich Drepper  <drepper@cygnus.com
2588
2589         * misc/sys/mman.h: Pretty print prototypes.
2590
2591 1998-11-15  Ulrich Drepper  <drepper@cygnus.com
2592
2593         * misc/error.c (error): Don't use result of strerror_r call directly
2594         since at least DEC Unix has a wrong return type.
2595         Patch by Johan Danielsson <joda@pdc.kth.se>.
2596
2597 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2598
2599         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
2600         last change.
2601
2602 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
2603
2604         * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
2605         format, just stop.
2606
2607         * version.h (VERSION): Bump to 2.0.102.
2608
2609         * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
2610         change.
2611         * stdio-common/scanf7.c (main): Likewise.
2612
2613 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
2614
2615         * stdio-common/vfscanf.c: Return EOF for invalid format
2616         characters.
2617
2618         * version.h (VERSION): Bump to 2.0.101.
2619
2620         * Makerules (Versions.all): Generate this file from all Versions.def
2621         files.
2622         (sysd-versions): Use Versions.all instead of Versions.def.
2623
2624 1998-11-13  Philip Blundell  <philb@gnu.org>
2625
2626         * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
2627         Reported by Scott Bambrough.
2628
2629 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2630
2631         * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
2632
2633 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
2634
2635         * libio/bits/stdio.h: Correct and improve fread_unlocked and
2636         fwrite_unlocked optimizations.
2637
2638         * time/tzfile.c (__tzfile_read): Set __tzname based on last names
2639         in time not to last entries in the file.
2640         (__tzfile_compute): Likewise.  Fix for PR libc/863.
2641
2642         * timezone/Makefile: Generate GB timezone data for test.
2643         * timezone/tst-timezone.c: More tests for DST switching time (disabled
2644         for now).
2645
2646 1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2647
2648         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
2649         d0 from clobber list.
2650
2651 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
2652
2653         * inet/netinet/in.h: Add a few more IPPROTO_* macros.
2654
2655         * libio/Makefile (headers): Add bits/stdio.h.
2656         * libio/iofread_u.c: Undefine fread_unlocked before definition.
2657         * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
2658         * libio/stdio.h: Move optimizations into ...
2659         * libio/bits/stdio.h: ...here.  New file.
2660
2661         * libio/iofread.c: Pretty print.
2662
2663 1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>
2664
2665         * sysdeps/gnu/bits/utmpx.h: Protect members of struct
2666         __exit_status with `__'.  Rename pad member of struct utmpx to
2667         __unused.
2668         (RUN_LVL): Define unconditionally.
2669         * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
2670         __unused.
2671
2672 1998-11-12  Philip Blundell  <philb@gnu.org>
2673
2674         * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
2675         Linux AF_NETLINK sockets (needed since the kernel version is
2676         unusable).
2677         * sysdeps/unix/sysv/linux/Makefile: Install it.
2678         * sysdeps/unix/sysv/linux/Dist: Distribute it.
2679
2680 1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2681
2682         * timezone/tst-timezone.c (tests): Add entry for America/Chicago
2683         to test for bug in PR libc/863.
2684
2685 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
2686
2687         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
2688
2689         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
2690         parameter lazy to do_lazy to avoid clashing with struct member name.
2691         Reported by Ralf Baechle <ralf@uni-koblenz.de>.
2692
2693 1998-11-10  H.J. Lu  <hjl@gnu.org>
2694
2695         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
2696         if it is defined in <linux/limits.h>.
2697
2698 1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2699
2700         * include/protocols/routed.h: Include the real header with
2701         a full path from the top of the source tree.
2702         * include/protocols/rwhod.h: Likewise.
2703         * include/protocols/talkd.h: Likewise.
2704         * include/protocols/timed.h: Likewise.
2705
2706         * timezone/Makefile: Don't include z.ZONE files if no_deps
2707         is set, not if avoid-generated is set.
2708
2709 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
2710
2711         * signal/signal.h: Undo last change.  Get definition of timespec
2712         if __USE_POSIX199309.
2713
2714         * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
2715         size_t to prevent gcc warning when using -Wqual-cast.
2716         (__strpbrk_c3): Likewise.
2717         Suggested by Alan Curry <pacman@cqc.com>.
2718
2719 1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>
2720
2721         * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
2722         unblocked signals are set in the startup masks.
2723
2724         * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
2725         INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
2726
2727         * hurd/hurd/signal.h: Update _hurdsig_init decl.
2728         * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
2729         INTARRAYSIZE, pass them down to _hurdsig_init.
2730         * hurd/hurd.h: Update _hurd_proc_init decl.
2731
2732 1998-11-10  Ulrich Drepper  <drepper@cygnus.com>
2733
2734         * math/cabs.c: Replace complex by _Complex.
2735         * math/cabsf.c: Likewise.
2736         * math/cabsl.c: Likewise.
2737         * math/cimag.c: Likewise.
2738         * math/cimagf.c: Likewise.
2739         * math/cimagl.c: Likewise.
2740         * math/conj.c: Likewise.
2741         * math/conjf.c: Likewise.
2742         * math/conjl.c: Likewise.
2743         * math/creal.c: Likewise.
2744         * math/crealf.c: Likewise.
2745         * math/creall.c: Likewise.
2746
2747         * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
2748         included from math.h and __USE_ISOC9X is defined.
2749         * sysdeps/generic/bits/mathdef.h: Likewise.
2750         * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
2751         * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
2752         * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
2753         * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
2754
2755 1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2756
2757         * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
2758         <complex.h>.
2759         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2760         * sysdeps/generic/bits/mathdef.h: Likewise.
2761         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2762         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2763         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2764
2765 1998-11-09  Ulrich Drepper  <drepper@cygnus.com>
2766
2767         * extra-lib.mk: Fix typo in last change.
2768
2769         * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
2770         is needed.
2771         Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
2772         Don't define `complex' but instead `_Complex'.  The later is the
2773         reserved keyword.
2774         * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
2775         not complex.
2776
2777 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2778
2779         * manual/libc.texinfo: Remove colon from category name.
2780         * manual/Makefile (dir-add.info): Likewise.
2781
2782 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2783
2784         * configure.in: Avoid autoconf bug.
2785
2786 1998-10-28  H.J. Lu  <hjl@gnu.org>
2787
2788         * posix/getopt.h: Add "__" to arguments in prototypes.
2789
2790 1998-11-05  H.J. Lu  <hjl@gnu.org>
2791
2792         * libio/iofgets.c (_IO_fgets): Don't report error
2793         if something was read in and errno is set to
2794         EAGAIN.
2795         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2796
2797 1998-11-05  Philip Blundell  <philb@gnu.org>
2798
2799         * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
2800         header; it defines too much.  Provide a local definition of struct
2801         sockaddr_pkt and a comment advising against its use.
2802
2803 1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2804
2805         * extra-lib.mk: Avoid empty include list.
2806
2807 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2808
2809         * extra-lib.mk: Add support for $(lib)-shared-only-routines.
2810
2811         * elf/Makefile (libdl-routines): Add dlopenold only if doing
2812         versioning.
2813         (libdl-shared-only-routines): New variable.
2814
2815 1998-11-06  Paul Eggert  <eggert@twinsun.com>
2816
2817         Don't invoke localtime_r or gmtime_r unless it's the GNU C
2818         library's localtime_r and gmtime_r; there are too many buggy
2819         implementations of localtime_r and gmtime_r out there, and
2820         it's not worth keeping track of all the different bugs.
2821
2822         * time/mktime.c (__EXTENSIONS__): Remove.
2823         (<unistd.h>): No need to include.
2824         * time/strftime.c: Likewise.
2825
2826         * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
2827         Remove.
2828         (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
2829         Base it on localtime unless _LIBC.
2830
2831         * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
2832         all uses changed.
2833         (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
2834         Base them on localtime/gmtime if not _LIBC.
2835
2836 1998-11-07  Ulrich Drepper  <drepper@cygnus.com>
2837
2838         * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
2839         file descriptor.  This makes this function actually usable.
2840         Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
2841
2842 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
2843
2844         * math/math.h: Unconditionally include bits/mathdef.h.  Declare
2845         long double functions only if __NO_LONG_DOUBLE_MATH is not
2846         defined.
2847         * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
2848         Define __NO_LONG_DOUBLE_MATH.
2849         * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
2850         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2851
2852         * elf/rtld.c: Add a few __builtin_expects where they will improve
2853         a lot.
2854
2855 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
2856
2857         * version.h (VERSION): Bump to 2.0.100.
2858
2859         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
2860
2861         * sysdeps/libm-i387/s_fma.S: Optimize a bit.
2862         * sysdeps/libm-i387/s_fmaf.S: Likewise.
2863
2864 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2865
2866         * libio/genops.c (_IO_least_marker): Add additional parameter
2867         end_p replacing fp->_IO_read_end.
2868         (save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
2869         and _IO_ssize_t instead of int.
2870         (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
2871         (_IO_switch_to_backup_area): Likewise.  Fix comments.
2872         (_IO_seekmark): Undo last change.
2873         (_IO_default_pbackfail): Correct use of backup area.
2874         * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
2875
2876 1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2877
2878         * configure.in: Search for install-info and substitute it.
2879         Determine whether install-info is the buggy Debian version
2880         that doesn't understand INFO-DIR-SECTION.
2881         * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
2882         to be substituted.
2883         * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
2884         install-info the --section argument it needs to work properly.
2885         (dir-add.texinfo): Delete target.
2886         (dir-add.info): Generate this directly.  Sort entries.  Put a
2887         colon at the end of the INFO-DIR-SECTION line.
2888         * manual/libc.texinfo: Put a colon at the end of the
2889         @dircategory line.
2890
2891 1998-11-05  Paul Eggert  <eggert@twinsun.com>
2892
2893         * time/mktime.c (__mktime_internal): Adopt the traditional (and
2894         problematic) notion of what to do when tm_isdst doesn't match.
2895
2896 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2897
2898         * posix/PTESTS: Fix spelling.
2899
2900 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
2901
2902         * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
2903         functions.  Reduce error in computing normalized value by multiplying
2904         factor in loop and compute result in one step.
2905         Reported by Christian Gafton.
2906
2907         * sysdeps/libm-i387/e_hypot.S: New file.
2908         * sysdeps/libm-i387/e_hypotf.S: New file.
2909
2910 1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2911
2912         * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
2913
2914 1998-11-03  H.J. Lu  <hjl@gnu.org>
2915
2916         * libio/fileops.c (new_do_write): New function.
2917         (_IO_new_do_write): Call new_do_write.
2918         (_IO_new_file_xsputn): Likewise.
2919
2920         * libio/oldfileops.c (old_do_write): New function.
2921         (_IO_old_do_write): Call old_do_write.
2922         (_IO_old_file_xsputn): Likewise.
2923
2924 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
2925
2926         * time/mktime.c (__mktime_internal): Correct last change.  We must
2927         stop searching for the right isdst value before stepping to the
2928         initial value.
2929
2930         * malloc/malloc.c: Make sure calloc really returned zeroed memory.
2931         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
2932
2933 1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2934
2935         * sysdeps/generic/bits/signum.h: Define signals with their
2936         historical numbers when those are in the 1-15 range and
2937         consistent across platforms.
2938         Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
2939         Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
2940         appropriately instead of with fake function declarations
2941         (would cause link errors).
2942         If __USE_UNIX98, define SIG_HOLD.
2943
2944 1998-10-29  H.J. Lu  <hjl@gnu.org>
2945
2946         * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
2947         union only if __USE_POSIX199309 is defined.
2948
2949         * misc/sys/select.h (pselect): Declared only if __USE_GNU is
2950         defined.
2951
2952 1998-11-03  Ulrich Drepper  <drepper@cygnus.com>
2953
2954         * time/mktime.c (__mktime_internal): Handle broken down times
2955         around the time of the DST switches more correctly.
2956
2957 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
2958
2959         * elf/Makefile (libdl-routines): Add dlopenold.
2960         * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
2961         * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
2962         is set and bounce otherwise.
2963         * elf/dlopen.c: Rename function to __dlopen_check and make version
2964         named dlopen.
2965         * elf/dlopenold.c: New file.
2966
2967 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
2968
2969         * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
2970         * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
2971         * elf/dl-deps.c: ...here.
2972         * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
2973         new parameter and expect result.  Remove code handling RTLD_GLOBAL.
2974         Add return value of _dl_map_object_deps to
2975         _dl_main_searchlist->r_nlist.
2976         * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
2977         If we parameter GLOBAL is nonzero add object and dependencies to
2978         the global scope.
2979         * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
2980         * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
2981         Mark all objects as in global scope.
2982         * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
2983
2984         * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
2985
2986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
2987         used in macro magic.
2988
2989 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2990
2991         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
2992         before <sys/socket.h> to make sockaddr_at available to
2993         <sys/socket.h>.
2994
2995         * posix/glob.h: Remove __P from parameter lists of declarations.
2996
2997 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2998
2999         * time/tzset.c (tz_compute): Remove unused parameter timer.
3000         Change caller.
3001
3002 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
3003
3004         * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
3005
3006 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
3007
3008         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
3009         unnecessary test and add cast.
3010
3011 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3012
3013         * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
3014
3015         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
3016         parameter fd.
3017         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3018
3019 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
3020
3021         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
3022         fds_bits member.
3023         (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
3024
3025 1998-10-31  Richard Henderson  <rth@cygnus.com>
3026
3027         * math/Makefile (gmp-objs): Add udiv_qrnnd.
3028
3029         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
3030         (inline_syscall*): New.
3031         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
3032         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
3033
3034 1998-10-31  Ulrich Drepper  <drepper@cygnus.com>
3035
3036         * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
3037         avoid ld test generating an unwanted file.
3038
3039         * posix/PTESTS: Remove comment about incorrect test (it is correct).
3040
3041 1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3042
3043         * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
3044         * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
3045         * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
3046         * sunrpc/rpc/xdr.h: Add INT32 support.
3047         * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
3048
3049         * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
3050         * nis/nis_callback.c: Likewise.
3051         * nis/nis_creategroup.c: Likewise.
3052         * nis/nis_defaults.c: Likewise.
3053         * nis/nis_intern.h: Likewise.
3054         * nis/nis_lookup.c: Likewise.
3055         * nis/nis_ping.c: Likewise.
3056         * nis/nis_print.c: Likewise.
3057         * nis/nis_table.c: Likewise.
3058         * nis/nis_util.c: Likewise.
3059         * nis/nis_xdr.c: Likewise.
3060         * nis/rpcsvc/nis.h: Likewise.
3061         * nis/rpcsvc/nis.x: Likewise.
3062         * nis/rpcsvc/nis_callback.h: Likewise.
3063         * nis/rpcsvc/nis_object.x: Likewise.
3064         * nis/rpcsvc/nislib.h: Likewise.
3065
3066         * nis/rpcsvc/yp.h: Remove casts to (u_long).
3067         * nis/rpcsvc/yp_prot.h: Likewise.
3068         * nis/rpcsvc/ypupd.h: Likewise.
3069         * nis/ypclnt.c: Change %ld to %d in sprintf.
3070
3071 1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3072
3073         * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
3074
3075 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3076
3077         * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
3078         0, __fd_mask is usually not a char.
3079
3080 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3081
3082         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
3083         compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
3084         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3085         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3086         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3087         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
3088         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3089         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3090
3091         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
3092         compiling on systems without rt_sigaction syscall.
3093         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
3094         Likewise.
3095
3096 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3097
3098         * time/strptime.c (HERE_D_FMT): Fix typo.
3099         Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
3100
3101 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
3102
3103         * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
3104         (generate): Add test1.cat and test1.h.
3105         (distribute): Add test1.msg.
3106         * catgets/test1.msg: New file.
3107
3108         * catgets/gencat.c: Do a better job in initializing dynamic
3109         memory [PR libc/844].
3110
3111 1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>
3112
3113         * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
3114         internal_function since it is called through a pointer.
3115         * iconv/gconv_db.c (free_derivation): Likewise.
3116         * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
3117
3118         * posix/wordexp.c: Add internal_function to parse_backtick definition.
3119         * rt/aio_misc.c: Add internal_function to __aio_free_request,
3120         __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
3121         definitions.
3122         * rt/aio_notify.c: Add internal_function to __aio_notify_only and
3123         __aio_notify definitions.
3124         * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
3125
3126 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
3127
3128         * Makerules (build-shlib): Add -O to generate optimized shared
3129         objects.
3130
3131 1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>
3132
3133         * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
3134         * sysdeps/libm-i387/e_fmodf.S: Likewise.
3135         * sysdeps/libm-i387/e_fmodl.S: Likewise.
3136         * sysdeps/libm-i387/s_ilogb.S: Likewise.
3137         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
3138         * sysdeps/libm-i387/s_logb.S: Likewise.
3139         * sysdeps/libm-i387/s_logbf.S: Likewise.
3140         * sysdeps/libm-i387/s_remquo.S: Likewise.
3141         * sysdeps/libm-i387/s_remquof.S: Likewise.
3142         * sysdeps/libm-i387/s_remquol.S: Likewise.
3143         * sysdeps/libm-i387/s_significand.S: Likewise.
3144         * sysdeps/libm-i387/s_significandf.S: Likewise.
3145
3146 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
3147
3148         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
3149         _llseek.
3150
3151 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
3152
3153         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
3154
3155 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
3156
3157         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
3158         returns without cleaning up the lock.
3159         (printf_unknown): Add label all_done.
3160
3161         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
3162         kernels in mind when reading /proc/self/fd/FD.
3163         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3164
3165         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
3166
3167         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
3168         _fitoa.
3169
3170         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
3171         /prof/self/fd/FD first.
3172         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3173
3174         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
3175         formatted number starting at given position and return pointer to
3176         following byte.
3177         (_fitoa): Likewise, for long long.
3178
3179 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
3180
3181         * sysdeps/unix/sysv/linux/bits/sem.h,
3182         sysdeps/unix/sysv/linux/bits/ipc.h,
3183         sysdeps/unix/sysv/linux/bits/shm.h,
3184         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
3185         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
3186         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
3187         so the same bits will be used for the Hurd.
3188
3189 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
3190
3191         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
3192         compiling on systems without rt_sigaction syscall.
3193
3194 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
3195
3196         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
3197         directories as well as add them.
3198
3199 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
3200
3201         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
3202         AF_ECONET sockets as found in recent Linux 2.1 kernels.
3203         * sysdeps/unix/sysv/linux/Dist: Distribute it.
3204         * sysdeps/unix/sysv/linux/Makefile: Install it.
3205
3206 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3207
3208         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
3209
3210 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3211
3212         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
3213         fds_bits member.
3214         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
3215         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
3216         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
3217         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
3218         Likewise.
3219         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
3220         Likewise.
3221         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
3222         __FD_ISSET): Use it.
3223         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
3224         __FD_ISSET): Likewise.
3225
3226 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
3227
3228         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
3229         llseek.
3230
3231         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
3232         Instead call the system call wrapper function using an 64bit argument.
3233         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
3235         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
3236
3237 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
3238
3239         * signal/signal.h: Don't include <time.h> for timespec, add
3240         forward declaration.
3241
3242         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
3243         of __FD_* macros which use __fds_bits.
3244         * sysdeps/generic/bits/select.h: Likewise.
3245         Reported by Matt McLean <keys@yikes.com>.
3246
3247 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
3248
3249         * elf/elf.h: Update ARM definitions.
3250
3251 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
3252
3253         * signal/signal.h: Include bits/sigthread.h only for Unix98.
3254
3255 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
3256
3257         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
3258         define __builtin_expect as a macro substituting to the first
3259         argument.
3260         * config.h.in: Define HAVE_BUILTIN_EXPECT.
3261         * configure.in: Add test for __builtin_expect.
3262
3263         * sysdeps/unix/sysv/linux/bits/types.h: Include
3264         bits/pthreadtypes.h only not for POSIX 199506.
3265         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3266         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3267         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3268
3269 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
3270
3271         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
3272         * socket/Versions [libc, GLIBC_2.0]: ... to here.
3273
3274 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3275
3276         * include/stdio.h: Included <stddef.h> for size_t.
3277
3278         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
3279         to ...
3280         * include/stdio.h: ...here.
3281         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
3282
3283 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
3284
3285         * time/Makefile (tests): Add tst-posixtz.
3286         * time/tst-posixtz.c: New file.
3287
3288 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3289
3290         * elf/rtld.c (process_envvars): Accept any non-null value of
3291         LD_BIND_NOW, as mandated by the ABI.
3292
3293 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3294
3295         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
3296         __syscall_pread.
3297         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
3298         __syscall_pwrite.
3299         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3300         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3301         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3302         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3303         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
3304         duplicate entries.
3305         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
3306         s_pread64 and s_pwrite64.
3307         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3308
3309 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3310
3311         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
3312         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
3313         to __syscall__llseek.
3314         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3315         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3316         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
3317         __sys_llseek.
3318
3319 1998-10-26  Cristian Gafton  <gafton@redhat.com>
3320
3321         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
3322         and s_setfsuid.
3323
3324 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
3325
3326         * time/tzset.c (tz_compute): Correct last patch and describe this
3327         in a comment.
3328
3329 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3330
3331         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
3332         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
3333         rt_sigaction and rt_sigpending.
3334         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
3335         for __syscall_* functions.
3336         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
3337
3338 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
3339
3340         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
3341         _hurd_dtable_lock, _hurd_intern_fd.
3342
3343         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
3344         cthread_getspecific, cthread_setspecific, __libc_getspecific.
3345
3346         * mach/Versions: Fix typo in last change.
3347
3348 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
3349
3350         * time/tzset.c (tz_compute): If time to switch to DST is later in
3351         the year switch back in the next year.
3352         Reported by jwitford@hutch.com.au.
3353
3354 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
3355
3356         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
3357         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
3358         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
3359         __mach_port_allocate, __mach_port_allocate_name,
3360         __mach_port_insert_right __mutex_trylock, __mutex_lock,
3361         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
3362         __task_set_special_port, __task_terminate, __thread_depress_abort,
3363         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
3364         functions are not used outside libc.
3365
3366         * sysdeps/mach/hurd/Versions: New file.
3367         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
3368         _cthread_init_routine.  These are set by the Hurd cthreads library.
3369         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
3370         the dynamic linker will not be replaced by the corresponding shared
3371         library routines once they are loaded.
3372
3373 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
3374
3375         * sysdeps/mach/hurd/i386/init-first.c: Only define
3376         __libc_enable_secure if PIC is not defined.
3377
3378 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
3379
3380         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
3381         to recurse into argp.
3382
3383 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
3384
3385         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
3386         greater or equal than 199506L.
3387
3388         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
3389         only is __USE_XOPEN.  Otherwise use __fds_bits.
3390         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3391         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3392         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
3393         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3394         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3395
3396 1998-10-24  H.J. Lu  <hjl@gnu.org>
3397
3398         * locale/programs/charmap.c (parse_charmap): Accept tok_string
3399         for <code_set_name>.
3400
3401 1998-10-25  H.J. Lu  <hjl@gnu.org>
3402
3403         * locale/programs/ld-ctype.c (ctype_finish): Also check
3404         <space>.
3405
3406 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
3407
3408         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
3409
3410         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
3411         if __USE_POSIX199506 or __USE_UNIX98.
3412
3413 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3414
3415         * string/bits/string2.h: Inline strdup+friends only if
3416         __USE_MISC || __USE_GNU (prevents namespace pollution).
3417
3418 1998-10-24  H.J. Lu  <hjl@gnu.org>
3419
3420         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
3421         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
3422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
3423         LOCK_NB, LOCK_UN): Likewise.
3424         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
3425         LOCK_NB, LOCK_UN): Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
3427         LOCK_NB, LOCK_UN): Likewise.
3428         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
3429         LOCK_NB, LOCK_UN): Likewise.
3430
3431 1998-10-24  H.J. Lu  <hjl@gnu.org>
3432
3433         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
3434
3435         * libio/rewind.c (rewind): Clear the error.
3436
3437 1998-10-24  H.J. Lu  <hjl@gnu.org>
3438
3439         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
3440         "buffer".
3441
3442 1998-10-24  H.J. Lu  <hjl@gnu.org>
3443
3444         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
3445         with __need_timeval.
3446         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
3447         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
3448
3449 1998-10-24  H.J. Lu  <hjl@gnu.org>
3450
3451         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
3452         sigqueue): Protect with __USE_POSIX199309.
3453
3454 1998-10-24  H.J. Lu  <hjl@gnu.org>
3455
3456         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
3457         __USE_POSIX.
3458
3459 1998-10-24  H.J. Lu  <hjl@gnu.org>
3460
3461         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
3462         the kernel file offset.
3463         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
3464
3465 1998-10-24  H.J. Lu  <hjl@gnu.org>
3466
3467         * time/tzfile.c (__tzfile_default): Set num_types to 2.
3468
3469 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3470
3471         * rt/aio.h: Move __aio_init to...
3472         * include/aio.h: ...here.
3473
3474 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3475
3476         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
3477         definition of O_LARGEFILE.
3478
3479 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3480
3481         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
3482         as first argument to statfs.
3483
3484 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3485
3486         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
3487
3488 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3489
3490         * malloc/mtrace.c: Include <string.h> for strlen.
3491
3492 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
3493
3494         * sysdeps/mach/hurd/bits/environments.h: New file.
3495
3496         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
3497
3498         * mach/Versions, hurd/Versions: Add numerous symbols.
3499         Remove libmachuser and libhurduser sections, punt
3500         versioning for those libraries for now.
3501
3502         * misc/Versions: Add reboot here; it exists on all platforms.
3503         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
3504
3505 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
3506
3507         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
3508         macro.
3509         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3510         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3511         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
3512         O_NOFOLLOW, O_DIRECT): New macros.
3513         (O_DIRECTORY): Correct definition according to official 2.1.126.
3514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
3515         O_NOFOLLOW): New macros.
3516
3517 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
3518
3519         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
3520
3521         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
3522         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
3523
3524 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
3525
3526         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
3527         setfsuid.c, and setfsgid.c.
3528         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3529         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3530         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3531
3532         * version.h (VERSION): Bump to 2.0.99.
3533
3534         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
3535         ustat definition.
3536
3537         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
3538         s_pwrite64.c.
3539
3540         * posix/fnmath.h: Don't redefine __P when used in glibc.
3541         * posix/glob.h: Likewise.
3542
3543         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
3544         Patch by Dick Streefland <dick_streefland@tasking.com>.
3545
3546         * stdio-common/tst-ungetc.c: Add more test cases.
3547
3548         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
3549         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
3550         definitions to ...
3551         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
3552         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
3553         * sysdeps/unix/sysv/linux/pathconf.c: New file.
3554         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
3555         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3556
3557 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
3558
3559         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
3560         <asm/ptrace.h> to define struct pt_regs.
3561         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
3562         including <asm/ptrace.h> here.
3563
3564         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
3565         C_SYMBOL_NAME macro.
3566
3567 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3568
3569         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
3570         end of enumerator list.
3571         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
3572         * posix/wordexp.h: Likewise.
3573
3574         * db/db.h: Use __PMT instead of __P in typedefs.
3575         * db/mpool.h: Likewise.
3576         * sysdeps/generic/bits/siginfo.h: Likewise.
3577         * nis/rpcsvc/ypclnt.h: Likewise.
3578
3579 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
3580
3581         * libio/genops.c (_IO_seekmark): When switching to backup buffer
3582         make sure all characters from the read buffer are read after
3583         switching back to it.
3584
3585 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
3586
3587         * configure.in: Add support for Cygnus GNUPro compilers.
3588
3589 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3590
3591         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
3592
3593         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
3594         of __P for sa_restorer.
3595         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3596         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3597         kernel_sigaction, old_kernel_sigaction): Likewise.
3598
3599 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
3600
3601         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
3602         and __syscall_pwrite aliases.
3603
3604         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
3605
3606         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
3607         improve INLINE_SYSCALL using macro assembler magic.
3608
3609 1998-10-22  H.J. Lu  <hjl@gnu.org>
3610
3611         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
3612         sanity check for n.
3613         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
3614
3615         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
3616         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
3617
3618         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
3619         by VSX-PCT.
3620
3621         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
3622
3623 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
3624
3625         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
3626         __ASSEMBLER__.
3627
3628 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
3629
3630         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
3631         and adjust formats.
3632
3633 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
3634
3635         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
3636         __syscall_* function.
3637         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
3638         of calling __syscall_* function.
3639         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3640         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3641         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3642         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3643         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
3644         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
3645         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
3646         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3647         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3648         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3649         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3650         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3651         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3652         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3653         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3654         * sysdeps/unix/sysv/linux/readv.c: Likewise.
3655         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
3656         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3657         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
3658         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3659         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3660         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3661         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3662         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3663         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3664         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3665         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3666         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3667         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3668         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3669         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3670         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3671         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3672         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3673         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3674         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3675         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3676         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3677         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3678         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3679         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3680         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3681
3682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
3683         inline assembler.
3684         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
3685         __syscall_* definitions.
3686
3687         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
3688         definitions to...
3689         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
3690         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
3691         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
3692         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
3693         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
3694         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
3695         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
3696
3697         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
3698         Move definition to...
3699         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
3700         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
3701         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
3702         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
3703         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
3704         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
3705         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
3706
3707         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
3708         (sysdep_routines): Remove s_pread64 and s_pwrite64.
3709
3710         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
3711         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
3712         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
3713         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
3714         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
3715         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
3716
3717 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3718
3719         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
3720         and bring them in synch.
3721         * sysdeps/unix/siglist.c: Likewise.
3722         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
3723
3724 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3725
3726         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
3727         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3728
3729         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
3730         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
3731         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
3732         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
3733         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
3734         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
3735         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
3736         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
3737         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
3738         s_setregid.
3739         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3740         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
3741         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3742
3743 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3744
3745         * sunrpc/rpc_main.c (close_output, close_input): New functions.
3746         (c_output, h_output, s_output, l_output, t_output, svc_output,
3747         clnt_output, mkfile_output): Call them at the end.
3748
3749 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3750
3751         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
3752         link command.
3753
3754 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3755
3756         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
3757         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
3758
3759 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
3760
3761         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
3762         s_pwrite64.
3763         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
3764         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
3765         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
3766         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
3767         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
3768
3769 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3770
3771         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
3772         O_DIRECTORY.
3773
3774 1998-10-20  H.J. Lu  <hjl@gnu.org>
3775
3776         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
3777         argument types.
3778
3779 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
3780
3781         * math/tgmath.h: Make nested function calls work.
3782
3783         * include/ldsodefs.h: Fix typo.
3784
3785         * posix/Makefile (tests): Add tst-preadwrite.
3786         * posix/tst-preadwrite.c: New file.
3787
3788         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
3789         sure that descriptor is in any case for a directory.
3790
3791 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3792
3793         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
3794         (atan2): Takes two arguments.
3795
3796 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
3797
3798         * include/ldsodefs.h: New file.
3799
3800         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
3801         Remove change to avoid using _CALL_DL_FCT.
3802         * iconv/gconv_db.c: Likewise.
3803         * iconv/gconv_dl.c: Likewise.
3804         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
3805         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
3806         * nss/nsswitch.c: Likewise.
3807         * nss/nsswitch.h: Likewise.
3808
3809 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
3810
3811         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
3812         required libraries.
3813         * login/Makefile (otherlibs): Likewise.
3814         * nscd/Makefile (otherlibs): Likewise.
3815         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
3816
3817         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
3818
3819         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
3820
3821 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
3822
3823         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
3824         and setfsuid.
3825
3826 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3827
3828         * nscd/connections.c: Fix typos in comments and strings.
3829
3830         * nscd/nscd.conf: Update according to recent changes to nscd.
3831
3832         * nscd/cache.c (prune_cache): Remove wrong comment.
3833
3834 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
3835
3836         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
3837         category in copy_posix.
3838         (collate_finish): Don't warn about UNDEFINED not being defined.
3839         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
3840         category in copy_posix.
3841         * locale/programs/ld-messages.c (messages_startup): Likewise.
3842         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
3843         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
3844         * locale/programs/ld-time.c (time_startup): Likewise.
3845         * locale/programs/localedef.c: Move copy_def_list_t definition into
3846         locales.h.  Define copy_posix variable.
3847         (main): Before processing copy list add &copy_posix to copy_list.
3848         * locale/programs/locales.h: Add definition of copy_def_list_t.
3849         * locale/programs/locfile.c: Clear bit for appropriate category in
3850         copy_posix.mask for copy instruction.
3851
3852 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
3853
3854         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
3855         non-existing file with generic implementation.
3856         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3857
3858 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
3859
3860         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
3861         defined.  Avoid using _CALL_DL_FCT if it is not defined.
3862         * iconv/gconv.c: Likewise.
3863
3864 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
3865
3866         * nscd/connections.c (dbs): Define defualt values for timeouts and
3867         set enabled to 0 by default.
3868         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
3869         nscd_run.
3870
3871         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
3872         character >= 0x80.
3873         (_nl_C_LC_CTYPE_class32): Likewise.
3874         Reported by HJ Lu.
3875
3876 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
3877
3878         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3879         _HURD_THREADVAR_DL_ERROR.
3880
3881         * hurd/Makefile (user-interfaces): Add login, password.
3882
3883         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
3884
3885 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
3886
3887         [submitted 1998-08-06]
3888         * mach/Machrules: Create target directory and force re-evaluation
3889         of Makefile to prevent `make' from optimizing away most of the
3890         implicit rules and `vpath' directives.
3891
3892 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
3893
3894         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
3895         is null, short-circuit to __mach_msg.
3896
3897         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
3898         broken out of init1.
3899         (init1) [PIC]: Call it.
3900         (__libc_init_first) [! PIC]: Call it.
3901
3902         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
3903         __libc_init_secure.  Instead set __libc_enable_secure here from
3904         the exec flags.
3905         (__libc_enable_secure): New variable it.
3906         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
3907
3908 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
3909
3910         * nscd/nscd-client.h: New file, broken out of "nscd.h".
3911         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
3912         and #include that.
3913         * nscd/Makefile (distribute): Add nscd-client.h.
3914         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
3915         Include "nscd-client.h" instead of "nscd.h"
3916
3917 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
3918
3919         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
3920         directory entries when a lstat call fails.
3921         Patch by Colin Plumb <colin@nyx.net>.
3922
3923         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
3924         NSS functions.
3925         * resolv/nss_dns/dns-network.c: Likewise.
3926
3927         * grp/Makefile: Don't search for linuxthreads in add-ons, use
3928         have-thread-library to determine whether threads are available.
3929         * pwd/Makefile: Remove wrong comment.
3930
3931         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
3932         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
3933
3934         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
3935
3936         * nss/Versions: Add __nss_hosts_lookup.
3937
3938         * nss/getXXbyYY.c: Remove unneeded assignment.
3939
3940         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
3941
3942         Almost complete rewrite of the NSCD to make it smaller, faster,
3943         add more functionnality and make it easier to extend.
3944         * nscd/Makfile (routines): Add nscd_gethst_r.
3945         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
3946         * nscd/cache.c: New file.
3947         * nscd/gethstbyad_r.c: New file.
3948         * nscd/gethstbynm2_r.c: New file.
3949         * nscd/hstcache.c: New file.
3950         * nscd/nscd_gethst_r.c: New file.
3951         * nscd/connections.c: Rewritten.  Don't start new thread for every
3952         new connection.  Use a fixed set of threads which handle all
3953         connections and also the cache cleanup.
3954         * nscd/grpcache.c: Rewritten to use generic cache handling functions
3955         in cache.c.
3956         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
3957         for rewrite.  Remove handle_requests function.
3958         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
3959         Define new data structure for the new unified cache and the host
3960         database entries.
3961         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
3962         databases easily.  Recognize check-files and threads definitions.
3963         * nscd/nscd.conf: Add definition of enable-cache and check-files to
3964         passwd and group definitions.  Add new set of definitions for hosts.
3965         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
3966         * nscd/nscd_getpw_r.c: Likewise.
3967         * nscd/nscd_proto.h: Add prototype for host database functions.
3968         * nscd/nscd_stat.c: Rewrite to simplify printing of information
3969         for many databases.
3970         * nscd/dbg_log.c: Remove unnecessary variable initializations.
3971         Global variable debug_flag is renamed to dbg_level.
3972         * nscd/dbg_log.h: Declare set_logfile.
3973
3974 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
3975
3976         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
3977         O_LARGEFILE back.
3978
3979 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
3980
3981         * time/mktime.c: Some systems require <unistd.h> to be
3982         included before <time.h> for localtime_r to be declared
3983         properly.
3984         * time/strftime.c: Likewise.
3985
3986 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
3987
3988         * db/Makefile: Add rule to generate shared object with the soname
3989         from glibc 2.0.
3990
3991         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
3992         available double check to verify it's a directory.
3993
3994         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
3995         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
3996         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
3997         are not generally available.
3998         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
3999
4000         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
4001         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
4002         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
4003         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
4004         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
4005         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
4006         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
4007         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
4008         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
4009         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
4010         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
4011         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
4012         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
4013         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
4014         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
4015         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
4016         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
4017         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
4018         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
4019         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
4020         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
4021         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
4022         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
4023         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
4024         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
4025         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
4026         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
4027         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
4028         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
4029         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
4030         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
4031         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
4032         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
4033         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
4034         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
4035         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
4036         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
4037         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
4038
4039         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
4040         s_setresgid, and s_setuid.
4041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4042         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4043         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4044         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
4045         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
4046         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4047         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
4048
4049 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
4050
4051         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
4052         localtime_t declaration on some systems.
4053
4054 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
4055
4056         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
4057         -DSTATIC_GCONV.
4058         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
4059         defined.  Avoid using DL_CLL_FCT if it is not defined.
4060
4061 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4062
4063         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
4064         Include endian.h unconditionally.  Remove portability goop
4065         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
4066
4067 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4068
4069         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
4070
4071 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
4072
4073         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
4074         again.  Use char[44] to define size of the struct.
4075
4076         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
4077
4078 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4079
4080         * string/bits/string2.h (strcmp): Don't cache the result of
4081         __builtin_constant_p in variables, otherwise constant folding
4082         can fail in big functions.
4083
4084 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4085
4086         * string/bits/string2.h: Add prototypes for the new inline
4087         functions.
4088
4089 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
4090
4091         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
4092         have all types defined.
4093         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
4094
4095 1998-10-08  Paul Eggert  <eggert@twinsun.com>
4096
4097         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
4098         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
4099         a body that merely expands localtime_r; this works around a
4100         bug in Digital Unix 4.0A and 4.0D.
4101
4102 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
4103
4104         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
4105         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
4106         __ioctl to __syscall_ioctl and include Linux version of this file.
4107         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
4108         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
4109         ioctl calls which handle struct termios.
4110         Based on a patch by Dan Jacobowitz <drow@false.org>.
4111
4112 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
4113
4114         * version.h (VERSION): Bump to 2.0.98.
4115
4116         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
4117         here instead of including kernel_termios.h.
4118
4119 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4120
4121         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
4122         unnecessary after the changes of 1998-10-12.
4123
4124 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
4125
4126         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
4127         parameter format string.
4128         (inline_outw): Likewise.
4129
4130         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
4131         string.h to get memcpy prototype and NULL definition.
4132
4133 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4134
4135         * misc/sys/cdefs.h (__THROW): New macro.
4136         * argp/argp.h: Use it to replace the kludgey __P in inline
4137         function definitions.
4138         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4139         * stdlib/stdlib.h: Likewise.
4140         * wcsmbs/wchar.h: Likewise.
4141         * libio/stdio.h: Likewise.
4142         * stdio/stdio.h: Likewise.
4143         * sysdeps/wordsize-64/inttypes.h: Likewise.
4144         * sysdeps/wordsize-32/inttypes.h: Likewise.
4145         * string/argz.h: Likewise.
4146         * io/sys/stat.h: Likewise.
4147
4148 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4149
4150         * Rules (stdio_lim): New variable.
4151         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
4152         on Rules and config.make, use $(move-if-change) to avoid unnessary
4153         recompilations, and cleanup command.
4154         (common-generated): Add bits/stdio_lim.st.
4155
4156 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
4157
4158         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
4159         variable to prevent warnings from use of modern CPU instructions.
4160         Patch by Richard Henderson <rth@cygnus.com>.
4161
4162         * sysdeps/unix/opendir.c: Test whether NAME is directory before
4163         opening it.
4164
4165 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
4166
4167         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
4168         semicolon so that profiling works.
4169
4170 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
4171
4172         * sysdeps/generic/glob.c: #undef mempcpy before #define.
4173
4174         * sysdeps/unix/bsd/clock.c: Use prototype defns.
4175
4176 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
4177
4178         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
4179         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
4180
4181         * string/bits/string2.h [!_STRING_ARCH_unaligned]
4182         (__mempcpy_small): Add parameter for 1 byte copy and use it.
4183         Reported by Geoff Keating <geoffk@ozemail.com.au>.
4184
4185 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
4186
4187         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
4188         it is already defined in <bits/environments.h>.
4189
4190 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
4191
4192         * posix/ptestcases.h: Fix typo.
4193
4194 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4195
4196         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
4197         (regexec): Allocate regs.start and regs.end as one block.
4198
4199 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4200
4201         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
4202         enum decl.
4203
4204 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
4205
4206         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
4207         sigcontext union to ...
4208         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
4209         file.
4210         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
4211         version 2.0 kernels.
4212
4213 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
4214
4215         * malloc/mtrace.c (tr_reallochook): Produce better output for real
4216         reallocation case.
4217
4218         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
4219         * argp/argp-xinl.c: Likewise.
4220
4221         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
4222         Ruffian entry back.
4223         Patch by Christian Gafton.
4224
4225 1998-10-08  Paul Eggert  <eggert@twinsun.com>
4226
4227         * time/mktime.c (__mktime_internal): When the requested time falls
4228         in a spring-forward gap of size DT, return a time that is DT away
4229         from the requested time, preferring a time whose tm_isdst differs
4230         from the requested value.  Bump the max number of probes from 4 to
4231         6 to account for the extra probes needed to discover a
4232         spring-forward gap in the worst case.
4233
4234 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
4235
4236         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
4237         of the weird alpha architectures.
4238         Patch by Cristian Gafton <gafton@redhat.com>.
4239
4240 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
4241
4242         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
4243         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
4244
4245 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
4246
4247         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
4248         (dl_open_worker): Use realloc, not malloc to resize array.
4249         * elf/rtld.c (_dl_initial_searchlist): New variable.
4250         (_dl_main): Copy content of _dl_main_searchlist to
4251         _dl_initial_searchlist.
4252         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
4253         _dl_global_scope_alloc.
4254         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
4255         * elf/dl-close.c (_dl_close): When removing object with global
4256         scope remove allocated searchlist if no dynamically loaded object
4257         is on it anymore.
4258         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
4259         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
4260
4261         * malloc/mtrace.c (tr_where): Don't print space in location string,
4262         print it afterwards.  Print better symbol name information.
4263
4264 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4265
4266         * manual/filesys.texi (Setting Permissions): Fix example for
4267         reading umask.
4268
4269 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4270
4271         * elf/sprof.c (load_profdata): Fix typo in error message.
4272
4273 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4274
4275         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
4276         flag.
4277
4278 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4279
4280         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
4281
4282 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
4283
4284         * version.h (VERSION): Bump to 2.0.97.
4285
4286 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4287
4288         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
4289         in definitions of inline stat functions so that they match the
4290         declaration.
4291         * stdlib/stdlib.h: Likewise.
4292         * wcsmbs/wchar.h: Likewise.
4293         * libio/stdio.h: Likewise.
4294         * stdio/stdio.h: Likewise.
4295         * sysdeps/wordsize-64/inttypes.h: Likewise.
4296         * sysdeps/wordsize-32/inttypes.h: Likewise.
4297         * string/argz.h: Likewise.
4298         * argp/argp.h: Likewise.
4299
4300 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
4301
4302         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
4303         netinet/in.h.
4304
4305 1998-10-05  Philip Blundell  <philb@gnu.org>
4306
4307         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
4308         and constants.  Tidy up formatting a little.
4309
4310         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
4311         Move definitions to in.h.
4312
4313 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4314
4315         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
4316         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
4317         Remove inclusion of <linux/swap.h>.
4318
4319 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
4320
4321         * io/sys/stat.h: Use __P in definitions of inline stat functions
4322         so that they match the declaration.
4323
4324 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4325
4326         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
4327
4328 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4329
4330         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
4331         linux 2.1 version.
4332
4333 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
4334
4335         * sysdeps/arm/dl-machine.h: Fix typo in last change.
4336
4337         * sysdeps/arm/bits/huge_val.h: New file.
4338
4339 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4340
4341         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
4342
4343         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
4344         define.
4345
4346 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
4347
4348         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
4349         store result of realloc instead of using BUF.
4350
4351 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4352
4353         * misc/sgtty.h (_SGTTY_H): Correct spelling.
4354         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
4355
4356 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4357
4358         * manual/memory.texi (Obstacks): Document
4359         obstack_alloc_failed_handler usage.
4360
4361         * malloc/obstack.h: Enhance comment about
4362         obstack_alloc_failed_handler usage.
4363         * malloc/obstack.c: Likewise.
4364
4365 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
4366
4367         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
4368         gcc before 2.8 is used.
4369
4370 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
4371
4372         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
4373         from Scott Bambrough.
4374
4375         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
4376
4377         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
4378         include the lock member.
4379
4380 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
4381
4382         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
4383
4384 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
4385
4386         * timezone/zic.c: Update from tzcode1998h.
4387         * timezone/europe: Update from tzdata1998i.
4388         * timezone/southamerica: Likewise.
4389
4390         * sys/types.h: Protect use of long long by __extension__.
4391         * stdlib/stdlib.h: Likewise.
4392         * string/string.h: Likewise.
4393         * sysdeps/i386/bits/byteswap.h: Likewise.
4394         * sysdeps/geeric/bits/byteswap.h: Likewise.
4395         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4396         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4397         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4398         * sysdeps/wordsize-32/inttypes.h: Likewise.
4399         * sysdeps/wordsize-32/stdint.h: Likewise.
4400         * wcsmbs/wchar.h: Likewise.
4401
4402 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4403
4404         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
4405         expression.
4406         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
4407         __strsep): Greatly reduce size of expansion by combining common
4408         expressions.
4409         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
4410         inline function.
4411         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
4412         by the above definitions.
4413
4414 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
4415
4416         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
4417         correct struct ipc_perm definition.
4418
4419 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4420
4421         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
4422
4423 1998-09-29  Cristian Gafton  <gafton@redhat.com>
4424
4425         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
4426         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
4427         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
4428         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
4429         Add net/if_shaper.h.
4430
4431 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
4432
4433         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
4434
4435         * nis/ypclnt.c: Remove not needed close calls.
4436
4437 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
4438
4439         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
4440         check a bit.  Also close socket of domain client.  Close socket
4441         in IPPORT_RESERVED error case.
4442
4443 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
4444
4445         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
4446         CMSG_ALIGN (fixes a bug) and correct test for availability of
4447         another entry.
4448         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
4449         Linux version.
4450         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
4451         availability of another entry.
4452         Patch by ak@muc.de.
4453
4454         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
4455         Patch by ak@muc.de.
4456
4457         * libio/libio.h [!__STDC__]: Define const only if not defined.
4458
4459 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4460
4461         * posix/annexc.c (xsystem): New function.  Use it instead of
4462         system.
4463
4464 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
4465
4466         * stdlib/longlong.h: Remove #endif for #if removed in last change.
4467
4468 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
4469
4470         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
4471         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
4472         allow using `ut' parameter.
4473         [!emacs]: Define ut_argument, ut_argument_spec, and
4474         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
4475         argument_spec to prototypes and definitions.
4476         (my_strftime): Don't call tzset of ut != 0.
4477         Compute diff as 0 is ut != 0;
4478         [emacs]: Define new emacs_strftime function.
4479         Based on a patch by Paul Eggert.
4480
4481 1998-09-24  Paul Eggert  <eggert@twinsun.com>
4482
4483         * time/strftime.c (my_strftime): When asking for the length of the
4484         subformatted buffer, do not limit the length to look for;
4485         otherwise, we have no reliable way to distinguish between the
4486         empty buffer and an error.
4487
4488 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
4489
4490         * math/Makefile (gmp-objs): Add mp_clz_tab.
4491
4492 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
4493
4494         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
4495         set them.
4496         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
4497         cpus lacking hardware multiply and divide.
4498
4499 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4500
4501         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
4502         $(<F), not $(^F).
4503
4504 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4505
4506         * db/btree/bt_delete.c: Fix -Wparentheses warning.
4507
4508 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4509
4510         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
4511         $(do-install).
4512
4513 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
4514
4515         * debug/catchsegv.sh: Also produce output if clone process died.
4516
4517 1998-09-24  Paul Eggert  <eggert@twinsun.com>
4518
4519         * time/strftime.c (f_wkday): Remove duplicate definition.
4520         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
4521         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
4522         1998-09-11 fix to this case.
4523         (wkday_len, month_len): Remove these macros; they're no longer needed.
4524
4525 1998-09-24  Paul Eggert  <eggert@twinsun.com>
4526
4527         * time/strftime.c (my_strftime): Don't store past the end of a
4528         zero-sized buffer.
4529
4530 1998-09-24  Paul Eggert  <eggert@twinsun.com>
4531
4532         * time/strftime.c (underlying_strftime):
4533         Set the buffer to a nonzero value before calling
4534         strftime, and check to see whether strftime has set the buffer to zero.
4535         This lets us distinguish between an empty buffer and an error.
4536
4537 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
4538
4539         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
4540         This fix is propagated from tzcode1998g.tar.gz.
4541
4542 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
4543
4544         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
4545         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
4546         sys_siglist.  This is handled correctly by the weak_alias macro.
4547
4548 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
4549
4550         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
4551         of mempcpy.  Reported by Andreas Jaeger.
4552
4553         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
4554         pollute the namespace since the compiler will resolve it inline.
4555         Reported by Florian La Roche <florian@suse.de>.
4556
4557 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
4558
4559         * timezone/private.h: Update from tzcode1998g.
4560
4561         * timezone/africa: Update from tzdata1998h.
4562         * timezone/asia: Likewise.
4563         * timezone/australasia: Likewise.
4564         * timezone/europe: Likewise.
4565         * timezone/northamerica: Likewise.
4566         * timezone/southamerica: Likewise.
4567         * timezone/zone.tab: Likewise.
4568
4569 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4570
4571         * misc/sys/mman.h: New file.
4572
4573         * sysdeps/generic/bits/mman.h: New file.
4574         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
4575         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
4576         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
4577         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
4578
4579         * sysdeps/generic/sys/mman.h: Removed.
4580         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
4581         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
4582         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
4583         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
4584         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
4585
4586         * include/sys/mman.h: Look directly for misc/sys/mman.h.
4587         * misc/Makefile (headers): Add bits/mman.h.
4588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4589         bits/mman.h.
4590
4591         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
4592         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
4593         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
4594         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4595         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4596         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4597         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
4598         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
4599
4600 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4601
4602         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
4603         * sysdeps/mach/alpha/thread_state.h: Likewise.
4604         * sysdeps/mach/i386/sysdep.h: Likewise.
4605         * sysdeps/mach/i386/thread_state.h: Likewise.
4606         * sysdeps/mach/mips/sysdep.h: Likewise.
4607         * sysdeps/mach/mips/thread_state.h: Likewise.
4608         * sysdeps/posix/profil.c: Likewise.
4609         * sysdeps/i386/i586/memcopy.h: Likewise.
4610         * sysdeps/mach/pagecopy.h: Likewise.
4611
4612 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
4613
4614         * libio/stdio.h: Define __need_getopt and include getopt.h to define
4615         getopt stuff.
4616         * posix/unistd.h: Likewise.
4617         * stdio/stdio.h: Likewise.
4618         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
4619         define only getopt and the variables.
4620
4621 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4622
4623         * scripts/test-installation.pl (installation_problem): Don't link
4624         the test program against libdb1.
4625
4626 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
4627
4628         * Makeconfig (all-subdirs): Add db.
4629         * Versions.def: Add definition for libdb1.
4630         * shlib-versions: Add definitions for libdb1.
4631         * db/Makefile (extra-libs): Replace by libdb1.
4632         (libdb-routines): Rename to libdb1-routines.
4633         (headers): Rename to db1-headers.
4634         (distribute): Add $(db1-headers).
4635         (install-others): Define to install symlink libdb.so.NN and the
4636         $(db1-headers).
4637         (CPPFLAGS): Add -DUSE_LIBDB1
4638         Remove rules to build makedb.
4639         * db/Versions: Rename libdb to libdb1.
4640         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
4641         * db/makedb.c: Removed.
4642
4643         * scripts/versions.awk: Recognize digits in library names.
4644
4645         * db/btree/bt_open.c: Fix compiler warnings.
4646         * db/btree/bt_put.c: Likewise.
4647         * db/btree/bt_split.c: Likewise.
4648         * db/hash/hash.c: Likewise.
4649         * db/hash/hash_bigkey.c: Likewise.
4650         * db/recno/rec_close.c: Likewise.
4651
4652         * Makefile: Add localedata/% goal.
4653
4654 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4655
4656         * posix/execvp.c: Don't give up searching the PATH if execve
4657         returns ENOTDIR.
4658
4659 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
4660
4661         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
4662         if _dl_fpu_control_set is set.
4663         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
4664         * elf/rtld.c: Don't define _dl_fpu_control_set.
4665         * elf/Versions: Remove _dl_fpu_control_set.
4666
4667 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
4668
4669         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
4670         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4671         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4672         Correct values of other SA_* macros according to kernel headers.
4673
4674 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4675
4676         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
4677         variable l.
4678         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
4679         old.
4680
4681 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4682
4683         * elf/ldsodefs.h: Fix typo in comment.
4684
4685 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4686
4687         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
4688         char when comparing buffer contents with putback character.
4689
4690 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4691
4692         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
4693         Undo last change.
4694         * elf/Versions: Undo last change.  Export _dl_fpu_control and
4695         _dl_fpu_control_set.
4696         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
4697         variables.  Include <fpu_control.h>.
4698         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
4699         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
4700         to indicate that is was seen.
4701         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
4702         only if _dl_fpu_control was set and is equal to desired value.
4703         * math/Makefile (aux): Undo last change.
4704         * math/Versions: Export __fpu_control with version GLIBC_2.0.
4705
4706 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4707
4708         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
4709         optimized.
4710
4711 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
4712
4713         * string/bits/string2.h: Add mempcpy optimization.
4714         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
4715         * intl/localealias.c: Define mempcpy only if not already defined.
4716
4717         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
4718         defined.
4719
4720 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4721
4722         * csu/abi-note.S: Emit the note directly instead of defining
4723         a preprocessor macro that's only used once.  Don't include sysdep.h.
4724         * abi-tags: Generalize Solaris entry.
4725
4726 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4727
4728         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
4729         Change to array to avoid runtime relocation.
4730         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
4731
4732 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4733
4734         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
4735         * math/Makefile ($(objpfx)libieee.a): Likewise.
4736
4737 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
4738
4739         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
4740         Patch by John Tobey <jtobey@banta-im.com>.
4741
4742 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
4743
4744         * login/Makefile (distribute): Remove pty-internal.h, add
4745         pty-private.h.
4746
4747         * stdlib/tst-strtol.c: Add more checks.
4748         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
4749
4750 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
4751
4752         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
4753         * elf/elf.h: Add AT_FPUCW.
4754         * elf/Makefile (dl-routines): Add fpu_control.
4755         (elide-routines.os): Add fpu_control.
4756         (rtld-routines): Add fpu_control.
4757         * math/Makefile (aux): Remove fpu_control.
4758         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
4759         (_dl_show_auxv): Likewise.
4760         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
4761         if different from OS default.
4762
4763         * stdio-common/tstscanf.c: Add test case for (nil).
4764
4765 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
4766
4767         * libio/fileops.c (_IO_new_file_underflow): Before allocating
4768         buffer make sure the pushback buffer is destroyed.
4769         (_IO_new_file_seekoff): Likewise.
4770         If mode==0 quit early with the result.
4771         Clear OEF flag after successful fseek.
4772         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
4773         * libio/ftello.c (ftello): Add offset from original buffer if
4774         stream has pushed back characters.
4775         * libio/ftello64.c (ftello64): Likewise.
4776         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
4777         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
4778         * libio/ioftell.c (_IO_ftell): Likewise.
4779         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
4780         and _IO_save_ptr.
4781         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
4782         (_IO_default_pbackfail): Only stored push back character in original
4783         buffer if it is the same as the one in the file at this position.
4784         * libio/iofclose.c: Free backup buffer if one is available.
4785         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
4786         mode!=0.
4787
4788         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
4789
4790         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
4791
4792         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
4793
4794 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
4795
4796         * login/programs/pt_chown.c (more_help): Correct message that
4797         describes the purpose of the program.
4798
4799         * login/openpty.c: Do not include pty-private.h.
4800         (pts_name): New function.  Return name of slave pseudo terminal in
4801         an allocated buffer if necessary.
4802         (openpty): Use pts_name to get name of the slave end of the pseudo
4803         terminal pair.
4804
4805         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
4806         pts_name before return.
4807
4808 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
4809
4810         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
4811
4812 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4813
4814         * login/openpty.c: Include pty-private.h instead of
4815         pty-internal.h.
4816
4817 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
4818
4819         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
4820
4821 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
4822
4823         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
4824         recent ld.so changes.
4825         (elf_machine_runtime_setup): Correct behaviour when profiling.
4826
4827 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
4828
4829         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
4830         Patch by John Tobey <jtobey@banta-im.com>.
4831
4832 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
4833
4834         * login/pty-internal.h: Removed.  Moved constants related to the
4835         `grantpt' helper program protocol to ...
4836         * login/pty-private.h: ... here.  New file.
4837         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
4838         to make the function work with kernels >= 2.1.115.
4839         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
4840         version if using the cloning device fails.
4841         * sysdeps/unix/sysv/linux/grantpt.c: New file.
4842         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
4843         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
4844         use by Linux specific code.
4845         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
4846         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
4847         function.  (grantpt): Use pts_name, check group and permission
4848         mode in addition to owner.  Try to set the owner, group and
4849         permission mode first without invoking the helper program.
4850         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
4851         internationalization support.  Use symbolic constants instead of
4852         hardwired numbers for permission mode.
4853         * sysdeps/unix/bsd/ptsname.c: New file.
4854
4855 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
4856
4857         * posix/wordexp-test.c: Undo last change.
4858
4859         * posix/wordexp.c: Undo last change.
4860
4861 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
4862
4863         * nscd/grpcache.c (save_grp): Partly undo last change.
4864
4865         * nscd/pwdcache.c (save_pwd): Undo last change.
4866
4867 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4868
4869         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
4870         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
4871
4872 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
4873
4874         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4875         Add profiling support.
4876         (TRAMPOLINE_TEMPLATE): New macro.
4877         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
4878         (RTLD_START): Prettify, and set __libc_stack_end properly.
4879         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
4880         and check for sym being NULL instead.
4881         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
4882         of stack space.
4883         * sysdeps/sparc/sparc64/lshift.S: Likewise.
4884         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
4885         * sysdeps/sparc/sparc64/rshift.S: Likewise.
4886         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
4887         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
4888         MEDANY code model %g4 usage.
4889         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
4890         MEDANY code model %g4 usage.
4891         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
4892         code model address formation.
4893         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
4894         include elf/ldsodefs.h
4895         (DT_SPARC): Remove.
4896         (elf_machine_matches_host): It is now EM_SPARCV9.
4897         (elf_machine_dynamic): Clean up to remove ugly cast.
4898         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
4899         new PLT formats.
4900         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
4901         Prettify rest of function.
4902         [R_SPARC_COPY]: Check for sym being NULL.
4903         [R_SPARC_32]: Handle it.
4904         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
4905         MEDMID code model.
4906         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
4907         MEDANY code model.
4908         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
4909         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
4910         Add profiling support.
4911         (TRAMPOLINE_TEMPLATE): New macro.
4912         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
4913         (RTLD_START): Prettify and set __libc_stack_end.
4914         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
4915         Define.
4916         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
4917         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
4918         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
4919         unused variable scratch.
4920         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4921         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
4922         Declare.
4923         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
4924         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
4925         old format kernel sigaction structures.
4926         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
4927         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
4928         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
4929         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
4930         ucontext include.
4931         (_JMPBUF_UNWINDS): Define.
4932         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
4933         statfs64 structure, which is exactly the same as the normal one.
4934         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
4935         of stack.  Use correct syscall trap number.  Add branch prediction
4936         settings to branch instructions.  Remove old MEDANY code model %g4
4937         referneces for non-PIC.
4938         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4939         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4940         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
4941         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
4942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4943         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
4944         __libc_longjmp and __libc_siglongjmp strong aliases.
4945         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
4946         Also define to __no__readdir64_decl around readdir.c inclusion.
4947         (__readdir64): Add strong alias.
4948         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
4949         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
4950         Set strong and weak names properly.
4951
4952 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4953
4954         * manual/Makefile (AWK): Default to gawk if standalone.
4955
4956 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4957
4958         * Makefile (distribute): Undo last change.
4959         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
4960         for sysdep headers.
4961         (+subdir-headers): Removed, unused.
4962
4963 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4964
4965         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
4966         $(do-install).
4967
4968 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4969
4970         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
4971         absolute name in $(config-sysdirs), can never happen.
4972         ($(+sysdir_pfx)sysd-rules): Likewise.
4973         * Makeconfig (full-config-sysdirs): Likewise.
4974         (all-Subdirs-files): Prepend $(..).
4975
4976         * configure.in: Don't check for absolute name in $add_ons_pfx, can
4977         not happen.  Let --enable-add-ons=yes work if no add-ons actually
4978         exist.
4979
4980 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4981
4982         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
4983         continuations in command.
4984
4985 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4986
4987         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
4988
4989 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
4990
4991         * posix/wordexp-test.c: If expansion or substitution occurs
4992         anywhere in a word, the entire word is subject to field-splitting.
4993
4994         * posix/wordexp.c (parse_glob): Look for end of word instead of
4995         end of field when deciding what to glob.
4996         (field_split_word): New function, now the only place where
4997         field-splitting is performed.
4998         (parse_dollars): New parameter - tell the caller if
4999         field-splitting should be performed on this word.
5000
5001         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
5002         succeeded (or failed with WRDE_NOSPACE).
5003
5004 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
5005
5006         * posix/wordexp.c (wordexp): Don't convert IFS characters to
5007         blanks.
5008
5009         * posix/wordexp-test.c: Words not the result of expansion or
5010         substitution should remain unchanged.
5011
5012 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
5013
5014         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
5015         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
5016
5017 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5018
5019         * stdio-common/Makefile: Include Makeconfig so that
5020         $(inst_includedir) is defined.
5021
5022 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5023
5024         * io/pwd.c: Include <mcheck.h>.
5025
5026 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
5027
5028         * nscd/pwdcache.c (save_pwd): Correct copying.
5029         * nscd/grpcache.c (save_grp): Likewise.
5030
5031 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
5032
5033         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
5034         (free_pwd): Adjust for this change.
5035         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
5036         (free_grp): Adjust for this change.
5037
5038 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
5039
5040         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
5041
5042 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
5043
5044         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
5045         (install-others): Add bits/stdio_lim.h.
5046         Add rule to install bits/stdio_lim.h.
5047
5048         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
5049
5050         * Makefile (distribute): Add include/sys/mman.h.
5051
5052         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
5053         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
5054         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
5055
5056         * grp/initgroups.c: Include stdlib.h.
5057         Patch by Zack Weinberg.
5058
5059 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
5060
5061         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
5062         for field-splitting :abc: is correct, and that two fields should
5063         result. Revert tests to reflect this.
5064
5065         * posix/wordexp.c (w_emptyword): Remove function.
5066         (exec_comm): Don't use w_emptyword.
5067         (parse_param): Likewise.
5068
5069 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
5070
5071         * sysdeps/arm/fpu/Dist: Moved to...
5072         * sysdeps/arm/Dist: ...here.
5073         * sysdeps/posix/Dist: Removed.
5074         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
5075         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
5076
5077 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
5078
5079         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
5080
5081 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
5082
5083         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
5084
5085 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5086
5087         * libc-work/nis/nss_nisplus/nisplus-service.c
5088         (_nss_nisplus_parse_servent): Convert port in network byte order.
5089
5090 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5091
5092         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
5093         to provide only malloc and calloc.
5094         * include/stdlib.h: Support the above.
5095         * string/bits/string2.h: Use __need_malloc_and_calloc when
5096         including stdlib.h.
5097         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
5098
5099         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
5100         * iconvdata/iso646.c: Include <stdlib.h>.
5101
5102 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5103
5104         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
5105         * sysdeps/libm-ieee754/w_pow.c: Likewise.
5106         * sysdeps/libm-ieee754/w_powf.c: Likewise.
5107         * sysdeps/libm-ieee754/w_powl.c: Likewise.
5108
5109 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5110
5111         * stdio-common/stdio_lim.h.in: New file.  All parameters
5112         are adjustable at build time.
5113         * Rules: Add a rule to build bits/stdio_lim.h from
5114         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
5115         all subdirectories know how to make the file.  It can't be
5116         in Makerules because then it gets built at top level and the
5117         dependencies are wrong.)
5118
5119         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
5120         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
5121         stdio_lim.h.
5122         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
5123         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
5124         * sysdeps/posix/Makefile: Removed.
5125         * sysdeps/posix/mk-stdiolim.c: Removed.
5126         * sysdeps/generic/bits/stdio_lim.h: Removed.
5127
5128 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5129
5130         * argp/argp-help.c: Fixup indentation.
5131         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
5132         * resolv/nss_dns/dns-network.c: Likewise.
5133         * resolv/res_send.c: Likewise.
5134         * rt/aio_cancel.c: Likewise.
5135         * rt/aio_misc.c: Likewise.
5136
5137 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5138
5139         * Makefile (install-symbolic-link): Remove the link list file at last.
5140         * Makerules (install-clean-symbolic-link-list): Removed.
5141
5142 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5143
5144         * timezone/tst-timezone.c: Print time in UTC to get consistent
5145         output.
5146
5147 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5148
5149         * elf/rtld.c (_dl_rpath): Removed.
5150         * elf/dl-support.c (_dl_path): Removed.
5151         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
5152         (CFLAGS-dl-support.c): Removed.
5153
5154         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
5155         uses changed.
5156         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
5157         instead of appending it to the main map's rpath info.
5158         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
5159         DT_RPATHs.  This makes it effective again.
5160         (decompose_rpath): Remove second parameter, callers changed.
5161         (fillin_rpath): Allocate enough space in curwd.
5162         (expand_dynamic_string_token): Cope with get_origin returning -1.
5163
5164 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5165
5166         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
5167         passwd.adjunct.
5168
5169         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
5170         invalid password.
5171
5172 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
5173
5174         * locale/programs/locale.c: Update dates.
5175
5176 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
5177
5178         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
5179         size_t is defined.  Some reordering of definitions to make
5180         maintaining this file in parallel with the linux-specific file easier.
5181
5182 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
5183
5184         * io/pwd.c (main): Add call to mtrace.
5185
5186         * malloc/mtrace.pl: Quote @ in string.
5187
5188 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
5189
5190         * posix/wordexp.c (parse_arith): Fix memory leaks.
5191         (exec_comm): Likewise.
5192         (parse_param): Likewise.
5193         (wordexp): Likewise.
5194         (exec_comm): Reduce number of function return points.
5195         (parse_param): Likewise.
5196         (wordexp): Likewise.
5197
5198 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
5199
5200         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
5201         yield three fields, not two.  Test both parameter expansion and
5202         command substitution for correct field-splitting behaviour.
5203
5204         * posix/wordexp.c (w_emptyword): New function.
5205         (parse_param): Use it.
5206         (exec_comm): Likewise, for consistency with the way parse_param
5207         splits fields.
5208         (parse_param): Fix some memory leaks.
5209
5210 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
5211
5212         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
5213         Don't mark asm `volatile'.
5214         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
5215         from the data cache too.  Assume it isn't in the instruction cache yet.
5216         (__elf_machine_fixup_plt): Clear the modified address from the caches.
5217
5218 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
5219
5220         * sysdeps/generic/segfault.c (install_handler): Install signal
5221         handler with SA_ONSTACK instead of setting the stack flags to
5222         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
5223         defined.
5224
5225 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5226
5227         * signal/signal.h: Fix multiple inclusion guard to cover the
5228         entire file.
5229         * wcsmbs/wchar.h: Remove prototype of internal function
5230         __mbsrtowcs.
5231         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
5232         arithmetic on `void *'.
5233
5234 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
5235
5236         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
5237
5238         * posix/wordexp.c (wordexp): Perform word-splitting instead of
5239         field-splitting here.
5240         (wordexp): If out of memory mid-word, free the word (but still
5241         leave pwordexp alone for caller to see).
5242         (parse_param): Allow for zero-length fields (smarter checking of
5243         memory allocation failure).
5244         (w_addword): Convert NULL words to "".
5245         (wordexp): Convert left-over IFS characters to blanks (like bash).
5246
5247 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
5248
5249         * configure.in: Use test -f instead of test -e.
5250         Patch by John Tobey <jtobey@banta-im.com>.
5251
5252         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
5253         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
5254         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
5255         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
5256         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
5257         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
5258         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
5259         Patches by John Tobey <jtobey@banta-im.com>.
5260
5261         * time/strftime.c (my_strftime): Delay use of *tp values until
5262         latest possible point to allow partly initialized structures
5263         (e.g., from strptime).
5264
5265         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
5266         and NATS-SEFI.
5267         Define *-routines variables for new modules.
5268         (distribute): Add .c files for new modules.
5269         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
5270         and nats-sefi.h.
5271         Add rules for header generation.
5272         * iconvdata/gconv-modules: Add entries for new modules.
5273         * iconvdata/iso_10367-box.c: New file.
5274         * iconvdata/mac-is.c: New file.
5275         * iconvdata/nats-dano.c: New file.
5276         * iconvdata/nats-sefi.c: New file.
5277
5278 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
5279
5280         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
5281         loader if PIC is not defined.
5282
5283 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
5284
5285         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
5286         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
5287         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
5288         and ISO_5428.
5289         Define *-routines variables for new modules.
5290         (distribute): Add .c files for new modules.
5291         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
5292         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
5293         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
5294         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
5295         Add rules for header generation.
5296         * iconvdata/gconv-modules: Add entries for new modules.
5297         * iconvdata/csn_369103.c: New file.
5298         * iconvdata/cwi.c: New file.
5299         * iconvdata/dec-mcs.c: New file.
5300         * iconvdata/ecma-cyrillic.c: New file.
5301         * iconvdata/gost_19768-74.c: New file.
5302         * iconvdata/greek-ccitt.c: New file.
5303         * iconvdata/greek7-old.c: New file.
5304         * iconvdata/greek7.c: New file.
5305         * iconvdata/inis-8.c: New file.
5306         * iconvdata/inis-cyrillic.c: New file.
5307         * iconvdata/inis.c: New file.
5308         * iconvdata/iso6937-2.c: New file.
5309         * iconvdata/iso_2033.c: New file.
5310         * iconvdata/iso_5427-ext.c: New file.
5311         * iconvdata/iso_5427.c: New file.
5312         * iconvdata/iso_5428.c: New file.
5313
5314         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
5315         entries.
5316         Convert U02dd correctly.
5317
5318 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
5319
5320         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
5321         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
5322         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
5323         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
5324
5325 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
5326
5327         * resolv/res_init.c (res_init): Handle resolv.conf file with only
5328         one nameserver correctly.  Patch by HJ Lu.
5329
5330         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
5331         and ANSI_X3.110.
5332         Define *-routines variables for new modules.
5333         (distribute): Add .c files for new modules.
5334         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
5335         Add rules for hedaer generation.
5336         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
5337         * iconvdata/ansi_x3.110.c: New file.
5338         * iconvdata/asmo_449.c: New file.
5339         * iconvdata/baltic.c: New file.
5340         * iconvdata/iec_p27-1.c: New file.
5341
5342         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
5343         entries.
5344         Convert U02dc correctly.
5345
5346         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
5347         * math/atest-exp2.c: Likewise.
5348         * math/atest-sincos.c: Likewise.
5349
5350         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
5351         is defined.
5352
5353 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5354
5355         * string/strcoll.c: Optimize a few expressions.
5356         * string/strxfrm.c: Likewise.
5357
5358 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5359
5360         * manual/locale.texi: Fix typos.
5361
5362 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
5363
5364         * stdlib/random_r.c (__setstate_r): Allow call with same state
5365         array as currently used (PR libc/774).
5366
5367         * include/limits.h: Include gcc's header even if this file is
5368         found more than once before it (PR libc/778)
5369
5370         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
5371         (sysdep_headers): Remove sys/debugreg.h.
5372         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
5373         (sysdep_headers): Add sys/debugreg.h.
5374         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
5375         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
5376
5377         * stdio-common/tmpnam.c: Move local static variable buf to
5378         toplevel and rename to tmpnam_buffer to ease debugging.
5379         Patch by Joe Keane <jgk@jgk.org>.
5380         Optimize s == NULL case a bit.
5381
5382         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
5383         correction.
5384
5385 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
5386
5387         * resolv/res_init.c (res_init): Initialize _res.nscount and
5388         _res.nsaddr.sin_port differently for the can when no loopback
5389         is available to allow immediate timeout in non-networking environments.
5390         Patch by Cristian Gafton <gafton@redhat.com>.
5391
5392 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5393
5394         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
5395         BAR and not EM DASH.
5396         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
5397         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
5398         Fixes PR libc/717.
5399
5400 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
5401
5402         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
5403         for test.
5404         * timezone/tst-timezone.c (tests): Fix typo in last patch.
5405
5406         * time/tzfile.c (__tzfile_read): Handle case when there are no
5407         transitions.  Set __timezone based on computed offset.
5408         * time/tzset.c (tzset_internal): Set __timezone before returning.
5409
5410         * time/tzset.c (tzset_internal): Optimize handling of local string
5411         copy.
5412
5413 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5414
5415         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
5416         libc/776).
5417
5418 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
5419
5420         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
5421         (csqrt_test): Likewise.
5422         * sysdeps/powerpc/bits/fenv.h: Add parens.
5423
5424 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
5425
5426         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
5427         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
5428         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
5429
5430 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
5431
5432         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
5433         the special `-1' pointer.
5434
5435 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
5436
5437         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
5438         inline.
5439
5440 1998-09-07  Paul Eggert  <eggert@twinsun.com>
5441
5442         * time/mktime.c (__EXTENSIONS__): Define if not defined.
5443         (_REENTRANT): Remove.  It has undesirable consequences in
5444         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
5445         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
5446         is what we want.
5447         * time/strftime.c: Likewise.
5448
5449 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5450
5451         * elf/dl-error.c: Fix spelling.
5452
5453 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5454
5455         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
5456         * stdio-common/_itoa.c: Likewise.
5457         * stdio-common/printf_fp.c: Likewise.
5458         * stdio-common/vfscanf.c: Likewise.
5459         * wcsmbs/wcstok.c: Likewise.
5460         * sysdeps/generic/glob.c: Likewise.
5461         * posix/getopt.c: Likewise.
5462         * sysdeps/posix/getaddrinfo.c: Likewise.
5463         * posix/wordexp.c: Likewise.
5464         * io/ftw.c: Likewise.
5465         * io/fts.c: Likewise.
5466         * misc/getpass.c: Likewise.
5467         * iconv/gconv_conf.c: Likewise.
5468         * argp/argp-fmtstream.c: Likewise.
5469         * argp/argp-help.c: Likewise.
5470         * elf/dl-load.c: Likewise.
5471         * locale/programs/stringtrans.c: Likewise.
5472         * catgets/gencat.c: Likewise.
5473         * posix/getconf.c: Likewise.
5474         * iconv/gconv_conf.c: Likewise.
5475         * iconv/iconv_prog.c: Likewise.
5476
5477         * string/strcoll.c: Optimize a few expressions.
5478         * string/strxfrm.c: Likewise.
5479
5480 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5481
5482         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
5483         level to avoid uninit variable warning.
5484
5485 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5486
5487         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
5488         instead of _dl_default_scope[2] as argument to _dl_init_next.
5489
5490         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
5491         C9x macro.
5492
5493 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
5494
5495         Fix compatibility problems introduced in last change.
5496         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
5497         defined.
5498         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
5499         -DWEAK_GMON_START to CFLAGS-initfini.s.
5500
5501         * elf/dl-object.c (_dl_new_object): Store map address in
5502         _dl_loaded if _dl_loaded is NULL.
5503         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
5504
5505         * sysdeps/generic/setrlimit64.c: Remove stub warning.
5506
5507 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
5508
5509         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
5510         quiet.
5511         * db2/btree/bt_cursor.c: Likewise.
5512         * db2/common/db_region.db_c: Likewise.
5513         * db2/common/db_salloc.db_c: Likewise.
5514         * db2/db/db.c: Likewise.
5515         * db2/db/db_rec.c: Likewise.
5516         * db2/hash/hash.c: Likewise.
5517         * db2/hash/hash_page.c: Likewise.
5518         * db2/hash/hash_rec.c: Likewise.
5519         * db2/log/log_findckp.c: Likewise.
5520         * db2/log/log_get.c: Likewise.
5521         * db2/log/log_put.c: Likewise.
5522         * db2/mp/mp_fget.c: Likewise.
5523         * db2/mp/mp_fput.c: Likewise.
5524         * db2/mp/mp_region.c: Likewise.
5525         * stdlib/strtol.c: Likewise.
5526         * string/strcoll.c: Likewise.
5527         * string/strxfrm.c: Likewise.
5528         * argp/argp-help.c: Likewise.
5529         * argp/argp-parse.c: Likewise.
5530         * resolv/res_debug.c: Likewise.
5531
5532 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
5533
5534         * math/tgmath.h (scalb): Only define for __USE_MISC or
5535         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
5536
5537 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5538
5539         * libio/stdio.h: Fix comment.
5540
5541         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
5542         __USE_ISOC9X.
5543
5544 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5545
5546         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
5547
5548         * elf/dl-open.c: Quiet -Wparentheses warnings.
5549         * iconvdata/johab.c: Likewise.
5550         * iconvdata/uhc.c: Likewise.
5551         * inet/inet_net.c: Likewise.
5552         * io/fts.c: Likewise.
5553         * locale/newlocale.c: Likewise.
5554         * misc/getttyent.c: Likewise.
5555         * misc/mntent_r.c: Likewise.
5556         * misc/ttyslot.c: Likewise.
5557         * nscd/nscd_conf.c: Likewise.
5558         * nss/nsswitch.c: Likewise.
5559         * resolv/gethnamaddr.c: Likewise.
5560         * resolv/nsap_addr.c: Likewise.
5561         * resolv/res_debug.c: Likewise.
5562         * stdio-common/_itoa.c: Likewise.
5563         * stdlib/strtod.c: Likewise.
5564         * string/strverscmp.c: Likewise.
5565         * sunrpc/svc.c: Likewise.
5566         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
5567         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
5568         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
5569         * sysdeps/posix/getaddrinfo.c: Likewise.
5570
5571 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
5572
5573         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
5574         for use of global scope.
5575         * elf/dlvsym.c (dlvsym_doit): Likewise.
5576
5577 1998-09-02  Paul Eggert  <eggert@twinsun.com>
5578
5579         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
5580         copy the redundant bytes at the end of the format as-is; don't
5581         just copy their first byte and then rescan, as that might get
5582         us an encoding error.
5583         Account correctly for the length of multibyte sequences in the
5584         format.
5585
5586 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
5587
5588         * posix/wordexp-test.c: Add tests for different IFS values.
5589         Change unquoted-newline test so that newline is not in IFS.
5590
5591         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
5592         determining IFS characters.  Return WRDE_BADCHAR for unquoted
5593         special characters _except_ if they are separators.
5594
5595 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
5596
5597         * include/tgmath.h: New file.
5598
5599         * libio/stdio.h: Correct reversed #ifs.
5600         Patch by Zack Weinberg.
5601
5602         * manual/creature.texi: Better explain reason for feature select
5603         macros.
5604         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
5605
5606 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5607
5608         * include/alloca.h: Add multiple-inclusion guard.
5609         * include/db.h: Likewise.
5610         * include/db_185.h: Likewise.
5611         * include/dlfcn.h: Likewise.
5612         * include/fcntl.h: Likewise.
5613         * include/grp.h: Likewise.
5614         * include/libintl.h: Likewise.
5615         * include/mntent.h: Likewise.
5616         * include/pwd.h: Likewise.
5617         * include/sched.h: Likewise.
5618         * include/search.h: Likewise.
5619         * include/setjmp.h: Likewise.
5620         * include/shadow.h: Likewise.
5621         * include/signal.h: Likewise.
5622         * include/stdio.h: Likewise.
5623         * include/stdlib.h: Likewise.
5624         * include/string.h: Likewise.
5625         * include/termios.h: Likewise.
5626         * include/time.h: Likewise.
5627         * include/ulimit.h: Likewise.
5628         * include/utmp.h: Likewise.
5629         * include/wchar.h: Likewise.
5630         * include/sys/file.h: Likewise.
5631         * include/sys/gmon.h: Likewise.
5632         * include/sys/ioctl.h: Likewise.
5633         * include/sys/mman.h: Likewise.
5634         * include/sys/resource.h: Likewise.
5635         * include/sys/select.h: Likewise.
5636         * include/sys/socket.h: Likewise.
5637         * include/sys/statfs.h: Likewise.
5638         * include/sys/time.h: Likewise.
5639         * include/sys/times.h: Likewise.
5640         * include/sys/wait.h: Likewise.
5641
5642 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
5643
5644         * version.h (VERSION): Bump to 2.0.96.
5645
5646         Rewrite runtime linker to be truly thread-safe.  There is now no
5647         global variable specifying the scope.  We create all needed
5648         scopes at the time the link maps are created.
5649         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
5650         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
5651         l_symbolic_searchlist, l_scope, and l_local_scope elements in
5652         struct link_map.
5653         * elf/dl-close.c: Rewritten accordingly.
5654         * elf/dl-deps.c: Likewise.
5655         * elf/dl-error.c: Likewise.
5656         * elf/dl-init.c: Likewise.
5657         * elf/dl-load.c: Likewise.
5658         * elf/dl-lookup.c: Likewise.
5659         * elf/dl-object.c: Likewise.
5660         * elf/dl-open.c: Likewise.
5661         * elf/dl-reloc.c: Likewise.
5662         * elf/dl-runtime.c: Likewise.
5663         * elf/dl-support.c: Likewise.
5664         * elf/dl-symbol.c: Likewise.
5665         * elf/dl-version.c: Likewise.
5666         * elf/dlsym.c: Likewise.
5667         * elf/dlvsym.c: Likewise.
5668         * elf/ldsodefs.h: Likewise.
5669         * elf/rtld.c: Likewise.
5670         * iconv/gconv_dl.c: Likewise.
5671         * nss/nsswitch.c: Likewise.
5672         * sysdeps/i386/dl-machine.h: Likewise.
5673         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
5674
5675         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
5676         Define RTLD_DEFAULT.
5677
5678 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
5679
5680         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
5681         __getopt_clean_environment with __environ instead of envp.
5682
5683 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
5684
5685         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
5686
5687         * string/argz-extract.c (__argz_extract): Add de-consting cast for
5688         setting results.
5689
5690         * string/argz.h (argz_next): Add de-consting cast for return.
5691         * string/argz-next.c (__argz_next): Likewise.
5692
5693         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
5694         Don't add netinet/udp.h, netinet/ip_icmp.h here.
5695         * sysdeps/gnu/Makefile: Do it here instead.
5696         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
5697         * sysdeps/gnu/Dist: ... to here.
5698
5699         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
5700         sysdeps/unix/sysv/linux/netinet/tcp.h,
5701         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
5702
5703 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
5704
5705         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
5706         * string/argz-next.c, string/argz-extract.c: Fix defns.
5707
5708 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
5709
5710         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
5711
5712         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
5713         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
5714         * sysdeps/generic/sysd-stdio.c: Likewise.
5715
5716 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
5717
5718         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
5719         (_dl_map_object_from_fd): Make NAME argument const.
5720         Remove last parameter in _dl_new_object call.
5721         (print_search_path): Correct construction of composed path name.
5722         (_dl_map_object): Prevent looking at RPATH of the main map twice.
5723         Remove last parameter in _dl_new_object call.
5724         * elf/dl-object.c: Remove last parameter.  Determine whether create
5725         origin entry based on empty realname.  Handle file in root directory
5726         correctly.
5727         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
5728         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
5729         Remove last parameter in _dl_new_object call.
5730         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
5731         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
5732
5733 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
5734
5735         * elf/dl-close.c (_dl_close): Add more comments and correct some.
5736         Free l_searchlist and l_dupsearchlist.
5737
5738         * debug/catchsegv.sh: Add one more pair of quotes.
5739
5740 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
5741
5742         * elf/dl-load.c (add_name_to_object): Change return type to void and
5743         make NAME parameter const.  Allocate room for NAME in same memory
5744         block used for l_libname entry.
5745         (_dl_map_object_from_fd): Don't free NAME on failure.
5746         (map_segment): Pass SONAME to add_name_to_object, not a copy.
5747         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
5748         _dl_map_object_from_fd.
5749         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
5750         memory block used for l_libname entry.
5751         * elf/dl-close.c: Adjust free()ing for this change.
5752
5753 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
5754
5755         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
5756
5757         * malloc/mtrace.c: Add bug report address.  Update email address.
5758         Add more @XXX@ to print correct address size.
5759
5760         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
5761         really initialized.
5762
5763         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
5764         for munmap call instead of examining phdr again.
5765         Free all malloc()ed strings and arrays.
5766
5767 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
5768
5769         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
5770         dl-machine.h.
5771         * sysdeps/powerpc/dl-machine.c: New file.
5772         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
5773         files.  Revise ELF_PREFERRED_ADDRESS to take account of
5774         the new mapping information (fixes bug involving huge bloated
5775         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
5776         * sysdeps/powerpc/dl-start.S: New file.
5777
5778         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
5779         l_map_end.
5780         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
5781         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
5782         others.  Call elf_dynamic_do_##reloc only once (to save even more
5783         space).
5784         * elf/link.h: Add new members l_map_start and l_map_end to keep
5785         track of the memory map.
5786         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
5787         the executable.
5788
5789 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
5790
5791         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
5792         Reported by Andreas Jaeger.
5793
5794         * posix/glob.h: Use __size_t instead of size_t in definitions and
5795         make sure this is defined.
5796
5797 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
5798
5799         * manual/locale.texi: Almost complete rewrite.  Document more functions
5800         and functionality.
5801         * manual/arith.texi: Correct reference.
5802         * manual/string.texi: Pretty printing.
5803
5804         * manual/texinfo.tex: Update from last available version.
5805
5806 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
5807
5808         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
5809         invalid password.
5810         (_nss_nis_getpwuid_r): Likewise.
5811         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
5812
5813         * inet/rcmd.c: Implement netgroup support.
5814         Patch by Dick Streefland <dick_streefland@tasking.com>.
5815
5816 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
5817
5818         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
5819         object on the list is removed.  Don't use this code for PIC.
5820         Reported by HJ Lu [PR libc/770].
5821
5822 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
5823
5824         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
5825
5826         * include/stdio.h: Add __vsscanf.
5827
5828         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
5829         __USE_ISOC9X.
5830         Remove __vsscanf declaration.
5831         Always declare fgetpos and fsetpos.
5832
5833         * math/math.h: Define isinf as macro.
5834         * math/bits/mathcalls.h: Change to declare __isinf all the time.
5835         Don't declare scalb for ISO C 9x.
5836
5837         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
5838
5839         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
5840
5841         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
5842         sys/ucontext.h.
5843
5844         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
5845         macros.
5846
5847 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5848
5849         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
5850         Reported by jreising@frequentis.com [PR libc/767].
5851
5852 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5853
5854         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
5855         fl.l_start at beginning of function.
5856         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
5857
5858 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
5859
5860         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
5861         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
5862
5863         * nscd/nscd.init: Make it work in RedHat systems.
5864         Patch by Christian Gafton.
5865
5866 1998-08-29  Philip Blundell  <philb@gnu.org>
5867
5868         * catgets/Makefile: Don't try to run test programs when
5869         cross-compiling.
5870
5871 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
5872
5873         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
5874         Reported by Zack Weinberg.
5875
5876 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5877
5878         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
5879         * elf/Makefile (distribute): Remove ldd.sh.in.
5880
5881 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5882
5883         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
5884         variable.
5885
5886 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
5887
5888         * sysdeps/i386/register-dump.h: Move to ...
5889         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
5890
5891 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
5892
5893         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
5894         with load address, not map address.
5895         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
5896         parameter and use this value.
5897         * sysdeps/arm/dl-machine.h: Likewise.
5898         * sysdeps/i386/dl-machine.h: Likewise.
5899         * sysdeps/m68k/dl-machine.h: Likewise.
5900         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
5901         parameter.
5902         * sysdeps/powerpc/dl-machine.h: Likewise
5903         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
5904         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
5905
5906 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
5907
5908         * elf/rtld.c (process_envvars): Fix copy&paste error.
5909
5910         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
5911         memalign hook.
5912         (realloc_hook_ini): Don't overwrite memalign hook.
5913         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
5914         Reported by Philippe Troin <phil@fifi.org>.
5915
5916         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
5917         Patch by Philippe Troin <phil@fifi.org>.
5918
5919 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5920
5921         * sysdeps/generic/segfault.c (install_handler): Protect the
5922         non-POSIX signals with #ifdef.
5923         (catch_segfault): Add missing mode parameter for open.
5924         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
5925         other termination signals.
5926
5927 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5928
5929         * debug/Makefile (distribute): Add register-dump.h.
5930
5931 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5932
5933         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
5934
5935 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
5936
5937         * elf/Makefile (distribute): Add dl-origin.h.
5938         * sysdeps/generic/dl-origin.h: New file.
5939         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
5940         * elf/link.h (struct link_map): Add l_origin field.
5941         * elf/dl-load.c (expand_dynamic_string_token): New function.
5942         (decompose_path): Remove WHERE argument, take link map pointer instead.
5943         Call expand_dynamic_string_token instead of local_strdup to make copy
5944         of rpath.
5945         (_dl_init_paths): Call decompose_path with correct argument.
5946         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
5947         not defined.
5948         Check EI_OSABI and EI_ABIVERSION fields in header.
5949         Call _dl_new_object with extra argument.
5950         (_dl_map_object): Call decompose_path with correct argument.
5951         Call expand_dynamic_string_token instead of local_strdup to also
5952         expand DST.
5953         Call _dl_new_object with extra argument.
5954         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5955         but the main one if new argument is nonzero.
5956         * elf/ldsodefs.h: Adjust for _dl_new_object change.
5957         * elf/dl-support.c: Define _dl_origin_path.
5958         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
5959         (dl_main): Call _dl_new_object with extra argument.
5960
5961         * elf/dl-close (_dl_close): Free l_name and l_origin.
5962
5963         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
5964         modifier in asm, not c.
5965
5966         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
5967         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
5968
5969 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
5970
5971         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
5972         variable so that map can be freed.
5973         Reported by Philippe Troin <phil@fifi.org>.
5974
5975         * elf/dl-open.c (dl_open_worker): Correct test for extending global
5976         scope array.
5977         Patch by Philippe Troin <phil@fifi.org>.
5978
5979 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
5980
5981         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
5982         Don't call writev() with a 100-element vector.
5983         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
5984         return address.
5985
5986         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
5987         In particular, set __libc_stack_end.
5988         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
5989         undefined.  Fix copyright notice.
5990
5991 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5992
5993         * math/Makefile (gmp-objs): New variable.
5994         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
5995         Depend on it.
5996         (tests): Add atest-exp atest-sincos atest-exp2.
5997         (tests-static): Remove atest-exp atest-sincos atest-exp2.
5998
5999 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
6000
6001         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
6002         to toplevel.
6003         (_dl_unload_cache): New function.
6004         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
6005         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6006         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
6007
6008         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
6009         Correct comment for O_LARGEFILE.
6010         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
6011         Change O_LARGEFILE to correct value.
6012
6013 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
6014
6015         * libio/iogetline.c (_IO_getline_info): Don't read anything for
6016         N == 0.  Patch by HJ Lu.
6017
6018 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
6019
6020         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
6021
6022 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6023
6024         * argp/argp.h: Use __inline__ not inline.
6025
6026         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
6027         an input register as being clobbered.
6028         * sysdeps/i386/memset.c (memset): Likewise.
6029         * sysdeps/i386/bzero.c (__bzero): Likewise.
6030         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
6031
6032 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6033
6034         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
6035         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
6036
6037 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
6038
6039         * debug/catchsegv.sh: Handle text preceding backtrace better.
6040         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
6041         to be installed for other signals than SIGSEGV.
6042         * sysdeps/generic/register-dump.h: New file.
6043         * sysdeps/i386/register-dump.h: New file.
6044         * sysdeps/powerpc/register-dump.h: New file.
6045
6046         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
6047         sigcontextinfo.h.
6048         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
6049
6050 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
6051
6052         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
6053
6054 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
6055
6056         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
6057         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
6058         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
6059         getresuid, getresgid.
6060
6061 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
6062
6063         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
6064         pointer in userland.
6065
6066 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6067
6068         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
6069         and fix value.
6070
6071 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6072
6073         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
6074         over arguments Bourne shell compatible.  Don't exit unsuccessfully
6075         if nonelf returns successfully.  Avoid duplicating most of the
6076         script.
6077         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
6078         around $file.
6079
6080 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6081
6082         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
6083         sys/reg.h.
6084         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
6085         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
6086
6087 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
6088
6089         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
6090         __modify_ldt and modify_ldt.
6091         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
6092
6093         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6094         Use orl $-1 instead of movl $-1 to save two bytes.
6095         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
6096         Likewise.
6097
6098 1998-08-17  H.J. Lu  <hjl@gnu.org>
6099
6100         * libio/Versions (_IO_do_write, _IO_file_attach,
6101         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
6102         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
6103         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
6104         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
6105
6106         * libio/fileops.c (_IO_do_write, _IO_file_attach,
6107         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
6108         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
6109         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
6110         _IO_file_write, _IO_file_xsputn): Change the prefix to
6111         "_IO_new_". Added to GLIBC_2.1.
6112
6113         * libio/libioP.h (_IO_do_write, _IO_file_attach,
6114         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
6115         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
6116         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
6117         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
6118         "_IO_new_".
6119
6120         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
6121         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
6122         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
6123         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
6124         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
6125
6126 1998-08-23  Richard Henderson  <rth@cygnus.com>
6127
6128         * Makeconfig (LDFLAGS): Remove.
6129
6130         * csu/initfini.c: Return to .text before __gmon_start__.
6131
6132         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
6133         (STO_MIPS_*): Rename from STO_*.
6134         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
6135         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
6136
6137         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
6138         (main): e3s is negative on zero.
6139         * math/atest-exp2.c: Likewise.
6140         * math/atest-sincos.c: Likewise.
6141
6142 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6143
6144         * Makerules (install): Add comment about absolute paths.
6145
6146 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
6147
6148         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
6149         array to NUL to handle maxlen==1 case correctly.
6150         Patch by HJ Lu.
6151
6152 1998-08-23  Richard Henderson  <rth@cygnus.com>
6153
6154         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
6155         * sysdeps/alpha/elf/crtend.S: Likewise.
6156         * sysdeps/alpha/elf/start.S: Likewise.
6157
6158         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
6159         non-standard pv usage.
6160
6161         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
6162         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
6163         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6164         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6165         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
6166         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
6167         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6168         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6169         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6170         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6171         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6172
6173         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
6174         a finite non-denormal, deferring to the full IEEE version otherwise.
6175
6176         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
6177         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
6178         * sysdeps/alpha/fpu/s_floor.c: New.
6179         * sysdeps/alpha/fpu/s_floorf.c: New.
6180         * sysdeps/alpha/fpu/s_ceil.c: New.
6181         * sysdeps/alpha/fpu/s_ceilf.c: New.
6182
6183 1998-08-22  Philip Blundell  <philb@gnu.org>
6184
6185         * sysdeps/arm/bits/string.h: New file.
6186
6187 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6188
6189         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
6190         document it.
6191
6192         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
6193         test for recent Linux 2.1.100+ headers.
6194
6195 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6196
6197         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
6198
6199 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
6200
6201         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
6202
6203 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6204
6205         * Makefile (elf/ldso_install): Put back.  The problem still persists.
6206         * elf/Makefile (ldso_install): Likewise.
6207
6208 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6209
6210         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
6211         create weak alias.
6212         * include/db.h: Declare __nss_db_open.
6213         * db2/Versions: Export it.
6214
6215         * db2/makedb.c: Convert to use db2 API.
6216         * nss/nss_db/db-XXX.c: Likewise.
6217         * nss/nss_db/db-netgrp.c: Likewise.
6218         * nss/nss_db/db-alias.c: Likewise.
6219         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
6220
6221 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6222
6223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6224         sys_setresuid, already built automatically (or not).
6225         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
6226         instead of __syscall_setresuid and add back setresuid.
6227         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
6228         __syscall_setresuid.
6229
6230 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6231
6232         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
6233
6234 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
6235
6236         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
6237         BASH-ONLY marked region.
6238         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
6239
6240 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
6241
6242         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
6243         _IO_SYSSEEK fails.
6244
6245         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
6246
6247         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
6248         element.
6249
6250 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
6251
6252         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
6253         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
6254         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
6255         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
6256         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
6257         those magic comments, and to use /bin/sh for @BASH@.
6258         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
6259         * elf/ldd.sh.in: File removed.
6260
6261 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
6262
6263         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
6264         cast them to unsigned long int.
6265         * pwd/putpwent.c (putpwent): Likewise.
6266         Patch by John Tobey <jtobey@banta-im.com>.
6267
6268 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
6269
6270         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
6271         _IO_pos_BAD.
6272
6273 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
6274
6275         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
6276         _IO_SYSSEEK fails.
6277
6278 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
6279
6280         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
6281         Add umount and umount2.
6282         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
6283         * sysdeps/unix/sysv/linux/umount.S: New file.
6284         * sysdeps/unix/sysv/linux/umount2.S: New file.
6285         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
6286         Define MNT_FORCE.
6287
6288         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
6289         Add sys/sendfile.h.
6290         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
6291         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
6292
6293         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
6294
6295         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
6296         sendfile.
6297
6298 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
6299
6300         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
6301         * elf/ldd.bash.in: Likewise.
6302
6303         * elf/sln.c: Avoid warning for no main prototype.
6304
6305         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
6306         O_WRITE.
6307         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6309
6310         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
6311         F_GETSIG.
6312         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6313         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6315
6316 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
6317
6318         * sysdeps/arm/fpu/ieee754.h: Move to...
6319         * sysdeps/arm/ieee754.h: ... here.
6320
6321         * sysdeps/arm/__longjmp.S: Put return value in correct register.
6322         Don't set the condition flags unnecessarily.
6323         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
6324         registers correctly.
6325
6326         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
6327         (patch from Scott Bambrough).
6328
6329         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
6330
6331         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
6332         NULL, just call it unconditionally.
6333         (__gmon_start__): Provide stub version as a weak symbol.
6334
6335 1998-07-30  Philip Blundell  <philb@gnu.org>
6336
6337         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
6338         by Scott Bambrough)
6339
6340         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
6341         like `@' in .type directives.
6342
6343         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
6344         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6345
6346         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
6347
6348 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6349
6350         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
6351         (F_GETOWN): Likewise.
6352
6353         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
6354         Linux 2.1.117).
6355
6356 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
6357
6358         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
6359         already defined.
6360
6361 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
6362
6363         * include/features.h: Define __USE_EXTERN_INLINES for recent
6364         enough gcc.
6365         * argp/argp.h: Define extern inline functions only if
6366         __USE_EXTERN_INLINES is defined.
6367         * libio/stdio.h: Likewise.
6368         * math/math.h: Likewise.
6369         * stdlib/stdlib.h: Likewise.
6370         * string/argz.h: Likewise.
6371         * sysdeps/generic/bits/sigset.h: Likewise.
6372         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6373         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
6374         * sysdeps/wordsize-32/inttypes.h: Likewise.
6375         * sysdeps/wordsize-64/inttypes.h: Likewise.
6376         * wcsmbs/wchar.h: Likewise.
6377
6378         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
6379         to allow compilation without optimization.
6380
6381 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6382
6383         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
6384         more entries.
6385         * nis/nss_compat/compat-initgroups.c: Likewise.
6386         * nis/nss_compat/compat-pwd.c: Likewise.
6387         * nis/nss_compat/compat-spwd.c: Likewise.
6388         * nis/nss_nis/nis-alias.c: Likewise.
6389         * nis/nss_nis/nis-ethers.c: Likewise.
6390         * nis/nss_nis/nis-grp.c: Likewise.
6391         * nis/nss_nis/nis-hosts.c: Likewise.
6392         * nis/nss_nis/nis-initgroups.c: Likewise.
6393         * nis/nss_nis/nis-network.c: Likewise.
6394         * nis/nss_nis/nis-proto.c: Likewise.
6395         * nis/nss_nis/nis-pwd.c: Likewise.
6396         * nis/nss_nis/nis-rpc.c: Likewise.
6397         * nis/nss_nis/nis-service.c: Likewise.
6398         * nis/nss_nis/nis-spwd.c: Likewise.
6399
6400         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
6401
6402         * nis/ypclnt.c: Try binding dir only first time, could be to old.
6403
6404         * nis/yp_xdr.c: Remove 1024 byte limit.
6405         * nis/ypupdate_xdr.c: Likewise.
6406
6407         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
6408         wrong data.
6409
6410 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
6411
6412         * Rules (binaries-static, binaries-shared static pattern rules):
6413         Depend on lib%, not just libc%, from $(link-libc{,-static}).
6414
6415         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
6416         this here, overriding Makeconfig generic value so we link against
6417         the RPC libs.
6418
6419 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
6420
6421         * posix/tstgetopt.c (options): Add NULL entry at end
6422         Patch by Adrian Miranda <ade@psg.com>.
6423
6424 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
6425
6426         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
6427         to 9.
6428
6429 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
6430
6431         * elf/elf.h: Add PPC Diab relocations.
6432
6433         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
6434
6435 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
6436
6437         * manual/texinfo.tex: Update.
6438
6439 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
6440
6441         * sysdeps/powerpc/backtrace.c: New file.
6442
6443 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
6444
6445         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
6446         sigjmp_save.
6447         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
6448
6449 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6450
6451         * Makefile (install-symbolic-link): Fix spelling.
6452
6453 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6454
6455         * elf/elf.h (SHT_HIOS): Fix value.
6456
6457 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6458
6459         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
6460         part of the expansion, this is undefined by the standard.
6461
6462 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
6463
6464         * posix/getconf.c: Add support for systems with incomplete confname.h.
6465
6466         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
6467
6468         * sysdeps/posix/wait3.c: Make it work.
6469
6470 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6471
6472         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
6473         (elf/ldso_install): Remove.
6474
6475         * elf/Makefile (distribute): Add sln.c.
6476         (others): Add sln.
6477         (others-static): Add sln.
6478         (install-rootsbin): Add sln.
6479         (others-static): Add sln.
6480         (ldso_install): Remove.
6481
6482 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6483
6484         * Makerules (install-clean-symbolic-link-list): Make phony.
6485         * Makefile (install-symbolic-link): Make phony.  Depend on
6486         subdir_install for parallel makes.
6487
6488
6489 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
6490
6491         * elf/Makefile (distribute): Add sln.c
6492
6493 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
6494
6495         * elf/sln.c: New file.
6496
6497         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
6498         (install-clean-symbolic-link-list): New target.
6499         (install): Depend on install-clean-symbolic-link-list.
6500         (make-shlib-link): Changed for $(symbolic-link-list).
6501
6502         * Makefile (install-symbolic-link): New target.
6503         (install): Depend on install-symbolic-link.
6504
6505 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
6506
6507         * include/unistd.h: Protect against multiple inclusion.
6508
6509         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
6510         is defined, not is glob is defined.
6511         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
6512
6513 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
6514
6515         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
6516         xdr_string for ut_line, ut_name and ut_host.
6517
6518 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6519
6520         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
6521         /var/mail in accordance with FHS 2.0.
6522         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
6523
6524 1998-08-12  Richard Henderson  <rth@cygnus.com>
6525
6526         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
6527         Update aliases for cancelation.
6528
6529         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
6530         playing with symbol versions.
6531
6532 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
6533
6534         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
6535         multiple inclusion protection.
6536         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
6537         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
6538         define all these to 1.
6539         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
6540
6541 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
6542
6543         * sysdeps/mach/usleep.c: Include <unistd.h>.
6544         (usleep): Return void.
6545
6546 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
6547
6548         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
6549         decl to inhibit warning in if_freenameindex defn.
6550
6551         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
6552
6553         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
6554
6555         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
6556         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
6557         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
6558         * sysdeps/mach/usleep.c: Likewise.
6559
6560         * sysdeps/mach/hurd/bind.c (bind): Add a const.
6561
6562         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
6563         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
6564         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
6565         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
6566         * sysdeps/mach/usleep.c (usleep): Likewise.
6567         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6568         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6569         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
6570         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
6571
6572 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
6573
6574         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
6575         (glob64): Fix typo.
6576
6577         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
6578         %p arg to fprintf, since `void *' is the right type already.
6579
6580 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
6581
6582         * sysdeps/mach/hurd/getcwd.c
6583         (_hurd_canonicalize_directory_name_internal): Do not loop forever
6584         for unknown root directories.
6585         (__getcwd): Return NULL when the current root directory could not
6586         be reached.
6587
6588 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
6589
6590         * string/strsignal.c (strsignal): Count real-time signals from zero.
6591
6592
6593 See ChangeLog.8 for earlier changes.