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