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