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