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