Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
2
3         * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
4         * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
5         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
6         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
7         * sysdeps/unix/sysv/linux/arm/Versions: Remove
8         setrlimit64@GLIBC_2.1.3.
9         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
10         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
11         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
12         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
13         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
14         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
15         so that setrlimit64@GLIBC_2.1 can report limits above 2G.
16         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
17         setrlimit): Remove syscall stubs, add normal syscalls.
18         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
19         Remove syscall stub.
20
21 2000-01-22  Andreas Jaeger  <aj@suse.de>
22
23         * localedata/tst-locale.sh: Enable test for de_DE.437.
24
25 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
26
27         * string/Versions: Export __strndup.
28
29 2000-01-23  Philip Blundell  <philb@gnu.org>
30
31         Add basic support for RPC over IPv6:
32         * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
33         for remote address.
34         (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
35         prototypes.
36         * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
37         clntudp6_bufcreate): New prototypes.
38         * inet/netinet/in.h (bindresport6): Likewise.
39         * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
40         * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
41         svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
42         bindresvport6 for GLIBC_2.2.
43         * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
44         * sunrpc/rpc_svcout.c: Likewise.
45         * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
46         simple assignment when copying addresses.
47         * sunrpc/svc_udp.c (cache_get): Likewise.
48         * sunrpc/svc_unix.c (rendezvous_request): Likewise.
49         * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
50         sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
51
52 2000-01-05  Philip Blundell  <philb@gnu.org>
53
54         * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
55
56 2000-01-23  Andreas Jaeger  <aj@suse.de>
57
58         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
59         parameter to fstat calls.
60
61 2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>
62
63         * sysdeps/generic/bits/socket.h
64         (__ss_aligntype, struct sockaddr_storage): Make these like Linux
65         version, replacing old type name `__ss_align'.
66
67 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
68
69         * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
70         (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
71         * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
72         (__lseek, lseek): Make these weak aliases for __libc_lseek.
73         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
74         (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
75         * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
76         (__open, open): Make these weak aliases for __libc_open.
77
78         * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
79         trailing comma.
80         (anonymous enum for MSG_*): Likewise.
81         (anonymous enum for SO_*): Likewise.
82
83 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
84
85         * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
86         (PR libc/1553).
87
88 2000-01-08  Mark Kettenis  <kettenis@gnu.org>
89
90         * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
91         (setitimer_locked): Use it to quantize the timer values.  Use
92         quantized timer values to check if the timeout changed.
93
94 2000-01-22  Andreas Jaeger  <aj@suse.de>
95
96         * sunrpc/rpc/svc.h: Fix description for svc_register.
97
98 2000-01-23  Mark Kettenis  <kettenis@gnu.org>
99
100         * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
101
102 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
103
104         * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
105         fixes part 2 of bug 1549.
106         * sunrpc/rpc_des.h: Remove unused defines.
107
108 2000-01-22  Mark Kettenis  <kettenis@gnu.org>
109
110         * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
111
112 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
113
114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
115         * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
116         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
117         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
118         * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
119         * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
120         and other inline functions for port access.
121         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
122         access functions.
123
124 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
125
126         * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
127         Patch by Bruno Haible <haible@ilog.fr>.
128
129 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
130
131         * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
132         them all at the end, eliding the final comma.
133         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
134
135 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
136
137         * intl/libintl.h: Add format_arg attributes to declarations of new
138         functions.
139
140         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
141         ngettext, and plural.
142         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
143         (test-srcs): Add tst-gettext.
144         (before-compile): Add $(objpfx)msgs.h.
145         Add rules for plural.c and msgs.h generation and running tst-gettext.\
146         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
147         and ngettext.
148         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
149         dcigettext with appropriate parameters.
150         * intl/dcigettext.c: New file.
151         * intl/dcngettext.c: New file.
152         * intl/dngettext.c: New file.
153         * intl/ngettext.c: New file.
154         * intl/gettextP.h (struct expression): Define.
155         (struct loaded_domain): Add plural and nplurals members.
156         Add prototypes for new internal functions.
157         * intl/libintl.h: Declare new functions.  Add optimizations for them.
158         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
159         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
160         header entry and parse and store the expression.
161         * intl/plural.y: New file.
162         * intl/po2test.sed: New file.
163         * intl/tst-gettext.c: New file.
164         * intl/tst-gettext.sh: New file.
165         * manual/message.texi: Document new interfaces.
166
167         * intl/gettext.c: Call __dcgettext directly.
168
169 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
170
171         * manual/getopt.texi (Using the getopt function): Fix description of
172         return value for format string starting with '-' (PR libc/1551).
173         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
174
175         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
176         Patch by jens.moeller@westgeo.com (PR libc/1550).
177
178         * locale/programs/ld-collate.c (struct element_t): Add wclast
179         and compute it where necessary.
180         (collate_output): Insert indirect references in the right order.
181
182         * math/Makefile (tests): Add test-misc.
183         * math/test-misc.c: New file.
184
185 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
186
187         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
188         with exponent >31 and < 63 (PR libc/1548).
189
190         * locale/programs/ld-collate.c (output_weightwc): Return index
191         measured in words, not bytes.  Don't write out words for ignored
192         characters.
193         (collate_output): Correct various problems with alignment in the
194         output file.
195         * locale/weight.h: Adjust for last change in ld-collate.c of adding
196         alignment padding.
197
198         * stdlib/strfmon.c: Don't report an error if final NUL is at the
199         end of the buffer.  Set errno correctly if floating-point number
200         would overflow buffer.
201
202         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
203
204         * locale/weight.h (findidx): Little optimization.  Correctly return
205         offset in indirect table.
206         * locale/programs/ld-collate.c (struct element_t): Add mblast
207         and compute it where necessary.
208         (insert_weights): Correctly handle missing weights in ellipsis
209         expression.
210         (handle_ellipsis): Correctly enqueue new element.
211         (collate_output): Insert indirect references in the right order.
212
213 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
214
215         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
216         written.
217         * wcsmbs/mbsrtowcs.c: Likewise.
218         * wcsmbs/wcrtomb.c: Likewise.
219         * wcsmbs/wcsrtombs.c: Likewise.
220
221         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
222         with s == NULL.
223
224         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
225         in gconv function.
226
227         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
228         incomplete but correct.
229
230         * locale/programs/charmap.c: NUL-terminate names of generated
231         entries for ellipsis.
232
233 2000-01-18  Andreas Jaeger  <aj@suse.de>
234
235         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
236         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
237         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
238         _STAT_VER_KERNEL handling up; don't save errno.
239         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
240         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
241         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
242         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
243         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
244         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
245         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
246         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
247         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
248
249 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
250
251         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
252         Remove done variable and all uses.
253         * iconv/skeleton.c: Update comment for *written modification.
254         * iconv/gconv_int.h (__gconv): Update comment.
255         Reported by Bruno Haible.
256
257 2000-01-18  Bruno Haible  <haible@ilog.fr>
258
259         * posix/fnmatch.c (ISWCTYPE): New macro.
260         (__wcschrnul): New function.
261         (BTOWC): New macro. Define it instead of __btowc.
262         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
263         wcsrtombs. Call wctype, not __wctype.
264         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
265         BTOWC instead of __btowc.
266
267 2000-01-18  Andreas Jaeger  <aj@suse.de>
268
269         * inet/Versions: Add new functions added on 2000-01-17.
270
271 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
272
273         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
274
275 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
276
277         * timezone/antarctica: Update from tzdata2000a.
278         * timezone/asia: Likewise.
279         * timezone/australasia: Likewise.
280         * timezone/backward: Likewise.
281         * timezone/northamerica: Likewise.
282         * timezone/southamerica: Likewise.
283         * timezone/zone.tab: Likewise.
284
285         * nscd/connections.c (dbs): Use
286         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
287         Pretty printing.
288
289         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
290         address.  Suggested by Philip Blundell.
291
292         * posix/TESTS: Fix expected result for test cases with * with no
293         leading expression.
294
295         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
296         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
297         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
298         open call would require read permission.
299         Patch by James Antill <james@and.org>.
300
301         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
302
303         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
304         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
305         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
306
307         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
308         * posix/regex.c (regex_compile): Return appropriate errors for
309         unterminated brace expressions.  Detect invalid characters
310         in brace expressions.
311         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
312         * sysdeps/posix/sysconf.c: Include regex.h.
313         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
314
315 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
316
317         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
318         AI_NUMERICHOST flag is set, return an error.
319         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
320
321         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
322         iruserok_af.
323         * inet/rexec.c: Implement rexec_af.
324         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
325
326         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
327         and rresvport_af.
328
329 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
330
331         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
332         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
333         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
334         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
335         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
336         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
337         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
338         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
339         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
340         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
341         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
342         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
343
344         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
345         Renamed from msgctl.
346         (__new_msgctl): New function.
347         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
348         Renamed from semctl.
349         (__new_semctl): New function.
350         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
351         Renamed from shmctl.
352         (__new_shmctl): New function.
353
354         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
355         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
356         * sysdeps/unix/sysv/linux/semget.c: Likewise.
357         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
358         * sysdeps/unix/sysv/linux/semop.c: Likewise.
359         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
360         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
361         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
362
363         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
364         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
365         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
366
367         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
368
369 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
370
371         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
372         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
373         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
374         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
375         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
376         syscalls.
377
378         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
379         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
380
381         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
382         available on sparc since 2.3.39.
383
384         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
385
386 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
387
388         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
389         prototype.
390         (__real_chown): Return EINVAL if owner or group are out of the range
391         -1U .. 65534.
392         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
393         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
394         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
395         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
396         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
397         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
398         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
399         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
400         prototype.
401         Don't include non-existant header.
402         (__chown): Return EINVAL if owner or group are out of the range
403         -1U .. 65534.
404         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
405         setresgid): Inherit standard linux/syscalls.list definitions.
406         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
407         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
408         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
409         __setresgid symbol.
410
411 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
412
413         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
414         from 1989 change in ISO 639.
415
416 2000-01-12  Andreas Jaeger  <aj@suse.de>
417
418         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
419         function; needed for 32bit uid support.
420
421         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
422         uids correctly.
423
424 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
425
426         * intl/locale.alias: Add entries for galician.
427
428         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
429         try to get sequence from charmap with Uxxxxxxxx name.
430         (charclass_ucs4_ellipsis): Likewise.
431         (charclass_charcode_ellipsis): Allow byte sequence missing.
432         (read_writestring): Free allocated memory in case of an error.
433         (set_class_defaults): Don't search repertoire map for wide character
434         default values; we know it's UCS4.
435
436         * locale/programs/repertoire.c (repertoire_find_value): Just return an
437         error if no repertoire map was loaded.
438         (repertoire_find_symbol): Likewise.
439         (repertoire_find_seq): Likewise.
440
441         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
442         twice, to define singlebyte and multibyte version.
443         (fnmatch): Differentiate between singlebyte and multibyte locale and
444         call appropriate internal function.
445         * posix/fnmatch_loop.c: New file.
446         * posix/Makefile (distribute): Add fnmatch_loop.c.
447
448         * locale/programs/repertoire.c (repertoire_read): Don't print
449         error message when repertoire map is missing.
450         (repertoire_complain): Print error message for missing map, but only
451         once.
452         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
453
454         * locale/programs/linereader.c (get_string): Prefer getting names
455         from charseq entries.  Try finding Uxxxxxxxx names in charmap
456         before trying to map from repertoire.
457
458 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
459
460         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
461         error in last change.
462         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
463
464         * stdlib/longlong.h: Fix typo in last patch.
465
466 2000-01-12  Andreas Jaeger  <aj@suse.de>
467
468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
469         Added for Linux 2.3.39+.
470
471         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
472         32bit GIDs.
473         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
474         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
475         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
476         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
477         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
478         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
479         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
480         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
481         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
482         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
483         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
484         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
485         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
486         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
487         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
488
489         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
490         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
491         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
492         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
493         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
494         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
495         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
496         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
497         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
498         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
499         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
500         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
501         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
502         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
503         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
504         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
505         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
506         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
507         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
508         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
509         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
510         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
511         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
512         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
513         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
515         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
516         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
517
518 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
519
520         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
521
522 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
523
524         * sysdeps/generic/backtrace.c: Include signal.h which
525         sigcontextinfo.h headers are used to expect.
526         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
527         (register_dump): Fix a typo in the printout.
528         Avoid using reg_window, so that asm/ptrace.h is not necessary.
529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
530         (ADVANCE_STACK_FRAME): Likewise.
531
532         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
533         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
534         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
535
536         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
537         to make it clear this file depends on __WORDSIZE.
538         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
539         Renamed from have_no_truncate64.
540         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
541         Likewise.
542
543 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
544
545         * Makeconfig (rpath-dirs): Remove db2.
546         (dbojdir): Remove variable.
547
548         * locale/programs/locfile.h (handle_copy): Take repertoire map
549         name as parameter, not pointer to repertoire structure.
550         * locale/programs/ld-address.c: Change caller.
551         * locale/programs/ld-ctype.c: Likewise.
552         * locale/programs/ld-identification.c: Likewise.
553         * locale/programs/ld-measurement.c: Likewise.
554         * locale/programs/ld-messages.c: Likewise.
555         * locale/programs/ld-monetary.c: Likewise.
556         * locale/programs/ld-name.c: Likewise.
557         * locale/programs/ld-numeric.c: Likewise.
558         * locale/programs/ld-paper.c: Likewise.
559         * locale/programs/ld-telephone.c: Likewise.
560         * locale/programs/ld-time.c: Likewise.
561
562 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
563
564         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
565         mmap2 is available when compiling but no at runtime.
566
567 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
568
569         * iconvdata/iso-ir-165.c: New file.
570         * iconvdata/iso-ir-165.h: New file.
571         * iconvdata/Makefile: Add rules to build libISOIR165.
572
573         * Makefile (install): Correct passing -r parameter to ldconfig.
574
575         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
576         Reported by Bruno Haible <haible@ilog.fr>.
577
578 2000-01-11  Andreas Schwab  <schwab@suse.de>
579
580         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
581
582 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
583
584         * nss/getent.c: Add ipv6 support for hosts.
585
586 2000-01-05  Philip Blundell  <pb@futuretv.com>
587
588         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
589         getrlimit64, setrlimit64 for GLIBC_2.1.3.
590         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
591         oldsetrlimit.
592         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
593         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
594         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
595         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
596         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
597         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
598
599         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
600         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
601         [subdir=misc] (sysdep_headers): Add sys/elf.h.
602
603 2000-01-09  Andreas Jaeger  <aj@suse.de>
604
605         * manual/install.texi (Tools for Compilation): Update required
606         compiler version.
607         (Configuring and compiling): Restore old comments about
608         configparms; modify to reflect current usage.
609
610 2000-01-09  Philip Blundell  <philb@gnu.org>
611
612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
613         resolution if the hints included AI_NUMERICHOST.
614
615 2000-01-11  Andreas Schwab  <schwab@suse.de>
616
617         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
618         infinite loop to avoid pulling in stdio in the dynamic linker.
619         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
620
621 2000-01-10  Andreas Jaeger  <aj@suse.de>
622
623         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
624         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
625         EM_MIPS_RS3_LE.
626         * sysdeps/mips/mips64/dl-machine.h: Likewise.
627
628         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
629         gregset_t, fpregset_t, and NGREG definitions.
630
631         * sysdeps/mips/Implies: Add wordsize-32.
632
633         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
634         int's.
635
636         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
637         missing int's.
638
639         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
640         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
641         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
642         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
643         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
644         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
645         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
646
647 2000-01-09  Philip Blundell  <philb@gnu.org>
648
649         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
650         (dl_platform_init): Allow _dl_platform to be NULL.
651
652         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
653         last change.
654
655 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
656
657         * nscd/connections.c (handle_request): Handle systems without
658         SO_PEERCRED.
659         (nscd_run): Likewise.
660
661 2000-01-07  Andreas Jaeger  <aj@suse.de>
662
663         Add support for Berkeley db 3.0.x and merge db support:
664         * nss/nss_db/dummy-db.h (struct db30): New.
665         (struct dbc30): New.
666         Added DB30* flags.
667
668         * nss/makedb.c: Move all database routines to db-open.c.
669         (main): Adjust to interface changes.
670         Load database early to initialize version dependend variables.
671
672         * nss/db-open.c: Merge database routines from makedb.c.
673         Define version dependend constansts as variables.
674         (load_db): Check also for db 3.
675         (internal_setent): Call dbopen.
676         (db_cursor): New function from makedb; handles db 3 now.
677         (dbopen): New function from makedb; handles db 3.
678
679         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
680         different in different DB versions.
681
682         * nss/nss_db/nss_db.h: Add version dependend constants as
683         variables, add exportet interfaces from db-open.c.
684
685         * nss/Makefile ($(objpfx)makedb): Link against db-open.
686
687 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
688
689         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
690         Reported by Jim Meyering.
691
692         * time/strftime.c: Pretty printing.
693
694 2000-01-07  Andreas Jaeger  <aj@suse.de>
695
696         * manual/socket.texi (Host Names): Fix example.
697         Reported by Marco Budde <budde@telos.de>.
698
699 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
700
701         * localedata/Makefile (install-locales): Create locale directory
702         if it does not exist.
703
704         * locale/programs/charmap.c (charmap_read): Call lr_open here and
705         not in parse_charmap.  Try also the directories on the I18NPATH.
706         (parse_charmap): Change accordingly.
707
708 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
709
710         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
711         and oldsetrlimit64.c.
712
713         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
714         sys/procfs.h.
715
716         * manual/texinfo.tex: Updated from latest official version.
717
718         * debug/Makefile (distribute): Add frame.h.
719
720 2000-01-05  Philip Blundell  <philb@gnu.org>
721
722         * sysdeps/arm/frame.h: New file.
723         * sysdeps/generic/frame.h: Likewise.
724         * sysdeps/generic/segfault.c (struct layout): Delete definition;
725         include the above file instead.
726         * sysdeps/generic/backtrace.c (struct layout): Likewise.
727         (__backtrace): Use ADVANCE_STACK_FRAME.
728         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
729         (ADVANCE_STACK_FRAME): New macro.
730         (GET_FRAME): Apply above to returned value.
731
732         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
733
734 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
735
736         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
737         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
738
739         * io/ftw.c (process_entry): Cache object dev/inode only for
740         directories (PR libc/1514).
741
742 2000-01-05  Andreas Schwab  <schwab@suse.de>
743
744         * locale/programs/charmap.c (charmap_read): Fix typo.
745
746 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
747
748         * locale/programs/charset.c: Removed.
749
750         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
751         * iconvdata/gconv-modules: Likewise.
752         * iconvdata/iso8859-16.c: New file.
753
754 2000-01-05  Andreas Schwab  <schwab@suse.de>
755
756         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
757
758 2000-01-05  Andreas Jaeger  <aj@suse.de>
759
760         * intl/locale.alias: Add lithunian entry.
761         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
762
763 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
764
765         * locale/programs/stringtrans.c: Removed.
766         * locale/programs/stringtrans.h: Removed.
767         * locale/programs/linereader.c: Remove #include of stringtrans.h.
768
769         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
770         _POSIX_MAPPED_FILES is not defined.
771
772         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
773         for loc_name copy.
774
775         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
776         _nl_POSIX_name instead of "C" and "POSIX" strings.
777
778         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
779         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
780         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
781         reuse the _nl_C_LC_CTYPE_tolower table.
782         (_nl_C_LC_CTYPE_toupper32): Likewise.
783         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
784         toupper32 entries.
785
786         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
787         characters >= 0x80.
788         (_nl_C_LC_CTYPE_class32): Likewise.
789
790         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
791         aio_idle_time.
792         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
793         after the operation is done.  Let them linger for a user-definable
794         time.
795         * rt/aio_cancel.c: Likewise.
796         Patch by Willian M Shubert <william.m.shubert@intel.com>.
797
798         * sysdeps/i386/i686/add_n.S: New file.
799
800 2000-01-02  Philip Blundell  <philb@gnu.org>
801
802         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
803         to obtain port mapping information.  Avoid use of mprotect.
804
805 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
806
807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
808         definition from 2.3.36.
809
810 2000-01-04  Andreas Jaeger  <aj@suse.de>
811
812         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
813         (struct db27): Add missing fields byteswapped, join and flags;
814         remove wrong member handleq.
815         (struct dbc27): Correct lock field.
816
817         * nss/makedb.c: Remove __P.
818
819 2000-01-04  Andreas Jaeger  <aj@suse.de>
820
821         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
822         success, fix a memory leak and clean up function.
823
824 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
825
826         * Makefile (install): Pass $(install_root) to ldconfig.
827         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
828
829 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
830
831         * soft-fp/op-1.h: Fix division for machines using not normalizing
832         version of udiv_qrnnd in longlong.h.
833         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
834         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
835         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
836         Patch by Eddie C. Dost <ecd@skynet.be>.
837
838         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
839
840 2000-01-03  Andreas Schwab  <schwab@suse.de>
841
842         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
843         needed for change in common symbol handing in newer binutils.
844
845 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
846
847         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
848         kernel without mmap2 syscall.
849
850 2000-01-03  Philip Blundell  <philb@gnu.org>
851
852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
853         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
854         ARM for kernels >= 2.3.35.
855
856 2000-01-03  Philip Blundell  <philb@gnu.org>
857
858         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
859         Optimise error handling a little.
860         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
861
862 2000-01-03  Andreas Jaeger  <aj@suse.de>
863
864         * include/resolv.h: Remove declarations for __ns_name_ntop and
865         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
866
867 2000-01-03  Andreas Jaeger  <aj@suse.de>
868
869         * time/tst-strptime.c (test_tm): Add tests for all fields of
870         struct tm.
871
872 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
873
874         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
875
876 2000-01-03  Andreas Jaeger  <aj@suse.de>
877
878         * string/tester.c (test_strsep): Add one more test.
879
880 2000-01-03  Philip Blundell  <philb@gnu.org>
881
882         * string/tester.c (test_mempcpy): New function.
883         (main): Call it.
884         (test_memcpy): Test unaligned cases too.
885
886         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
887
888         * sysdeps/arm/fpu/bits/mathdef.h: New file.
889
890 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
891
892         * posix/Makefile (tests): Add tst-mmap.
893         * posix/tst-mmap.c: New file.
894
895         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
896         call before handling error.
897
898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
899         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
900
901         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
902         0xa2e6 and 0xa2e7.
903         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
904         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
905         mappings.
906         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
907         * iconvdata/testdata/ISO-2022-KR: Likewise.
908
909         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
910
911         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
912         ISO-8859-13.
913         * iconvdata/Makefile (distribute): Remove baltic.c.
914         (modules): Remove BALTIC.
915         (gen-8bit-gap-modules): Remove baltic.
916         * iconvdata/baltic.c: Removed.
917
918         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
919
920         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
921
922         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
923         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
924         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
925
926         * nss/Makefile: Add rules to build makedb.
927         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
928         * nss/nss_db/dummy-db.h: Likewise.
929         * nss/makedb.c: New file.  Copied from file in db2, modified to not
930         depend on being linked against libdb.
931
932 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
933
934         * Makeconfig (all-subdirs): Remove db and db2.
935         * db/*: Removed.
936         * db2/*: Removed.
937
938         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
939         functions from here...
940         * nss/db-alias.c: ...and here...
941         * nss/db-netgrp.c: ...and here...
942         * nss/nss_db/db-open.c: ...to here.  New file.
943         * nss/nss_db/dummy-db.h: New file.
944         * nss/nss_db/nss_db.h: New file.
945         * nss/Depend: Depend in dlfcn, not db2.
946         * nss/Makefile (libnss_db-routines): Add db-open.
947         (distribute): Add nss_db.h dummy-db.h.
948         (libnss_db.so): Replace libdb dependency by $(libdl).
949         Based on a patch by Zack Weinberg.
950
951         * locale/programs/ld-ctype.c: Implement rest of transliteration
952         definition parsing.
953         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
954         * locale/programs/locfile-token.h: Add tok_translit_ignore.
955
956 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
957
958         * locale/programs/ld-collate.c (collate_output): Emit correct
959         information for collation elements.
960         Don't write over end of array idx.
961         * posix/regex.c: Handle also collation elements at end of range.
962
963         * posix/PTESTS: Fix a few typos.
964
965         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
966         no idea where this came from.
967         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
968
969 1999-12-31  Andreas Jaeger  <aj@suse.de>
970
971         * libio/strfile.h: Remove K&R compatibility.
972         * locale/langinfo.h: Likewise.
973         * locale/localeconv.c (localeconv): Likewise.
974         * locale/programs/simple-hash.h: Likewise.
975         * nis/nis_xdr.h: Likewise.
976         * nis/rpcsvc/nislib.h: Likewise.
977         * nis/rpcsvc/nis_callback.h: Likewise.
978         * nis/rpcsvc/nis.h: Likewise.
979         * nis/ypclnt.c: Likewise.
980         * nscd/nscd_proto.h: Likewise.
981         * nscd/nscd.c: Likewise.
982         * sysdeps/generic/inttypes.h: Likewise.
983         * sysdeps/gnu/utmpx.h: Likewise.
984
985         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
986         * sunrpc/rpcsvc/rusers.x: Likewise.
987
988         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
989
990         * elf/dl-misc.c: Remove __libc_write prototype since it's already
991         in include/unistd.h.
992         * elf/dl-profile.c: Likewise.
993         * elf/dl-load.c: Likewise for __libc_read.
994
995         * elf/dl-profile.c: Remove __P.
996         * elf/sprof.c: Likewise.
997         * elf/sln.c: Likewise.
998
999 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
1000
1001         * locale/langinfo.h: Add constants for wide character collation
1002         symbol table.
1003         * locale/categories.def: Add appropriate entries for collate symbol
1004         table entries.
1005         * locale/C-collate.c: Add initializers for new entries.
1006         Remove commented out code.
1007         * locale/elem-hash.h: New file.
1008         * locale/Makefile (distribute): Add elem-hash.h.
1009         * locale/programs/ld-collate.c: Implement output of collate symbol
1010         table.
1011
1012         * posix/regex.c: Implement collation class handling.
1013
1014 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1015
1016         * posix/regex.c (regex_compile): Implement equivalence class handling.
1017
1018 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
1019
1020         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
1021         (OPCODE_LWZU): New macro.
1022         (OPCODE_ADDIS_HI): New macro.
1023         (OPCODE_LIS_HI): New macro.
1024         (__elf_machine_runtime_setup): Change PLT code-generation scheme
1025         for thread safety even with very large PLTs, better efficiency,
1026         and to fix a cache-flushing bug.  Also support the Motorola
1027         8xx processors which have a different cache line size than all
1028         the others.
1029         (__elf_machine_fixup_plt): Likewise.
1030         (__process_machine_rela): Don't use elf_machine_fixup_plt.
1031
1032 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1033
1034         * wcsmbs/wcscoll.c: Use multibyte character version.
1035         * wcsmbs/wcsxfrm.c: Likewise.
1036         * string/strcoll.c: Prepare to be used for the wide character version.
1037         * string/strxfrm.c: Likewise.
1038         * locale/weightwc.h: New file.
1039
1040 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
1041
1042         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
1043         the (void) casts as now feraiseexcept returns a value.
1044         (feclearexcept): Likewise.
1045
1046         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
1047         it interferes with the macros for AIX.
1048
1049 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
1050
1051         * locale/programs/ld-collate.c (collate_finish): Always define
1052         weight for UNDEFINED if not defined by the user but don't complain
1053         unless it is needed in the multibyte character table.
1054         (collate_output): Add extra dummy elements in wide char tables in the
1055         same way done for multibyte.  Always output undefined entry in
1056         wide character table.
1057
1058         * locale/Makefile (categories): Remove commented-out old definition.
1059
1060         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
1061         to new_element if the wide char is not valid.
1062         (handle_ellipsis): Likewise.
1063         (collate_read): It's no problem if the string in the collating element
1064         definition cannot be represented as multibyte or wide char string.
1065
1066 1999-12-13  Andreas Jaeger  <aj@suse.de>
1067
1068         * resolv/resolv.h: Remove K&R compatibility.
1069
1070         * resolv/res_libc.c: Move definition of _res after res_init,
1071         res_init should use the threaded specific context.
1072
1073         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
1074         needed anymore.
1075
1076 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
1077
1078         * locale/langinfo.h: Add constants for wide character collation data.
1079         * locale/categories.def: Add appropriate entries for collate entries.
1080         * locale/C-collate.c: Add initializers for new entries.
1081         * locale/programs/ld-collate.c: Implement output of wide character
1082         tables.
1083
1084         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
1085         compute wide character table size a bit: it now gives up a bit of
1086         total table size for fewer levels.
1087
1088         * soft-fp/*: Tons of new files to implement floating-point arithmetic
1089         in software.
1090         Contributed by Richard Henderson, Jakub Jelinek and others.
1091
1092 1999-12-29  Andreas Jaeger  <aj@suse.de>
1093
1094         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
1095         <asm/io.h>; remove K&R compatibility; add missing ints.
1096
1097         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
1098         add missing ints.
1099
1100         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
1101
1102 1999-12-29  Andreas Jaeger  <aj@suse.de>
1103
1104         * manual/getopt.texi (Using Getopt): Document ordering of options.
1105
1106 1999-12-29  Andreas Jaeger  <aj@suse.de>
1107
1108         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
1109         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1110
1111 1999-12-14  Andreas Jaeger  <aj@suse.de>
1112
1113         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
1114         2.3.32.
1115
1116 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
1117
1118         * elf/sprof.c (load_shobj): Fix error message.
1119         (generate_call_graph): Cast %*s length argument to int.
1120         * locale/programs/localedef.c (construct_output_path): Likewise.
1121         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
1122         specifier.
1123         (ctype_class_new): Likewise.
1124         * locale/programs/ld-time.c (time_finish): Likewise.
1125         * sunrpc/svc_simple.c (register_rpc): Likewise.
1126         * nscd/connections.c (nscd_run, start_threads): Use long instead of
1127         int to avoid cast warnings.
1128         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
1129         warning.
1130         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
1131         variable se.
1132
1133         * time/strftime.c (my_strftime): Provide wide era string when
1134         requested.
1135
1136         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1137         Separate into 32bit and 64bit versions.
1138
1139 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
1140
1141         * iconvdata/Makefile (modules): Add ISO-2022-CN.
1142         Add link rules for this module.
1143         (distribute): Add iso-2022-cn.c and cns11643l2.h.
1144         * iconvdata/cns11643l2.h: New file.
1145         * iconvdata/iso-2022-cn.c: New file.
1146         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1147
1148         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1149         unsigned.
1150         (ucs4_to_cns11643l1): Likewise.
1151         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1152
1153         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1154         loop to UCS4.
1155         Optimize recognition of escape sequences a bit.
1156
1157         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1158         and oldsetrlimit definitions.
1159
1160 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1161
1162         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1163         identifying errors more easily.
1164
1165         * iconvdata/testdata/EUC-CN..UTF8: New file.
1166         * iconvdata/testdata/GBK..UTF8: New file.
1167
1168         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1169         mappings.  Fix last patch.
1170         * iconvdata/TESTS: Add GBK.
1171         * iconvdata/testdata/GBK: New file.
1172
1173         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1174         0x2312, and 0x2500..0x254b.
1175         * iconvdata/TESTS: Add EUC-CN.
1176         * iconvdata/testdata/EUC-CN: New file.
1177
1178         * iconvdata/gbgbk.c: New file.
1179         * iconvdata/Makefile (modules): Add GBGBK.
1180         (distribute): Add gbgbk.c.
1181         * iconvdata/gconv-modules: Add entries for GBGBK modules.
1182
1183         * iconvdata/euc-cn.c: Fix comment.
1184
1185         * iconvdata/gbk.c: Optimize the switch statement in the conversion
1186         to GBK a bit.
1187
1188         * locale/programs/charmap.c (charmap_new_char): Recognize special
1189         character names Uxxxx and Pxxxx and initialize the UCS4 value from
1190         the value of xxxx.
1191
1192 1999-12-17  Andreas Jaeger  <aj@suse.de>
1193
1194         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1195
1196 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
1197
1198         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1199         * stdlib/exit.h (flavor): Add ef_cxa.
1200         (exit_function): Add cxa variant.
1201         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1202         * stdlib/cxa_atexit.c: New file.
1203         * stdlib/cxa_finalize.c: New file.
1204
1205 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1206
1207         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1208         Unicode tables.
1209
1210 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1211
1212         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1213         __have_no_stat64.
1214         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1215         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1216
1217         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1218         of <asm/resource.h>.
1219
1220 1999-12-26  Philip Blundell  <philb@gnu.org>
1221
1222         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
1223         argument count for `syscall' to 7.
1224         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1225         with more than five arguments.
1226         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1227
1228 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1229
1230         * locale/programs/ld-collate.c (collate_output): Don't start with empty
1231         extrapool and indirectpool obstacks since we need the offsets to be
1232         nonzero.
1233         (collate_read): Call load_locale, not find_locale.
1234         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1235         wasn't defined in the file also initialize repertoire if possible.
1236         * locale/programs/ld-time.c (time_finish): Fix message string.
1237         * locale/programs/linereader.c: Cast parameters of lr_error to
1238         correct type to prevnet warning.
1239         * locale/programs/localedef.c (load_locale): New file.
1240         * locale/programs/localedef.h: Add its prototype.
1241         * locale/programs/repertoire.c (repertoire_new_char): Add missing
1242         parameters to lr_error call.
1243
1244         * localedata/Makefile: Enable running tests again.
1245         * localedata/tests/test2.def: Adjust syntax to new specification.
1246         * localedata/tests/test3.def: Likewise.
1247         * localedata/tst-trans.sh: Redirect output of program into file.
1248
1249         * string/strcoll.c: Fix many error in new implementation to make it
1250         pass (at least) the test suite.
1251
1252         * locale/Makefile: Don't link localedef statically anymore.
1253
1254         * locale/ld-collate.c (struct element_t): Add field is_character and
1255         use it to distinguish real character from collating elements and
1256         symbols.
1257         (new_element): Take new parameter to initialize is_character.  Change
1258         all callers.
1259         (handle_ellipsis): Use is_character field to make sure ellipsis is
1260         only used with characters.
1261         (collate_read): Fix reading of collating elements.
1262
1263         * string/strxfrm.c: Correct loop end detection and memory access
1264         in the little optimization at the end.
1265
1266         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1267         emit warnings.  Provide default value for mon_decimal_point.
1268
1269         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1270         category wasn't defined.
1271         (collate_output): Likewise.
1272
1273         * locale/programs/ld-address.c: Don't emit message about not defined
1274         category if be_quiet.
1275         * locale/programs/ld-ctype.c: Likewise.
1276         * locale/programs/ld-identification.c: Likewise.
1277         * locale/programs/ld-measurement.c: Likewise.
1278         * locale/programs/ld-messages.c: Likewise.
1279         * locale/programs/ld-monetary.c: Likewise.
1280         * locale/programs/ld-name.c: Likewise.
1281         * locale/programs/ld-numeric.c: Likewise.
1282         * locale/programs/ld-paper.c: Likewise.
1283         * locale/programs/ld-telephone.c: Likewise.
1284         * locale/programs/ld-time.c: Likewise.
1285
1286         * locale/programs/locfile.c (write_locale_data): Correct memory
1287         allocation for fname.
1288
1289 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
1290
1291         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1292         (collate_finish): Test that position is used in all sections for
1293         a level or in none.
1294
1295         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
1296         of the index returned by findidx.
1297
1298         * string/strcoll.c: Complete rewrite for new collate implementation.
1299         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1300         locally.
1301
1302         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1303         indirect table.
1304         * locale/langinfo.h: Likewise.
1305         * locale/categories.def: Likewise.  Remove reference to postload
1306         functions.
1307         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
1308         __collate_tablemb, __collate_weightmb, and __collate_extramb.
1309         * locale/localeinfo.h: Remove declaration for removed variables above.
1310         Remove prototype for _nl_get_era_entry.
1311         * locale/weight.h: Complete rewrite for new collate implementation.
1312         * locale/programs/ld-collate.c: Many changes to make output file
1313         usable in strxfrm/strcoll.
1314         * string/strxfrm.c: Complete rewrite for new collate implementation.
1315         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1316         locally.
1317
1318 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
1319
1320         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1321         transformation values for chars >255.
1322         * wctype/wctrans.c: Return pointer unmodified.
1323
1324 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
1325
1326         * sysdeps/posix/system.c (__libc_system): Check whether command
1327         processor is available if LINE is NULL.  Don't return immediately
1328         if wait call returned with EINTR.
1329         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1330
1331 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
1332
1333         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1334         prevent warning.
1335
1336         * locale/programs/ld-collate.c: Implement writing out multibyte
1337         collation data.
1338
1339         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1340         * locale/localeinfo.h: Declare variables only for currently implemented
1341         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1342         * locale/lc-collate.c: Define variables only for currently implemented
1343         functionality.
1344         * locale/langinfo.h: Define symbols only for currently implemented
1345         functionality.
1346         * locale/categories.def: Define elements for currently implemented
1347         functionality.
1348         * locale/C-collate.c: Comment out definitions of arrays with symbol
1349         name definitions etc.
1350         (_nl_C_LC_COLLATE): Update for currently defined information.
1351
1352         * intl/libintl.h: Remove dcgettext macro definition.
1353         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1354
1355         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
1356
1357         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1358         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
1359
1360 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
1361
1362         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1363         for __fenv_stfsr argument.
1364         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1365         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1366         Remove ugetrlimit.
1367         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1368         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1369         (XSTAT_IS_XSTAT64): Define.
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1371         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1372         and __libc_pwrite64.
1373         Remove oldgetrlimit and oldsetrlimit.
1374         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1375         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1376         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1377
1378         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1379         pointer to the syscall, not address of that pointer.
1380         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1381         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1382         (__syscall_stat64): Provide proper prototype.
1383
1384         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1385         has_no_truncate64 between truncate64 and ftruncate64.
1386         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1387
1388         * sysdeps/unix/sysv/linux/kernel-features.h
1389         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1390         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1391
1392 1999-12-22  Andreas Jaeger  <aj@suse.de>
1393
1394         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1395         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1396
1397 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
1398
1399         * locale/lc-time.c: Extend structure era_entry.
1400         * locale/localeinfo.h: Likewise.
1401         * locale/lc-time.c: Handle '-' direction used in locale's era part
1402         properly.
1403         * time/strptime.c: Likewise.
1404         * time/strftime.c: Likewise.
1405         * locale/programs/ld-time.c: Consider negative values in era part
1406         of locale as B.C..
1407         * time/strptime.c (strptime_internal): Merged Yoshiyama's
1408         %E[CyY] implementation.
1409
1410 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
1411
1412         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1413         of recursive() call.
1414         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1415         parsing.
1416
1417 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
1418
1419         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1420         Patch by Scott Bambrough <scottb@netwinder.org>.
1421
1422 1999-12-21  Andreas Schwab  <schwab@suse.de>
1423
1424         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1425
1426         * include/unistd.h: Declare __libc_lseek.
1427
1428 1999-12-21  Andreas Jaeger  <aj@suse.de>
1429
1430         * stdlib/longlong.h: Remove __P.
1431
1432 1999-12-21  Andreas Jaeger  <aj@suse.de>
1433
1434         * sysdeps/powerpc/fpu/libm-ulps: New file.
1435
1436 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
1437
1438         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1439         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1440
1441 1999-12-21  Andreas Jaeger  <aj@suse.de>
1442
1443         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
1444         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
1445         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
1446         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
1447         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1448         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1449         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1450         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1451         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1452         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
1453         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
1454         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
1455
1456 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
1457
1458         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
1459         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
1460         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
1461         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
1462         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
1463         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
1464         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
1465         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
1466         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
1467         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
1468         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
1469         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
1470         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
1471         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
1472         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
1473         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
1474         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
1475         putpmsg.
1476
1477 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
1478
1479         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
1480         before testing for __ASSUME_STAT64_SYSCALL.
1481         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1482         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1483
1484 1999-12-20  Andreas Schwab  <schwab@suse.de>
1485
1486         * manual/install.texi (Running make install): Clearify that
1487         install_root should be an absolute file name.
1488
1489 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
1490
1491         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
1492
1493         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
1494         buffer is given to place conversion descriptor in initial state.
1495         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
1496         CSPC862LATINHEBREW.
1497         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
1498         (according to IANA registry).
1499         Reported by Bruno Haible <haible@ilog.fr>.
1500
1501         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1502
1503         * locale/categories.def: Remove most of the collate definitions.
1504         * locale/langinfo.h: Comment out corresponding definitions.
1505         * locale/programs/locale-spec.c (locale_special): Don't recognize the
1506         collate names yet.
1507         * locale/programs/ld-collate.c: Correct and optimize computation of
1508         weights.  Set up list of all definitions correctly.  Start writing
1509         function to generate output file.
1510
1511         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
1512         loop to compute default mapping.
1513
1514 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1515
1516         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
1517         cancelation wrapper.
1518         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1519         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1520         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1521
1522 1999-12-19  Andreas Jaeger  <aj@suse.de>
1523
1524         * sysdeps/generic/libc-start.c: Remove declaration of
1525         __libc_open.  Move declaration of __libc_fcntl to ...
1526         * include/fcntl.h: ...here.
1527
1528         * include/unistd.h: Move __libc_open and __libc_open64 to ...
1529         * include/fcntl.h: ...here.
1530
1531         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
1532         happened yet.
1533
1534         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
1535         rename label.
1536
1537 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1538
1539         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
1540         inclusion.
1541
1542 1999-12-19  Andreas Jaeger  <aj@suse.de>
1543
1544         * include/string.h: Mark __strndup with __attribute_malloc__.
1545
1546 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1547
1548         * locale/langinfo.h: Always define CODESET.
1549         (CODESET): Define also as macro.
1550
1551         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
1552         generate mantissa output in using malloc if it is larger than
1553         20000 characters.
1554         Reported by Jim Meyering <meyering@ascend.com>.
1555
1556 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
1557
1558         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
1559         available gcc version.
1560         * string/string.h: Mark strdup, __strdup, and strndup with
1561         __attribute_malloc__.
1562         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
1563         __attribute_malloc__.
1564         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
1565         and __default_morecore with __attribute_malloc__.
1566         Provide default definition for __attribute_malloc__.
1567         * libio/stdio.h: Make tempnam with __attribute_malloc__.
1568
1569         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1570         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1571         * io/Versions: Export __libc_open64 and __libc_lseek64.
1572         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1573         and __libc_pwrite64.
1574         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1575         wrapper.
1576         * sysdeps/generic/pread.c: Likewise.
1577         * sysdeps/generic/pread64.c: Likewise.
1578         * sysdeps/generic/pwrite.c: Likewise.
1579         * sysdeps/generic/pwrite64.c: Likewise.
1580         * sysdeps/posix/open64.c: Likewise.
1581         * sysdeps/posix/pread.c: Likewise.
1582         * sysdeps/posix/pread64.c: Likewise.
1583         * sysdeps/posix/pwrite.c: Likewise.
1584         * sysdeps/posix/pwrite64.c: Likewise.
1585         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1586         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1587         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1588         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1589         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1590         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1591         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1592         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1593         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1594
1595         * sysdeps/posix/open64.c: Help gcc generating better code.
1596
1597         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1598         instead of __open.
1599
1600 1999-12-11  H.J. Lu  <hjl@gnu.org>
1601
1602         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1603         instead of __fcntl.
1604
1605 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
1606
1607         * iconvdata/isiri-3342.c: New file.
1608         * iconvdata/Makefile (modules): Add ISIRI-3342.
1609         (distribute): Add isiri-3342.c.
1610         (gen-8bit-gap-modules): Add isiri-3342.
1611         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1612
1613         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1614
1615         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1616         result if necessary.
1617
1618         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1619         unreliable kernel headers.
1620         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1621         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1622         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1623         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1624
1625 1999-12-18  Andreas Jaeger  <aj@suse.de>
1626
1627         * config.make.in (datadir): Added.
1628         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1629
1630 1999-12-18  Andreas Jaeger  <aj@suse.de>
1631
1632         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1633         set errno.
1634         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1635
1636 1999-12-18  Andreas Jaeger  <aj@suse.de>
1637
1638         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1639         syscall if available.
1640         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1641         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1642
1643         * sysdeps/unix/sysv/linux/kernel-features.h
1644         (__ASSUME_STAT64_SYSCALL): New.
1645
1646 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
1647
1648         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1649         cache flush.
1650         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1651         after .text segment fixups.
1652
1653 1999-12-16  Andreas Jaeger  <aj@suse.de>
1654
1655         * rt/aio.h: Remove erroneous __restrict declarations.
1656
1657 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
1658
1659         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1660         do the job if it is there neither.
1661         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1662
1663 1999-12-16  Andreas Jaeger  <aj@suse.de>
1664
1665         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1666         duplicate definition with function __nan.
1667         Closes PR libc/1487 reported by <diana@kai.com>.
1668
1669 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
1670
1671         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1672
1673         * locale/programs/ld-collate.c: Implement handling of absolute
1674         ellipsis.  Parsing of file and constructing the internal data
1675         structures should now be complete.
1676         (collate_finish): Start adding support to generate the data
1677         structures which are written out to the file.
1678
1679         * intl/dcgettext.c: Rewrite to handle caching of previous results here
1680         instead of in the dcgettext macro.
1681         * intl/libintl.h (dcgettext): Don't define for systems using this
1682         glibc or systems with tsearch.
1683
1684         * sysdeps/generic/mathdef.h: Protect definitions for math.h
1685         against double inclusion.
1686         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1687         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1688         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1689         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1690
1691         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1692         that different?).
1693
1694 1999-12-17  Andreas Jaeger  <aj@suse.de>
1695
1696         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1697         struct with aiocb.
1698
1699         * rt/Makefile (tests): Added tst-aio64.
1700         Added dependency rules for tst-aio64.
1701
1702         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1703         64bit tests.
1704
1705 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
1706
1707         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1708         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1709         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1710         old value (signed long).
1711         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1712         long RLIM_INFINITY.
1713         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1714         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1715         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1716         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1717         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1718         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1719         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1720         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1721         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1722         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1723         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1724         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1725         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1726         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1727         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1728
1729 1999-12-17  Andreas Jaeger  <aj@suse.de>
1730
1731         * elf/ldconfig.c: Add new option -l to manualy link shared
1732         libraries.
1733         (options): Added option.
1734         (parse_opt): Set option.
1735         (main): Handle option.
1736         (manual_link): New function.
1737
1738 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
1739
1740         * string/bits/string2.h: Fix patch from 1999-12-07.
1741
1742 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
1743
1744         * sysdeps/generic/strsep.c: If delim string has only one character
1745         don't run over end of string.
1746
1747         * locale/programs/ld-collate.c (insert_weights): Also update next
1748         pointer of last cursor element.
1749         (insert_value): Return nonzero value if nothing got inserted.
1750         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1751
1752 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
1753
1754         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1755         where appropriate.
1756
1757 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
1758
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1760         Copy sa_flags into kernel sigaction structure.
1761
1762 1999-12-14  Andreas Jaeger  <aj@suse.de>
1763
1764         * string/tester.c (test_strsep): More tests for access beyond
1765         the final NUL.  The first two tests come from PR libc/1486 by
1766         martinea@iro.umontreal.ca.
1767
1768 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
1769
1770         * nis/ypclnt.c: Correct handling of cached client handles.
1771         (__xdr_ypresp_all): Call callback function for errors, too,
1772         like Solaris does.
1773         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1774         * nis/nss_compat/compat-initgroups.c: Likewise.
1775         * nis/nss_compat/compat-spwd.c: Likewise.
1776         * nis/nss_nis/nis-alias.c: Likewise.
1777         * nis/nss_nis/nis-ethers.c: Likewise.
1778         * nis/nss_nis/nis-grp.c: Likewise.
1779         * nis/nss_nis/nis-hosts.c: Likewise.
1780         * nis/nss_nis/nis-netgrp.c: Likewise.
1781         * nis/nss_nis/nis-publickey.c: Likewise.
1782         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1783         Map if available, optimize query if name/port and protocol is known.
1784
1785 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
1786
1787         * locale/programs/ld-collate.c (collate_read): Make symbolic
1788         ellipsis work.  Remove old and unused code.
1789
1790 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
1791
1792         * locale/programs/ld-collate.c (collate_read): Implement
1793         reorder-section handling.
1794
1795 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
1796
1797         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1798
1799         * locale/programs/ld-collate.c (collate_read): Add handling of
1800         reorder-after.
1801
1802         * locale/programs/ld-collate.c: Many changes to implement parsing
1803         of collation definition (still not complete).
1804
1805 1999-12-09  Andreas Jaeger  <aj@suse.de>
1806
1807         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1808         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1809         Reported by Christian Starkjohann <cs@obdev.at>.
1810
1811 1999-12-09  Andreas Jaeger  <aj@suse.de>
1812
1813         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1814
1815 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
1816
1817         * stdlib/longlong.h: Update from latest egcs version.
1818
1819         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1820
1821         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1822         has to preceede __attribute__, otherwise g++ barfs.
1823
1824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1825         on sparc64-*-linux.
1826
1827         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1828         use sigcontext.
1829         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1830
1831 1999-12-05  Wolfram Gloger  <wg@malloc.de>
1832
1833         * malloc/malloc.c (arena_get2): If generating a new arena fails,
1834         try to generate a minimal one and hope for mmap_chunk() to succeed
1835         later.
1836
1837 1999-11-07  Wolfram Gloger  <wg@malloc.de>
1838
1839         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1840         mutex_t work as an `in-use' flag even without threads.
1841         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1842         for multiple arenas separately from NO_THREADS.
1843         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1844         fall back to an mmap()ed arena when sbrk() has failed.
1845
1846 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
1847
1848         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1849         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1850         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1851         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1852         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1853         oldgetrlimit and oldsetrlimit.
1854         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1855         oldsetrlimit.
1856         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1857         oldsetrlimit rules into 32-bit arch subdirs.
1858         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1859
1860         * locale/programs/ld-collate.c (insert_value): If this is the
1861         first symbol the cursor can be the same as the next pointer.
1862
1863 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
1864
1865         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1866         arrays.
1867         (allocate_arrays): Allocate memory for map32.  Correctly install
1868         default values in it and install defined mappings.
1869
1870         * locale/programs/ld-monetary.c (monetary_finish): Provide default
1871         value for mon_grouping.
1872
1873         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1874         headers are not clean enough.
1875
1876         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1877
1878         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1879         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1880         on x86.
1881         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1882         * sysdeps/unix/sysv/linux/truncate64.c: New file.
1883         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1884         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1885
1886         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1887         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1888         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1889         _nl_C_LC_CTYPE_tolower32 tables.
1890         Don't compile it names of 14652 classes and maps.
1891         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1892         _NL_CTYPE_TOLOWER32.
1893         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1894         and __ctype32_tolower.
1895         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1896         (ctype_output): Write out map32 values.
1897         (allocate_arrays): Compute mapping tables correctly.
1898         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1899         (towupper): Use __ctype32_toupper.
1900         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1901
1902         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1903         determine tolower mapping for 8bit table if the tolower keyword is
1904         not given.
1905
1906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1907         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
1908
1909 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
1910
1911         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1912         __stpcpy_small): Cast switch expressions to int to shut up compiler
1913         warnings.
1914
1915 1999-12-07  Scott Bambrough <scottb@netwinder.org>
1916
1917         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1918         relocs if possible.
1919
1920 1999-12-06  Andreas Schwab  <schwab@suse.de>
1921
1922         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1923         ugetrlimit syscall exists.
1924
1925         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1926         exported symbols.
1927         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1928
1929 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
1930
1931         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1932         pointers if character is illegal.
1933         Reported by Bruno Haible <haible@ilog.fr>.
1934
1935         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1936         (increment_counter): New function.  Broken out of find_derivation.
1937         (find_derivation): No need for a lock.  Increment counter only when
1938         the derivation was already available.
1939         * iconv/gconv_dl.c: Add debugging functions.
1940         (known_compare): We have to use strcmp.
1941         Reported by Bruno Haible <haible@ilog.fr>.
1942
1943 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
1944
1945         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1946         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1947         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1948         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
1949         SHIFT_JIS alias.
1950         Reported by Bruno Haible <haible@ilog.fr>.
1951
1952         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1953
1954 1999-12-03  Andreas Jaeger  <aj@suse.de>
1955
1956         * nss/getXXbyYY.c: Include <resolv.h>
1957         (FUNCTION_NAME): Use res_ninit instead of res_init.
1958
1959         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1960         declaration and prototypes.
1961         Remove extra _res declaration.
1962         (INTERNAL): Use thread aware res_ninit function.
1963
1964         * inet/gethstbyad_r.c: Include <resolv.h>.
1965
1966         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
1967         res_libc.c.  Disabled unneeded functions.
1968
1969         * resolv/res_libc.c: New file.
1970
1971         * Versions.def: Add version GLIBC_2.2 for libpthread.
1972         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1973
1974         * include/resolv.h: Add internal interfaces.
1975
1976         * resolv/Makefile (routines): Add new files.
1977         (libresolv-routines): Likewise.
1978         (distribute): Likewise.
1979
1980         * resolv/gethnamaddr.c: Use thread safe resolver functions.
1981         * resolv/nss_dns/dns-host.c: Likewise.
1982         * resolv/nss_dns/dns-network.c: Likewise.
1983
1984         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1985         * resolv/nsap_addr.c: Likewise.
1986         * resolv/res_comp.c: Likewise.
1987         * resolv/res_debug.c: Likewise.
1988         * resolv/res_init.c: Likewise.
1989         * resolv/res_mkquery.c: Likewise.
1990         * resolv/res_query.c: Likewise.
1991         * resolv/res_send.c: Likewise.
1992         * resolv/resolv.h: Likewise.
1993
1994         * resolv/Versions: Add __res_state and __res_ninit with version
1995         GLIBC_2.2 to libc.
1996         Add new interfaces with version GLIBC_2.2 to libresolv.
1997
1998         * resolv/Banner: Update.
1999
2000         * include/arpa/nameser_compat.h: New file.
2001
2002         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
2003         * resolv/ns_netint.c: Likewise.
2004         * resolv/ns_parse.c: Likewise.
2005         * resolv/ns_print.c: Likewise.
2006         * resolv/ns_samedomain.c: Likewise.
2007         * resolv/ns_ttl.c: Likewise.
2008         * resolv/arpa/nameser_compat.h: Likewise.
2009         * resolv/res_debug.h: Likewise.
2010
2011         Some patches are based on work done by Adam D. Bradley
2012         <artdodge@cs.bu.edu>.
2013
2014 1999-11-30  Andreas Jaeger  <aj@suse.de>
2015
2016         Add ldconfig:
2017         * elf/Makefile (extra-objs): Added ldconfig-modules.
2018         (ldconfig-modules): New.
2019         Added vpath for xstrdup and xmalloc.
2020         Check for use-ldconfig instead of has-ldconfig.
2021         ($(objpfx)ldconfig): New rule with dependencies.
2022         (distribute): Add new files.
2023
2024         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
2025         developed together with Jakub Jelinek <jakub@redhat.com>.
2026         * sysdeps/generic/readelflib.c: Likewise.
2027
2028         * elf/cache.c: New file.
2029         * elf/ldconfig.c: New file.
2030         * elf/ldconfig.h: New file.
2031         * elf/readlib.c: New file.
2032
2033         * Makefile (install): Remove flag -d in ldconfig call.
2034
2035         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
2036         by default.
2037
2038         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
2039         comment.
2040
2041         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
2042         set always use_ldconfig instead.
2043
2044 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
2045
2046         * sysdeps/generic/bits/stropts.h: Update with LiS types and
2047         values.  Patch by David Grothe <dave@gcom.com>.
2048
2049         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
2050         Make long types.
2051         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2052         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2053         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2054
2055 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
2056
2057         * locale/lc-time.c (_nl_get_era_entry): Separate eras
2058         initialization as _nl_init_era_entry().
2059         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
2060         * locale/lc-time.c (_nl_get_era_year_offset): New function.
2061         * locale/lc-time.c (_nl_get_era_year_start): New function.
2062         * locale/localeinfo.h: Declare new functions.
2063         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
2064         and ERA_W_FORMAT.
2065
2066 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
2067
2068         * posix/regex.c (SYNTAX): Make more portable.
2069         Patch by Aharon Robbins <arnold@skeeve.com>.
2070
2071 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
2072
2073         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
2074         nonzero, use cthread_fork to create the signal thread.
2075         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
2076         _hurd_msgport_thread here (to self).
2077         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
2078         is zero, instead compute child signal thread's starting SP from parent
2079         signal thread's current SP and the threadvar_stack variables.
2080         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
2081         These are now referenced weakly by _hurdsig_init.
2082
2083         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
2084         &_hurd_itimer_thread not &_hurd_msgport_thread.
2085
2086 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
2087
2088         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
2089         without HURD_DPORT_USE to clean up warnings.
2090         * hurd/dtable.c (get_dtable_port): Likewise.
2091
2092         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
2093         (install_ctty): Do the changing of the cttyid port cell here, inside
2094         the critical section while we holding the dtable lock.
2095         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
2096         the port cell and calling rectty_dtable.
2097         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
2098         (install_ctty): Use it inside a critical section, with the lock held.
2099         * sysdeps/mach/hurd/setsid.c (__setsid): Use
2100         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
2101         after proc_setsid, having held the dtable lock throughout.
2102         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
2103         cttyid port for null and bail out early if so.  The dtable lock
2104         serializes us after any cttyid change and its associated dtable update.
2105
2106 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
2107
2108         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
2109         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
2110         We don't install this file for users.
2111         * sysdeps/mach/hurd/Dist: Add it.
2112         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
2113         Append nfs/nfs.h here.
2114
2115 1999-12-01  Andreas Jaeger  <aj@suse.de>
2116
2117         * sysdeps/generic/if_index.c (__protocol_available): Add missing
2118         int for parameter.
2119
2120         * stdio/stdio.h: Fix typo.
2121         Patches by Marcus G. Daniels <mgd@santafe.edu>.
2122
2123 1999-12-01  Andreas Jaeger  <aj@suse.de>
2124
2125         * scripts/test-installation.pl (installation_problem): Filter out
2126         libpthread_db.
2127
2128 1999-12-01  Andreas Schwab  <schwab@suse.de>
2129
2130         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
2131         __rlim_t and __rlim64_t.
2132         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2133         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2134
2135 1999-12-01  Andreas Schwab  <schwab@suse.de>
2136
2137         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2138         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2139         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2140         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2141         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2142         new kernel version.  Add symbol versions.
2143         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2144         oldgetrlimit.
2145         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2146         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2147         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2148         and s_ugetrlimit.
2149         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2150         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2151         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2152         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2153         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2154         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2155         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2156         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2157         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2158         file.
2159         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2160         file.
2161
2162 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
2163
2164         * sysdeps/generic/usleep.c: Fix typo.
2165
2166         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2167
2168         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2169         itself.
2170
2171         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2172         _UTSNAME_H.
2173
2174         * malloc/set-freeres.c: Really use already_called variable.
2175
2176         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2177         function call directly.
2178         * libio/iosetvbuf.c: Likewise.
2179
2180 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2181
2182         * configure.in: Add AIX 4.3 support.
2183
2184         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
2185         standard was issued in 1992.
2186         Reported by Bruno Haible <haible@ilog.fr>.
2187
2188 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2189
2190         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2191         SIGCLD als SIGCHLD.
2192
2193 1999-11-29  Andreas Jaeger  <aj@suse.de>
2194
2195         * manual/time.texi (Basic CPU Time): Better describe wrap around.
2196         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2197
2198 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2199
2200         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2201         Patch by Bruno Haible <haible@ilog.fr>.
2202
2203 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2204
2205         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2206
2207 1999-11-29  Andreas Schwab  <schwab@suse.de>
2208
2209         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2210         __v to __bswap_32_v.
2211         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2212         and __bswap_64_r to avoid clash with __bswap_32 macro.
2213
2214 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
2215
2216         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2217         gconv-modules.
2218
2219 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
2220
2221         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2222         patch.  Use wch instead of idx to compute index.
2223         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2224
2225         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2226
2227         * locale/iso-3166.def: Update from latest official list.
2228
2229 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
2230
2231         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2232         asm/ptrace.h, since this will not be done with 2.3.xx automatically
2233         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2234
2235 1999-11-26  Andreas Jaeger  <aj@suse.de>
2236
2237         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2238
2239 1999-11-26  Andreas Jaeger  <aj@suse.de>
2240
2241         * inet/rcmd.c: Include stdlib for declaration of free.
2242         Declare iruserok.
2243
2244 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2245
2246         * iconv/gconv.c (__gconv): Always initialize
2247         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2248
2249         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2250         written bytes.
2251         * iconvdata/iso-2022-jp.c: Likewise.
2252
2253 1999-11-25  H.J. Lu  <hjl@gnu.org>
2254
2255         * stdlib/exit.c (exit): Run funtions only if
2256         __exit_funcs->idx > 0.
2257
2258 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2259
2260         * manual/charset.texi (iconv Examples): Add iconv call to flush
2261         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
2262
2263 1999-11-25  Andreas Jaeger  <aj@suse.de>
2264
2265         * manual/install.texi (Running make install): Better describe
2266         update from libc5.
2267         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2268
2269 1999-11-25  Andreas Jaeger  <aj@suse.de>
2270
2271         * include/sys/mman.h: Remove K&R compatibility.
2272
2273 1999-11-15  Andreas Jaeger  <aj@suse.de>
2274
2275         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2276         use __off64_t.
2277
2278 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2279
2280         * iconv/iconv_prog.c (process_block): For stateful charsets write
2281         out byte sequence to get to initial state at the end of the file.
2282
2283 1999-11-25  Andreas Schwab  <schwab@suse.de>
2284
2285         * Makeconfig: Include sys-dirs and sys-sorted earlier.
2286         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2287         ($(common-objpfx)sysd-sorted): Emit marker when this file is
2288         complete.
2289
2290 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
2291
2292         * manual/setjmp.texi: Many changes to correct bad English introduced
2293         mainly by me.
2294         * manual/time.texi: Likewise.
2295         Patches by Neil Booth <neil@rosenet.ne.jp>.
2296
2297         * include/string.h: Remove K&R compatibility.
2298
2299 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
2300
2301         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2302
2303         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2304
2305         * string/stratcliff.c: Add one more strchr test for something
2306         which was reported to not work (which proofed to be wrong).
2307
2308         * iconv/skeleton.c: It's __is_last, not is_last.
2309
2310         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2311         the UCS value.
2312         (allocate_arrays): Likewise.
2313         (find_idx): Correctly increase array size.
2314         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2315
2316 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
2317
2318         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2319         is true.
2320
2321 1999-11-23  Andreas Jaeger  <aj@suse.de>
2322
2323         * include/sys/select.h: Remove K&R compatibility.
2324         * include/sys/statfs.h: Likewise.
2325         * include/gnu/libc-version.h: Likewise.
2326         * include/db_185.h: Likewise.
2327         * include/dlfcn.h: Likewise.
2328         * include/search.h: Likewise.
2329         * include/setjmp.h: Likewise.
2330         * include/signal.h: Likewise.
2331         * include/stdio.h: Likewise.
2332         * include/unistd.h: Likewise.
2333
2334 1999-11-23  Andreas Jaeger  <aj@suse.de>
2335
2336         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
2337         is only need in external header files that might be compiled by a
2338         C++ compiler.
2339         * include/alloca.h: Likewise.
2340         * include/db.h: Likewise.
2341         * include/dirent.h: Likewise.
2342         * include/execinfo.h: Likewise.
2343         * include/fpu_control.h: Likewise.
2344         * include/glob.h: Likewise.
2345         * include/grp.h: Likewise.
2346         * include/libintl.h: Likewise.
2347         * include/math.h: Likewise.
2348         * include/math.h: Likewise.
2349         * include/mntent.h: Likewise.
2350         * include/mntent.h: Likewise.
2351         * include/netdb.h: Likewise.
2352         * include/pwd.h: Likewise.
2353         * include/sched.h: Likewise.
2354         * include/shadow.h: Likewise.
2355         * include/stdlib.h: Likewise.
2356         * include/sys/file.h: Likewise.
2357         * include/sys/gmon.h: Likewise.
2358         * include/sys/ioctl.h: Likewise.
2359         * include/sys/socket.h: Likewise.
2360         * include/sys/stat.h: Likewise.
2361         * include/sys/sysinfo.h: Likewise.
2362         * include/sys/time.h: Likewise.
2363         * include/sys/times.h: Likewise.
2364         * include/sys/uio.h: Likewise.
2365         * include/sys/wait.h: Likewise.
2366         * include/termios.h: Likewise.
2367         * include/time.h: Likewise.
2368         * include/ulimit.h: Likewise.
2369         * include/utmp.h: Likewise.
2370         * include/wchar.h: Likewise.
2371
2372 1999-11-22  Andreas Jaeger  <aj@suse.de>
2373
2374         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2375         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
2376         libc/1456+1457.
2377
2378 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
2379
2380         * sysdeps/generic/siglist.h: Avoid declaring the same field
2381         twice if SIGPWR is defined to SIGLOST.
2382         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2383         not signed, so we should not special case it for negative args.
2384         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2385         memmove, use the one provided in memcpy.S.
2386         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2387         copies like memmove, while the previous version worked like memcpy.
2388         Implement optimized assembly memmove.
2389         * sysdeps/sparc/sparc64/memmove.c: New file.
2390
2391 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
2392
2393         * po/cs.po: Update from translators.
2394
2395 1999-11-23  Andreas Jaeger  <aj@suse.de>
2396
2397         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2398         (elf_machine_got): Removed, not needed anymore.
2399         (ELF_MACHINE_RELOC_NOPLT): Removed.
2400         (ELF_MACHINE_JMP_SLOT): Added.
2401         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2402         (_RTLD_EPILOGUE): Likewise.
2403         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2404         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2405         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2406         Ralf Baechle <baechle@uni-koblenz.de>.
2407
2408         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2409
2410 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
2411
2412         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2413         name from the locale name.  Only use the value in the LC_CTYPE
2414         locale data file.
2415
2416         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2417         file be equal to file size.
2418
2419         * stdlib/longlong.h: Add count_trailing_zeros back.
2420
2421         * stdlib/longlong.h: Update from latest egcs version.
2422
2423 1999-11-22  Andreas Jaeger  <aj@suse.de>
2424
2425         * locale/programs/ld-collate.c (insert_value): Correct order of
2426         arguments for lr_error call.
2427
2428         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2429         __syscall_setrlimit.
2430
2431         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2432         for key_t.
2433         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2434
2435 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
2436
2437         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2438         gcc version.
2439
2440         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2441         14652-style definition of new maps and classes.
2442
2443 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
2444
2445         * locale/programs/ld-monetary.c (monetary_finish): Don't print
2446         individual error message if nothing is defined.
2447
2448         * locale/programs/ld-time.c (time_startup): Test for lr being
2449         nonzero, not time.
2450
2451         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
2452         decimal_point is not defined.
2453
2454         * wctype/wctrans.c (wctrans): Use correct base index to access
2455         extra mapping tables.
2456
2457         * locale/loadlocale.c (_nl_load_locale): Use actual number of
2458         entries from file and not the fixed (minimal number from the
2459         langinfo.h list.
2460
2461         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
2462         values in charmaps.
2463
2464 1999-11-18  Paul Eggert  <eggert@twinsun.com>
2465
2466         * time/strftime.c (my_strftime): Some old compilers object to
2467         '\a', so don't bother optimizing for it.
2468
2469 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
2470
2471         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
2472         the rlimits structure passed in.
2473
2474 1999-11-19  Andreas Jaeger  <aj@suse.de>
2475
2476         * include/sys/resource.h (__setrlimit): Add prototype.
2477
2478 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
2479
2480         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
2481         entries for rtld_search_dirs[0].
2482         Patch by David Mosberger <davidm@hpl.hp.com>.
2483
2484 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
2485
2486         * locale/programs/ld-ctype.c: Don't predefine the character
2487         classes and mappings of ISO 14652.
2488
2489         * locale/programs/ld-ctype.c: Punt if character class definitions
2490         to not consists of tok_bsymbol (for now).
2491
2492         * time/strptime.c (day_of_the_week): Make sure result is never
2493         negative.
2494         (strptime_internal): Allow %C without %y.
2495
2496 1999-11-18  Andreas Jaeger  <aj@suse.de>
2497
2498         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
2499         comments.
2500
2501         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
2502         of defining *_SUPER_MAGIC.
2503         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
2504
2505 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
2506
2507         * locale/programs/locale.c: Don't handle LC_ALL together with the
2508         other categories when printing the value.
2509         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2510
2511         * locale/locale.h: Correct comment about LC_ALL.
2512
2513 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
2514
2515         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
2516         nelems.  Correctly compute index for additional character classes.
2517         (ctype_read): Handle charclass and charconv definitions.  Also
2518         recognize arbitrary strings as mapping names.
2519         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
2520         character era strings.
2521         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
2522         and format for wide characters.
2523         * time/strftime.c: Correctly determine era information for wide
2524         wcsftime.
2525         * wctype/wctrans.c: Fix after removal of second endianess table.
2526         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
2527         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2528
2529         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
2530         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
2531
2532         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
2533         gregset_t, fpregset_t, and NGREG definitions.
2534
2535         * locale/programs/ld-ctype.c: Implement character width information
2536         handling.
2537
2538 1999-11-09  Andreas Jaeger  <aj@suse.de>
2539
2540         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
2541
2542         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
2543         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
2544
2545         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
2546
2547 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
2548
2549         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
2550
2551 1999-11-07  Andreas Jaeger  <aj@suse.de>
2552
2553         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
2554         defines from Linux scsi_ioctl.h header.
2555
2556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
2557         scsi_ioctl.h.
2558         * sysdeps/unix/sysv/linux/Dist: Likewise.
2559
2560         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
2561         pretty printed.
2562
2563         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
2564         sync with Linux 2.3.26.
2565
2566 1999-11-17  Andreas Jaeger  <aj@suse.de>
2567
2568         * shlib-versions: Allow mipsel for libm.
2569         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2570
2571 1999-11-16  Andreas Jaeger  <aj@suse.de>
2572
2573         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
2574
2575 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
2576
2577         * locale/programs/ld-ctype.c (set_class_defaults): Set default
2578         value for alpha and alnum correctly.
2579
2580         * locale/programs/ld-address.c (address_output): Fix output of
2581         country_num.
2582
2583 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
2584
2585         * timezone/asia: Update from tzdata1999j.
2586         * timezone/australasia: Likewise.
2587         * timezone/europe: Likewise.
2588         * timezone/northamerica: Likewise.
2589         * timezone/southamerica: Likewise.
2590         * timezone/zone.tab: Likewise.
2591
2592 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
2593
2594         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2595         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2596         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2597         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2598         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2599
2600 1999-11-15  Andreas Jaeger  <aj@suse.de>
2601
2602         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2603         __syscall_setrlimit.
2604         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2605
2606 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
2607
2608         * scripts/versions.awk: Don't expect to read predecessor versions,
2609         compute them.
2610         * Versions.def: Remove predecessors.  They now get computed.
2611
2612 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
2613
2614         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2615         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2616         prototype.
2617         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2618         * sysdeps/powerpc/stackinfo.h: New file.
2619         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2620
2621 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
2622
2623         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2624         GLIBC_2.1.3.
2625
2626 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
2627
2628         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2629         hurd_directory_name_split.
2630         * Versions.def (libc): Add GLIBC_2.1.3.
2631
2632 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
2633
2634         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2635         to return the location of the null byte written into the string.
2636         (describe_number): Likewise.
2637         (describe_number): Remove assert, not always used with #.
2638         If FLAVOR is null, don't use it.
2639         (describe_number): Take signed argument and print a - if negative.
2640         (_S_msg_report_wait): Report system call number for system calls that
2641         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
2642         matches SS->intr_port, bracket port description with [...] to indicate
2643         a Hurd interruptible RPC; if destination port is null, examine the
2644         receive port and report that state; if receive port is also null,
2645         check for timeout and report its value.
2646         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2647         zero iff we managed to examine the stack; take new args RCV_NAME,
2648         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2649
2650         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2651         MACH_PORT_DEAD specially.
2652
2653 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2654
2655         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2656         (__directory_name_split): New function.
2657         * hurd/hurd.h: Declare them.
2658         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2659         __file_name_split, so we ignore trailing slashes properly.
2660         * sysdeps/mach/hurd/rename.c: Likewise.
2661
2662 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
2663
2664         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2665         from current kernel headers.
2666
2667         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2668         SO_PASSCRED defined.
2669
2670 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
2671
2672         * locale/C-ctype.c: Fix typo in char class name.
2673
2674         * configure.in: Allow user so specify --enable-kernel=current.
2675
2676 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
2677
2678         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2679
2680         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2681         i386 version.
2682         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2683         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2684         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2685         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2686
2687 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
2688
2689         * intl/locale.alias: Add Estonian entries.
2690         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2691
2692 1999-11-02  Andreas Jaeger  <aj@suse.de>
2693
2694         * Versions.def: Add version GLIBC_2.2 for libm.
2695         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2696         fedisableexcept.
2697         * sysdeps/generic/feenablxcpt.c: Stub file.
2698         * sysdeps/generic/fedisblxcpt.c: Stub file.
2699         * sysdeps/generic/fegetexcept.c: Stub file.
2700         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2701         * sysdeps/i386/fpu/feenablxcpt.c: New file.
2702         * sysdeps/i386/fpu/fegetexcept.c: New file.
2703         * math/Makefile (libm-support): Add new files.
2704         * math/Versions: Add new functions with version GLIBC_2.2.
2705         * manual/arith.texi (Control Functions): Document fegetexcept,
2706         feenableexcept and fedisableexcept.
2707
2708 1999-11-01  Wolfram Gloger  <wg@malloc.de>
2709
2710         * malloc/malloc.h: Describe __malloc_initialize_hook.
2711         * manual/memory.texi: Document __malloc_initialize_hook.
2712
2713 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
2714
2715         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2716
2717 1999-11-09  Andreas Jaeger  <aj@suse.de>
2718
2719         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2720         implementation for ttyname_r call; fix inverted condition; return
2721         ut_user.
2722         Closes PR libc/1438.
2723
2724 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
2725
2726         * math/fenv.h: Include bits/fenvinline.h if optimizing.
2727         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
2728         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
2729         * sysdeps/generic/bits/fenv.h: New file.
2730
2731 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
2732
2733         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2734         printf call.
2735
2736 1999-11-10  Andreas Jaeger  <aj@suse.de>
2737
2738         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2739
2740 1999-11-10  Andreas Jaeger  <aj@suse.de>
2741
2742         * string/strsignal.c (strsignal): Correct check for snprintf
2743         return value.
2744         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2745
2746         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2747         according to changed snprintf return value.
2748         Reported by Lawrence K. Chen <lchen@opentext.com>.
2749
2750         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2751         for ecvt_r and fcvt_r.
2752
2753 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
2754
2755         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2756         directory with the reference since this is as secure as using the
2757         object with the dependency.
2758         (_dl_dst_substitute): Likewise.
2759
2760         * elf/dl-load.c (_dl_dst_count): Change strings in first two
2761         strncmp calls to allow reuse.
2762         (_dl_dst_substitute): Likewise.
2763
2764 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
2765
2766         * posix/regex.c (init_syntax_once): move below definition of
2767         ISALNUM etc., then use ISALNUM to init the table, so that
2768         the word ops will work if i18n'ed.
2769         (SYNTAX): And subscript with 0xFF for 8bit character sets.
2770
2771 1999-11-09  Andreas Jaeger  <aj@suse.de>
2772
2773         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2774         implementation for ttyname_r call; fix inverted condition; return
2775         ut_user.  Closes PR libc/1438.
2776
2777 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
2778
2779         * timezone/checktab.awk: Update from tzcode1999h.
2780         * timezone/africa: Update from tzdata1999i.
2781         * timezone/asia: Likewise.
2782         * timezone/australasia: Likewise.
2783         * timezone/backward: Likewise.
2784         * timezone/europe: Likewise.
2785         * timezone/northamerica: Likewise.
2786         * timezone/southamerica: Likewise.
2787         * timezone/iso3166.tab: Likewise.
2788         * timezone/zone.tab: Likewise.
2789
2790         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2791         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
2792
2793 1999-11-09  Andreas Jaeger  <aj@suse.de>
2794
2795         * posix/Makefile (tests): Added tst-getlogin.
2796
2797         * posix/tst-getlogin.c: New file, contains simple tests for
2798         getlogin and getlogin_r.
2799
2800 1999-11-09  Andreas Schwab  <schwab@suse.de>
2801
2802         * misc/syslog.c: For LOG_PERROR only append a newline if
2803         necessary.
2804
2805 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
2806
2807         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2808         definitions.
2809
2810 1999-11-08  Andreas Jaeger  <aj@suse.de>
2811
2812         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2813         this fixes a memory leak (closes PR libc/1435).
2814
2815         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2816         reflect memory allocation.
2817
2818         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2819         allocation in _nl_explode_name.
2820
2821 1999-11-06  Andreas Jaeger  <aj@suse.de>
2822
2823         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2824         to initialize it.
2825         Reported by wes@surety.com, closes PR libc/1432.
2826
2827 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
2828
2829         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2830         enumerator lists (-pedantic complains).
2831         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
2832         test for 'one bit set'.
2833         (feclearexcept): Likewise.
2834
2835 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
2836
2837         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2838
2839         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2840         for kernel changes.
2841         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2842         unsigned.
2843
2844 1999-10-04  Tim Waugh  <twaugh@redhat.com>
2845
2846         * posix/wordexp-test.c: More tests.
2847
2848         * posix/wordexp.c (wordexp): Explicit null words should be kept.
2849
2850 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2851
2852         * locale/programs/linereader.c (get_string): Correct type of buf2
2853         variable.
2854         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2855         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2856         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2857         _NL_CTYPE_OUTDIGIT*_WC.
2858         (allocate_arrays): Completely initialize mapping tables.
2859         * locale/programs/ld-time.c (time_startup): We need the wide car
2860         string.
2861         (time_finish): Correct handling of era.
2862         (time_output): Fix a few array indeces.
2863         (time_read): Pass the repertoire map to lr_token.
2864
2865 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
2866
2867         * Versions.def: Add version for libthread_db.
2868
2869 1999-11-02  Andreas Jaeger  <aj@suse.de>
2870
2871         * manual/header.texi (Library Summary): The command @indexfonts
2872         doesn't exist anymore, use @smallfonts instead.
2873
2874 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
2875
2876         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2877         instead of duplicating definitions.
2878
2879 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
2880
2881         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2882         by the debugger.
2883         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2884         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2885         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2886         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2887         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2888
2889 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
2890
2891         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2892
2893         * sysdeps/unix/sysv/linux/kernel-features.h
2894         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2895         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2896
2897         * manual/texinfo.tex: Updated.
2898
2899 1999-11-01  Andreas Jaeger  <aj@suse.de>
2900
2901         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2902
2903         * inet/gethstbynm2_r.c: Reorder addresses.
2904
2905 1999-09-11  Paul Eggert  <eggert@twinsun.com>
2906
2907         * posix/glob.h (glob): If #defining to glob64, do this before
2908         declaring it, so that all declarations and uses match, and do not
2909         declare glob64, to avoid a declaration clash.
2910         (globfree): Likewise with globfree64.
2911
2912 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2913
2914         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2915         Keep the trailing slash unless DIRNAME is just "x:/".
2916
2917 1999-10-11  Andreas Jaeger  <aj@suse.de>
2918
2919         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2920         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2921         Closes PR libc/1384.
2922
2923 1999-10-20  Andreas Schwab  <schwab@suse.de>
2924
2925         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2926         (generated): Add it here.
2927         (before-compile): Add libm-test.c.
2928         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2929         libm-test.stmp.
2930         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2931         $(objdir)/math/.
2932
2933 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
2934
2935         * Makefile (pdf): New goal.
2936         * manual/Makefile: Add definitions and rules for PDF generation.
2937
2938         * Versions.def (libm): Add GLIBC_2.1.3.
2939
2940         ISO C99 TR1 changes various fe* functions to return an error value.
2941         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2942         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2943         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2944         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2945         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2946         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2947         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2948         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2949         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2950         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2951         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2952         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2953         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2954         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2955         * sysdeps/generic/fclrexcpt.c: Likewise.
2956         * sysdeps/generic/fegetenv.c: Likewise.
2957         * sysdeps/generic/fesetenv.c: Likewise.
2958         * sysdeps/generic/feupdateenv.c: Likewise.
2959         * sysdeps/generic/fgetexcptflg.c: Likewise.
2960         * sysdeps/generic/fraiseexcpt.c: Likewise.
2961         * sysdeps/generic/fsetexcptflg.c: Likewise.
2962         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2963         * sysdeps/i386/fpu/fegetenv.c: Likewise.
2964         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2965         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2966         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2967         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2968         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2969         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2970         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2971         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2972         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2973         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2974         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2975         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2976         * sysdeps/mips/fclrexcpt.c: Likewise.
2977         * sysdeps/mips/fegetenv.c: Likewise.
2978         * sysdeps/mips/fesetenv.c: Likewise.
2979         * sysdeps/mips/feupdateenv.c: Likewise.
2980         * sysdeps/mips/fgetexcptflg.c: Likewise.
2981         * sysdeps/powerpc/fclrexcpt.c: Likewise.
2982         * sysdeps/powerpc/fegetenv.c: Likewise.
2983         * sysdeps/powerpc/fesetenv.c: Likewise.
2984         * sysdeps/powerpc/feupdateenv.c: Likewise.
2985         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2986         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2987         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2988         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2989         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2990         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2991         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2992         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2993         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2994         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2995         * math/fenv.h: Adjust prototypes.: Likewise.
2996         * manual/arith.texi: Adjust documentation for these changes.
2997
2998         * manual/arith.texi: Document feraiseexcept.
2999
3000         * sysdeps/powerpc/fegetenv.c: Moved to...
3001         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
3002         * sysdeps/powerpc/fegetround.c: Moved to...
3003         * sysdeps/powerpc/fpu/fegetround.c: ...here.
3004         * sysdeps/powerpc/feholdexcpt.c: Moved to...
3005         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
3006         * sysdeps/powerpc/fesetenv.c: Moved to...
3007         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
3008         * sysdeps/powerpc/fenv_libc.h: Moved to...
3009         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
3010         * sysdeps/powerpc/feupdateenv.c: Moved to...
3011         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
3012         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
3013         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
3014         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
3015         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
3016         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
3017         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
3018         * sysdeps/powerpc/ftestexcept.c: Moved to...
3019         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
3020         * sysdeps/powerpc/fesetround.c: Moved to...
3021         * sysdeps/powerpc/fpu/fesetround.c: ...here
3022         * sysdeps/powerpc/fenv_const.c: Moved to...
3023         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
3024
3025         * sysdeps/mips/fclrexcpt.c: Moved to...
3026         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
3027         * sysdeps/mips/fegetenv.c: Moved to...
3028         * sysdeps/mips/fpu/fegetenv.c: ...here.
3029         * sysdeps/mips/fegetround.c: Moved to...
3030         * sysdeps/mips/fpu/fegetround.c: ...here.
3031         * sysdeps/mips/fesetenv.c: Moved to...
3032         * sysdeps/mips/fpu/fesetenv.c: ...here.
3033         * sysdeps/mips/fesetround.c: Moved to...
3034         * sysdeps/mips/fpu/fesetround.c: ...here.
3035         * sysdeps/mips/feupdateenv.c: Moved to...
3036         * sysdeps/mips/fpu/feupdateenv.c: ...here.
3037         * sysdeps/mips/fgetexcptflg.c: Moved to...
3038         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
3039         * sysdeps/mips/ftestexcept.c: Moved to...
3040         * sysdeps/mips/fpu/ftestexcept.c: ...here.
3041
3042 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
3043
3044         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
3045         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
3046         libraries from statically linked programs.
3047         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
3048         fix for sigaction on SPARC.
3049         Patches by David S. Miller <davem@redhat.com>.
3050
3051         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
3052         gregset_t and other required structures and defines for SPARC 64bit
3053         ABI as well, not only 32bit ABI.
3054
3055 1999-10-31  Andreas Jaeger  <aj@suse.de>
3056
3057         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
3058         by __USE_ISOC99 and update comments.
3059
3060         * math/complex.h: Update comments for ISO C99.
3061         * math/fenv.h: Likewise.
3062         * math/test-fenv.c: Likewise.
3063         * math/tgmath.h: Likewise.
3064         * libio/stdio.h: Likewise.
3065         * posix/sys/types.h: Likewise.
3066         * sysdeps/generic/inttypes.h: Likewise.
3067         * sysdeps/generic/stdint.h: Likewise.
3068
3069 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
3070
3071         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
3072
3073         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
3074         recognize _ISOC99_SOURCE.
3075         * libio/stdio.h: Likewise.
3076         * math/math.h: Likewise.
3077         * math/bits/mathcalls.h: Likewise.
3078         * math/stdio.h: Likewise.
3079         * stdlib/stdlib.h: Likewise.
3080         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
3081         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
3082         * sysdeps/arm/bits/huge_val.h: Likewise.
3083         * sysdeps/generic/bits/mathdef.h: Likewise.
3084         * sysdeps/i386/bits/huge_val.h: Likewise.
3085         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3086         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3087         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3088         * sysdeps/m68k/bits/huge_val.h: Likewise.
3089         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3090         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3091         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3092         * sysdeps/powerpc/bits/mathinline.h: Likewise.
3093         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3094         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3095         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
3096         * wcsmbs/wchar.h: Likewise.
3097
3098         * sysdeps/powerpc/bits/mathdef.h: Moved to...
3099         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
3100         * sysdeps/powerpc/bits/mathinline.h: Moved to...
3101         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
3102         * sysdeps/powerpc/bits/fenv.h: Moved to...
3103         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
3104
3105 1999-10-31  Andreas Jaeger  <aj@suse.de>
3106
3107         * manual/math.texi (Errors in Math Functions): Correct TeX code.
3108
3109 1999-10-31  Andreas Jaeger  <aj@suse.de>
3110
3111         * math/libm-test.inc:  Change comments to use ISO C99 instead of
3112         ISO C9x.
3113         * math/w_lgamma.c: Likewise.
3114         * math/w_lgammaf.c: Likewise.
3115         * math/w_lgammal.c: Likewise.
3116         * math/test-fenv.c: Likewise.
3117         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3118         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3119         * sysdeps/generic/printf_fphex.c: Likewise.
3120
3121 1999-10-31  Andreas Jaeger  <aj@suse.de>
3122
3123         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
3124
3125         * manual/math.texi: Change ISO C9x to ISO C99.
3126         * manual/startup.texi: Likewise.
3127         * manual/stdio.texi: Likewise.
3128
3129 1999-10-31  Andreas Jaeger  <aj@suse.de>
3130
3131         * manual/arith.texi: Change ISO C9x to ISO C99.
3132         * manual/time.texi (Low-Level Time String Parsing): Likewise.
3133
3134 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
3135
3136         * socket/Makefile (distribute): Add ifreq.h.
3137
3138         * manual/time.texi (Formatting Date and Time): Revise comments about
3139         origins of the formats with ISO C99 references.
3140
3141 1999-10-30  Andreas Jaeger  <aj@suse.de>
3142
3143         * sysdeps/unix/sysv/linux/ifreq.h: New file.
3144
3145 1999-10-29  Andreas Jaeger  <aj@suse.de>
3146
3147         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3148         input format; mention that strtof and strtold are part of ISO C99.
3149
3150 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3151
3152         * manual/math.texi (Errors in Math Functions): New section.
3153         * math/libm-err-tab.pl: Moved to...
3154         * manual/libm-err-tab.pl: ...here.
3155         * manual/Makefile: Add rules for math function error table generation.
3156
3157         * stdlib/tst-strtod.c: Add more hexadecimal tests.
3158
3159         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3160         != 1 correctly and more than one digit before decimal point..
3161
3162 1999-10-27  Andreas Jaeger  <aj@suse.de>
3163
3164         * sysdeps/generic/ifreq.h: New file.
3165
3166         * resolv/res_hconf.c: Add missing includes to get all prototypes.
3167         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
3168         Reported by John DiMarco <jdd@cs.toronto.edu>.
3169
3170         (_res_hconf_reorder_addrs): Made thread safe.
3171         (free_mem): New function, needed for malloc debugging.
3172
3173 1999-10-29  Andreas Jaeger  <aj@suse.de>
3174
3175         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3176         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3177         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3178         opensock to use __opensock.
3179
3180         * socket/Makefile (routines): Add opensock.
3181
3182         * include/sys/socket.h (__opensock): Add prototype declaration.
3183
3184 1999-10-29  Andreas Jaeger  <aj@suse.de>
3185
3186         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3187         N_* constants.
3188         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3189
3190         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3191         new constant from Linux 2.3.25pre1.
3192
3193         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3194
3195 1999-10-29  Andreas Jaeger  <aj@suse.de>
3196
3197         * math/libm-err-tab.pl: New file to generate a table of
3198         libm-test-ulps values.
3199
3200 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3201
3202         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3203         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3204         struct sigcontext* object as second parameter for profil_counter.
3205         Patches by Jakub Jelinek <jakub@redhat.com>.
3206
3207 1999-10-29  Andreas Jaeger  <aj@suse.de>
3208
3209         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3210         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3211
3212         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3213         efs, qnx4 and reiser file systems.
3214
3215 1999-10-29  Andreas Jaeger  <aj@suse.de>
3216
3217         * locale/Makefile (others): Set to localedef and locale for make
3218         clean.
3219
3220         * debug/Makefile (generated): Add xtrace for make clean to work.
3221
3222 1999-10-29  Andreas Jaeger  <aj@suse.de>
3223
3224         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3225
3226 1999-10-25  Andreas Jaeger  <aj@suse.de>
3227
3228         * math/libm-test.inc: Added code to ignore the given max ulps.
3229         (print_max_error): Check for ignore_max_ulp.
3230         (check_float_internal): Likewise.
3231         (parse_opt): Parse --ignore-max-ulp.
3232         (main): Initialize ignore_max_ulp.
3233
3234 1999-10-26  Andreas Jaeger  <aj@suse.de>
3235
3236         * stdlib/msort.c: Include <alloca.h> for prototype.
3237         Remove K&R compatibility and _quicksort prototype.
3238
3239         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3240         some comments.
3241         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3242         Remove K&R compatibility.
3243         Move prototype declaration to include/stdlib.h.
3244         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3245
3246         * include/stdlib.h: Prototype declaration for _quicksort.
3247
3248 1999-10-27  Andreas Jaeger  <aj@suse.de>
3249
3250         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3251         shifted a bit too much.
3252         Reported by Eugen Dedu <dedu@ese-metz.fr>.
3253
3254 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3255
3256         * resolv/gethnamaddr.c: Account bytes needed for alignment in
3257         buflen.  Patch by Olaf Kirch <okir@lst.de>.
3258
3259         * md5-crypt/md5test.c: Correct names of MD5 functions after
3260         removing of public names.
3261
3262         * configure.in: Don't allow --enable-kernel without parameter.
3263
3264 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3265
3266         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3267         problems.
3268
3269 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
3270
3271         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
3272         only used internally.
3273         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3274         remove weak alias for public names.
3275         * md5-crypt/md5.c: Remove weak aliase.
3276
3277 1999-10-25  Andreas Jaeger  <aj@suse.de>
3278
3279         * math/README.libm-test: New file, documents libm-test.inc.
3280
3281 1999-10-25  Andreas Jaeger  <aj@suse.de>
3282
3283         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3284         given.
3285         (print_ulps_file): Fix loops to not read @tests and @functions
3286         since those are not initialized with -n now.
3287         (parse_ulps): Set $results{..}{"kind"}.
3288
3289 1999-10-25  Andreas Jaeger  <aj@suse.de>
3290
3291         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3292
3293         * math/libm-test.inc (check_float_internal): Don't print ulps for
3294         wrong sign of zero.
3295
3296 1999-10-20  Andreas Jaeger  <aj@suse.de>
3297
3298         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3299         versus AF_LOCAL.
3300         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3301
3302 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
3303
3304         * math/libm-test.inc: Disable some boundary case tests for inline
3305         function testing.
3306
3307         * math/math.h: Pretty printing.
3308
3309         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3310         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3311         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3312         * sysdeps/i386/fpu/e_log10.S: Likewise.
3313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3314         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3315         * sysdeps/i386/fpu/s_log1p.S: Likewise.
3316         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3317         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3318         * sysdeps/i386/fpu/s_log2.S: Likewise.
3319         * sysdeps/i386/fpu/s_log2f.S: Likewise.
3320         * sysdeps/i386/fpu/s_log2l.S: Likewise.
3321
3322         * sysdeps/i386/fpu/libm-test-ulps: New file.
3323
3324         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3325         value for x == 0.
3326         (pow): Correct case x == 0.
3327         (__sgn1l): Correct handling of -0.0.
3328
3329 1999-10-22  Andreas Jaeger  <aj@suse.de>
3330
3331         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3332         (atan_test): Likewise.
3333         (atanh_test): Likewise.
3334         (atan2_test): Likewise.
3335         (carg_test): Likewise.
3336         (ceil_test): Likewise.
3337         (cos_test): Likewise.
3338         (cosh_test): Likewise.
3339         (cpow_test): Likewise.
3340         (erf_test): Likewise.
3341         (erfc_test): Likewise.
3342         (exp_test): Likewise.
3343         (exp10_test): Likewise.
3344         (exp2_test): Likewise.
3345         (expm1_test): Likewise.
3346         (fabs_test): Likewise.
3347         (floor_test): Likewise.
3348         (fmod_test): Likewise.
3349         (gamma_test): Likewise.
3350         (lgamma_test): Likewise.
3351         (log10_test): Likewise.
3352         (log1p_test): Likewise.
3353         (log2_test): Likewise.
3354         (logb_test): Likewise.
3355         (nearbyint_test): Likewise.
3356         (remainder_test): Likewise.
3357         (remquo_test): Likewise.
3358         (sin_test): Likewise.
3359         (sincos_test): Likewise.
3360         (sinh_test): Likewise.
3361         (sqrt_test): Likewise.
3362         (tan_test): Likewise.
3363         (tanh_test): Likewise.
3364         (tgamma_test): Likewise.
3365
3366 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
3367
3368         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3369
3370         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3371
3372         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3373         for -Inf and return NaN.
3374
3375         * configure.in: Correct test for Cygnus gcc versions.
3376
3377 1999-10-21  Andreas Jaeger  <aj@suse.de>
3378
3379         * math/libm-test.inc (cimag_test): New function, tests cimag.
3380         (creal_test): New function, tests creal.
3381         (conj_test): New function, tests conj.
3382         (main): Add new functions.
3383
3384 1999-10-20  Andreas Jaeger  <aj@suse.de>
3385
3386         * math/libm-test.inc: Rewrite to allow different deltas for real
3387         and imaginary part of complex functions.
3388         * math/gen-libm-test.pl: Likewise.
3389
3390 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
3391
3392         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3393         aliases.
3394
3395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3396
3397         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3398         for -Inf and return NaN.
3399
3400         * math/gen-libm-test.pl: Fix program name in help message.
3401
3402         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3403
3404         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3405
3406         * sysdeps/i386/Implies: Correct order of libm directories.
3407
3408 1999-10-19  Andreas Jaeger  <aj@suse.de>
3409
3410         * include/bits/ipc.h: Remove K&R compatibility.
3411         * include/libintl.h: Likewise.
3412         * include/math.h: Likewise.
3413         * include/mntent.h: Likewise
3414         * include/netdb.h: Likewise.
3415         * include/pwd.h: Likewise.
3416         * include/sched.h: Likewise.
3417         * include/shadow.h: Likewise
3418         * include/stdlib.h: Likewise.
3419         * include/sys/file.h: Likewise.
3420         * include/sys/gmon.h: Likewise.
3421         * include/sys/ioctl.h: Likewise.
3422         * include/sys/mman.h: Likewise.
3423         * include/sys/resource.h: Likewise.
3424         * include/sys/socket.h: Likewise.
3425         * include/sys/stat.h: Likewise.
3426         * include/sys/sysinfo.h: Likewise.
3427         * include/sys/time.h: Likewise.
3428         * include/sys/times.h: Likewise.
3429         * include/sys/uio.h: Likewise.
3430         * include/sys/wait.h: Likewise.
3431         * include/termios.h: Likewise.
3432         * include/time.h: Likewise.
3433         * include/ulimit.h: Likewise.
3434         * include/utmp.h: Likewise.
3435         * include/wchar.h: Likewise.
3436         * include/wctype.h: Likewise.
3437
3438 1999-10-19  Andreas Jaeger  <aj@suse.de>
3439
3440         * math/libm-test.inc: Remove one K&R compatibility.
3441         (main): Enable nexttoward_test.
3442
3443         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
3444         libm-test-ulps.h; pretty print output a bit.
3445
3446 1999-10-19  Andreas Jaeger  <aj@suse.de>
3447
3448         * iconv/iconv_prog.c (main): Set exit value in case that reading
3449         from stdin failed [PR libc/1404].
3450
3451 1999-10-18  Andreas Jaeger  <aj@suse.de>
3452
3453         Added improved math testsuite:
3454         * math/libm-test.inc: New file, contains all tests from
3455         libm-test.c but in a different form.
3456         * math/libm-test.c: Removed.
3457         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
3458         * math/gen-libm-test.pl: New file: Preprocessor.
3459         * math/test-double.c: Adopted to new testsuite.
3460         * math/test-idouble.c: Likewise.
3461         * math/test-float.c: Likewise.
3462         * math/test-ifloat.c: Likewise.
3463         * math/test-ldouble.c: Likewise.
3464         * math/test-ildoubl.c: Likewise.
3465         * math/Makefile: Added rules to generate new suite.
3466
3467 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
3468
3469         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
3470         Patch by J. Richard Sladkey <jrs@world.std.com>.
3471
3472         * scripts/config.sub: Update from latest autoconf version.
3473         * scripts/config.guess: Likewise.
3474
3475 1999-10-18  Andreas Jaeger  <aj@suse.de>
3476
3477         * inet/arpa/inet.h: Remove K&R compatibility.
3478         * math/fenv.h: Likewise.
3479
3480 1999-10-18  Andreas Jaeger  <aj@suse.de>
3481
3482         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3483         kernel_sigaction): Remove K&R compatibility.
3484         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
3485         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3486         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
3487         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3488         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
3489         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3490         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3491         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
3492         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3493         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3494         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
3495         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3496         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
3497         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3498         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3499         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3500         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
3501
3502 1999-10-18  Andreas Jaeger  <aj@suse.de>
3503
3504         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
3505         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
3506
3507 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
3508
3509         * po/gl.po: New file.
3510
3511 1999-10-18  Andreas Schwab  <schwab@suse.de>
3512
3513         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
3514         namespace selection.
3515
3516 1999-10-18  Andreas Schwab  <schwab@suse.de>
3517
3518         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
3519         clash with the TERM environment variable.
3520
3521 1999-10-18  Andreas Jaeger  <aj@suse.de>
3522
3523         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
3524         returns now NaN + i NaN.
3525         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
3526         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
3527
3528 1999-10-18  Andreas Jaeger  <aj@suse.de>
3529
3530         * include/aio.h: Remove K&R compatiblity.
3531         * include/alloca.h: Likewise.
3532         * include/db.h: Likewise.
3533         * include/dirent.h: Likewise.
3534         * include/fcntl.h: Likewise.
3535         * include/fpu_control.h: Likewise.
3536         * include/glob.h: Likewise.
3537         * include/grp.h: Likewise.
3538         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
3539         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3540         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3541         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3542
3543         * include/execinfo.h: Add __THROW.
3544
3545 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
3546
3547         * sysdeps/mips/Implies: Remove wordsize-32 reference.
3548         * sysdeps/mips/mips3/Implies: Add it here.
3549
3550 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
3551
3552         * elf/elf.h: Add various platform and architecture extensions.
3553
3554         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
3555         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
3556         LC_ALL.
3557
3558         * socket/sys/socket.h: Remove K&R compatibility.
3559
3560 1999-10-16  Andreas Jaeger  <aj@suse.de>
3561
3562         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
3563
3564 1999-10-15  Andreas Jaeger  <aj@suse.de>
3565
3566         * stdlib/Makefile (tests): Added tst-xpg-basename.
3567
3568         * stdlib/tst-xpg-basename.c: New test file.
3569
3570 1999-10-14  Cristian Gafton  <gafton@redhat.com>
3571
3572         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3573
3574 1999-10-14  Andreas Jaeger  <aj@suse.de>
3575
3576         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
3577         endian version works for both endiannesses.
3578
3579         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3580         seconds.
3581
3582 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
3583
3584         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3585         register names unconditionally, only if __USE_GNU.
3586
3587         * debug/Makefile: Fix rules to generate pcprofiledump.
3588
3589         * include/ucontext.h: New file.
3590
3591         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3592
3593 1999-10-12  Andreas Jaeger  <aj@suse.de>
3594
3595         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3596
3597         * math/basic-test.c: Fix typo.
3598
3599         * locale/programs/xstrdup.c: Include string.h for glibc
3600         compilation to get string prototypes.
3601
3602         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3603         gregset_t and fpregset_t.
3604
3605         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3606         warnings.  Correct value for x == 0.
3607
3608         * argp/argp-help.c: Remove broken definition of flockfile and
3609         funlockfile.
3610
3611 1999-10-12  Andreas Schwab  <schwab@suse.de>
3612
3613         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3614         generic Linux version.
3615
3616 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
3617
3618         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3619
3620 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
3621
3622         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3623         and fpregset_t definitions.
3624
3625         * malloc/memprof.c (GETSP): Define for PowerPC.
3626         (GETTIME): Fix generic version.
3627
3628 1999-10-10  Philip Blundell  <philb@gnu.org>
3629
3630         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3631         __BYTE_ORDER.
3632
3633 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
3634
3635         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3636         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3637         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3638         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3639
3640         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3641
3642         * sysdeps/powerpc/e_sqrt.c: Moved to...
3643         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3644         * sysdeps/powerpc/e_sqrtf.c: Moved to...
3645         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3646
3647         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3648         * sysdeps/powerpc/sub_n.S: Likewise.
3649         * sysdeps/powerpc/strlen.S: Likewise.
3650         * sysdeps/powerpc/strcpy.S: Likewise.
3651         * sysdeps/powerpc/strcmp.S: Likewise.
3652         * sysdeps/powerpc/strchr.S: Likewise.
3653         * sysdeps/powerpc/stpcpy.S: Likewise.
3654         * sysdeps/powerpc/setjmp.S: Likewise.
3655         * sysdeps/powerpc/rshift.S: Likewise.
3656         * sysdeps/powerpc/ppc-mcount.S: Likewise.
3657         * sysdeps/powerpc/mul_1.S: Likewise.
3658         * sysdeps/powerpc/memset.S: Likewise.
3659         * sysdeps/powerpc/lshift.S: Likewise.
3660         * sysdeps/powerpc/dl-start.S: Likewise.
3661         * sysdeps/powerpc/bzero.S: Likewise.
3662         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3663         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3664         * sysdeps/powerpc/addmul_1.S: Likewise.
3665         * sysdeps/powerpc/add_n.S: Likewise.
3666         * sysdeps/powerpc/__longjmp.S: Likewise.
3667         * sysdeps/powerpc/elf/start.S: Likewise.
3668
3669 1999-10-11  Cristian Gafton  <gafton@redhat.com>
3670
3671         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3672         SA_SIGINFO.
3673
3674 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
3675
3676         * stdlib/atexit.c (initial): New variable.  Use to initialize
3677         __exit_funcs.
3678         * stdlib/exit.c (exit): Beware to not free statically allocated
3679         list element [PR libc/1305].
3680
3681         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3682         slash before the basename [PR libc/1383].
3683
3684         * argp/argp.h: Fix typo in last patch.
3685
3686         * sysdeps/powerpc/sysdep.h: New file.
3687         * sysdeps/unix/powerpc/sysdep.h: New file.
3688         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3689         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3690         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3691         instead of bare numbers.
3692         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3693         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3694         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3695
3696         * sysdeps/hppa/sysdep.h: New file.
3697
3698 1999-10-10  Andreas Jaeger  <aj@suse.de>
3699
3700         * misc/sgtty.h: Fix typo in last patch.
3701
3702 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
3703
3704         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3705         * sysdeps/powerpc/s_copysign.S: Move to...
3706         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
3707         * sysdeps/powerpc/s_copysignf.S: Move to...
3708         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3709         * sysdeps/powerpc/s_fabs.S: Move to...
3710         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
3711         * sysdeps/powerpc/s_fabsf.S: Move to...
3712         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3713         * sysdeps/powerpc/s_fdim.c: Move to...
3714         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3715         * sysdeps/powerpc/s_fdimf.c: Move to...
3716         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3717         * sysdeps/powerpc/s_fmax.S: Move to...
3718         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
3719         * sysdeps/powerpc/s_fmaxf.S: Move to...
3720         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3721         * sysdeps/powerpc/s_fmin.S: Move to...
3722         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
3723         * sysdeps/powerpc/s_fminf.S: Move to...
3724         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3725         * sysdeps/powerpc/s_isnan.S: Move to...
3726         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3727         * sysdeps/powerpc/s_isnanf.S: Move to...
3728         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3729         * sysdeps/powerpc/s_llrint.c: Move to...
3730         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3731         * sysdeps/powerpc/s_llrintf.c: Move to...
3732         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3733         * sysdeps/powerpc/s_llround.c: Move to...
3734         * sysdeps/powerpc/fpu/s_llround.c: ...here.
3735         * sysdeps/powerpc/s_llroundf.c: Move to...
3736         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3737         * sysdeps/powerpc/s_lrint.c: Move to...
3738         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3739         * sysdeps/powerpc/s_lrintf.S: Move to...
3740         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3741         * sysdeps/powerpc/s_lround.c: Move to...
3742         * sysdeps/powerpc/fpu/s_lround.c: ...here.
3743         * sysdeps/powerpc/s_lroundf.c: Move to...
3744         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3745         * sysdeps/powerpc/s_rint.c: Move to...
3746         * sysdeps/powerpc/fpu/s_rint.c: ...here.
3747         * sysdeps/powerpc/s_rintf.c: Move to...
3748         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3749         * sysdeps/powerpc/t_sqrt.c: Move to...
3750         * sysdeps/powerpc/fpu/t_sqrt: ...here.
3751         * sysdeps/powerpc/w_sqrt.c: Move to...
3752         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3753         * sysdeps/powerpc/w_sqrtf.c: Move to...
3754         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3755         * configure.in: Support platforms which have no .text pseudo-op.
3756         Patches partly by Jimi X <jimix@pobox.com>.
3757
3758         * Makeconfig: Look also in all subdirs for shlib-versions files.
3759
3760         * malloc/memprof.sh: Fix --help string a bit.
3761
3762         * argp/argp.h: Remove K&R compatiblity.
3763         * assert/assert.h: Likewise.
3764         * catgets/nl_types.h: Likewise.
3765         * ctype/ctype.h: Likewise.
3766         * db/db.h: Likewise.
3767         * db/ndbm.h: Likewise.
3768         * db2/db.h: Likewise.
3769         * db2/db_185.h: Likewise.
3770         * debug/execinfo.h: Likewise.
3771         * dirent/dirent.h: Likewise.
3772         * dlfcn/dlfcn.h: Likewise.
3773         * gmon/sys/gmon.h: Likewise.
3774         * grp/grp.h: Likewise.
3775         * iconv/gconv.h: Likewise.
3776         * iconv/iconv.h: Likewise.
3777         * include/execinfo.h: Likewise.
3778         * inet/aliases.h: Likewise.
3779         * inet/netinet/ether.h: Likewise.
3780         * inet/netinet/in.h: Likewise.
3781         * intl/libintl.h: Likewise.
3782         * io/fcntl.h: Likewise.
3783         * io/fts.h: Likewise.
3784         * io/ftw.h: Likewise.
3785         * io/utime.h: Likewise.
3786         * io/sys/poll.h: Likewise.
3787         * io/sys/stat.h: Likewise.
3788         * io/sys/statfs.h: Likewise.
3789         * io/sys/statvfs.h: Likewise.
3790         * libio/libio.h: Likewise.
3791         * libio/stdio.h: Likewise.
3792         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3793         * locale/locale.h: Likewise.
3794         * login/pty.h: Likewise.
3795         * login/utmp.h: Likewise.
3796         * malloc/mcheck.h: Likewise.
3797         * math/complex.h: Likewise.
3798         * math/math.h: Likewise.
3799         * math/math_private.h: Likewise.
3800         * misc/err.h: Likewise.
3801         * misc/fstab.h: Likewise.
3802         * misc/libgen.h: Likewise.
3803         * misc/mntent.h: Likewise.
3804         * misc/regexp.h: Likewise.
3805         * misc/search.h: Likewise.
3806         * misc/sgtty.h: Likewise.
3807         * misc/ttyent.h: Likewise.
3808         * misc/sys/cdefs.h: Likewise.
3809         * misc/sys/file.h: Likewise.
3810         * misc/sys/ioctl.h: Likewise.
3811         * misc/sys/mman.h: Likewise.
3812         * misc/sys/select.h: Likewise.
3813         * misc/sys/syslog.h: Likewise.
3814         * misc/sys/uio.h: Likewise.
3815         * misc/sys/ustat.h: Likewise.
3816         * nss/nss.h: Likewise.
3817         * posix/sched.h: Likewise.
3818         * posix/unistd.h: Likewise.
3819         * posix/wordexp.h: Likewise.
3820         * posix/sys/times.h: Likewise.
3821         * posix/sys/utsname.h: Likewise.
3822         * posix/sys/wait.h: Likewise.
3823         * pwd/pwd.h: Likewise.
3824         * resolv/netdb.h: Likewise.
3825         * resolv/resolv.h: Likewise.
3826         * resource/ulimit.h: Likewise.
3827         * resource/sys/resource.h: Likewise.
3828         * resource/sys/vlimit.h: Likewise.
3829         * resource/sys/vtimes.h: Likewise.
3830         * rt/aio.h: Likewise.
3831         * setjmp/setjmp.h: Likewise.
3832         * shadow/shadow.h: Likewise.
3833         * signal/signal.h: Likewise.
3834         * socket/socket.h: Likewise.
3835         * stdio/stdio.h: Likewise.
3836         * stdio-common/_itoa.h: Likewise.
3837         * stdio-common/_itowa.h: Likewise.
3838         * stdio-common/printf.h: Likewise.
3839         * stdlib/alloca.h: Likewise.
3840         * stdlib/fmtmsg.h: Likewise.
3841         * stdlib/monetary.h: Likewise.
3842         * stdlib/stdlib.h: Likewise.
3843         * stdlib/ucontext.h: Likewise.
3844         * streams/stropts.h: Likewise.
3845         * string/argz.h: Likewise.
3846         * string/envz.h: Likewise.
3847         * string/string.h: Likewise.
3848         * string/strings.h: Likewise.
3849         * string/bits/string2.h: Likewise.
3850         * sunrpc/rpc/auth.h: Likewise.
3851         * sunrpc/rpc/auth_des.h: Likewise.
3852         * sunrpc/rpc/auth_unix.h: Likewise.
3853         * sunrpc/rpc/clnt.h: Likewise.
3854         * sunrpc/rpc/des_crypt.h: Likewise.
3855         * sunrpc/rpc/netdb.h: Likewise.
3856         * sunrpc/rpc/pmap_clnt.h: Likewise.
3857         * sunrpc/rpc/pmap_prot.h: Likewise.
3858         * sunrpc/rpc/pmap_rmt.h: Likewise.
3859         * sunrpc/rpc/rpc_msg.h: Likewise.
3860         * sunrpc/rpc/svc.h: Likewise.
3861         * sunrpc/rpc/svc_auth.h: Likewise.
3862         * sunrpc/rpc/xdr.h: Likewise.
3863         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3864         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3865         * sysvipc/sys/ipc.h: Likewise.
3866         * sysvipc/sys/msg.h: Likewise.
3867         * sysvipc/sys/sem.h: Likewise.
3868         * sysvipc/sys/shm.h: Likewise.
3869         * termios/termios.h: Likewise.
3870         * time/time.h: Likewise.
3871         * time/sys/time.h: Likewise.
3872         * time/sys/timeb.h: Likewise.
3873         * wcsmbs/wchar.h: Likewise.
3874         * wctype/wctype.h: Likewise.
3875
3876 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
3877
3878         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3879         _GNU_SOURCE be defined.
3880
3881 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
3882
3883         * ctype/ctype.h: Pretty print.
3884
3885         * po/cs.po: Fix typos.
3886
3887         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3888         handling of empty entries.  [PR libc/1345]
3889         Patch by Thorsten Kukuk <kukuk@suse.de>.
3890
3891 1999-10-08  Andreas Schwab  <schwab@suse.de>
3892
3893         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
3894
3895 1999-10-08  Andreas Schwab  <schwab@suse.de>
3896
3897         * debug/pcprofiledump.c: Fix typos.
3898
3899 1999-10-07  Andreas Jaeger  <aj@suse.de>
3900
3901         * math/Makefile (tests): Added basic-tests.
3902
3903         * math/basic-test.c: New file.  Contains function basic_tests from
3904         libm-test.
3905
3906 1999-10-07  Andreas Schwab  <schwab@suse.de>
3907
3908         * malloc/memprof.sh: Fix quoting bugs.
3909
3910 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
3911
3912         * timezone/europe: Update from tzdata1999h.
3913
3914 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
3915
3916         * elf/elf.h: Update from last gABI draft.
3917
3918         * elf/elf.h: Remove EM_486 entry.
3919         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3920         test for EM_486.
3921
3922 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
3923
3924         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3925         Add rules for both programs.
3926         * debug/pcprofiledump.c: New file.
3927         * debug/xtrace.sh: New file.
3928         * debug/pcprofile.c: Allow creating output file.  Add magic signature
3929         to let reader recognize file format.
3930
3931 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
3932
3933         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3934
3935 1999-10-05  Andreas Jaeger  <aj@suse.de>
3936
3937         * locale/programs/ld-identification.c: Fix typo in comment.
3938         * locale/programs/ld-messages.c: Likewise.
3939         * locale/programs/ld-monetary.c: Likewise.
3940         * locale/programs/ld-name.c: Likewise.
3941
3942         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3943         (collate_read): Remove unnecessary comparisons with ignore_content.
3944
3945         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3946         assigned elements.
3947         (ctype_read): Remove unnecessary comparisons with ignore_content.
3948         Fix typos in comments.
3949
3950         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3951         comparisons with ignore_content.
3952
3953 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
3954
3955         * po/cs.po: Update.
3956
3957         * time/time.h: Move __gmtime_r declaration to ...
3958         * include/time.h: ...here.
3959
3960 1999-10-05  Andreas Jaeger  <aj@suse.de>
3961
3962         * manual/message.texi (The message catalog files): Fix description
3963         to match gencat implementation and Unix98: Message fields are
3964         separated by a single blank space.
3965
3966 1999-10-05  Andreas Jaeger  <aj@suse.de>
3967
3968         * manual/string.texi (Search Functions): Add missing end for
3969         memrchr description.
3970
3971 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3972
3973         * malloc/memprof.sh: Various small cleanups.  Add short options.
3974         Write error messages to stderr.
3975
3976         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3977
3978         * malloc/memprof.sh: Take options to control memprofstat.
3979
3980         * malloc/Makefile: Add rule to generate memprof script.
3981         * malloc/memprof.sh: New file.
3982
3983         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3984         GNU standard.
3985
3986 1999-10-04  Andreas Jaeger  <aj@suse.de>
3987
3988         * configure.in: Allow makeinfo 4.*.
3989
3990 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3991
3992         * stdio-common/vfprintf.c: Correct last patch and use outchar
3993         instead of PUTC to output single characters.
3994         * stdio-common/Makefile (tests): Add bug13.
3995         * stdio-common/bug13.c: New file.
3996
3997         * configure.in: Add additional options --with-gd-include and
3998         --with-gd-lib to help people with strange installations.
3999
4000         * malloc/Makefile: Add libdl dependency to libmemprof.so.
4001         * malloc/Depend: New file.
4002
4003 1999-10-04  Andreas Jaeger  <aj@suse.de>
4004
4005         * timezone/README: Change wording to not mention the current
4006         version.  This way we can't forget to update the file.
4007
4008 1999-10-04  Andreas Jaeger  <aj@suse.de>
4009
4010         * manual/time.texi (Basic CPU Time): Fix typo.
4011         Reported by Ben Pfaff <pfaffben@msu.edu>.
4012
4013 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
4014
4015         * string/string.h: Move __memrchr declaration to ...
4016         * include/string.h: ...here.
4017
4018 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4019
4020         * string/Makefile (routines): Add memrchr.
4021
4022         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
4023         Correct order of tests for matching bytes.
4024
4025         * string/tester.c: Add tests for memrchr.
4026
4027         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
4028         Start from the last character and take decrement not increment
4029         into account for correction in return line.  Add memrchr alias.
4030         * sysdeps/i386/bits/string.h: Likewise.
4031
4032 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4033
4034         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
4035
4036 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4037
4038         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
4039
4040         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
4041         conventions.
4042
4043         * string/Versions: Export memrchr.
4044
4045 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
4046
4047         * misc/Versions (GLIBC_2.2): Add getloadavg.
4048         * misc/Makefile (routines): Add getloadavg.
4049         * sysdeps/generic/getloadavg.c: New file.
4050         * sysdeps/mach/getloadavg.c: New file.
4051         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
4052
4053         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
4054         * sysdeps/i386/bits/string.h (__memrchr): New function.
4055         * string/string.h: Declare memrchr, __memrchr.
4056         * manual/string.texi (Search Functions): Document memrchr.
4057
4058 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
4059
4060         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
4061         CFLAGS-memprofstat.c, and LIBGD variables.
4062         * config.make.in: Add LIBGD.
4063         * malloc/Makefile: Add rules to generate libmemprof.so and
4064         memprofstat.
4065         * malloc/memprof.c: New file.
4066         * malloc/memprofstat.c: New file.
4067
4068 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
4069
4070         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
4071
4072         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
4073         (inet_ntop6): Likewise.
4074
4075         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
4076         overruns.
4077
4078         * resolv/tst-aton.c (main): Add more tests.
4079
4080         * resolv/inet_addr.c (inet_aton): Correct some problems with to
4081         large numbers.  Optimize a bit.
4082
4083 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4084
4085         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
4086         account for added '0'.
4087
4088         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
4089         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
4090         len argument to be greater than needed address size.
4091
4092 1999-10-01  Andreas Jaeger  <aj@suse.de>
4093
4094         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
4095         warning.
4096         * intl/finddomain.c (_nl_find_domain): Likewise.
4097
4098 1999-09-30  Andreas Schwab  <schwab@suse.de>
4099
4100         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
4101
4102 1999-09-30  Andreas Jaeger  <aj@suse.de>
4103
4104         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
4105         * sysdeps/i386/rshift.S: Likewise.
4106         * sysdeps/i386/strchrnul.S: Likewise.
4107         * sysdeps/i386/strchr.S: Likewise.
4108         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
4109         PR libc/1339.
4110
4111 1999-09-30  Andreas Jaeger  <aj@suse.de>
4112
4113         * manual/examples/pipe.c: Close other end of pipe to make example work.
4114
4115 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
4116
4117         * timezone/checktab.awk: Update from tzcode1999g.
4118         * timezone/tzselect.ksh: Likewise.
4119         * timezone/africa: Update from tzdata1999g.
4120         * timezone/asia: Likewise.
4121         * timezone/australasia: Likewise.
4122         * timezone/europe: Likewise.
4123         * timezone/northamerica: Likewise.
4124         * timezone/southamerica: Likewise.
4125         * timezone/iso3166.tab: Likewise.
4126         * timezone/zone.tab: Likewise.
4127
4128 1999-09-27  Andreas Jaeger  <aj@suse.de>
4129
4130         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
4131         been renamed to getipnodebyname.  Move flags around.
4132
4133 1999-09-27  Andreas Schwab  <schwab@suse.de>
4134
4135         * manual/message.texi (Locating gettext catalog): Fix typos.
4136
4137 1999-09-27  Andreas Jaeger  <aj@suse.de>
4138
4139         * manual/socket.texi (Out-of-Band Data): Correct example program,
4140         rename some variables for clarity.
4141         Reported by James Antill <james@and.org>, close PR libc/1329.
4142
4143 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
4144
4145         * locale/programs/ld-collate.c (insert_value): Add hack to not
4146         crash in incomplete collate implementation.
4147
4148         * locale/programs/ld-collate.c (read_directions): Read new token
4149         after accepting sorting rule.
4150
4151 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
4152
4153         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4154         error message printing.  Correctly test whether all characters of
4155         current token are used.
4156         (ctype_read): NUL terminate last_str.
4157
4158 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
4159
4160         * nscd/connections.c: Invalidate caches on request.
4161         * nscd/nscd-client.h: Add INVALIDATE to request_type.
4162         * nscd/nscd.c: Add invalidate cache option.
4163         * nscd/nscd.conf: Change log directory to /var/log (FHS).
4164
4165 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
4166
4167         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4168         not ovverwrite last group member with NULL pointer.
4169         Reported by Thomas Winder <thomas.winder@newlogic.at>.
4170
4171 1999-09-24  Andreas Jaeger  <aj@suse.de>
4172
4173         * stdio-common/tst-printf.c (main): Add a testcase for large
4174         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4175
4176 1999-09-24  Andreas Schwab  <schwab@suse.de>
4177
4178         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
4179
4180 1999-09-24  Andreas Jaeger  <aj@suse.de>
4181
4182         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4183         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
4184
4185 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
4186
4187         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4188         variable.  Define MORECORE_CLEARS to 2.
4189
4190         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4191         doesn't clear the contents of memory that is reallocated after
4192         decrementing the break value first.  Update comment about
4193         MORECORE_CLEARS, explaining the meaning of the values it can be
4194         set to.
4195
4196 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
4197
4198         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4199         one more case.
4200
4201         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4202         (log): Likewise.
4203         (log10): Likewise.
4204         (log1p): Likewise.
4205         (log2): Likewise.
4206
4207 1999-09-22  Andreas Jaeger  <aj@suse.de>
4208
4209         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4210         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4211
4212 1999-09-22  Andreas Schwab  <schwab@suse.de>
4213
4214         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4215
4216 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4217
4218         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4219         the source directory.  Fixes PR libc/1059.
4220
4221 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
4222
4223         * locale/programs/repertoire.c (repertoire_find_value): Abort if
4224         rep parameter is NULL.
4225         (repertoire_find_symbol): Likewise.
4226         (repertoire_find_seq): Likewise.
4227
4228 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
4229
4230         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4231         returned errno value in some cases.
4232
4233 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4234
4235         * iconvdata/Makefile (modules): Add GBK.
4236         (distribute): Add gbk.c.
4237         * iconvdata/gbk.c: New file.
4238         * iconvdata/gconv-modules: Add GBK entry.
4239         Contributed by Sean Chen <sean.chen@turbolinux.com>.
4240
4241         * locale/programs/ld-monetary.c (monetary_output): Remove
4242         byte-order code.
4243
4244         * locale/programs/ld-time.c (time_output): Correct expected number
4245         of iov entries.
4246
4247         * manual/filesys.texi (Testing File Access): Correct description of
4248         SUID.
4249
4250 1999-080-25  H.J. Lu  <hjl@gnu.org>
4251
4252         * csu/defs.awk (.end): Only match with leading white spaces.
4253         (.align): Likewise.
4254
4255 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4256
4257         * stdlib/isomac.c: Add va_copy to allowed macros.
4258
4259         * po/pl.po: Updated.
4260
4261 1999-09-17  Andreas Schwab  <schwab@suse.de>
4262
4263         * Makefile (clean): Also remove $(postclean) files.
4264
4265 1999-09-15  Andreas Jaeger  <aj@suse.de>
4266
4267         * pwd/Makefile (otherlibs): Add for building with static-nss.
4268         * inet/Makefile (otherlibs): Likewise.
4269
4270 1999-09-15  Andreas Jaeger  <aj@suse.de>
4271
4272         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4273         function definition to avoid a compilation failure.
4274
4275 1999-09-15  Andreas Jaeger  <aj@suse.de>
4276
4277         * stdlib/tst-environ.c (main): Add getenv regression test for
4278         environment variable that's one character long.
4279
4280 1999-09-15  Andreas Jaeger  <aj@suse.de>
4281
4282         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4283         signal definitions to let glibc compile with older Linux versions
4284         (2.0.10 to 2.1.100 or so).
4285
4286 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
4287
4288         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4289         return zero to indicate no children died yet (assuming WNOHANG).
4290
4291         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4292
4293 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
4294
4295         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4296
4297         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4298         Return _hurd_pgrp instead of 0.
4299
4300 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
4301
4302         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4303         pages rather than just reprotecting them.  This way we don't hold on
4304         to the backing space.
4305
4306         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4307         Use __munmap instead of __vm_deallocate.
4308
4309 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
4310
4311         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4312         returned errno value in some cases.
4313
4314 1999-09-17  Andreas Jaeger  <aj@suse.de>
4315
4316         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4317         to override user settings.
4318
4319 1999-09-17  Andreas Schwab  <schwab@suse.de>
4320
4321         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4322         using a pointer to it.
4323
4324 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
4325
4326         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4327         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4328
4329 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
4330
4331         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4332
4333         * elf/elf.h (PF_MASKOS): New definition.
4334         (EM_VAX): New definition.
4335
4336 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
4337
4338         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4339         'unsigned char ftype[8]', and 'unsigned int init_flag' to
4340         struct user_fp.  These were added in version 2.2.12 of the
4341         ARM Linux kernel.
4342         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4343         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4344         The generic procfs.h included <asm/elf.h>.  This causes
4345         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4346         are included in the same source file.  Found when building GDB.
4347
4348 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
4349
4350         * locale/langinfo.h: Remove byte-order dependent names.
4351         * locale/categories.def: Update after removal of byte-order dependent
4352         names.
4353         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4354         with magic number in other byte order.
4355         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4356         * locale/C-collate.c: Remove initializers for other byte-order.
4357         * locale/C-ctype.c: Likewise.
4358         * locale/C-monetary.c: Likewise.
4359         * locale/C-paper.c: Likewise.
4360         * locale/C-time.c: Likewise.
4361         * locale/lc-collate.c: Remove byte-order oriented initialization.
4362         * locale/lc-ctype.c: Likewise.
4363         * locale/lc-monetary.c: Likewise.
4364         * locale/lc-time.c: Likewise.
4365         * locale/programs/ld-address.c: Don't generate output in both
4366         byte-orders.
4367         * locale/programs/ld-ctype.c: Likewise.
4368         * locale/programs/ld-paper.c: Likewise.
4369         * locale/programs/ld-time.c: Likewise.
4370         * time/strftime.c (NLW): Don't use different byte-orders.
4371         * wctype/cname-lookup.h (cname_lookup): Likewise.
4372
4373         * Makeconfig (localedir): Define using libdir, not datadir.
4374         (msgcatdir): New variable.
4375         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4376         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4377         msgcatdir.
4378         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4379         (CPPFLAGS): Define paths using msgcatdir.
4380         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4381         * po/Makefile (mo-installed): Define using msgcatdir.
4382
4383         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4384
4385 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
4386
4387         * stdio-common/vfprintf.c: Remove limitation on size of precision
4388         for integers.
4389
4390         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4391         glibc by defining internal_function if it isn't already.
4392
4393         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4394         fails don't rely on errno value.
4395         (getanswer_r): Set *ERRNOP in error cases.
4396
4397         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4398         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4399         associated data.  Test for matching numeric address and family.
4400         (getaddrinfo): Remember EAI_NODATA result and return this in case
4401         everything fails.
4402         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4403
4404         * locale/programs/ld-address.c: Fix handling of non-existing
4405         definitions for this category.  Correctly ignore content of this
4406         category is this is necessary.
4407         * locale/programs/ld-collate.c: Likewise.
4408         * locale/programs/ld-ctype.c: Likewise.
4409         * locale/programs/ld-identification.c: Likewise.
4410         * locale/programs/ld-measurement.c: Likewise.
4411         * locale/programs/ld-messages.c: Likewise.
4412         * locale/programs/ld-monetary.c: Likewise.
4413         * locale/programs/ld-name.c: Likewise.
4414         * locale/programs/ld-numeric.c: Likewise.
4415         * locale/programs/ld-paper.c: Likewise.
4416         * locale/programs/ld-telephone.c: Likewise.
4417         * locale/programs/ld-time.c: Likewise.
4418         * locale/programs/locfile.h (handle_copy): Take extra parameter
4419         with result pointer.  Fill in name of locale from which to copy.
4420         Correctly read token after `END'.
4421
4422         * locale/programs/localedef.c (main): Correct handling copy.
4423         (add_to_readlist): Take extra parameter which says whether we
4424         are supposed to read the file or not.
4425         (find_locale): Call add_to_readlist with extra parameter set to 0.
4426
4427         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4428         instead of wrong number in array definitions.
4429         (add_to_readlist): Update prototype.
4430
4431         * locale/programs/locfile.c (locfile_read): Mark categories not
4432         available in source file as read.
4433         (write_all_categories): Fix typo.
4434
4435         * locale/programs/locales.h: Removed.
4436
4437 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
4438
4439         * elf/elf.h (SHF_MASKOS): Added.
4440
4441         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
4442
4443 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4444
4445         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
4446
4447 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4448
4449         * configure.in: Fix make version test for make 3.77.95 and later
4450         versions.
4451         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
4452
4453 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
4454
4455         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
4456
4457         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
4458         WINT_MAX values.
4459
4460         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
4461
4462 1999-09-09  Andreas Schwab  <schwab@suse.de>
4463
4464         * elf/link.h: Fix comment.
4465
4466 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
4467
4468         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
4469
4470         * math/math.h: Pretty print.
4471
4472 1999-09-10  Andreas Schwab  <schwab@suse.de>
4473
4474         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
4475         character variable on bigendian platforms without unaligned memory
4476         access.
4477
4478 1999-09-07  Cristian Gafton  <gafton@redhat.com>
4479
4480         * sysdeps/unix/sysv/linux/sys/raw.h: New file
4481         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
4482         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
4483
4484 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
4485
4486         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
4487
4488         * time/ap.c: Removed.  It was not used.
4489         * time/date.c: Likewise.
4490         * sysdeps/unix/nlist.c: Likewise.
4491         * sysdeps/generic/nlist.c: Likewise.
4492         * sysdeps/generic/varargs.h: Likewise.
4493         * stdio-common/scanf11.c: Likewise.
4494         * stdio-common/scanf6.c: Likewise.
4495         * scripts/=__ify: Likewise.
4496         * scripts/printsources: Likewise.
4497         * resolv/getnetnamadr.c: Likewise.
4498         * posix/id.c: Likewise.
4499         * misc/ioctltst.c: Likewise.
4500         * misc/nlist.h: Likewise.
4501         * math/test-math.h: Likewise.
4502         * include/nlist.h: Likewise.
4503
4504 1999-09-06  Andreas Schwab  <schwab@suse.de>
4505
4506         * time/tzset.c (compute_change): Replace slow loop to compute T by
4507         simple algorithm.
4508
4509 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
4510
4511         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
4512         escape sequences out even if the character itself does not fit
4513         into the buffer.
4514
4515         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
4516
4517 1999-08-31  H.J. Lu  <hjl@gnu.org>
4518
4519         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
4520
4521 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
4522
4523         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
4524         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
4525         (_hurd_priority_which_map):
4526
4527 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
4528
4529         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
4530
4531 1999-09-03  Andreas Schwab  <schwab@suse.de>
4532
4533         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
4534         fork from __syscall_fork to __libc_fork.
4535         * posix/Versions: Add __libc_fork and __vfork to version
4536         GLIBC_2.1.2.
4537
4538 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4539
4540         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
4541         dependencies in sort.
4542
4543 1999-09-01  H.J. Lu  <hjl@gnu.org>
4544
4545         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
4546
4547         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
4548         <sys/user.h> instead of <asm/user.h>.
4549
4550 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
4551
4552         * elf/elf.h: Update PARISC-specific flags and symbolic names.
4553
4554 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
4555
4556         * elf/elf.h: Update PARISC relocations.
4557
4558 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
4559
4560         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
4561         #ifdef statement to prevent it from being included twice.
4562         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
4563         #include <bits/armsigctx.h>.
4564
4565 1999-08-31  Andreas Schwab  <schwab@suse.de>
4566
4567         * locale/C-collate.c: Add missing initialisations.
4568         * locale/C-ctype.c: Likewise.
4569
4570 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
4571
4572         * time/strftime.c (my_strftime): Remove unneeded variable len.
4573
4574         * time/strptime.c: Undo last change.
4575
4576 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
4577
4578         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4579         Change charset.h to charmap.h.
4580         (categories): Add new categories.  Leave out collate for now.
4581         Update build rules.
4582         * locale/categories.def: Add definitions for new categories.
4583         * locale/langinfo.h: Likewise.
4584         * locale/locale.h: Likewise.
4585         * locale/C-address.c: New file.
4586         * locale/C-identification.c: New file.
4587         * locale/C-measurement.c: New file.
4588         * locale/C-name.c: New file.
4589         * locale/C-paper.c: New file.
4590         * locale/C-telephone.c: New file.
4591         * locale/lc-address.c: Likewise.
4592         * locale/lc-identification.c: Likewise.
4593         * locale/lc-measurement.c: Likewise.
4594         * locale/lc-name.c: Likewise.
4595         * locale/lc-paper.c: Likewise.
4596         * locale/lc-telephone.c: Likewise.
4597         * locale/C-ctype.c: Update for locale rewrite.
4598         * locale/C-messages.c: Likewise.
4599         * locale/C-monetary.c: Likewise.
4600         * locale/C-time.c: Likewise.
4601         * locale/lc-collate.c: Likewise.
4602         * locale/lc-ctype.c: Likewise.
4603         * locale/lc-monetary.c: Likewise.
4604         * locale/lc-time.c: Likewise.
4605         * locale/localeinfo.h: Likewise.
4606         * locale/newlocale.c: Likewise.
4607         * locale/setlocale.c: Likewise.
4608         * locale/weight.h: Likewise.
4609         * locale/findlocale.c: Unconditionally use mmap.
4610         Handle new categories.
4611         * locale/loadlocale.c: Likewise.
4612         * locale/iso-3166.def: New file.
4613         * locale/iso-639.def: New file.
4614         * locale/programs/charmap-kw.gperf: Add new keywords.
4615         * locale/programs/locfile-kw.gperf: Likewise.
4616         * locale/programs/locfile-token.h: Define new tokens.
4617         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4618         * locale/programs/charmap.h: New file.
4619         * locale/programs/charset.h: Removed.
4620         * locale/programs/config.h: Add __LC_LAST.
4621         * locale/programs/lc-address.c: New file.
4622         * locale/programs/lc-identification.c: New file.
4623         * locale/programs/lc-measurement.c: New file.
4624         * locale/programs/lc-name.c: New file.
4625         * locale/programs/lc-paper.c: New file.
4626         * locale/programs/lc-telephone.c: New file.
4627         * locale/programs/lc-collate.c: Update for locale rewrite.
4628         * locale/programs/lc-ctype.c: Likewise.
4629         * locale/programs/lc-messages.c: Likewise.
4630         * locale/programs/lc-monetary.c: Likewise.
4631         * locale/programs/lc-numeric.c: Likewise.
4632         * locale/programs/lc-time.c: Likewise.
4633         * locale/programs/locale.c: Likewise.
4634         * locale/programs/localedef.c: Likewise.
4635         * locale/programs/locfile.c: Likewise.
4636         * locale/programs/repertoire.c: Likewise.
4637         * locale/programs/repertoire.h: Likewise.
4638         * locale/programs/locfile.c: Update prototypes.
4639         Update handle_copy definition.
4640         * locale/programs/linereader.c: Add handling of wide char strings and
4641         new definition file syntax.
4642         * locale/programs/linereader.h (struct token): Add elements for wide
4643         character strings.
4644         * locale/programs/locale-spec.c: Disable handling of collation
4645         elements for now.
4646         * locale/programs/simple-hash.h: Cleanup.
4647         * locale/programs/stringtrans.h: Handle quite of end of line.
4648         * string/strcoll.c: Fall back on strcmp for now.
4649         * string/strxfrm.c: Fall back on strncpy/strlen for now.
4650         * time/strftime.c: Use new wide character data for wcsftime.
4651         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4652         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4653
4654         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4655         compiling for i386 to avoid i686-like GOT pointer computation.
4656
4657         * db2/db_int.h: Change tsl_t type to u_int32_t.
4658         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4659         * db2/mutex/alpha.h: New file.
4660         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
4661         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4662         known.
4663         Patches by Richard Henderson.
4664
4665         * stdlib/tst-environ.c: Add cast to avoid warning.
4666         * timezone/test-tz.c: Use setenv instead of putenv.
4667
4668 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4669
4670         * manual/libc.texinfo: Update version and date.
4671
4672         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4673
4674         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4675         (File System Interface): Correct entry.
4676         (Permission Bits): Add missing commata after @xref.
4677
4678 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4679
4680         * timezone/tst-timezone.c (main): Don't pass const strings to
4681         putenv to avoid warnings.
4682
4683         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4684
4685 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
4686
4687         * nis/Versions: Add _nss_*_getipnodebyname_r.
4688         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4689         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4690         * nss/Versions: Add _nss_files_getipnodebyname_r.
4691
4692 1999-08-28  H.J. Lu  <hjl@gnu.org>
4693
4694         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4695         memory for buffer.
4696
4697 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
4698
4699         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4700         kernel.
4701         * inet/netinet/in.h: Likewise.
4702         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4703         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4704
4705 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
4706
4707         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4708         thresholds for SUID binaries.  [PR libc/1277]
4709
4710         * posix/regexbug1.c: Add one more similar case.
4711
4712 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4713
4714         * manual/install.texi (Running make install): Give examples for
4715         timezone and locale installation.
4716
4717 1999-08-28  Zack Weinberg  <zack@bitmover.com>
4718
4719         * glibcbug.in: Get CCVERSION from autoconf substitution.
4720         * configure.in: Calculate and substitute CCVERSION.
4721
4722 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4723
4724         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4725         partially reverting a patch from 1998-12-29.  We just can't change
4726         the flags, kernels with different flags lead to
4727         incompatibilities.
4728
4729 1999-08-26  Andreas Schwab  <schwab@suse.de>
4730
4731         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4732
4733 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
4734
4735         * inet/rexec.c (rexec): Free memory if strings were allocated in
4736         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
4737
4738 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
4739
4740         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4741
4742         * manual/argp.texi: Fixing language and typos.
4743         * manual/conf.texi: Likewise.
4744         * manual/contrib.texi: Likewise.
4745         * manual/ctype.texi: Likewise.
4746         * manual/filesys.texi: Likewise.
4747         * manual/install.texi: Likewise.
4748         * manual/job.texi: Likewise.
4749         * manual/lang.texi: Likewise.
4750         * manual/llio.texi: Likewise.
4751         * manual/locale.texi: Likewise.
4752         * manual/math.texi: Likewise.
4753         * manual/nss.texi: Likewise.
4754         * manual/pipe.texi: Likewise.
4755         * manual/signal.texi: Likewise.
4756         * manual/socket.texi: Likewise.
4757         * manual/stdio.texi: Likewise.
4758         * manual/sysinfo.texi: Likewise.
4759         * manual/users.texi: Likewise.
4760         Patches by Neil Booth <NeilB@earthling.net>.
4761
4762 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
4763
4764         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4765         unsigned to avoid warning.  [PR libc/1271].
4766
4767         * conform/conformtest.pl: Allow testing regex.h which requires
4768         sys/types.h being included.
4769
4770         * conform/data/regex.h-data: Allow *_t types.
4771         * conform/data/pwd.h-data: Likewise.
4772         * conform/data/sched.h-data: Likewise.
4773         * conform/data/pthread.h-data: Likewise.
4774         * conform/data/search.h-data: Likewise.
4775
4776         * misc/search.h: Avoid namespace pollution.
4777
4778         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4779         pwd.h, and pthread.h.
4780         * conform/data/pthread.h-data: New file.
4781         * conform/data/pwd.h-data: New file.
4782         * conform/data/regex.h-data: New file.
4783         * conform/data/sched.h-data: New file.
4784         * conform/data/search.h-data: New file.
4785
4786         * NAMESPACE: Add REG_ for regex.h.
4787
4788         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4789         they are removed.
4790
4791         * configure.in (libc_cv_asm_global_directive): Indent .text in
4792         test code so that the lame HPUX compiler recognizes it.
4793         * sysdeps/hppa/bits/endian.h: New file.
4794         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4795         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4796         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4797         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4798
4799         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4800         Patch by John Tobey <jtobey@banta-im.com>.
4801
4802         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4803
4804         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4805         old_siocfifconf definition to toplevel.
4806         (__protocol_available): Remove old_siocfifconf definition.
4807
4808 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
4809
4810         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4811         really dealing with a master pseudo terminal, and really returning
4812         the name of the associated slave pseudo terminal by checking the
4813         device number.
4814         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4815         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4816
4817 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4818
4819         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4820         underscore in _llseek entry.
4821
4822         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4823         entry.
4824
4825         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4826         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4827
4828         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4829         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4830
4831 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
4832
4833         * inet/Makefile (routines): Add getipnodebynm.
4834         * inet/getipnodebynm.c: New file.
4835         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4836         interface type.
4837         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4838         EXTRA_ARGS_VALUE is not already done.
4839         (internal_getent): Allow extra parameters and pass them to parse_line.
4840         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4841         (_nss_files_get##name##_r): Likewise.
4842         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4843         and EXTRA_ARGS_VALUE to pass flags and type to parser.
4844         Add getipnodebyname function.
4845         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4846         EXTRA_ARGS_VALUE is not already done.
4847         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4848         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4849         to parse_line.
4850         (_nss_db_get##name##_r): Pass extra parameters to lookup.
4851         (_nss_db_get,ENTNAME_r): Likewise.
4852         * sysdeps/generic/if_index.c (__protocol_available): New function.
4853         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4854
4855 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
4856
4857         * login/pty-private.h: Move to...
4858         * sysdeps/generic/pty-private.h: ...here.
4859         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
4860         version.
4861         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4862         available.
4863
4864         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4865         of __overflow.
4866
4867         * conform/conformtest.pl (@headers): Add monetary.h-data,
4868         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4869         * conform/data/monetary.h-data: New file.
4870         * conform/data/mqueue.h-data: New file.
4871         * conform/data/ndbm.h-data: New file.
4872         * conform/data/nl_types.h.h-data: New file.
4873         * conform/data/poll.h-data: New file.
4874
4875         * stdio-common/Makefile (test): Add tst-cookie.
4876         * stdio-common/tst-cookie.c: New file.
4877
4878         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4879         changed in last patch.  Reported by Ralf Baechle.
4880
4881 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4882
4883         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4884
4885         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4886         Patches by Ralf Baechle <ralf@uni-koblenz.de>
4887
4888 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4889
4890         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4891         Linux 2.3.15.
4892
4893 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
4894
4895         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4896         syscall.
4897         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4898
4899         * misc/libgen.h: Don't take basename macro as taking arguments.
4900
4901         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4902         for gcc >= 2.95.
4903         * sysdeps/i386/bits/huge_val.h: Likewise.
4904         * sysdeps/i386/bits/huge_val.h: Likewise.
4905         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4906         * sysdeps/m68k/bits/huge_val.h: Likewise.
4907         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4908         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4909
4910         * conform/Makefile: New file.
4911         * conform/conformtest.pl: New file.
4912         * conform/data/aio.h-data: New file.
4913         * conform/data/assert.h-data: New file.
4914         * conform/data/cpio.h-data: New file.
4915         * conform/data/ctype.h-data: New file.
4916         * conform/data/dirent.h-data: New file.
4917         * conform/data/dlfcn.h-data: New file.
4918         * conform/data/errno.h-data: New file.
4919         * conform/data/fcntl.h-data: New file.
4920         * conform/data/float.h-data: New file.
4921         * conform/data/fmtmsg.h-data: New file.
4922         * conform/data/fnmatch.h-data: New file.
4923         * conform/data/ftw.h-data: New file.
4924         * conform/data/glob.h-data: New file.
4925         * conform/data/grp.h-data: New file.
4926         * conform/data/iconv.h-data: New file.
4927         * conform/data/inttypes.h-data: New file.
4928         * conform/data/iso646.h-data: New file.
4929         * conform/data/langinfo.h-data: New file.
4930         * conform/data/libgen.h-data: New file.
4931         * conform/data/locale.h-data: New file.
4932         * conform/data/math.h-data: New file.
4933
4934 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4935
4936         * posix/execvp.c (execvp): Correct copying of file name.
4937
4938 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
4939
4940         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4941
4942 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4943
4944         * stdio-common/Makefile: Move addition to routines to the right place.
4945
4946 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4947
4948         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
4949         since mips*-linux has ECANCELED.
4950
4951 1999-08-23  Andreas Schwab  <schwab@suse.de>
4952
4953         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4954         SIGCONTEXT_EXTRA_ARGS.
4955         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4956         * sysdeps/generic/sigcontextinfo.h: Likewise.
4957         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4958         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4959         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4960         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4961         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4962         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4963
4964 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4965
4966         * posix/regexbug1.c: Make it an error if the test fails.
4967
4968 1999-08-23  Andreas Schwab  <schwab@suse.de>
4969
4970         * posix/regex.c (re_match_2_internal): Correct check for charset
4971         after exactn in loop.
4972
4973 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
4974
4975         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4976         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4977         Patch by Joel Klecker.
4978
4979         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4980         (__gconv_find_transform): Update prototype.
4981         (__gconv_open): Likewise.
4982         * iconv/gconv_open.c: Take extra parameter and pass it to
4983         __gconv_find_transform.
4984         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4985         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
4986         transformation.
4987         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4988         * wcsmbs/wcsmbsload.c: Likewise.
4989         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4990         iconv for glibc.
4991         * intl/gettextP.h: Likewise.
4992         * intl/loadmsgcat.c: Likewise.
4993
4994         * posix/regexbug1.c: New file.
4995         * posix/Makefile (tests): Add regexbug1.
4996
4997 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
4998
4999         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
5000         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
5001         installing PORT in the descriptor cell.
5002
5003 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
5004
5005         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
5006         TIMEOUT as outputs of the asm to indicate that the signal thread
5007         might mutate them.
5008         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
5009         mach_msg if only sending or only receiving (i.e., not an RPC).  When
5010         making an RPC that might get interrupted, save OPTION and the portion
5011         of the message buffer that gets clobbered by an EINTR reply message,
5012         and properly restore them before attempting to retry the request
5013         message send.
5014
5015 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5016
5017         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
5018         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
5019         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
5020         stdio is used instead of libio.
5021         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
5022         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
5023         to make the code compile again when stdio is used instead of
5024         libio.
5025         (vfprintf): Only check for correct orientation if ORIENT is
5026         defined.
5027         * stdio-common/Makefile (routines): Only add vfwprintf and
5028         vfwscanf if we're using libio.
5029
5030 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5031
5032         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
5033         any additional prototype just as we do for libio.
5034
5035 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5036
5037         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
5038         TZNAME_MAX.  These limits are not X/Open specific.
5039         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
5040         is defined.
5041
5042 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
5043
5044         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
5045         UIO_MAXIOV is left undefined in sys/uio.h.
5046         * stdio-common/stdio_lim.h.in: Adapt for change above.
5047
5048 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5049
5050         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
5051         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
5052         Patches by Ralf Baechle <ralf@uni-koblenz.de>
5053
5054 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
5055
5056         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
5057
5058 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
5059
5060         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
5061
5062         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
5063         call.  It should not be necessary andis harmful for Alpha.
5064
5065         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
5066         type.  [PR libc/1269]
5067
5068         * posix/execvp.c (execvp): Allocate array name of correct size.
5069         Optimize inner loop.  Use execve directly, not execv.
5070
5071         * elf/elf.h: Corrected SHT_ values from new draft.
5072
5073         * intl/gettextP.h (struct loaded_domain): Add conv element.
5074         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
5075         Instead of returning found message directly convert it using iconv
5076         if a conversion was found when opening the file.
5077         * intl/loadinfo.h: Protect against multiple inclusion.
5078         Declare _nl_find_msg.
5079         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
5080         in the message file and if necessary find approrpiate
5081         conversion to match currently selected charset.
5082         * include/libintl.h: Declare __dgettext and __dcgettext.
5083         * include/iconv.h: New file.
5084
5085 1999-08-20  Andreas Schwab  <schwab@suse.de>
5086
5087         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5088
5089 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
5090
5091         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
5092         all threads [PR libc/1223].
5093
5094         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
5095         [PR libc/1165].
5096
5097         * configure.in: Search for programs with prefix gnu* and g* first.
5098         [PR libc/1104].
5099
5100         * dirent/Makefile (routines): Add getdents64.
5101         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
5102         Remove getdents64.
5103         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
5104         compiled with _FILE_OFFSET_BITS=64.
5105         * sysdeps/generic/getdents64.c: New file.
5106         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
5107         __lseek for getdirentries64 definition.
5108
5109         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
5110
5111         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
5112         _FILE_OFFSET_BITS=64.
5113
5114         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
5115         parameter.
5116
5117         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
5118         after we have the lock.
5119
5120         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
5121         Patch by Richard Henderson.
5122
5123 1999-08-19  Andreas Schwab  <schwab@suse.de>
5124
5125         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
5126         and call _IO_fwide, to get the wide stream state initialized
5127         correctly.  Don't set _IO_JUMPS.
5128         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
5129         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
5130         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
5131         directly.
5132
5133 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5134
5135         * math/libm-test.c (jn_test): Fix typo in description.
5136         (erfc_test): Add some more tests.
5137         (erf_test): Add some more tests.
5138
5139 1999-08-19  Andreas Schwab  <schwab@suse.de>
5140
5141         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5142         expression using $(exceptions).
5143
5144 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5145
5146         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5147
5148         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5149         allocated so far.  [PR libc/1261].
5150
5151         * math/libm-test.c (j0_test): Adjust deltas for m68k.
5152         (jn_test): Likewise.
5153
5154         * dirent/dirent.h: Only define ino64_t if not already done.
5155         * posix/sys/types.h: Likewise.
5156
5157         * ctype/ctype.h: Avoid useless #endif #if pairs.
5158
5159         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5160         (seekdir): Fix type of second parameter.
5161         * sysdeps/generic/seekdir.c: Likewise.
5162         * sysdeps/mach/hurd/seekdir.c: Likewise.
5163         * sysdeps/unix/seekdir.c: Likewise.
5164
5165         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5166
5167 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5168
5169         * manual/install.texi (Configuring and compiling): Clarify ix86
5170         situation.
5171
5172 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5173
5174         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5175         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5176         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5177         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
5178
5179         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5180
5181         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5182
5183         * misc/search.h: Don't define NULL.
5184
5185         * posix/sys/types.h: Define blksize_t if it hasn't happened.
5186         Only define key_t and blkcnt_t if it hasn't happened before.
5187         Define blksize_t if not happened before.
5188         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
5189         * sysdeps/generic/bits/types.h: Define __blksize_t.
5190         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5191         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5192         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5193         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5194         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5195         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5196         st_blksize member.
5197         (struct stat64): Likewise.
5198         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5199         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5200         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5201         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5202         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5203         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5204         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5205
5206         * stdlib/getsubopt.c: Correct type of second argument.
5207         * stdlib/stdlib.h: Likewise.
5208
5209         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
5210         and ssize_t.
5211
5212         * sysdeps/generic/putenv.c: Correct type of parameter.
5213         * stdlib/stdlib.h: Likewise.
5214
5215         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5216         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5217         * sysvips/sys/msg.h: Likewise.
5218
5219         * sysdeps/generic/semop.c: Correct type of third parameter.
5220         * sysdeps/unix/sysv/linux/semop.c: Likewise.
5221         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
5222         size_t.
5223
5224         * sysdeps/generic/shmget.c: Correct type of second parameter.
5225         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5226         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
5227         Declare __getpagesize here.
5228
5229         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5230         sys/types.h.
5231         * sysdeps/gnu/bits/ipc.h: Likewise.
5232         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5233         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5234         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5235         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5236         already done.
5237
5238         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5239
5240         * debug/versions: Export __cyg_profile_func_enter and
5241         __cyg_profile_func_exit.
5242
5243         * math/bits/mathcalls.h: Pretty print.
5244
5245 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5246
5247         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5248         case for new tzdata.
5249
5250         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5251         unsigned.
5252         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5253         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5254         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5255         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5256
5257         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5258
5259         * sysdeps/generic/ualarm.c (ualarm): Change return value and
5260         parameter type to useconds_t.
5261         * sysdeps/unix/bsd/ualarm.c: Likewise.
5262
5263         * sysdeps/generic/usleep.c (usleep): Change parameter type to
5264         useconds_t.
5265         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5266         * sysdeps/mach/usleep.c: Likewise.
5267
5268         * locale/weight.h: Include <errno.h>.
5269
5270         * posix/sys/types.h: Define type useconds_t if not done already.
5271         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
5272         declarations.
5273         * sysdeps/generic/bits/types.h: Define type __useconds_t.
5274         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5275         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5276         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5277         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5278         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5279
5280         * dirent/dirent.h (telldir): Change return type to long int.
5281         * sysdeps/generic/telldir.c: Likewise.
5282         * sysdeps/mach/hurd/telldir.c: Likewise.
5283         * sysdeps/unix/telldir.c: Likewise.
5284         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
5285
5286         * locale/weight.h: Set errno if an invalid character is found.
5287
5288 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5289
5290         * math/libm-test.c (erfc_test): Add test for example from PR
5291         libc/1259.
5292         (erf_test): Likewise.
5293
5294 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5295
5296         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5297         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
5298
5299         * timezone/private.h: Update from tzcode1999e.
5300         * timezone/zic.c: Likewise.
5301
5302         * timezone/africa: Update from tzdata1999e.
5303         * timezone/antarctica: Likewise.
5304         * timezone/asia: Likewise.
5305         * timezone/australasia: Likewise.
5306         * timezone/europe: Likewise.
5307         * timezone/leapseconds: Likewise.
5308         * timezone/northamerica: Likewise.
5309         * timezone/southamerica: Likewise.
5310
5311         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5312         and write correct number of bytes in case of %ls with precision.
5313         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5314
5315 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
5316
5317         * nscd/nscd.init: Test for kernel version and make LSB compliant.
5318         Patch by Christian Gafton.
5319
5320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5321         O_RSYNC.  Patch by Christian Gafton.
5322
5323         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5324         possibly unterminated strings for %ls when a precision is
5325         specified.
5326         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5327
5328         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5329         update_conversion_ptrs.
5330         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5331
5332 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5333
5334         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5335         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5336
5337         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5338         * wcsmbs/tst-wcsnlen.c: New file.
5339
5340 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5341
5342         * libio/ioputs.c (_IO_puts): Add missing brace.
5343
5344 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
5345
5346         * math/libm-test.c: Tweak deltas for a clean run on ppc.
5347
5348 1999-08-10  H.J. Lu  <hjl@gnu.org>
5349
5350         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5351         (vfprintf): Likewise.
5352         * stdio-common/vfscanf.c (ORIENT): Likewise.
5353         * libio/genops.c (__underflow): Likewise.
5354         (__uflow): Likewise.
5355         * libio/iofputs.c (_IO_fputs): Likewise.
5356         * libio/ioftell.c (_IO_ftell): Likewise.
5357         * libio/iofwrite.c (_IO_fwrite): Likewise.
5358         * libio/ioputs.c (_IO_puts): Likewise.
5359         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5360         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5361
5362 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5363
5364         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5365
5366 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5367
5368         * manual/job.texi (Process Group Functions): Document getpgid,
5369         getsid.
5370
5371 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5372
5373         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5374         initialize si_pid from it.
5375         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5376         parameter.
5377         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5378         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5379         (struct requestlist): Likewise.
5380         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5381         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
5382         to __aio_sigqueue.
5383         (__aio_notify): Pass caller PID to __aio_notify_only.
5384         * rt/aio_suspend.c: Initialize caller_pid.
5385         * rt/lio_listio.c: Likewise.
5386         * rt/lio_listio64.c: Likewise.
5387
5388         * rt/lio_listio.c: If nothing has to be done free mutex before
5389         signalling.
5390         * rt/lio_listio64.c: Likewise.
5391
5392 1999-08-10  H.J. Lu  <hjl@gnu.org>
5393
5394         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5395         handling.
5396
5397 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5398
5399         * elf/elf.h: Define ElfXX_Versym.
5400         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5401         definition.
5402
5403         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5404         for string output correctly in the wide character case.
5405         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5406
5407         * intl/locale.alias: Add catalan.
5408
5409 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5410
5411         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5412
5413 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5414
5415         * po/pt_BR.po: New file.
5416
5417 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5418
5419         * math/libm-test.c (yn_test): Adjust deltas for i386.
5420         (ccosh_test): Likewise.
5421         (jn_test): Likewise.
5422
5423 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5424
5425         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5426
5427 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
5428
5429         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5430         problem.
5431
5432 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5433
5434         * configure.in: install-sh lives now in scripts subdir.
5435         PR libc/1255 (bug 4).
5436
5437 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
5438
5439         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
5440         version.
5441
5442         * po/fr.po: Update.
5443
5444 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
5445
5446         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
5447
5448 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
5449
5450         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
5451         exponent.
5452
5453 1999-08-10  Andreas Schwab  <schwab@suse.de>
5454
5455         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
5456         header.
5457
5458 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
5459
5460         * elf/elf.h: Added definition of ELFOSABI_ARM.
5461         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
5462         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
5463         object's header and ABI values are acceptable.
5464         (VALID_ELF_HEADER): New macro; provide default definition.
5465         (VALID_ELF_OSABI): New macro; provide default definition.
5466         (VALID_ELF_ABIVERSION): New macro; provide default definition.
5467         * sysdeps/arm/dl-machine.h Define ARM specific versions of
5468         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
5469
5470 1999-08-09  Andreas Schwab  <schwab@suse.de>
5471
5472         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
5473
5474 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
5475
5476         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
5477
5478 1999-08-09  Andreas Schwab  <schwab@suse.de>
5479
5480         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
5481
5482 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
5483
5484         * sysdeps/ieee754/ieee754.h: Handle platforms with special
5485         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
5486
5487         * string/bits/string2.h: Mark void* operations as extensions.
5488         * sysdeps/i386/i486/bits/string.h: Likewise.
5489
5490         * debug/Makefile (routines): Add noophooks.
5491         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
5492         * debug/noophooks.c: New file.
5493         * debug/pcprofile.c: New file.
5494
5495 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
5496
5497         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
5498         systems which allow using the functions also on non-seekable
5499         devices.
5500
5501         * resolv/res_send.c (res_send): Recompute timeout for poll for
5502         each jump to `wait'.
5503
5504         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
5505         braces to avoid warnings.
5506         (IN6ADDR_LOOPBACK_INIT): Likewise.
5507
5508         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
5509         MSG_DONTWAIT).
5510
5511 1999-08-06  H.J. Lu  <hjl@gnu.org>
5512
5513         * malloc/malloc.c: Initialize __libc_pagesize early.
5514
5515 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
5516
5517         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
5518         defining it.
5519
5520         * inet/Makefile (tests): Add tst-ipnode.
5521         * inet/tst-ipnode.c: New file.
5522
5523 1999-08-06  Andreas Schwab  <schwab@suse.de>
5524
5525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
5526         New definitions.
5527         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
5528         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5529         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
5530         New definitions.
5531         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5532         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
5533
5534 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
5535
5536         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
5537         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
5538         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
5539
5540 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
5541
5542         * resolv/res_send.c (res_send): Don't test file descriptor for
5543         range, we use poll now.  [PR libc/1240]
5544
5545 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
5546
5547         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
5548         2.0 defined if they are not available.
5549
5550 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
5551
5552         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
5553         Define.
5554
5555 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
5556
5557         * rt/aio_read.c: Fix return value.
5558         * rt/aio_read64.c: Likewise.
5559         Reported by Christian Gafton.
5560
5561         * rt/aio_write.c: Fix return value.
5562         * rt/aio_write64.c: Likewise.
5563         * rt/aio_fsync.c: Likewise.
5564
5565         * rt/aio_misc.c: Set errno at correct place.
5566
5567         * rt/aio_fsync.c: Test OP parameter for correct values.
5568
5569         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5570
5571 1999-08-04  Andreas Schwab  <schwab@suse.de>
5572
5573         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5574         Initialize result to one.
5575         (GET_NPROCS_CONF_PARSER): Likewise.
5576
5577 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
5578
5579         * inet/ether_hton.c: Pass errno pointer to NSS function.
5580         * inet/getnetgrent_r.c: Likewise.
5581         Reported by Marty Leisner <leisner@rochester.rr.com>.
5582
5583 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
5584
5585         * nis/nis_callback.c: Fix port problem on big-endian machines
5586         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5587         fields are always 32 bit.
5588         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5589
5590         * nis/nss_nis/nis-service.c: Remove htons, port is always in
5591         network-byte-order.
5592         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5593
5594 1999-08-03  Andreas Schwab  <schwab@suse.de>
5595
5596         * sysdeps/posix/sigset.c: Unblock the signal after setting its
5597         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5598         avoid two calls to sigprocmask.
5599
5600 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
5601
5602         * sysdeps/generic/s_nexttowardf.c: Fix typo.
5603
5604 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5605
5606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5607         Only allow rt signal frames. No SA_SIGINFO signals will have the
5608         siginfo_t just not filled out with SI_NOINFO code.
5609         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5610         (register_dump): Take the above change into account.
5611         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5612         (rt_signal_frame): Likewise.
5613
5614         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5615
5616 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
5617
5618         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5619         instead of select().
5620
5621 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
5622
5623         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5624         nexttoward so something else so that aliasing works.
5625
5626 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
5627
5628         * sysdeps/generic/math_ldbl.h: Fix typo.
5629         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5630         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5631
5632 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
5633
5634         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
5635
5636 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
5637
5638         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
5639         program.
5640         * elf/resolvfail.c: New file.
5641
5642         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5643         pass it to _dl_lookup_symbol.
5644
5645         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5646         bit.  Reword message.
5647
5648         * dlfcn/dlerror.c: Make code thread-safe.
5649
5650 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
5651
5652         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5653         initializer in CHECK: a bit size, not the type code repeated!
5654
5655 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
5656
5657         * string/tester.c: Add tests with constant arguments for strcpy
5658         and stpcpy.
5659
5660 1999-07-31  H.J. Lu  <hjl@gnu.org>
5661
5662         * string/bits/string2.h (__strcpy_small): Fix a typo.
5663
5664 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
5665
5666         * Makeconfig (link-libc): Always define it, not only for shared
5667         builds.
5668
5669         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5670         * sysdeps/i386/fpu/e_powf.S: Likewise.
5671         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
5672
5673         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5674         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
5675
5676 1999-07-30  Andreas Schwab  <schwab@suse.de>
5677
5678         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5679         definition.
5680         (__get_nprocs): Use it.
5681         (__get_nprocs_conf): Define as separate function if
5682         GET_NPROCS_CONF_PARSER is defined.
5683         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5684
5685         * include/sys/sysinfo.h: New file.
5686         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5687         interface.
5688         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5689
5690 1999-07-30  H.J. Lu  <hjl@gnu.org>
5691
5692         * libio/iofflush.c (fflush_unlocked): Weak aliase if
5693         _IO_MTSAFE_IO is not defined.
5694         * libio/clearerr.c (clearerr_unlocked): Likewise.
5695         * libio/feof.c (feof_unlocked): Likewise.
5696         * libio/ferror.c (ferror_unlocked): Likewise.
5697         * libio/fputc.c (fputc_unlocked): Likewise.
5698         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5699         * libio/getchar.c (getchar_unlocked): Likewise.
5700         * libio/putc.c (putc_unlocked): Likewise.
5701         * libio/putchar.c (putchar_unlocked): Likewise.
5702
5703 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
5704
5705         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5706           svc_max_pollfd and svc_pollfd to GLIBC_2.2
5707         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5708           for svc_run/poll interface.
5709         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5710         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5711           global variable.
5712         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5713           rewrite other svc_getreq* functions to use svc_getreq_common.
5714         * sunrpc/svc_run.c: Use poll().
5715
5716 1999-07-30  Andreas Schwab  <schwab@suse.de>
5717
5718         * Makerules: Put sysd-versions and Versions.all on
5719         postclean-generated instead of common-generated.
5720
5721 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5722
5723         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5724         around and CLOCKS_PER_SEC is 1e6.
5725
5726 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
5727
5728         * configure.in: Add test for local label subtraction.
5729         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5730         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5731         labels to reduce number of runtime relocations and move jump
5732         tables in read-only seciton.
5733
5734         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
5735         assignment cannot be moved.
5736
5737 1999-07-29  H.J. Lu  <hjl@gnu.org>
5738
5739         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5740         if no threads are used.
5741
5742         * libio/iofwrite.c: Add weak alias for _unlocked function if not
5743         _IO_MTSAFE_IO.
5744         * libio/iofread.c: Likewise.
5745         * libio/iofgets.c: Likewise.
5746         * libio/iofputs.c: Likewise.
5747
5748         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5749         definition.
5750
5751         * stdlib/mbtowc.c: Include <string.h>.
5752         * stdlib/wctomb.c: Likewise.
5753         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5754         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5755
5756         * misc/mntent_r.c: Include <alloca.h>.
5757         * elf/dl-runtime.c: Likewise.
5758
5759 1999-07-29  Andreas Schwab  <schwab@suse.de>
5760
5761         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5762         all floating point formats supported by gcc.  Error out for
5763         unhandled precisions.
5764         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5765         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5766         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5767
5768 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
5769
5770         * sysdeps/generic/setenv.c: Move setenv code in new function
5771         __add_to_environ.  Add new parameter specifying already
5772         constructed string for the environment.
5773         (setenv): Call __add_to_environ with new parameter set to NULL.
5774         (unsetenv): Really test all elements for duplicated name.  Missed those
5775         cases where the two are following each other.
5776         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5777         * include/stdlib.h: Add prototype of __add_to_environ.
5778         * stdlib/tst-environ.c: New file.
5779         * stdlib/Makefile (tests): Add tst-environ.
5780
5781         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5782
5783         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5784         argument in realloc call.
5785         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5786         Likewise.
5787         Reported by Danny Braniss <danny@cs.huji.ac.il>.
5788
5789 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
5790
5791         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5792         to print.
5793         * misc/efgcvt_r.c: Likewise.
5794         * misc/qefgcvt.c: Likewise.
5795         * misc/qefgcvt_r.c: Likewise.
5796         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5797         anymore.
5798
5799 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5800
5801         * manual/math.texi (FP Function Optimization): Mention drawbacks.
5802
5803 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
5804
5805         * stdlib/mblen.c: Use static state.
5806         Reported by Bruno Haible <haible@ilog.fr>.
5807
5808         * stdlib/mbtowc.c: Reset state for s == NULL.
5809         * stdlib/wctomb.c: Likewise.
5810         Reported by Bruno Haible <haible@ilog.fr>.
5811
5812         * stdlib/mbstowcs.c: Do not use global state.
5813         Reported by Bruno Haible <haible@ilog.fr>.
5814
5815 1999-07-28  Andeas Schwab  <schwab@suse.de>
5816
5817         * iconvdata/Makefile: Don't try to run iconv tests when cross
5818         compiling.
5819
5820 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
5821
5822         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5823         assembler code to switch stacks and call init1 outside this
5824         function.  Inside `init' the code was optimized away by gcc
5825         2.95 since it was "clearly" unreachable.
5826         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5827         Do something similar for the trampoline code.
5828
5829 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
5830
5831         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5832         for the hinted protocol.
5833
5834 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5835
5836         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5837
5838 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5839
5840         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5841         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5842         * elf/dl-load.c (_dl_map_object): Likewise.
5843         * elf/do-lookup.h (do_lookup*): Likewise.
5844         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5845         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5846         as uint64_t.
5847         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5848
5849 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5850
5851         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5852         * sysdeps/generic/getpgrp.c: Likewise.
5853         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5854         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5855         Patch by John Tobey <jtobey@banta-im.com>.
5856
5857         * sysdeps/posix/wait3.c: Help compiling in presence of
5858         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
5859
5860 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5861
5862         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5863         as much as possible. Declare them using .register pseudo-op if they
5864         are still used.
5865         * sysdeps/sparc/sparc64/lshift.S: Likewise.
5866         * sysdeps/sparc/sparc64/memchr.S: Likewise.
5867         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5868         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5869         * sysdeps/sparc/sparc64/memset.S: Likewise.
5870         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5871         * sysdeps/sparc/sparc64/rshift.S: Likewise.
5872         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5873         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5874         * sysdeps/sparc/sparc64/strcat.S: Likewise.
5875         * sysdeps/sparc/sparc64/strchr.S: Likewise.
5876         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5877         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5878         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5879         * sysdeps/sparc/sparc64/strlen.S: Likewise.
5880         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5881         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5882         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5883         * sysdeps/sparc/sparc64/strspn.S: Likewise.
5884         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5885         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5886         Optimize trampoline code for .plt4-.plt32767.
5887         Fix trampolines for .plt32768+.
5888
5889 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5890
5891         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5892         -mcpu=v8.
5893         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5894         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5895         libc's private use (as assembly routine clobber it anyway).
5896
5897 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5898
5899         * README.template (configurations): The crypt add-on has a new
5900         ftp site.
5901         * manual/install.texi (Installation): Likewise.
5902
5903 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5904
5905         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
5906         requires to have a full definition but we wait for a bug report
5907         based on the test suite.
5908
5909         * sysdeps/generic/clock_getres.c: New file.
5910         * sysdeps/generic/clock_gettime.c: New file.
5911         * sysdeps/generic/clock_settime.c: New file.
5912         * sysdeps/generic/timer_create.c: New file.
5913         * sysdeps/generic/timer_delete.c: New file.
5914         * sysdeps/generic/timer_getoverr.c: New file.
5915         * sysdeps/generic/timer_gettime.c: New file.
5916         * sysdeps/generic/timer_settime.c: New file.
5917
5918         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5919         CLOCK_REALTIME, and TIMER_ABSTIME.
5920         * sysdeps/mach/hurd/bits/time.h: Likewise.
5921         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5922         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5923
5924         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5925
5926         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5927         si_timer2.
5928
5929         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5930
5931         * time/Makefile (routines): Add clock_getres, clock_gettime,
5932         clock_setres, timer_create, timer_delete, timer_getoverr,
5933         timer_gettime, and timer_settime.
5934
5935         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5936         POSIX.1b.  Add prototypes for clock and timer functions.
5937
5938 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
5939
5940         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5941         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5942
5943 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5944
5945         * stdlib/wcstombs.c: Do not use global state.
5946         Reported by Bruno Haible <haible@ilog.fr>.
5947
5948         * wcsmbs/wctob.c: Avoid sign extension when returning character.
5949         Reported by Bruno Haible <haible@ilog.fr>.
5950
5951         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5952         of wide characters to convert do it right and don't overestimate
5953         by multiplying with MB_CUR_MAX.
5954         Reported by Bruno Haible <haible@ilog.fr>.
5955
5956 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
5957
5958         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5959         (__stpcpy_small): Likewise.
5960         Union has no __uc member but __c.
5961
5962 1999-07-26  Andreas Schwab  <schwab@suse.de>
5963
5964         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5965
5966 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
5967
5968         * libio/iofclose.c (_IO_new_fclose): Only fall back on
5969         _IO_old_fclose if doing versioning.
5970
5971         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5972         them appropriately.
5973         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5974
5975         * misc/mntent_r.c: Allow spaces and tabs in entry names by
5976         encoding these characters.
5977         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5978
5979         * string/bits/string2.h: Fix aliasing problems.
5980         * sysdeps/i386/i486/bits/string.h: Likewise.
5981         * sysdeps/i386/bits/string.h: Likewise.
5982
5983 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
5984
5985         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5986         * elf/rtld.c (dl_main): Don't call malloc() between
5987         re-relocating the dynamic linker and running the application's crt0.
5988
5989 1999-07-21  Paul D. Smith  <psmith@gnu.org>
5990
5991         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5992         glob.h to get __P() macro.
5993
5994         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5995         not ANSI.
5996         (__strchrnul): This won't exist outside GLIBC, so create one.
5997
5998 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
5999
6000         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
6001         __ino64_t should be 32bit unsigned type on sparc32.
6002         Define __off64_t to __quad_t instead of __int64_t.
6003         Make __pic_pid_t unsigned on sparc32.
6004
6005 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6006
6007         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
6008         in bash 2.03.
6009
6010 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
6011
6012         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
6013         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
6014
6015 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
6016
6017         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
6018         accesses.
6019
6020         * resolv/res_send.c: Add locks for res_send and res_close use.
6021
6022         * elf/Makefile (dl-routines): Add preinit.
6023         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
6024         * elf/link.h (struct link_map): Add new field l_preinitcount.
6025         * elf/dl-preinit.c: New file.
6026         * elf/dynamic-link.h: Initialize l_preinitcount.
6027         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
6028
6029         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
6030         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
6031         and l_initcount.
6032         * elf/dl-init.c: Handle DT_INIT_ARRAY.
6033         * elf/dynamic-link.h: Change parameters.  Now only get link_map
6034         pointer.  Calculate l_initcount.
6035
6036         * elf/link.h (struct link_map): Add l_runpath_dirs.
6037         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
6038         * elf/dl-load.c: Pretty print.
6039         (decompose_rpath): Take new parameter with info from where the path
6040         comes.  Pass it the fillin_rpath.
6041         (_dl_init_paths): Initialize l_runpath_dirs.
6042         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
6043         Search using RUNPATH after LD_LIBRARY_PATH.
6044         * elf/dl-support.c: Adjust comment.
6045         * elf/rtld.c: Adjust help message.
6046
6047 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6048
6049         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
6050         interface.
6051
6052 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
6053
6054         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
6055         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
6056         ever used this, so I'm not going to worry about compatibility.
6057         [__USE_GNU] (IUCLC, OLCUC): New macros.
6058
6059 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
6060
6061         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
6062
6063         * elf/elf.h: Add ET_LOOS and ET_HIOS.
6064         Add various EM_* constants.
6065         Add SHN_LOOS and SHN_HIOS.
6066         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
6067         Add SHF_MERGE and SHF_STRINGS.
6068         (ElfXX_Sym): Update description of st_other field.
6069         Add STT_COMMON.
6070         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
6071         Add STV_* macros.
6072         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
6073         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
6074         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
6075
6076         * posix/unistd.h: Move declaration of __libc_enable_secure to...
6077         * include/unistd.h: ...here.
6078
6079         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
6080         * elf/dl-deps.c (expand_dst): Likewise.
6081
6082         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
6083         based on DT_FLAGS value.
6084
6085         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
6086         Add test for symbols marked STV_HIDDEN.
6087         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
6088         add undef_map.  Compute reference_name locally.  Update call to
6089         do_lookup.
6090         (_dl_lookup_symbol_skip): Likewise.
6091         (_dl_lookup_versioned_symbol): Likewise.
6092         (_dl_lookup_versioned_symbol_skip): Likewise.
6093         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
6094         * elf/dl-runtime.c: Likewise.
6095         * elf/dl-sym.c: Likewise.
6096         * elf/dl-symbol.c: Likewise.
6097         * elf/ldsodefs.h: Adjust prototypes.
6098
6099         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
6100         handle appropriately.  Add comment about DT_TEXTREL.
6101         * elf/dl-runtime.c: Likewise.
6102
6103 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
6104
6105         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
6106         * elf/ldsodefs.h: Declare it.
6107         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
6108         instead of assert.
6109         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
6110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6111         (elf_machine_lazy_rel): Likewise.
6112         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
6113         (elf_machine_lazy_rel): Likewise.
6114         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
6115         (elf_machine_lazy_rel): Likewise.
6116         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6117         (elf_machine_lazy_rel): Likewise.
6118         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6119         (elf_machine_lazy_rel): Likewise.
6120         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
6121         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
6122         (elf_machine_lazy_rel): Likewise.
6123         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
6124         (elf_machine_lazy_rel): Likewise.
6125         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
6126         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
6127         _dl_reloc_bad_type instead of _dl_signal_error.
6128         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
6129
6130 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6131
6132         * sysdeps/mach/_strerror.c: Include <libintl.h>.
6133
6134 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
6135
6136         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6137         hurd_signal_preemptor matches but its `preemptor' field is null, use
6138         its `handler' field directly.  This is to comply with behavior
6139         documented in <hurd/sigpreempt.h>.
6140
6141 1999-07-21  Andreas Schwab  <schwab@suse.de>
6142
6143         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6144         when reading from write-only stream.
6145         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6146         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6147
6148 1999-07-21  Andreas Schwab  <schwab@suse.de>
6149
6150         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6151         NULL.
6152
6153 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
6154
6155         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6156         <hurd/fd.h>.
6157         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6158         <hurd/fd.h>.
6159         (__libc_write): Call __pwrite instead of __pread.
6160
6161 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6162
6163         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6164         __vm_allocate calls.
6165
6166         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
6167         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6168
6169         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6170         _hurd_fd_read with new OFFSET argument set to -1.
6171         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6172         to -1.
6173
6174 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
6175
6176         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6177         descriptor table sent in the RPC.
6178
6179 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6180
6181         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
6182         bill@taniwha.org [PR libc/1211].
6183
6184 1999-07-19  Andreas Schwab  <schwab@suse.de>
6185
6186         * libio/Makefile (routines): Add fwprintf.
6187
6188         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6189         * math/w_sqrt.c: Moved to ...
6190         * sysdeps/generic/w_sqrt.c: ... here.
6191         * math/w_sqrtf.c: Moved to ...
6192         * sysdeps/generic/w_sqrtf.c: ... here.
6193
6194         * Make-dist (generic-dirs): New variable.
6195         (try-sysdeps, +sysdep-names): Use it.
6196         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
6197         instead of $(lib)-routines.
6198         * elf/Makefile (distribute): Add dl-cache.h.
6199         * db2/Makefile (distribute): Add all new files.
6200         * iconvdata/Makefile (distribute): Don't distribute CVS
6201         directory.
6202         * math/Makefile (distribute): Remove machine/endian.h, add
6203         math_ldbl.h.
6204         * stdio-common/Makefile (distribute): Add _itowa.h.
6205         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6206         * sysdeps/gnu/Dist: Add eval.c
6207         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6208         dlfcn]: Add to this instead of libdl-routines.
6209         * sysdeps/ieee754/ldbl-128/Dist: New file.
6210         * sysdeps/mach/hurd/Dist: Add siglist.h
6211         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6212
6213 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
6214
6215         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6216
6217         * inet/Makefile (routines): Add getipnodebyad and freehostent.
6218         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6219         * inet/freehostent.c: New file.
6220         * inet/getipnodebyad.c: New file.
6221         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6222         and getipnodebyname.  The latter comes soon.
6223         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6224         Add support for getipnode* functions.
6225
6226         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6227         Set h_aliases to NULL and not to a pointer to an array with a NULL
6228         pointer following XNS 5.2.
6229
6230         * posix/sched.h: Remove internal interfaces.
6231         * include/sched.h: Add internal interfaces.
6232
6233         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6234
6235         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6236
6237         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6238         and return an error in this case.
6239         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6240         available.
6241
6242 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6243
6244         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6245         1999-07-17 and adjust len parameter.
6246         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6247         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6248         * manual/socket.texi (Host Names): Likewise.
6249         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6250         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6251         Likewise.
6252         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6253         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6254         (ht_gethostbyaddr): Likewise.
6255         (_gethtbyaddr): Likewise.
6256
6257 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6258
6259         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6260         gethostbyaddr_r.
6261         * include/netdb.h: Likewise.
6262         * inet/gethstbyad.c: Correct type of len parameter.
6263         * inet/gethstbyad_r.c: Likewise.
6264
6265         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6266
6267 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
6268
6269         * include/libc-symbol.h: Clean up definitions of weak_alias,
6270         strong_alias, symbol_version, etc. etc.
6271         * posix/getopt.h: Use ctype.h to get features.h included, and don't
6272         include it at all if __GNU_LIBRARY__ is already defined.
6273
6274 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6275
6276         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6277
6278         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6279
6280         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6281         type for tv_usec element.
6282         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6283         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6284         * sysdeps/generic/bits/time.h: Likewise.
6285         * sysdeps/mach/hurd/bits/time.h: Likewise.
6286         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6287         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6288         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6289         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6290         * sysdeps/generic/bits/types.h: Likewise.
6291         * posix/sys/types.h: Define suseconds_t for X/Open.
6292
6293 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6294
6295         * stdio-common/bug1.c: Avoid memory leak.
6296
6297         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6298         program deterministic.
6299         * sysdeps/i386/fpu/e_powf.S: Likewise.
6300         * sysdeps/i386/fpu/e_powl.S: Likewise.
6301
6302 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
6303
6304         * math/Makefile: Add t_sincosl and k_sincosl support routines.
6305         * math/math_private.h (__kernel_sincosl): New declaration.
6306         * sysdeps/generic/t_sincosl.c: New file.
6307         * sysdeps/generic/k_sincosl.c: New file.
6308         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6309         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6310         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6311         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6312         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6313         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6314         __kernel_sincosl.
6315         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6316         definition.
6317
6318 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6319
6320         * posix/unistd.h: Use __PMT for exit.
6321
6322 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
6323
6324         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6325         _outw, _outl): Added to GLIBC_2.1.2.
6326
6327 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6328
6329         * posix/fnmatch.h: Use __name instead of __string in prototype to
6330         allow use outside glibc.
6331
6332 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
6333
6334         * time/tst-strptime.c (main): Add one more test case.  Produce
6335         output even when result is ok.
6336
6337         * time/strptime.c (get_number): Handle number parsing more
6338         consistent with strftime.  Only parse a given number of digits.
6339         (get_alt_number):  Fix implementation.  Was broken.
6340         (strptime_internal): Add third parameter to get_number and
6341         get_alt_number calls.
6342
6343 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
6344
6345         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6346         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6347         try both 32bit and 64bit dynamic linker.
6348         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6349         script on all sparc targets.
6350
6351 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
6352
6353         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6354         to int.
6355
6356 1999-07-13  Andreas Schwab  <schwab@suse.de>
6357
6358         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6359         inlining.  Fixes PR libc/1198.
6360
6361 1999-07-14  Andreas Schwab  <schwab@suse.de>
6362
6363         * Makerules (common-generated): Don't prepend $(common-objpfx).
6364
6365 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
6366
6367         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6368         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6369         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6370         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6371         macro.
6372         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6373         instead of ieee754.
6374         * sysdeps/arm/Implies: Likewise.
6375         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6376         ieee754/ldbl-96 instead of ieee754.
6377         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6378         * sysdeps/generic/e_atanhl.c: New file.
6379         * sysdeps/generic/e_coshl.c: New file.
6380         * sysdeps/generic/e_sinhl.c: New file.
6381         * sysdeps/generic/e_gammal_r.c: New file.
6382         * sysdeps/generic/e_hypotl.c: New file.
6383         * sysdeps/generic/s_cbrtl.c: New file.
6384         * sysdeps/generic/s_asinhl.c: New file.
6385         * sysdeps/generic/s_tanhl.c: New file.
6386         * sysdeps/generic/w_expl.c: New file.
6387         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6388         instead of ieee754.
6389         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6390         ieee754/ldbl-96 instead of ieee754.
6391         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6392         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6393         printf_fphex.
6394         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6395         instead of ieee754.
6396         * sysdeps/mips/mips64/Implies: Likewise.
6397         * sysdeps/powerpc/Implies: Likewise.
6398         * sysdeps/sparc/Implies: Remove.
6399         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6400         ieee754/dbl-64.
6401         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6402         and ieee754/ldbl-128.
6403
6404         * sysdeps/sparc/bits/wordsize.h: Remove.
6405         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6406         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6407         only for sparc32.
6408         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6409         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6410         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6411         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6412         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6413         support.
6414
6415         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6416         of carries. Optimize.
6417
6418         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6419         * sysdeps/generic/e_exp10.c: ...here.
6420         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6421         * sysdeps/generic/e_exp10f.c: ...here.
6422         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6423         * sysdeps/generic/e_exp10l.c: ...here.
6424         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6425         * sysdeps/generic/e_scalb.c: ...here.
6426         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6427         * sysdeps/generic/e_scalbf.c: ...here.
6428         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6429         * sysdeps/generic/e_scalbl.c: ...here.
6430         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6431         * sysdeps/generic/s_cacos.c: ...here.
6432         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6433         * sysdeps/generic/s_cacosf.c: ...here.
6434         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6435         * sysdeps/generic/s_cacosh.c: ...here.
6436         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6437         * sysdeps/generic/s_cacoshf.c: ...here.
6438         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6439         * sysdeps/generic/s_cacoshl.c: ...here.
6440         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6441         * sysdeps/generic/s_cacosl.c: ...here.
6442         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
6443         * sysdeps/generic/s_casin.c: ...here.
6444         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
6445         * sysdeps/generic/s_casinf.c: ...here.
6446         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
6447         * sysdeps/generic/s_casinh.c: ...here.
6448         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
6449         * sysdeps/generic/s_casinhf.c: ...here.
6450         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
6451         * sysdeps/generic/s_casinhl.c: ...here.
6452         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
6453         * sysdeps/generic/s_casinl.c: ...here.
6454         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
6455         * sysdeps/generic/s_catan.c: ...here.
6456         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
6457         * sysdeps/generic/s_catanf.c: ...here.
6458         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
6459         * sysdeps/generic/s_catanh.c: ...here.
6460         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
6461         * sysdeps/generic/s_catanhf.c: ...here.
6462         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
6463         * sysdeps/generic/s_catanhl.c: ...here.
6464         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
6465         * sysdeps/generic/s_catanl.c: ...here.
6466         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
6467         * sysdeps/generic/s_ccos.c: ...here.
6468         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
6469         * sysdeps/generic/s_ccosf.c: ...here.
6470         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
6471         * sysdeps/generic/s_ccosh.c: ...here.
6472         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
6473         * sysdeps/generic/s_ccoshf.c: ...here.
6474         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
6475         * sysdeps/generic/s_ccoshl.c: ...here.
6476         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
6477         * sysdeps/generic/s_ccosl.c: ...here.
6478         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
6479         * sysdeps/generic/s_cexp.c: ...here.
6480         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
6481         * sysdeps/generic/s_cexpf.c: ...here.
6482         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
6483         * sysdeps/generic/s_cexpl.c: ...here.
6484         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
6485         * sysdeps/generic/s_clog.c: ...here.
6486         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
6487         * sysdeps/generic/s_clog10.c: ...here.
6488         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
6489         * sysdeps/generic/s_clog10f.c: ...here.
6490         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
6491         * sysdeps/generic/s_clog10l.c: ...here.
6492         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
6493         * sysdeps/generic/s_clogf.c: ...here.
6494         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
6495         * sysdeps/generic/s_clogl.c: ...here.
6496         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
6497         * sysdeps/generic/s_cpow.c: ...here.
6498         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
6499         * sysdeps/generic/s_cpowf.c: ...here.
6500         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
6501         * sysdeps/generic/s_cpowl.c: ...here.
6502         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
6503         * sysdeps/generic/s_cproj.c: ...here.
6504         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
6505         * sysdeps/generic/s_cprojf.c: ...here.
6506         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
6507         * sysdeps/generic/s_cprojl.c: ...here.
6508         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
6509         * sysdeps/generic/s_csin.c: ...here.
6510         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
6511         * sysdeps/generic/s_csinf.c: ...here.
6512         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
6513         * sysdeps/generic/s_csinh.c: ...here.
6514         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
6515         * sysdeps/generic/s_csinhf.c: ...here.
6516         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
6517         * sysdeps/generic/s_csinhl.c: ...here.
6518         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
6519         * sysdeps/generic/s_csinl.c: ...here.
6520         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
6521         * sysdeps/generic/s_csqrt.c: ...here.
6522         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
6523         * sysdeps/generic/s_csqrtf.c: ...here.
6524         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
6525         * sysdeps/generic/s_csqrtl.c: ...here.
6526         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
6527         * sysdeps/generic/s_ctan.c: ...here.
6528         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
6529         * sysdeps/generic/s_ctanf.c: ...here.
6530         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
6531         * sysdeps/generic/s_ctanh.c: ...here.
6532         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
6533         * sysdeps/generic/s_ctanhf.c: ...here.
6534         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
6535         * sysdeps/generic/s_ctanhl.c: ...here.
6536         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
6537         * sysdeps/generic/s_ctanl.c: ...here.
6538         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
6539         * sysdeps/generic/s_fdim.c: ...here.
6540         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
6541         * sysdeps/generic/s_fdimf.c: ...here.
6542         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
6543         * sysdeps/generic/s_fdiml.c: ...here.
6544         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
6545         * sysdeps/generic/s_fma.c: ...here.
6546         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
6547         * sysdeps/generic/s_fmaf.c: ...here.
6548         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
6549         * sysdeps/generic/s_fmal.c: ...here.
6550         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
6551         * sysdeps/generic/s_fmax.c: ...here.
6552         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
6553         * sysdeps/generic/s_fmaxf.c: ...here.
6554         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
6555         * sysdeps/generic/s_fmaxl.c: ...here.
6556         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
6557         * sysdeps/generic/s_fmin.c: ...here.
6558         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
6559         * sysdeps/generic/s_fminf.c: ...here.
6560         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
6561         * sysdeps/generic/s_fminl.c: ...here.
6562         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
6563         * sysdeps/generic/s_ldexp.c: ...here.
6564         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
6565         * sysdeps/generic/s_ldexpf.c: ...here.
6566         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
6567         * sysdeps/generic/s_ldexpl.c: ...here.
6568         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
6569         * sysdeps/generic/s_nan.c: ...here.
6570         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6571         * sysdeps/generic/s_nanf.c: ...here.
6572         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6573         * sysdeps/generic/s_nanl.c: ...here.
6574         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6575         * sysdeps/generic/s_significand.c: ...here.
6576         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6577         * sysdeps/generic/s_significandf.c: ...here.
6578         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6579         * sysdeps/generic/s_significandl.c: ...here.
6580         Avoid conversion from int to double and then to long double.
6581         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6582         * math/w_acos.c: ...here.
6583         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6584         * math/w_acosf.c: ...here.
6585         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6586         * math/w_acosh.c: ...here.
6587         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6588         * math/w_acoshf.c: ...here.
6589         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6590         * math/w_acoshl.c: ...here.
6591         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6592         * math/w_acosl.c: ...here.
6593         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6594         * math/w_asin.c: ...here.
6595         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6596         * math/w_asinf.c: ...here.
6597         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6598         * math/w_asinl.c: ...here.
6599         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6600         * math/w_atan2.c: ...here.
6601         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6602         * math/w_atan2f.c: ...here.
6603         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6604         * math/w_atan2l.c: ...here.
6605         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6606         * math/w_atanh.c: ...here.
6607         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6608         * math/w_atanhf.c: ...here.
6609         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6610         * math/w_atanhl.c: ...here.
6611         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6612         * math/w_cosh.c: ...here.
6613         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6614         * math/w_coshf.c: ...here.
6615         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6616         * math/w_coshl.c: ...here.
6617         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6618         * math/w_drem.c: ...here.
6619         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6620         * math/w_dremf.c: ...here.
6621         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6622         * math/w_dreml.c: ...here.
6623         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6624         * math/w_exp10.c: ...here.
6625         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6626         * math/w_exp10f.c: ...here.
6627         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6628         * math/w_exp10l.c: ...here.
6629         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6630         * math/w_exp2.c: ...here.
6631         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6632         * math/w_exp2f.c: ...here.
6633         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6634         * math/w_exp2l.c: ...here.
6635         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6636         * math/w_fmod.c: ...here.
6637         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6638         * math/w_fmodf.c: ...here.
6639         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6640         * math/w_fmodl.c: ...here.
6641         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6642         * math/w_hypot.c: ...here.
6643         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6644         * math/w_hypotf.c: ...here.
6645         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6646         * math/w_hypotl.c: ...here.
6647         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6648         * math/w_j0.c: ...here.
6649         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6650         * math/w_j0f.c: ...here.
6651         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6652         * math/w_j0l.c: ...here.
6653         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6654         * math/w_j1.c: ...here.
6655         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6656         * math/w_j1f.c: ...here.
6657         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6658         * math/w_j1l.c: ...here.
6659         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6660         * math/w_jn.c: ...here.
6661         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6662         * math/w_jnf.c: ...here.
6663         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6664         * math/w_jnl.c: ...here.
6665         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6666         * math/w_lgamma.c: ...here.
6667         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6668         * math/w_lgamma_r.c: ...here.
6669         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6670         * math/w_lgammaf.c: ...here.
6671         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6672         * math/w_lgammaf_r.c: ...here.
6673         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6674         * math/w_lgammal.c: ...here.
6675         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6676         * math/w_lgammal_r.c: ...here.
6677         * sysdeps/libm-ieee754/w_log.c: Moved to ...
6678         * math/w_log.c: ...here.
6679         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6680         * math/w_log10.c: ...here.
6681         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6682         * math/w_log10f.c: ...here.
6683         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6684         * math/w_log10l.c: ...here.
6685         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6686         * math/w_logf.c: ...here.
6687         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6688         * math/w_logl.c: ...here.
6689         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6690         * math/w_pow.c: ...here.
6691         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6692         * math/w_powf.c: ...here.
6693         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6694         * math/w_powl.c: ...here.
6695         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6696         * math/w_remainder.c: ...here.
6697         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6698         * math/w_remainderf.c: ...here.
6699         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6700         * math/w_remainderl.c: ...here.
6701         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6702         * math/w_scalb.c: ...here.
6703         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6704         * math/w_scalbf.c: ...here.
6705         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6706         * math/w_scalbl.c: ...here.
6707         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6708         * math/w_sinh.c: ...here.
6709         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6710         * math/w_sinhf.c: ...here.
6711         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6712         * math/w_sinhl.c: ...here.
6713         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6714         * math/w_sqrt.c: ...here.
6715         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6716         * math/w_sqrtf.c: ...here.
6717         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6718         * math/w_sqrtl.c: ...here.
6719         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6720         * math/w_tgamma.c: ...here.
6721         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6722         * math/w_tgammaf.c: ...here.
6723         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6724         * math/w_tgammal.c: ...here.
6725         * sysdeps/libm-i387/e_acos.S: Moved to ...
6726         * sysdeps/i386/fpu/e_acos.S: ...here.
6727         * sysdeps/libm-i387/e_acosf.S: Moved to ...
6728         * sysdeps/i386/fpu/e_acosf.S: ...here.
6729         * sysdeps/libm-i387/e_acosh.S: Moved to ...
6730         * sysdeps/i386/fpu/e_acosh.S: ...here.
6731         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6732         * sysdeps/i386/fpu/e_acoshf.S: ...here.
6733         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6734         * sysdeps/i386/fpu/e_acoshl.S: ...here.
6735         * sysdeps/libm-i387/e_acosl.S: Moved to ...
6736         * sysdeps/i386/fpu/e_acosl.S: ...here.
6737         * sysdeps/libm-i387/e_asin.S: Moved to ...
6738         * sysdeps/i386/fpu/e_asin.S: ...here.
6739         * sysdeps/libm-i387/e_asinf.S: Moved to ...
6740         * sysdeps/i386/fpu/e_asinf.S: ...here.
6741         * sysdeps/libm-i387/e_asinl.S: Moved to ...
6742         * sysdeps/i386/fpu/e_asinl.S: ...here.
6743         * sysdeps/libm-i387/e_atan2.S: Moved to ...
6744         * sysdeps/i386/fpu/e_atan2.S: ...here.
6745         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6746         * sysdeps/i386/fpu/e_atan2f.S: ...here.
6747         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6748         * sysdeps/i386/fpu/e_atan2l.S: ...here.
6749         * sysdeps/libm-i387/e_atanh.S: Moved to ...
6750         * sysdeps/i386/fpu/e_atanh.S: ...here.
6751         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6752         * sysdeps/i386/fpu/e_atanhf.S: ...here.
6753         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6754         * sysdeps/i386/fpu/e_atanhl.S: ...here.
6755         * sysdeps/libm-i387/e_exp.S: Moved to ...
6756         * sysdeps/i386/fpu/e_exp.S: ...here.
6757         * sysdeps/libm-i387/e_exp10.S: Moved to ...
6758         * sysdeps/i386/fpu/e_exp10.S: ...here.
6759         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6760         * sysdeps/i386/fpu/e_exp10f.S: ...here.
6761         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6762         * sysdeps/i386/fpu/e_exp10l.S: ...here.
6763         * sysdeps/libm-i387/e_expf.S: Moved to ...
6764         * sysdeps/i386/fpu/e_expf.S: ...here.
6765         * sysdeps/libm-i387/e_expl.S: Moved to ...
6766         * sysdeps/i386/fpu/e_expl.S: ...here.
6767         * sysdeps/libm-i387/e_fmod.S: Moved to ...
6768         * sysdeps/i386/fpu/e_fmod.S: ...here.
6769         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6770         * sysdeps/i386/fpu/e_fmodf.S: ...here.
6771         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6772         * sysdeps/i386/fpu/e_fmodl.S: ...here.
6773         * sysdeps/libm-i387/e_hypot.S: Moved to ...
6774         * sysdeps/i386/fpu/e_hypot.S: ...here.
6775         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6776         * sysdeps/i386/fpu/e_hypotf.S: ...here.
6777         * sysdeps/libm-i387/e_log.S: Moved to ...
6778         * sysdeps/i386/fpu/e_log.S: ...here.
6779         * sysdeps/libm-i387/e_log10.S: Moved to ...
6780         * sysdeps/i386/fpu/e_log10.S: ...here.
6781         * sysdeps/libm-i387/e_log10f.S: Moved to ...
6782         * sysdeps/i386/fpu/e_log10f.S: ...here.
6783         * sysdeps/libm-i387/e_log10l.S: Moved to ...
6784         * sysdeps/i386/fpu/e_log10l.S: ...here.
6785         * sysdeps/libm-i387/e_logf.S: Moved to ...
6786         * sysdeps/i386/fpu/e_logf.S: ...here.
6787         * sysdeps/libm-i387/e_logl.S: Moved to ...
6788         * sysdeps/i386/fpu/e_logl.S: ...here.
6789         * sysdeps/libm-i387/e_pow.S: Moved to ...
6790         * sysdeps/i386/fpu/e_pow.S: ...here.
6791         * sysdeps/libm-i387/e_powf.S: Moved to ...
6792         * sysdeps/i386/fpu/e_powf.S: ...here.
6793         * sysdeps/libm-i387/e_powl.S: Moved to ...
6794         * sysdeps/i386/fpu/e_powl.S: ...here.
6795         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6796         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6797         * sysdeps/libm-i387/e_remainder.S: Moved to ...
6798         * sysdeps/i386/fpu/e_remainder.S: ...here.
6799         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6800         * sysdeps/i386/fpu/e_remainderf.S: ...here.
6801         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6802         * sysdeps/i386/fpu/e_remainderl.S: ...here.
6803         * sysdeps/libm-i387/e_scalb.S: Moved to ...
6804         * sysdeps/i386/fpu/e_scalb.S: ...here.
6805         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6806         * sysdeps/i386/fpu/e_scalbf.S: ...here.
6807         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6808         * sysdeps/i386/fpu/e_scalbl.S: ...here.
6809         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6810         * sysdeps/i386/fpu/e_sqrt.S: ...here.
6811         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6812         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6813         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6814         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6815         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6816         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6817         * sysdeps/libm-i387/s_asinh.S: Moved to ...
6818         * sysdeps/i386/fpu/s_asinh.S: ...here.
6819         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6820         * sysdeps/i386/fpu/s_asinhf.S: ...here.
6821         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6822         * sysdeps/i386/fpu/s_asinhl.S: ...here.
6823         * sysdeps/libm-i387/s_atan.S: Moved to ...
6824         * sysdeps/i386/fpu/s_atan.S: ...here.
6825         * sysdeps/libm-i387/s_atanf.S: Moved to ...
6826         * sysdeps/i386/fpu/s_atanf.S: ...here.
6827         * sysdeps/libm-i387/s_atanl.S: Moved to ...
6828         * sysdeps/i386/fpu/s_atanl.S: ...here.
6829         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6830         * sysdeps/i386/fpu/s_cbrt.S: ...here.
6831         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6832         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6833         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6834         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6835         * sysdeps/libm-i387/s_ceil.S: Moved to ...
6836         * sysdeps/i386/fpu/s_ceil.S: ...here.
6837         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6838         * sysdeps/i386/fpu/s_ceilf.S: ...here.
6839         * sysdeps/libm-i387/s_ceill.S: Moved to ...
6840         * sysdeps/i386/fpu/s_ceill.S: ...here.
6841         * sysdeps/libm-i387/s_cexp.S: Moved to ...
6842         * sysdeps/i386/fpu/s_cexp.S: ...here.
6843         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6844         * sysdeps/i386/fpu/s_cexpf.S: ...here.
6845         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6846         * sysdeps/i386/fpu/s_cexpl.S: ...here.
6847         * sysdeps/libm-i387/s_copysign.S: Moved to ...
6848         * sysdeps/i386/fpu/s_copysign.S: ...here.
6849         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6850         * sysdeps/i386/fpu/s_copysignf.S: ...here.
6851         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6852         * sysdeps/i386/fpu/s_copysignl.S: ...here.
6853         * sysdeps/libm-i387/s_cos.S: Moved to ...
6854         * sysdeps/i386/fpu/s_cos.S: ...here.
6855         * sysdeps/libm-i387/s_cosf.S: Moved to ...
6856         * sysdeps/i386/fpu/s_cosf.S: ...here.
6857         * sysdeps/libm-i387/s_cosl.S: Moved to ...
6858         * sysdeps/i386/fpu/s_cosl.S: ...here.
6859         * sysdeps/libm-i387/s_exp2.S: Moved to ...
6860         * sysdeps/i386/fpu/s_exp2.S: ...here.
6861         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6862         * sysdeps/i386/fpu/s_exp2f.S: ...here.
6863         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6864         * sysdeps/i386/fpu/s_exp2l.S: ...here.
6865         * sysdeps/libm-i387/s_expm1.S: Moved to ...
6866         * sysdeps/i386/fpu/s_expm1.S: ...here.
6867         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6868         * sysdeps/i386/fpu/s_expm1f.S: ...here.
6869         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6870         * sysdeps/i386/fpu/s_expm1l.S: ...here.
6871         * sysdeps/libm-i387/s_fdim.S: Moved to ...
6872         * sysdeps/i386/fpu/s_fdim.S: ...here.
6873         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6874         * sysdeps/i386/fpu/s_fdimf.S: ...here.
6875         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6876         * sysdeps/i386/fpu/s_fdiml.S: ...here.
6877         * sysdeps/libm-i387/s_finite.S: Moved to ...
6878         * sysdeps/i386/fpu/s_finite.S: ...here.
6879         * sysdeps/libm-i387/s_finitef.S: Moved to ...
6880         * sysdeps/i386/fpu/s_finitef.S: ...here.
6881         * sysdeps/libm-i387/s_finitel.S: Moved to ...
6882         * sysdeps/i386/fpu/s_finitel.S: ...here.
6883         * sysdeps/libm-i387/s_floor.S: Moved to ...
6884         * sysdeps/i386/fpu/s_floor.S: ...here.
6885         * sysdeps/libm-i387/s_floorf.S: Moved to ...
6886         * sysdeps/i386/fpu/s_floorf.S: ...here.
6887         * sysdeps/libm-i387/s_floorl.S: Moved to ...
6888         * sysdeps/i386/fpu/s_floorl.S: ...here.
6889         * sysdeps/libm-i387/s_fma.S: Moved to ...
6890         * sysdeps/i386/fpu/s_fma.S: ...here.
6891         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6892         * sysdeps/i386/fpu/s_fmaf.S: ...here.
6893         * sysdeps/libm-i387/s_fmal.S: Moved to ...
6894         * sysdeps/i386/fpu/s_fmal.S: ...here.
6895         * sysdeps/libm-i387/s_fmax.S: Moved to ...
6896         * sysdeps/i386/fpu/s_fmax.S: ...here.
6897         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6898         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6899         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6900         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6901         * sysdeps/libm-i387/s_fmin.S: Moved to ...
6902         * sysdeps/i386/fpu/s_fmin.S: ...here.
6903         * sysdeps/libm-i387/s_fminf.S: Moved to ...
6904         * sysdeps/i386/fpu/s_fminf.S: ...here.
6905         * sysdeps/libm-i387/s_fminl.S: Moved to ...
6906         * sysdeps/i386/fpu/s_fminl.S: ...here.
6907         * sysdeps/libm-i387/s_frexp.S: Moved to ...
6908         * sysdeps/i386/fpu/s_frexp.S: ...here.
6909         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6910         * sysdeps/i386/fpu/s_frexpf.S: ...here.
6911         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6912         * sysdeps/i386/fpu/s_frexpl.S: ...here.
6913         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6914         * sysdeps/i386/fpu/s_ilogb.S: ...here.
6915         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6916         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6917         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6918         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6919         * sysdeps/libm-i387/s_llrint.S: Moved to ...
6920         * sysdeps/i386/fpu/s_llrint.S: ...here.
6921         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6922         * sysdeps/i386/fpu/s_llrintf.S: ...here.
6923         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6924         * sysdeps/i386/fpu/s_llrintl.S: ...here.
6925         * sysdeps/libm-i387/s_log1p.S: Moved to ...
6926         * sysdeps/i386/fpu/s_log1p.S: ...here.
6927         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6928         * sysdeps/i386/fpu/s_log1pf.S: ...here.
6929         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6930         * sysdeps/i386/fpu/s_log1pl.S: ...here.
6931         * sysdeps/libm-i387/s_log2.S: Moved to ...
6932         * sysdeps/i386/fpu/s_log2.S: ...here.
6933         * sysdeps/libm-i387/s_log2f.S: Moved to ...
6934         * sysdeps/i386/fpu/s_log2f.S: ...here.
6935         * sysdeps/libm-i387/s_log2l.S: Moved to ...
6936         * sysdeps/i386/fpu/s_log2l.S: ...here.
6937         * sysdeps/libm-i387/s_logb.S: Moved to ...
6938         * sysdeps/i386/fpu/s_logb.S: ...here.
6939         * sysdeps/libm-i387/s_logbf.S: Moved to ...
6940         * sysdeps/i386/fpu/s_logbf.S: ...here.
6941         * sysdeps/libm-i387/s_logbl.S: Moved to ...
6942         * sysdeps/i386/fpu/s_logbl.S: ...here.
6943         * sysdeps/libm-i387/s_lrint.S: Moved to ...
6944         * sysdeps/i386/fpu/s_lrint.S: ...here.
6945         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6946         * sysdeps/i386/fpu/s_lrintf.S: ...here.
6947         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6948         * sysdeps/i386/fpu/s_lrintl.S: ...here.
6949         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6950         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6951         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6952         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6953         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6954         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6955         * sysdeps/libm-i387/s_remquo.S: Moved to ...
6956         * sysdeps/i386/fpu/s_remquo.S: ...here.
6957         * sysdeps/libm-i387/s_remquof.S: Moved to ...
6958         * sysdeps/i386/fpu/s_remquof.S: ...here.
6959         * sysdeps/libm-i387/s_remquol.S: Moved to ...
6960         * sysdeps/i386/fpu/s_remquol.S: ...here.
6961         * sysdeps/libm-i387/s_rint.S: Moved to ...
6962         * sysdeps/i386/fpu/s_rint.S: ...here.
6963         * sysdeps/libm-i387/s_rintf.S: Moved to ...
6964         * sysdeps/i386/fpu/s_rintf.S: ...here.
6965         * sysdeps/libm-i387/s_rintl.S: Moved to ...
6966         * sysdeps/i386/fpu/s_rintl.S: ...here.
6967         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6968         * sysdeps/i386/fpu/s_scalbn.S: ...here.
6969         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6970         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6971         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6972         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6973         * sysdeps/libm-i387/s_significand.S: Moved to ...
6974         * sysdeps/i386/fpu/s_significand.S: ...here.
6975         * sysdeps/libm-i387/s_significandf.S: Moved to ...
6976         * sysdeps/i386/fpu/s_significandf.S: ...here.
6977         * sysdeps/libm-i387/s_significandl.S: Moved to ...
6978         * sysdeps/i386/fpu/s_significandl.S: ...here.
6979         * sysdeps/libm-i387/s_sin.S: Moved to ...
6980         * sysdeps/i386/fpu/s_sin.S: ...here.
6981         * sysdeps/libm-i387/s_sincos.S: Moved to ...
6982         * sysdeps/i386/fpu/s_sincos.S: ...here.
6983         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6984         * sysdeps/i386/fpu/s_sincosf.S: ...here.
6985         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6986         * sysdeps/i386/fpu/s_sincosl.S: ...here.
6987         * sysdeps/libm-i387/s_sinf.S: Moved to ...
6988         * sysdeps/i386/fpu/s_sinf.S: ...here.
6989         * sysdeps/libm-i387/s_sinl.S: Moved to ...
6990         * sysdeps/i386/fpu/s_sinl.S: ...here.
6991         * sysdeps/libm-i387/s_tan.S: Moved to ...
6992         * sysdeps/i386/fpu/s_tan.S: ...here.
6993         * sysdeps/libm-i387/s_tanf.S: Moved to ...
6994         * sysdeps/i386/fpu/s_tanf.S: ...here.
6995         * sysdeps/libm-i387/s_tanl.S: Moved to ...
6996         * sysdeps/i386/fpu/s_tanl.S: ...here.
6997         * sysdeps/libm-i387/s_trunc.S: Moved to ...
6998         * sysdeps/i386/fpu/s_trunc.S: ...here.
6999         * sysdeps/libm-i387/s_truncf.S: Moved to ...
7000         * sysdeps/i386/fpu/s_truncf.S: ...here.
7001         * sysdeps/libm-i387/s_truncl.S: Moved to ...
7002         * sysdeps/i386/fpu/s_truncl.S: ...here.
7003         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
7004         * sysdeps/ieee754/k_standard.c: ...here.
7005         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
7006         * sysdeps/ieee754/s_lib_version.c: ...here.
7007         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
7008         * sysdeps/ieee754/s_matherr.c: ...here.
7009         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
7010         * sysdeps/ieee754/s_signgam.c: ...here.
7011         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
7012         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
7013         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
7014         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
7015         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
7016         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
7017         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
7018         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
7019         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
7020         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
7021         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
7022         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
7023         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
7024         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
7025         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
7026         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
7027         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
7028         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
7029         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
7030         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
7031         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
7032         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
7033         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
7034         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
7035         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
7036         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
7037         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
7038         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
7039         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
7040         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
7041         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
7042         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
7043         * sysdeps/libm-ieee754/e_log.c: Moved to ...
7044         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
7045         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
7046         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
7047         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
7048         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
7049         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
7050         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
7051         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
7052         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
7053         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
7054         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
7055         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
7056         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
7057         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
7058         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
7059         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
7060         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
7061         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
7062         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
7063         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
7064         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
7065         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
7066         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
7067         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
7068         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
7069         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
7070         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
7071         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
7072         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
7073         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
7074         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
7075         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
7076         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
7077         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
7078         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
7079         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
7080         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
7081         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
7082         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
7083         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
7084         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
7085         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
7086         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
7087         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
7088         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
7089         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
7090         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
7091         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
7092         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
7093         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
7094         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
7095         (__isnan): Comment above function says it returns 0 or 1, but it
7096         used to return 0 or -1.
7097         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
7098         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
7099         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
7100         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
7101         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
7102         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
7103         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
7104         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
7105         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
7106         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
7107         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
7108         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
7109         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
7110         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
7111         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
7112         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
7113         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
7114         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
7115         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
7116         * sysdeps/generic/s_nextafter.c: ...here.
7117         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
7118         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
7119         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
7120         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
7121         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
7122         * sysdeps/libm-ieee754/s_round.c: Moved to ...
7123         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
7124         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
7125         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
7126         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
7127         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
7128         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
7129         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
7130         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
7131         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
7132         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
7133         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
7134         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7135         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7136         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7137         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7138         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7139         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7140         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7141         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7142         * sysdeps/ieee754/mpn2flt.c: Moved to ...
7143         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7144         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7145         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7146         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7147         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7148         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7149         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7150         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7151         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7152         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7153         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7154         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7155         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7156         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7157         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7158         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7159         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7160         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7161         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7162         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7163         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7164         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7165         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7166         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7167         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7168         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7169         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7170         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7171         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7172         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7173         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7174         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7175         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7176         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7177         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7178         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7179         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7180         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7181         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7182         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7183         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7184         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7185         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7186         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7187         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7188         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7189         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7190         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7191         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7192         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7193         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7194         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7195         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7196         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7197         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7198         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7199         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7200         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7201         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7202         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7203         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7204         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7205         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7206         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7207         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7208         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7209         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7210         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7211         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7212         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7213         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7214         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7215         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7216         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7217         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7218         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7219         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7220         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7221         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7222         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7223         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7224         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7225         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7226         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7227         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7228         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7229         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7230         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7231         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7232         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7233         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7234         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7235         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7236         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7237         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7238         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7239         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7240         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7241         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7242         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7243         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7244         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7245         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7246         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7247         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7248         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7249         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7250         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7251         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7252         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7253         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7254         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7255         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7256         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7257         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7258         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7259         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7260         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7261         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7262         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7263         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7264         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7265         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7266         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7267         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7268         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7269         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7270         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7271         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7272         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7273         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7274         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7275         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7276         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7277         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7278         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7279         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7280         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7281         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7282         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7283         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7284         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7285         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7286         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7287         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7288         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7289         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7290         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7291         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7292         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7293         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7294         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7295         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7296         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7297         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7298         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7299         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7300         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7301         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7302         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7303         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7304         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7305         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7306         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7307         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7308         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7309         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7310         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7311         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7312         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7313         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7314         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7315         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7316         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7317         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7318         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7319         INSERT_WORDS.
7320         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7321         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7322         (__nearbyintl): Fix for exponents 2^30.
7323         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7324         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7325         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7326         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7327         (__rintl): Fix for exponents 2^30.
7328         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7329         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7330         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7331         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7332         (__scalbnl): Fix exponent for subnormal result.
7333         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7334         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7335         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7336         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7337         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7338         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7339         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7340         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7341         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7342         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7343         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7344         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7345         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7346         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7347         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7348         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7349         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7350         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7351         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7352         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7353         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7354         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7355         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7356         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7357         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7358         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7359         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7360         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7361         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7362         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7363         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7364         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7365         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7366         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7367         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7369         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7370         * sysdeps/i386/fpu/s_scalbln.c: ...here.
7371         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7372         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7373         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7374         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7375         * sysdeps/libm-i387/t_exp.c: Moved to ...
7376         * sysdeps/i386/fpu/t_exp.c: ...here.
7377         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7378         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7379         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7380         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7381         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7382         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7383         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7384         * sysdeps/i386/fpu/s_isinfl.c: ...here.
7385         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7386         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7387         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7388         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7389         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7390         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7391         Fix exponent for subnormal result.
7392         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7393         * sysdeps/generic/s_nexttowardl.c: ...here.
7394         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7395         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7396         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7397         * sysdeps/i386/fpu/s_isnanl.c: ...here.
7398         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7399         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7400         Comment above function says it returns 0 or 1, but it used to return
7401         0 or -1.
7402         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7403         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7404         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7405         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7406         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7407         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7408         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7409         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7410         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7411         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7412         Cannot compare exponents with different biases without adjusting.
7413         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7414         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7415         Cannot compare exponents with different biases without adjusting.
7416         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7417         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7418         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7420         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7421         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7422         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7423         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7424         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7425         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7426         * sysdeps/libm-ieee754/Dist: Split into ...
7427         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7428         * sysdeps/ieee754/flt-32/Dist: ...this file.
7429
7430         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7431         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7432         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7433         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7434         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7435         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7436         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7437         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7438         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7439         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7440         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7441         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7442         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
7443         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
7444         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
7445         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
7446         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
7447         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
7448         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
7449         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
7450         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
7451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
7452         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
7453         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
7454         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
7455         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
7456         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
7457         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
7458         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
7459         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
7460         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
7461         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
7462         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
7463         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
7464         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
7465         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
7466         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
7467         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
7468         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
7469         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
7470         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
7471         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
7472         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
7473         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
7474         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
7475         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
7476         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
7477
7478         * sysdeps/generic/math_ldbl.h: New file.
7479         * sysdeps/generic/s_nexttowardf.c: New file.
7480         * sysdeps/generic/strtold.c: New file.
7481         * sysdeps/generic/ldbl2mpn.c: New file.
7482
7483         * math/machine/endian.h: Remove.
7484         * sysdeps/i386/fpu/Implies: Remove.
7485         * sysdeps/ieee754/Implies: Remove.
7486
7487         * math/math_private.h: Move long double macros to math_ldbl.h
7488         header.
7489
7490 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
7491
7492         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
7493         connections without a hostname set address to localhost address.
7494
7495 1999-07-11  H.J. Lu  <hjl@gnu.org>
7496
7497         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
7498         nscd's own strong version of the get[a-z]*_r function.
7499         * nscd/hstcache.c: Likewise.
7500         * nscd/pwdcache.c: Likewise.
7501
7502 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
7503
7504         * configure.in: Recognize 2.95 as gcc version number.
7505         Patch by Joel Klecker <jk@espy.org>.
7506
7507 1999-07-12  Andreas Schwab  <schwab@suse.de>
7508
7509         * elf/rtld.c (dl_main): When putting back the interpreter object
7510         handle the case where a missing object might occur in the list of
7511         objects but not in the search list when in trace mode.
7512
7513 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
7514
7515         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
7516         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
7517         _nss_hesiod_initgroups.
7518
7519 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
7520
7521         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
7522         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
7523         Initialize it from &__data_start if defined, or else &_end.
7524
7525 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
7526
7527         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
7528         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
7529
7530 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
7531
7532         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
7533
7534 1999-07-09  H.J. Lu  <hjl@gnu.org>
7535
7536         * Versions.def (GLIBC_2.1.2): Added.
7537
7538         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
7539         old one as GLIBC_2.0.
7540         * nss/getXXbyYY_r.c: Likewise.
7541
7542         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
7543         GLIBC_2.1.2.
7544         * inet/Versions (getaliasbyname_r, getaliasent_r,
7545         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
7546         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
7547         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
7548         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
7549         getservbyname_r): Likewise.
7550         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
7551         * shadow/Versions (getspent_r, getspnam_r): Likewise.
7552
7553 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
7554
7555         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
7556         compilers.
7557         (__memset_cc): Likewise.
7558
7559         * sysdeps/generic/libc-start.c: For SUID binaries check whether
7560         the standard file descriptors are open.
7561         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7562
7563         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
7564         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
7565         range of mmap.  If not fail.
7566         Patches by Daniel Jacobowitz <dan@debian.org>.
7567
7568         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
7569         before the relocation happened.
7570         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7571
7572         * Versions.def (libnsl): Add GLIBC_2.2.
7573         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7574
7575 1999-07-08  Cristian Gafton  <gafton@redhat.com>
7576
7577         * nis/yp_xdr.c (xdr_ypall): New function.
7578
7579 1999-07-09  Andreas Schwab  <schwab@suse.de>
7580
7581         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7582
7583         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7584
7585 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
7586
7587         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7588         * hesiod/hesiod-grp.c: Add initgroups support.
7589         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7590
7591 1999-07-08  Andreas Schwab  <schwab@suse.de>
7592
7593         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7594
7595         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7596         negative numbers.
7597
7598         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7599         EOF.
7600         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7601
7602 1999-07-08  Andreas Schwab  <schwab@suse.de>
7603
7604         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7605
7606 1999-07-08  Andreas Schwab  <schwab@suse.de>
7607
7608         * libio/fileno.c: Return -1 instead of EOF and set errno if the
7609         stream is not a real file stream.
7610
7611 1999-07-08  Andreas Schwab  <schwab@suse.de>
7612
7613         * manual/charset.texi: Fix typos.
7614
7615 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
7616
7617         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7618
7619 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
7620
7621         * dlfcn: New directory.  Move the following files from elf:
7622         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7623         dlopenold.c, dlsym.c, dlvsym.c.
7624         * dlfcn/Makefile: New file.
7625         * dlfcn/Versions: New file.
7626         * dlfcn/dlsym.c: All ELF-specific code split out to new
7627         function _dl_sym.
7628         * dlfcn/dlvsym.c: All ELF-specific code split out to new
7629         function _dl_vsym.
7630         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
7631         implemented here.
7632
7633         * dlfcn/dladdr.c: Remove all references to ELF data structures
7634         or headers.
7635         * dlfcn/dlclose.c: Likewise.
7636         * dlfcn/dlerror.c: Likewise.
7637         * dlfcn/dlopen.c: Likewise.
7638         * dlfcn/dlopenold.c: Likewise.
7639
7640         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7641         yes, empty otherwise.
7642         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7643         depending on build-shared.
7644         (subdirs): Add $(dlfcn).
7645         (rpath-dirs): Add dlfcn.
7646         * elf/Makefile: Remove all references to libdl or its
7647         components, except the ones relating to the test cases.
7648         (routines): Add dl-sym.
7649         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7650         (libdl): Delete.
7651
7652         * elf/dl-close.c (_dl_close): Change argument to void *.
7653         * elf/dl-open.c (_dl_open): Change return type to void *.
7654         * elf/eval.c: Removed.
7655         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7656         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7657         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
7658         _CALL_DL_FCT macro.
7659         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7660         Include real header from dlfcn directory.
7661         * include/ldsodefs.h: Removed.
7662
7663         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7664         * nss/getXXbyYY_r.c: Likewise.
7665         * nss/getXXent_r.c: Likewise.
7666         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
7667         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
7668         * iconv/skeleton.c: Don't include ldsodefs.h.
7669         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
7670
7671 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
7672
7673         * sysdeps/generic/setenv.c: Describe problem.
7674
7675         * malloc/malloc.c (request2size): Also set errno if failing.
7676
7677         * malloc/malloc.c (request2size): Take care of overflow in
7678         addition.
7679
7680         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
7681         (NULL, != 0) correctly.
7682
7683         * elf/dl-load.c: Use a few more __builtin_expect.
7684
7685         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7686         is large enough.
7687
7688 1999-07-07  Andreas Schwab  <schwab@suse.de>
7689
7690         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7691         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7692         (_PATH_DEVPTMX): Use _PATH_DEV.
7693
7694 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7695
7696         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
7697         * malloc/Makefile (tests): Add tst-malloc.
7698
7699 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
7700
7701         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7702         convention.
7703
7704         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7705         motherboards.
7706         Patch by Jay Estabrook.
7707
7708         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7709         ldd for SPARC.
7710         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7711         Patch by Cristian Gafton.
7712
7713 1999-07-02  Cristian Gafton  <gafton@redhat.com>
7714
7715         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7716         instead of "return NULL" to make C++ happy.
7717
7718 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
7719
7720         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7721         allowed by the file access mode of the open file.
7722
7723 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
7724
7725         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7726         macros defined.
7727
7728 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
7729
7730         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7731         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7732         * sysdeps/sparc/sparc64/rshift.S: Likewise.
7733         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7734
7735 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7736
7737         * malloc/malloc.c (request2size): Check for overflow and return
7738         NULL whenever it is encountered.
7739
7740 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
7741
7742         * sysdeps/posix/tempname.c (__gen_tempname):   Add
7743         ability to create directories.  Replace OPENIT and LARGEFILE
7744         args with a single flags parameter.
7745         * sysdeps/generic/tempname.c: Likewise.
7746         * include/stdio.h: Adjust prototype of __gen_tempname to
7747         match.  Define symbolic constants for second argument.
7748
7749         * misc/mkdtemp.c: New file, provides new function mkdtemp().
7750         * stdlib/stdlib.h: Prototype it.
7751         * misc/Versions: Export it.
7752         * misc/Makefile (routines): Add mktemp.
7753         * manual/filesys.texi: Document it.
7754
7755         * misc/mktemp.c: Adjust call of __gen_tempname to match new
7756         convention.
7757         * misc/mkstemp.c: Likewise.
7758         * stdio-common/tempnam.c: Likewise.
7759         * stdio-common/tmpfile.c: Likewise.
7760         * stdio-common/tmpfile64.c: Likewise.
7761         * stdio-common/tmpnam.c: Likewise.
7762         * stdio-common/tmpnam_r.c: Likewise.
7763
7764 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
7765
7766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7767         R_SPARC_OLO10 relocations.
7768         * elf/elf.h (R_SPARC_OLO10): Fix comment.
7769
7770 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7771
7772         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
7773         doesn't belong in the tests, but in the wordexp implementation.
7774
7775         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7776         split fields.
7777
7778 1999-07-01  Cristian Gafton  <gafton@redhat.com>
7779
7780         * time/strptime.c (strptime): Initialize the tm struct first to avoid
7781         returning bogus results on incomplete data.
7782         (strptime_internal): day_of_the_week() requres both tm_mon and
7783         tm_mday to be initialized.
7784         Compute them first if they are not given.
7785         (strptime_internal): (have_mon, have_mday): New variables.
7786
7787 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7788
7789         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7790
7791 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7792
7793         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7794         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7795
7796 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7797
7798         * posix/wordexp.c (parse_tilde): Handle failing call to
7799         get.*_r functions correctly for non-existing entry.
7800         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7801         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7802
7803 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7804
7805         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7806         getxxbyYY_r functions correctly for non-existing entry.
7807         * sunrpc/getrpcport.c: Likewise.
7808         * sunrpc/clnt_simp.c: Likewise.
7809         * inet/rexec.c: Likewise.
7810         * sunrpc/clnt_gen.c: Likewise.
7811         * inet/rcmd.c: Likewise.
7812         * sysdeps/generic/glob.c: Likewise.
7813
7814 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7815
7816         * pwd/Makefile (tests): Add rules for tst-getpw.
7817
7818         * pwd/tst-getpw.c: New program to test getpw.
7819
7820 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7821
7822         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7823         correctly.
7824
7825 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7826
7827         * manual/arith.texi (System V Number Conversion): Fix the
7828         description which confused pointer and value to pointer.
7829         Reported by Andries.Brouwer@cwi.nl.
7830
7831 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7832
7833         * pwd/getpw.c (__getpw): Check for NULL result pointer.
7834
7835 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7836
7837         * manual/users.texi (Lookup User): Document POSIX return
7838         semantics for getpwuid_r and getgrgid_r.
7839
7840         * manual/socket.texi (Host Names): Document that the result
7841         pointer is null in case of error or host not found and fix a
7842         typo.  Give a small example.
7843
7844 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7845
7846         * pwd/getpw.c: Add warning since no buffer size is given and
7847         therefore no overrun tests are possible.
7848
7849 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7850
7851         * pwd/pwd.h: Add getpw prototype declaration.
7852
7853 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7854
7855         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7856         * wcsmbs/wcschr.c: Likewise.
7857
7858 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
7859
7860         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7861         returns.
7862         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7863         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7864         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7865
7866         * elf/dl-dst.h: Fix typo.
7867         * elf/dl-open.c: Likewise.
7868
7869 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
7870
7871         * elf/dl-libc.c: New file, provides three functions:
7872         __libc_dlopen, __libc_dlclose, __libc_dlsym.
7873         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
7874         * elf/Makefile (routines): Add dl-libc.c.
7875         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7876         argument to void *.
7877         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7878
7879         * iconv/gconv.c: Include dlfcn.h.
7880         * iconv/gconv_db.c: Likewise.
7881         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
7882
7883         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7884         `handle' to a void *.
7885         (__gconv_find_func): Delete prototype.
7886
7887         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
7888         dlerror_run and related functions and structs.  Use
7889         __libc_dlopen, __libc_dlsym, __libc_dlclose.
7890         * nss/nsswitch.c: Likewise.
7891
7892 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
7893
7894         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7895         function correctly.
7896
7897         * sunrpc/getrpcport.c: Test for gethostbyname_r function
7898         correctly.
7899
7900         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7901
7902         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7903         functions correctly.
7904
7905         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7906
7907         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
7908         file reading a bit.
7909
7910         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7911
7912 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7913
7914         * manual/string.texi (Copying and Concatenation): Mention that
7915         strndup is a GNU extension.
7916
7917 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7918
7919         * pwd/getpw.c (__getpw): Fix check for error return.
7920
7921 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7922
7923         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7924         occurence of the aux object start with the current list entry, not
7925         the new one.  Adjust tail pointer in the unique list.  Explain how
7926         the meaning of the variables changes [PR libc/1168].
7927
7928 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7929
7930         * sysdeps/m68k/fpu/Dist: New file.
7931
7932 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7933
7934         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7935         definitions...
7936         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
7937         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7938         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7939         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7940         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7941         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7942         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7943         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7944         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7945         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7946         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7947         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7948         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7949         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7950         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7951         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7952
7953 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
7954
7955         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7956         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7957         _EXTERN_INLINE, use a macro specific to each file,
7958         _HURD_FD_H_EXTERN_INLINE and the like.
7959         * hurd/Makefile (inline-headers): New variable.
7960         (routines): Remove hurdinline.  Add $(inlines).
7961         (inlines): New variable.
7962         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7963         (generated): Append those here.
7964         * hurd/hurdinline.c: File removed.
7965
7966         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7967
7968         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7969
7970 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7971
7972         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7973
7974 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
7975
7976         * string/bits/string2.h (strnlen): Remove extra prototype.
7977
7978 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7979
7980         * manual/filesys.texi (Working on Directory Trees): Fix typos.
7981         Reported by Andries.Brouwer@cwi.nl.
7982
7983 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
7984
7985         * nscd/connections.c (handle_request): Use correct type for optlen
7986         variable.
7987
7988         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7989         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7990
7991 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
7992
7993         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7994         * nscd/pwdcache.c: Likewise.
7995         * nscd/hstcache.c: Likewise.
7996
7997 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
7998
7999         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
8000
8001         * posix/getopt.h: Include stdio.h.
8002
8003         * manual/arith.texi: Document restriction of ndigit parameter of
8004         ecvt and friends.
8005         * misc/efgcvt.c: Define NDIGIT_MAX.
8006         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
8007         Do not dynamically allocate the static buffers.  They are small enough.
8008         * misc/efgcvt_r.c: Define NDIGIT_MAX.
8009         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
8010         * misc/qefgcvt.c: Define NDIGIT_MAX.
8011         * misc/qefgcvt_r.c: Likewise.
8012         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
8013
8014 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
8015
8016         * libio/stdio.h: Define stdin, stdout, stderr as macros.
8017         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
8018         These are *pragmas* not macros.
8019         * wcsmbs/wchar.h: Fix comment.
8020
8021         * grp/grp.h: Use __foo_t_defined convention to typedef things
8022         only once.
8023         * io/sys/stat.h: Likewise.
8024         * libio/stdio.h: Likewise.
8025         * posix/unistd.h: Likewise.
8026         * posix/sys/types.h: Likewise.
8027         * posix/sys/wait.h: Likewise.
8028         * pwd/pwd.h: Likewise.
8029         * signal/signal.h: Likewise.
8030         * sysdeps/generic/stdint.h: Likewise.
8031         * sysdeps/gnu/utmpx.h: Likewise.
8032         * termios/termios.h: Likewise.
8033
8034 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
8035
8036         * stdio/fputc.c: Don't define alias if fputc is defined as a
8037         macro.
8038         * stdio/putc.c: Define weak alias here since it is not done
8039         anymore in fputc.c.
8040
8041 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8042
8043         * assert/assert.h: Don't produce `defined' as part of macro
8044         expansion.
8045
8046 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
8047
8048         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
8049         OFFSET argument of (off_t) -1.
8050         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
8051         OFFSET argument of (off_t) -1.
8052
8053         * sysdeps/mach/hurd/pwrite.c: New file.
8054         * sysdeps/mach/hurd/pread.c: New file.
8055
8056         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
8057         pass it in the RPC instead of always -1.
8058         * hurd/fd-write.c (_hurd_fd_write): Likewise.
8059         * hurd/hurd/fd.h: Update decls.
8060
8061 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8062
8063         * libio/wscanf.c: Include <wchar.h> for prototype.
8064
8065 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
8066
8067         * manual/io.texi. Fix typos.
8068         * manual/stdio.texi: Likewise.
8069         Patches by Brian Youmans <3diff@gnu.org>.
8070
8071 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
8072
8073         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
8074         bits of two words differ.
8075
8076 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8077
8078         * libio/Makefile (routines): Add putwchar and putwchar_u.
8079
8080         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
8081         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
8082         stdout.  Fix parameter name.
8083
8084         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
8085         * libio/getchar_u.c: Likewise.
8086
8087         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
8088
8089 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8090
8091         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
8092         macro expansion---it's undefined.  Properly parenthesize
8093         substituted parameters.
8094         (__GLIBC_PREREQ): Likewise.
8095
8096 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
8097
8098         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
8099         weird effects.
8100
8101         * stdlib/longlong.h: Provide __P definition if not already
8102         defined.
8103
8104         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
8105
8106 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
8107
8108         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
8109
8110 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8111
8112         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
8113
8114 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8115
8116         * stdio-common/vfprintf.c (group_member): Make parameters and
8117         return types pointers to CHAR_T instead of UCHAR_T.
8118         (vfprintf): Change type of work_buffer, workend and string to
8119         CHAR_T pointer/array.
8120         (process_arg, process_string_arg): Adjust/remove casts.  Add
8121         missing use of L_ macro.
8122         (printf_unknown): Add missing uses of L_ macro.
8123
8124 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8125
8126         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
8127         warning.
8128
8129 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8130
8131         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
8132         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
8133         (__wunderflow): Likewise.
8134         (_IO_switch_to_wget_mode): Likewise.
8135         (_IO_init_wmarker): Likewise.
8136
8137         * libio/wfileops.c (_IO_wfile_seekoff): Call
8138         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8139         (_IO_wfile_jumps): Fix pbackfail entry.
8140
8141         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8142         function if the stream is currently unoriented.
8143
8144 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
8145
8146         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8147         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
8148         __gnuc_va_list in v*w(printf|scanf) prototypes.
8149
8150 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8151
8152         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8153         1999-03-29 to iopopen also here.
8154         Reported by Richard Braakman <dark@xs4all.nl>.
8155
8156 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8157
8158         * include/features.h: Use __GNUC_PREREQ.
8159         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8160
8161 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8162
8163         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8164         Change EOF to WEOF and remove cast.
8165         (UNGETC): Remove macro.
8166         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8167         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8168         Change ISASCII to isascii and MBRLEN to mbrlen.
8169         (parse_one_spec): Compare info.spec always against wchar_t
8170         values.
8171         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8172         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8173         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8174
8175 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8176
8177         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8178         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8179         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8180         oldiofsetpos64 only if doing versioning.
8181
8182 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8183
8184         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8185
8186 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8187
8188         * libio/libio.h: Fix last patch.
8189
8190 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8191
8192         * libio/libio.h (_IO_putwc): Correct type of first argument.
8193         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8194         putwc_unlocked, putwchar_unlocked): Likewise.
8195         * libio/fputwc.c: Likewise.
8196         * libio/fputwc_unlocked.c: Likewise.
8197         * libio/putwc.c: Likewise.
8198         * libio/putwc_unlocked.c: Likewise.
8199         * libio/putwchar.c: Likewise.
8200         * libio/putwchar_unlocked.c: Likewise.
8201
8202 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
8203
8204         * sysdeps/gnu/siglist.h: File moved to ...
8205         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
8206         any platform, since it just associates the SIG* macros with text names
8207         and descriptions. For any signal macros do not exist on every
8208         platform, we can use #ifdef tests here and still use this single
8209         common file for all platforms.
8210         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
8211         should be usable for all platforms after the binary compatibility
8212         stuff in the current sysdeps/gnu version is no longer required.
8213         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8214         * sysdeps/generic/make_siglist.c: File removed.
8215         * sysdeps/mach/hurd/siglist.h: Use #include_next.
8216         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8217
8218 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
8219
8220         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8221         * sysdeps/gnu/siglist.c: ... here.
8222         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8223         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8224         * sysdeps/gnu/siglist.h: New file, contents from linux version.
8225         Add entry for SIGLOST protected by #ifdef.
8226         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8227         and define OLD_SIGLIST_SIZE_STR.
8228         * sysdeps/mach/hurd/siglist.h: New file, likewise.
8229
8230 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8231
8232         * include/features.h: Define new macros __GNUC_PREREQ and
8233         __GLIBC_PREREQ which can be used to test the version of gcc
8234         and glibc respectively.
8235
8236         * assert/assert.h: Use __GNUC_PREREQ.
8237         * intl/libintl.h: Likewise.
8238         * math/complex.h: Likewise.
8239         * math/tgmath.h: Likewise.
8240         * misc/sys/cdefs.h: Likewise.
8241         * posix/sys/types.h: Likewise.
8242         * socket/sys/socket.h: Likewise.
8243         * string/bits/string2.h: Likewise.
8244         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8245         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8246
8247 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8248
8249         * include/libintl.h: Declare _libc_intl_domainname here.
8250         Define _ and N_ here.
8251         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
8252         define _ and N_.  Don't declare _libc_intl_domainname.
8253         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8254
8255         * db2/config.h: Don't include sys/stat.h or define
8256         HAVE_ST_BLKSIZE here...
8257         * db2/compat.h: ...do it here.
8258
8259         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8260         other headers.
8261         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8262         * iconv/iconv.c: Include stddef.h for NULL.
8263         * malloc/malloc.h: Include features.h.
8264         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8265
8266         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8267         into the generated file.
8268         * sysdeps/gnu/errlist.awk: Likewise.
8269         * sysdeps/gnu/errlist.c: Rebuilt.
8270
8271         * assert/assert-perr.c: Include libintl.h.
8272         * assert/assert.c: Likewise.
8273         * elf/dl-open.c: Likewise.
8274         * elf/dlsym.c: Likewise.
8275         * elf/dlvsym.c: Likewise.
8276         * iconv/iconv_prog.c: Likewise.
8277         * inet/rcmd.c: Likewise.
8278         * inet/ruserpass.c: Likewise.
8279         * locale/programs/charset.c: Likewise.
8280         * locale/programs/ld-collate.c: Likewise.
8281         * locale/programs/ld-ctype.c: Likewise.
8282         * locale/programs/ld-messages.c: Likewise.
8283         * locale/programs/ld-monetary.c: Likewise.
8284         * locale/programs/ld-numeric.c: Likewise.
8285         * locale/programs/ld-time.c: Likewise.
8286         * locale/programs/locfile.c: Likewise.
8287         * locale/programs/repertoire.c: Likewise.
8288         * login/programs/database.c: Likewise.
8289         * login/programs/request.c: Likewise.
8290         * malloc/mcheck.c: Likewise.
8291         * misc/error.c: Likewise.
8292         * nis/nis_call.c: Likewise.
8293         * nis/nis_callback.c: Likewise.
8294         * nis/nis_error.c: Likewise.
8295         * nis/nis_local_names.c: Likewise.
8296         * nis/nis_print.c: Likewise.
8297         * nis/nis_print_group_entry.c: Likewise.
8298         * nis/ypclnt.c: Likewise.
8299         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8300         * nscd/cache.c: Likewise.
8301         * nscd/connections.c: Likewise.
8302         * nscd/grpcache.c: Likewise.
8303         * nscd/hstcache.c: Likewise.
8304         * nscd/nscd_conf.c: Likewise.
8305         * nscd/nscd_stat.c: Likewise.
8306         * nscd/pwdcache.c: Likewise.
8307         * posix/id.c: Likewise.
8308         * resolv/herror.c: Likewise.
8309         * stdio-common/psignal.c: Likewise.
8310         * string/strsignal.c: Likewise.
8311         * sunrpc/auth_unix.c: Likewise.
8312         * sunrpc/clnt_perr.c: Likewise.
8313         * sunrpc/clnt_raw.c: Likewise.
8314         * sunrpc/clnt_tcp.c: Likewise.
8315         * sunrpc/clnt_udp.c: Likewise.
8316         * sunrpc/clnt_unix.c: Likewise.
8317         * sunrpc/get_myaddr.c: Likewise.
8318         * sunrpc/pm_getmaps.c: Likewise.
8319         * sunrpc/pmap_clnt.c: Likewise.
8320         * sunrpc/pmap_rmt.c: Likewise.
8321         * sunrpc/rpc_main.c: Likewise.
8322         * sunrpc/rpc_scan.c: Likewise.
8323         * sunrpc/svc_run.c: Likewise.
8324         * sunrpc/svc_simple.c: Likewise.
8325         * sunrpc/svc_tcp.c: Likewise.
8326         * sunrpc/svc_udp.c: Likewise.
8327         * sunrpc/svc_unix.c: Likewise.
8328         * sunrpc/xdr_rec.c: Likewise.
8329         * sunrpc/xdr_ref.c: Likewise.
8330         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8331         * sysdeps/posix/gai_strerror.c: Likewise.
8332         * sysdeps/unix/siglist.c: Likewise.
8333         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8334         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8335         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8336         * timezone/zic.c: Likewise.
8337
8338 1999-06-18  H.J. Lu  <hjl@gnu.org>
8339
8340         * localedata/Makefile (charmaps): Exclude SCCS.
8341         (locales): Likewise.
8342         (repertoiremaps): Likewise.
8343
8344 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
8345
8346         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8347         * sysdeps/generic/bsd-setjmp.c: Likewise.
8348
8349         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8350
8351         * iconv/gconv_open.c: Include string.h for memset prototype.
8352
8353         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8354         definitions.
8355
8356         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8357         assignment to avoid warning on 64bit platforms.
8358
8359 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
8360
8361         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8362
8363         * nss/getXXbyYY_r.c: Return error code not -1.
8364         * nss/getXXent_r.c: Likewise.
8365         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8366         small.
8367         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8368         value > 0 for error.
8369         * nscd/nscd_gethst_r.c: Likewise.
8370         * nscd/nscd_getpw_r.c: Likewise.
8371
8372 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8373
8374         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8375         disciplines.
8376
8377 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8378
8379         * nscd/nscd_nischeck.c: Fix typos.
8380
8381 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
8382
8383         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8384         always when oact is NULL.
8385         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8386
8387 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8388
8389         * math/libm-test.c (jn_test): Adjust delta.
8390
8391 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8392
8393         * libio/vwprintf.c: Include <wchar.h> for prototypes.
8394         * libio/wprintf.c: Likewise.
8395
8396 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8397
8398         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8399         to not write beyond allocated memory.
8400         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8401
8402 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
8403
8404         * malloc/mtrace.c: Keep lock while printing output lines.
8405         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8406
8407 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
8408
8409         * configure.in: Add warnings about broken code.
8410
8411         * Versions.def: Add GLIBC_2.2 for libc.
8412
8413         * iconv/gconv.h: Make header suitable for inclusion in public header
8414         by protecting all names with __.
8415         * iconv/gconv.c: Adapt for symbol name changes.
8416         * iconv/gconv.h: Likewise.
8417         * iconv/gconv_builtin.c: Likewise.
8418         * iconv/gconv_close.c: Likewise.
8419         * iconv/gconv_db.c: Likewise.
8420         * iconv/gconv_dl.c: Likewise.
8421         * iconv/gconv_int.h: Likewise.
8422         * iconv/gconv_open.c: Likewise.
8423         * iconv/gconv_simple.c: Likewise.
8424         * iconv/iconv.c: Likewise.
8425         * iconv/iconv_close.c: Likewise.
8426         * iconv/iconv_open.c: Likewise.
8427         * iconv/loop.c: Likewise.
8428         * iconv/skeleton.c: Likewise.
8429         * iconvdata/8bit-gap.c: Likewise.
8430         * iconvdata/8bit-generic.c: Likewise.
8431         * iconvdata/ansi_x3.110.c: Likewise.
8432         * iconvdata/big5.c: Likewise.
8433         * iconvdata/cns11643.h: Likewise.
8434         * iconvdata/cns11643l1.h: Likewise.
8435         * iconvdata/euc-cn.c: Likewise.
8436         * iconvdata/euc-jp.c: Likewise.
8437         * iconvdata/euc-kr.c: Likewise.
8438         * iconvdata/euc-tw.c: Likewise.
8439         * iconvdata/gb2312.h: Likewise.
8440         * iconvdata/iso-2022-jp.c: Likewise.
8441         * iconvdata/iso-2022-kr.c: Likewise.
8442         * iconvdata/iso646.c: Likewise.
8443         * iconvdata/iso8859-1.c: Likewise.
8444         * iconvdata/iso_6937-2.c: Likewise.
8445         * iconvdata/iso_6937.c: Likewise.
8446         * iconvdata/jis0201.h: Likewise.
8447         * iconvdata/jis0208.h: Likewise.
8448         * iconvdata/jis0212.h: Likewise.
8449         * iconvdata/johab.c: Likewise.
8450         * iconvdata/ksc5601.h: Likewise.
8451         * iconvdata/sjis.c: Likewise.
8452         * iconvdata/t.61.c: Likewise.
8453         * iconvdata/uhc.c: Likewise.
8454         * stdlib/mblen.c: Likewise.
8455         * stdlib/mbtowc.c: Likewise.
8456         * stdlib/wctomb.c: Likewise.
8457         * wcsmbs/btowc.c: Likewise.
8458         * wcsmbs/mbrtowc.c: Likewise.
8459         * wcsmbs/mbsnrtowcs.c: Likewise.
8460         * wcsmbs/mbsrtowcs.c: Likewise.
8461         * wcsmbs/wchar.h: Likewise.
8462         * wcsmbs/wcrtomb.c: Likewise.
8463         * wcsmbs/wcsmbsload.c: Likewise.
8464         * wcsmbs/wcsmbsload.h: Likewise.
8465         * wcsmbs/wcsnrtombs.c: Likewise.
8466         * wcsmbs/wcsrtombs.c: Likewise.
8467         * wcsmbs/wctob.c: Likewise.
8468
8469         * include/limits.h (MB_LEN_MAX): Increase to 16.
8470
8471         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
8472         _G_iconv_t.
8473         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8474         * include/wchar.h: Change mbstate_t to __mbstate_t.
8475
8476         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
8477         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
8478         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
8479         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
8480         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
8481         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
8482         and iofwide.
8483         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
8484         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
8485         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
8486         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
8487         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
8488         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
8489         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
8490         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
8491         GLIBC_2.2 for libc.
8492         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
8493         Extend _IO_file contain pointer to codecvt, widedata and mode.
8494         (_IO_getwc_unlocked): New macro.
8495         (_IO_putwc_unlocked): New macro.
8496         (_IO_fwide): New macro.
8497         * libio/libioP.h: Add new prototypes and adjust existing declarations.
8498         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
8499         buffers based on mode.
8500         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
8501         oriented.
8502         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
8503         flag to be enough to signal unallocated buffer.  For wide oriented
8504         stream don't make it linebuffered.  Don't use _IO_do_flush, use
8505         _IO_new_do_write directly.
8506         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
8507         (_IO_file_seek): Likewise.
8508         * libio/genops.c (_IO_least_marker): Make global.
8509         (__underflow): Orient stream if not already done.
8510         (__uflow): Likewise.
8511         (_IO_default_seekpos): Change to type _IO_off64_t.
8512         (_IO_default_seekoff): Likewise.
8513         (_IO_default_seek): Likewise.
8514         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
8515         in initialization.
8516         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
8517         to use _IO_off64_t.
8518         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
8519         char stream.
8520         * libio/ftello64.c: Likewise.
8521         * libio/ioftell.c: Likewise.
8522         * libio/iofopncook.c: Likewise.
8523         * libio/ioseekoff.c: Likewise.
8524         * libio/ioseekpos.c: Likewise.
8525         * libio/oldfileops.c: Likewise.
8526         * libio/iofgetpos.c: Store state of conversion if necessary.
8527         * libio/iofgetpos64.c: Likewise.
8528         * libio/iofsetpos.c: Restore conversion state if necessary.
8529         * libio/iofsetpos64.c: Likewise.
8530         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
8531         * libio/iofopen.c: Likewise.
8532         * libio/iofopen64.c: Likewise.
8533         * libio/iopopen.c: Likewise.
8534         * libio/iovdprintf.c: Likewise.
8535         * libio/iovsprintf.c: Likewise.
8536         * libio/iovsscanf.c: Likewise.
8537         * libio/memstream.c: Likewise.
8538         * libio/obprintf.c: Likewise.
8539         * libio/iofputs.c: Orient stream if not already happened.
8540         * libio/iofputs_u.c: Likewise.
8541         * libio/iofwrite.c: Likewise.
8542         * libio/iofwrite_u.c: Likewise.
8543         * libio/ioputs.c: Likewise.
8544         * libio/iosetbuffer.c: Handle not yet oriented stream.
8545         * libio/iosetvbuf.c: Likewise.
8546         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
8547         * libio/stdfiles.c: Likewise.
8548         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
8549         failed allocation.
8550         (_IO_str_seekoff): Use _IO_off64_t.
8551         * libio/vasprintf.c: Pre-orient stream.
8552         * libio/vsnprintf.c: Likewise.
8553         * libio/fputwc.c: New file.
8554         * libio/fputwc_u.c: New file.
8555         * libio/fwprintf.c: New file.
8556         * libio/fwscanf.c: New file.
8557         * libio/getwc.c: New file.
8558         * libio/getwc_u.c: New file.
8559         * libio/getwchar.c: New file.
8560         * libio/getwchar_u.c: New file.
8561         * libio/iofgetws.c: New file.
8562         * libio/iofgetws_u.c: New file.
8563         * libio/iofputws.c: New file.
8564         * libio/iofputws_u.c: New file.
8565         * libio/iofwide.c: New file.
8566         * libio/iogetwline.c: New file.
8567         * libio/ioungetwc.c: New file.
8568         * libio/iovswscanf.c: New file.
8569         * libio/iowpadn.c: New file.
8570         * libio/oldiofgetpos.c: New file.
8571         * libio/oldiofgetpos64.c: New file.
8572         * libio/oldiofsetpos.c: New file.
8573         * libio/oldiofsetpos64.c: New file.
8574         * libio/putwc.c: New file.
8575         * libio/putwc_u.c: New file.
8576         * libio/putwchar.c: New file.
8577         * libio/putwchar_u.c: New file.
8578         * libio/swprintf.c: New file.
8579         * libio/swscanf.c: New file.
8580         * libio/tst_swprintf.c: New file.
8581         * libio/tst_swscanf.c: New file.
8582         * libio/tst_wprintf.c: New file.
8583         * libio/tst_wscanf.c: New file.
8584         * libio/tst_wscanf.input: New file.
8585         * libio/vswprintf.c: New file.
8586         * libio/vwprintf.c: New file.
8587         * libio/vwscanf.c: New file.
8588         * libio/wfiledoalloc.c: New file.
8589         * libio/wfileops.c: New file.
8590         * libio/wgenops.c: New file.
8591         * libio/wprintf.c: New file.
8592         * libio/wscanf.c: New file.
8593         * libio/wstrops.c: New file.
8594         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8595         vfwprintf, and vfwscanf.
8596         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8597         make global.
8598         * stdio-common/_itowa.c: New file.
8599         * stdio-common/_itowa.h: New file.
8600         * stdio-common/itoa-digits.c: Minimal optimization.
8601         * stdio-common/itowa-digits.c: New file.
8602         * stdio-common/printf-parse.h: Allow use in wide character context.
8603         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8604         * stdio-common/printf.h (printf_info): Add wide bit.
8605         * stdio-common/printf_fp.c: Determine from wide bit whether stream
8606         is wide oriented or not.
8607         * stdio-common/printf_size.c: Likewise.
8608         * sysdeps/generic/printf_fphex.c: Likewise.
8609         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8610         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8611         context.
8612         * stdio-common/vfscand.c: Likewise.
8613         * stdio-common/vfwprintf.c: New file.
8614         * stdio-common/vfwscanf.c: New file.
8615
8616         * time/Makefile (routines): Add wcsftime.
8617         (tests): Add tst_wcsftime.
8618         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8619         * time/strftime.c: Make usable as wcsftime.
8620         * time/wcsftime.c: New file.
8621         * time/tst_wcsftime.c: New file.
8622
8623         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8624         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8625         * wcsmbs/wcschrnul.c: New file.
8626         * wcsmbs/wmemcpy.c: New file.
8627         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8628         * wcsmbs/wmemmove.c: Likewise for wmemmove.
8629
8630         * manual/stdio.texi: Document is_char and wide element if printf_info.
8631
8632         * manual/time.texi: Document wcsftime.
8633
8634         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8635         __wmemmove, __wcschrnul, and __vfwscanf.
8636
8637         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8638         * locale/C-time.c: Adapt for above change.
8639         * locale/categories.def: Likewise.
8640         * locale/localeinfo.h: Likewise.
8641         * localedata/Makefile: Don't run tests for now.
8642
8643         * manual/errno.texi: Fix typos.
8644         * manual/memory.texi: Likewise.
8645         * manual/ctype.texi: Likewise.
8646         Patches by Brian Youmans <3diff@gnu.org>.
8647
8648 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8649
8650         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8651
8652 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8653
8654         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8655         word order.
8656         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8657         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8658
8659 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8660
8661         * db2/db/db.c: Restore __nss_db_open alias.
8662         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8663         include.
8664         * db2/os/os_rw.c (__os_write): Maintain const correctness.
8665         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8666
8667 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
8668
8669         * stdio-common/printf-parse.h (parse_one_spec): Don't set
8670         is_longlong if not necessary.
8671
8672 1999-06-15  H.J. Lu  <hjl@gnu.org>
8673
8674         * Make-dist (sysdep_dirs): Exclude SCCS.
8675         * MakeTAGS (sysdep_dirs): Likewise.
8676
8677 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
8678
8679         * posix/regex.c (re_error_msgid): Remove extra commas.
8680
8681 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
8682
8683         * stdlib/tst-strtoll.c: New file.
8684         * stdlib/Makefile (tests): Add tst-strtoll.c
8685         * stdlib/strtol.c: It is not generally true that if
8686         (unsigned)a*(unsigned)b overflows, then the result is
8687         less than 'a'.
8688
8689 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
8690
8691         * nscd/connections.c (handle_request): Only root is allowed to
8692         send GETSTAT request in non secure mode.
8693         * nscd/nscd.c: Print error message if other then root try to
8694         use getstat.
8695
8696 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8697
8698         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8699
8700 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8701
8702         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8703         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8704
8705 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8706
8707         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8708         for character to search, to help the compiler.
8709         * sysdeps/generic/strchrnul.c: Likewise.
8710         * sysdeps/generic/memchr.c: Likewise.
8711         * sysdeps/generic/memccpy.c: Likewise.
8712         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
8713
8714 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8715
8716         * sysdeps/m68k/memchr.S: New file.
8717         * sysdeps/m68k/rawmemchr.S: New file.
8718         * sysdeps/m68k/strchr.S: New file.
8719         * sysdeps/m68k/strchrnul.S: New file.
8720
8721 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
8722
8723         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8724         add `memory' clobber; optimise for constant `val'.
8725         (atomic_add): Likewise.
8726         (test_and_set): Remove `volatile'; add `memory' clobber; be more
8727         like the original `test_and_set'.
8728         (compare_and_swap): Remove `volatile'; add `memory' clobber;
8729         optimise for constant `oldval'.
8730         (always_swap): Remove `volatile'; add `memory' clobber.
8731
8732 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8733
8734         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8735         functions for gcc <= 2.7.x.
8736
8737 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
8738
8739         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8740         change.
8741
8742 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
8743
8744         * db2/Makefile (distribute): Remove files which do not exist
8745         anymore.
8746
8747         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8748         definitions to calm down gcc.
8749
8750         * db2/db.h: Update from db 2.7.5.
8751         * db2/db_185.h: Likewise.
8752         * db2/db_int.h: Likewise.
8753         * db2/btree/bt_compare.c: Likewise.
8754         * db2/btree/bt_conv.c: Likewise.
8755         * db2/btree/bt_curadj.c: Likewise.
8756         * db2/btree/bt_cursor.c: Likewise.
8757         * db2/btree/bt_delete.c: Likewise.
8758         * db2/btree/bt_open.c: Likewise.
8759         * db2/btree/bt_page.c: Likewise.
8760         * db2/btree/bt_put.c: Likewise.
8761         * db2/btree/bt_rec.c: Likewise.
8762         * db2/btree/bt_recno.c: Likewise.
8763         * db2/btree/bt_rsearch.c: Likewise.
8764         * db2/btree/bt_search.c: Likewise.
8765         * db2/btree/bt_split.c: Likewise.
8766         * db2/btree/bt_stat.c: Likewise.
8767         * db2/btree/btree_auto.c: Likewise.
8768         * db2/common/db_appinit.c: Likewise.
8769         * db2/common/db_apprec.c: Likewise.
8770         * db2/common/db_err.c: Likewise.
8771         * db2/common/db_region.c: Likewise.
8772         * db2/common/db_salloc.c: Likewise.
8773         * db2/db/db.c: Likewise.
8774         * db2/db/db.src: Likewise.
8775         * db2/db/db_am.c: Likewise.
8776         * db2/db/db_auto.c: Likewise.
8777         * db2/db/db_dispatch.c: Likewise.
8778         * db2/db/db_dup.c: Likewise.
8779         * db2/db/db_iface.c: Likewise.
8780         * db2/db/db_join.c: Likewise.
8781         * db2/db/db_overflow.c: Likewise.
8782         * db2/db/db_pr.c: Likewise.
8783         * db2/db/db_rec.c: Likewise.
8784         * db2/db/db_ret.c: Likewise.
8785         * db2/db185/db185.c: Likewise.
8786         * db2/dbm/dbm.c: Likewise.
8787         * db2/hash/hash.c: Likewise.
8788         * db2/hash/hash_auto.c: Likewise.
8789         * db2/hash/hash_dup.c: Likewise.
8790         * db2/hash/hash_page.c: Likewise.
8791         * db2/hash/hash_rec.c: Likewise.
8792         * db2/hash/hash_stat.c: Likewise.
8793         * db2/include/btree.h: Likewise.
8794         * db2/include/btree_ext.h: Likewise.
8795         * db2/include/clib_ext.h: Likewise.
8796         * db2/include/common_ext.h: Likewise.
8797         * db2/include/db_am.h: Likewise.
8798         * db2/include/db_auto.h: Likewise.
8799         * db2/include/db_cxx.h: Likewise.
8800         * db2/include/db_ext.h: Likewise.
8801         * db2/include/db_join.h: Likewise.
8802         * db2/include/db_page.h: Likewise.
8803         * db2/include/hash.h: Likewise.
8804         * db2/include/hash_ext.h: Likewise.
8805         * db2/include/lock.h: Likewise.
8806         * db2/include/lock_ext.h: Likewise.
8807         * db2/include/log.h: Likewise.
8808         * db2/include/log_ext.h: Likewise.
8809         * db2/include/mp.h: Likewise.
8810         * db2/include/mp_ext.h: Likewise.
8811         * db2/include/os.h: Likewise.
8812         * db2/include/os_ext.h: Likewise.
8813         * db2/include/os_func.h: Likewise.
8814         * db2/include/txn.h: Likewise.
8815         * db2/include/txn_auto.h: Likewise.
8816         * db2/include/txn_ext.h: Likewise.
8817         * db2/include/xa.h: Likewise.
8818         * db2/include/xa_ext.h: Likewise.
8819         * db2/lock/lock.c: Likewise.
8820         * db2/lock/lock_conflict.c: Likewise.
8821         * db2/lock/lock_deadlock.c: Likewise.
8822         * db2/lock/lock_region.c: Likewise.
8823         * db2/lock/lock_util.c: Likewise.
8824         * db2/log/log.c: Likewise.
8825         * db2/log/log_archive.c: Likewise.
8826         * db2/log/log_auto.c: Likewise.
8827         * db2/log/log_findckp.c: Likewise.
8828         * db2/log/log_get.c: Likewise.
8829         * db2/log/log_put.c: Likewise.
8830         * db2/log/log_rec.c: Likewise.
8831         * db2/log/log_register.c: Likewise.
8832         * db2/mp/mp_bh.c: Likewise.
8833         * db2/mp/mp_fget.c: Likewise.
8834         * db2/mp/mp_fopen.c: Likewise.
8835         * db2/mp/mp_fput.c: Likewise.
8836         * db2/mp/mp_fset.c: Likewise.
8837         * db2/mp/mp_open.c: Likewise.
8838         * db2/mp/mp_pr.c: Likewise.
8839         * db2/mp/mp_region.c: Likewise.
8840         * db2/mp/mp_sync.c: Likewise.
8841         * db2/mutex/mutex.c: Likewise.
8842         * db2/mutex/uts4_cc.s: Likewise.
8843         * db2/os/os_abs.c: Likewise.
8844         * db2/os/os_alloc.c: Likewise.
8845         * db2/os/os_config.c: Likewise.
8846         * db2/os/os_dir.c: Likewise.
8847         * db2/os/os_fid.c: Likewise.
8848         * db2/os/os_fsync.c: Likewise.
8849         * db2/os/os_map.c: Likewise.
8850         * db2/os/os_oflags.c: Likewise.
8851         * db2/os/os_open.c: Likewise.
8852         * db2/os/os_rw.c: Likewise.
8853         * db2/os/os_seek.c: Likewise.
8854         * db2/os/os_sleep.c: Likewise.
8855         * db2/os/os_spin.c: Likewise.
8856         * db2/os/os_stat.c: Likewise.
8857         * db2/os/os_tmpdir.c: Likewise.
8858         * db2/os/os_unlink.c: Likewise.
8859         * db2/progs/db_archive/db_archive.c: Likewise.
8860         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8861         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8862         * db2/progs/db_dump/db_dump.c: Likewise.
8863         * db2/progs/db_load/db_load.c: Likewise.
8864         * db2/progs/db_printlog/README: Likewise.
8865         * db2/progs/db_printlog/commit.awk: Likewise.
8866         * db2/progs/db_printlog/count.awk: Likewise.
8867         * db2/progs/db_printlog/db_printlog.c: Likewise.
8868         * db2/progs/db_printlog/pgno.awk: Likewise.
8869         * db2/progs/db_printlog/range.awk: Likewise.
8870         * db2/progs/db_printlog/status.awk: Likewise.
8871         * db2/progs/db_printlog/txn.awk: Likewise.
8872         * db2/progs/db_recover/db_recover.c: Likewise.
8873         * db2/progs/db_stat/db_stat.c: Likewise.
8874         * db2/txn/txn.c: Likewise.
8875         * db2/txn/txn.src: Likewise.
8876         * db2/txn/txn_auto.c: Likewise.
8877         * db2/txn/txn_rec.c: Likewise.
8878         * db2/xa/xa.c: Likewise.
8879         * db2/xa/xa_db.c: Likewise.
8880         * db2/xa/xa_map.c: Likewise.
8881
8882         * db2/btree/bt_close.c: Removed.
8883         * db2/db/db_thread.c: Likewise.
8884         * db2/hash/hash_debug.c: Likewise.
8885         * db2/include/db.h.src: Likewise.
8886         * db2/include/db_int.h.src: Likewise.
8887         * db2/include/os_jump.h: Likewise.
8888         * db2/mutex/alpha.dec: Likewise.
8889         * db2/mutex/alpha.gcc: Likewise.
8890         * db2/mutex/parisc.hp: Likewise.
8891         * db2/mutex/uts4.cc.s: Likewise.
8892
8893         * db2/Makefile: Add new routines, remove old for 2.7.5.
8894         * db2/Versions: Add internal function names for the helper programs.
8895         * db2/makedb.c: Update for new cursor callback.
8896         * Versions.def: Define versions for libdb.
8897
8898 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
8899
8900         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8901         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8902         * nscd/nscd_nischeck.c: New file.
8903         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8904
8905 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8906
8907         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8908         MSG_* flags from Linux 2.2.9.
8909
8910 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
8911
8912         * Makeconfig (static-start-installed-name): Set to
8913         $(start-installed-name) if not defined.
8914         (+link-static): Use $(static-start-installed-name) instead of
8915         $(start-installed-name).
8916         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8917         Set to crt0.o.
8918
8919 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
8920
8921         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8922         inserting a send right into the child instead of unconditionally
8923         copying the send right.
8924
8925 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
8926
8927         * locale/lc-time.c: Add free_mem function to free if necessary
8928         statically allocated memory.
8929
8930 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
8931
8932         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8933         bias from the raw exponent.
8934
8935 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
8936
8937         * inet/arpa/tftp.h: Move attribute declaration in right position.
8938
8939 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
8940
8941         * nscd/nscd.c: Add -S options for separate caching of data for
8942         every user. So one user couldn't see the data another user
8943         has gotten with his credentials.
8944         * nscd/nscd.h: Add new prototypes.
8945         * nscd/cache.c: Compare owner of cache entry if in secure mode.
8946         * nscd/connections.c: Check on shutdown if caller really was root.
8947         In secure mode get uid of caller.
8948         * nscd/grpcache.c: Add support for new secure group mode.
8949         * nscd/hstcache.c: Add support for new secure hosts mode.
8950         * nscd/pwdcache.c: Add support for new secure passwd mode.
8951
8952 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
8953
8954         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8955         of user-provided buffer.
8956
8957 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
8958
8959         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8960         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8961
8962 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
8963
8964         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8965         and A format.
8966
8967         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8968         returning after last entry.
8969         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8970
8971 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
8972
8973         * misc/sysexits.h: Remove advertising clause of copyright.
8974         * resolv/getnetnamadr.c: Likewise.
8975         * sysdeps/vax/bcopy.s: Likewise.
8976         * sysdeps/vax/bzero.s: Likewise.
8977         * sysdeps/vax/ffs.s: Likewise.
8978         * sysdeps/vax/memchr.s: Likewise.
8979         * sysdeps/vax/memcmp.s: Likewise.
8980         * sysdeps/vax/memmove.s: Likewise.
8981         * sysdeps/vax/memset.s: Likewise.
8982         * sysdeps/vax/strcat.s: Likewise.
8983         * sysdeps/vax/strchr.s: Likewise.
8984         * sysdeps/vax/strcmp.s: Likewise.
8985         * sysdeps/vax/strcpy.s: Likewise.
8986         * sysdeps/vax/strcspn.s: Likewise.
8987         * sysdeps/vax/strlen.s: Likewise.
8988         * sysdeps/vax/strncat.s: Likewise.
8989         * sysdeps/vax/strncmp.s: Likewise.
8990         * sysdeps/vax/strncpy.s: Likewise.
8991         * sysdeps/vax/strpbrk.s: Likewise.
8992         * sysdeps/vax/strrchr.s: Likewise.
8993         * sysdeps/vax/strsep.s: Likewise.
8994         * sysdeps/vax/strspn.s: Likewise.
8995         * sysdeps/vax/strstr.s: Likewise.
8996
8997         * libio/iofopncook.c: Adjust for renaming of structure elements.
8998         * libio/libio.h: Define cookie functions with all the names.
8999
9000         * pwd/fgetpwent_r.c: Set errno in the correct way.
9001         * shadow/fgetspent_r.c: Likewise.
9002         * pwd/fgetpwent.c: Handle long lines correctly.  Little
9003         optimizations.  Free static buffer when debugging memory handling.
9004         * shadow/fgetspent.c: Likewise.
9005
9006         * grp/fgetgrent.c: Little optimization in loop.
9007
9008 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9009
9010         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
9011         in a different way.
9012
9013 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
9014
9015         * stdlib/longlong.h: gas changed sethi handling when without
9016         %hi(). Fix assembly.
9017         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
9018         port specific cache id checks.
9019         * sysdeps/generic/dl-cache.h: New file.
9020         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
9021
9022 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9023
9024         * gmon/gmon.c: Remove advertising clause of copyright.
9025         * gmon/mcount.c: Likewise.
9026         * gmon/sys/gmon.h: Likewise.
9027         * inet/arpa/ftp.h: Likewise.
9028         * inet/arpa/telnet.h: Likewise.
9029         * inet/arpa/tftp.h: Likewise.
9030         * inet/inet_lnaof.c: Likewise.
9031         * inet/inet_mkadr.c: Likewise.
9032         * inet/inet_net.c: Likewise.
9033         * inet/inet_netof.c: Likewise.
9034         * inet/protocols/routed.h: Likewise.
9035         * inet/protocols/rwhod.h: Likewise.
9036         * inet/protocols/talkd.h: Likewise.
9037         * inet/protocols/timed.h: Likewise.
9038         * inet/rcmd.c: Likewise.
9039         * inet/rexec.c: Likewise.
9040         * inet/ruserpass.c: Likewise.
9041         * io/fts.c: Likewise.
9042         * io/fts.h: Likewise.
9043         * login/login_tty.c: Likewise.
9044         * misc/fstab.h: Likewise.
9045         * misc/getttyent.c: Likewise.
9046         * misc/getusershell.c: Likewise.
9047         * misc/sys/queue.h: Likewise.
9048         * misc/sys/syslog.h: Likewise.
9049         * misc/syslog.c: Likewise.
9050         * misc/ttyent.h: Likewise.
9051         * misc/ttyslot.c: Likewise.
9052         * resolv/arpa/nameser.h: Likewise.
9053         * resolv/gethnamaddr.c: Likewise.
9054         * resolv/herror.c: Likewise.
9055         * resolv/inet_addr.c: Likewise.
9056         * resolv/mapv4v6addr.h: Likewise.
9057         * resolv/mapv4v6hostent.h: Likewise.
9058         * resolv/nss_dns/dns-host.c: Likewise.
9059         * resolv/nss_dns/dns-network.c: Likewise.
9060         * resolv/res_comp.c: Likewise.
9061         * resolv/res_data.c: Likewise.
9062         * resolv/res_debug.c: Likewise.
9063         * resolv/res_init.c: Likewise.
9064         * resolv/res_mkquery.c: Likewise.
9065         * resolv/res_query.c: Likewise.
9066         * resolv/res_send.c: Likewise.
9067         * resolv/resolv.h: Likewise.
9068         * sysdeps/generic/div.c: Likewise.
9069         * sysdeps/generic/netinet/ip.h: Likewise.
9070         * sysdeps/generic/netinet/tcp.h: Likewise.
9071         * sysdeps/generic/paths.h: Likewise.
9072         * sysdeps/generic/prof-freq.c: Likewise.
9073         * sysdeps/generic/sys/ttydefaults.h: Likewise.
9074         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9075         * sysdeps/gnu/netinet/tcp.h: Likewise.
9076         * sysdeps/ieee754/support.c: Likewise.
9077         * sysdeps/mach/hurd/sys/param.h: Likewise.
9078         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
9079         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9080         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
9081         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9082         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
9083         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
9084         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
9085         * sysdeps/unix/sysv/linux/paths.h: Likewise.
9086         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
9087         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
9088         * sysdeps/vax/DEFS.h: Likewise.
9089         * termios/sys/ttychars.h: Likewise.
9090         * misc/daemon.c: Likewise.  Call fork.
9091
9092         * grp/fgetgrent.c (buffer): Make file local variable.
9093         (free_mem): New function.  Call for malloc debugging.
9094
9095         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
9096
9097 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9098
9099         * grp/Makefile: Add rules for tst_fgetgrent.
9100
9101         * grp/tst_fgetgrent.c: Rewritten to read only one file.
9102
9103         * grp/tst_fgetgrent.sh: New file.
9104
9105 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9106
9107         * grp/Makefile (tests): Add tst_fgetgrent.
9108         * grp/tst_fgetgrent.c: New file.
9109         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9110
9111 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
9112
9113         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
9114         be POSIX compliant.  Prior definition was broken for Hurd.
9115         Reported by Mark Kettenis <kettenis@gnu.org>.
9116
9117 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
9118
9119         * ctype/ctype.h: Protect __tobody code by __extension__.
9120
9121 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9122
9123         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
9124         reading and reset in case the buffer was too small.
9125
9126         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
9127         of EOF.
9128
9129 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9130
9131         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
9132         another SIOGIFNAME typo.
9133
9134 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9135
9136         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9137
9138         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9139         bit.
9140
9141 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9142
9143         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9144         the precision if the mantissa is zero.
9145
9146 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9147
9148         * manual/lang.texi (Floating Point Parameters): GCC already
9149         supports long double for a long time.
9150
9151 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9152
9153         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9154         yn_test): Increase some epsilons.
9155
9156 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9157
9158         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9159         parameters.
9160
9161 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9162
9163         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9164         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9165         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9166         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9167
9168         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9169         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9170         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9171         * sysdeps/libm-ieee754/w_j1.c: Likewise.
9172         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9173         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9174         * sysdeps/libm-ieee754/w_jn.c: Likewise.
9175         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9176         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9177
9178         * stdio-common/vfprintf.c: Correct typos.
9179
9180         * math/libm-test.c (jn_test): Adjust delta.
9181         (y1_test): Likewise.
9182         (yn_test): Likewise.
9183
9184         * elf/do-lookup.h: It should never happen that if we expect a versioned
9185         symbol from a file the file has no version table.  This should have
9186         been checked in dl-version.c.
9187         * elf/dl-lookup.c: Include assert.h.
9188
9189         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9190         function handling.
9191
9192         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9193
9194 1999-06-06  Andi Kleen  <ak@muc.de>
9195
9196         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9197         SA_RESTORER flag.
9198
9199 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9200
9201         * math/libm-test.c (yn_test): Change one delta.
9202         (jn_test): Likewise.
9203         (j1_test): Likewise.
9204         (y0_test): Likewise.
9205
9206 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9207
9208         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9209         avoid multiple calls to getpagesize() which might be a syscall.
9210
9211 1999-06-06  Philip Blundell  <philb@gnu.org>
9212
9213         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9214
9215 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9216
9217         * manual/install.texi (Running make install): Correct typo in
9218         dynamic linker invocation.
9219
9220 1999-06-05  Philip Blundell  <philb@gnu.org>
9221
9222         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9223         problems with GOT addressing.
9224
9225 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9226
9227         * malloc/malloc.c (check_action): Change into bitmap so that both
9228         diagnostic and abort can be requested by setting it to 3.
9229         (mALLOC_SET_STATe): Disable malloc checking if necessary.
9230
9231 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
9232
9233         * configure.in: Few changes for HPUX.
9234
9235         * scripts/config.guess: Update from latest version.
9236         * scripts/config.sub: Likewise.
9237
9238 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9239
9240         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9241         map files.  Closes PR libc/1147.
9242
9243 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9244
9245         * math/libm-test.c (main): Add new test functions.
9246         (jn_test): New tests.
9247         (j1_test): Add some more tests.
9248         (j0_test): Add some more tests.
9249         (y0_test): Add some more tests.
9250         (y1_test): Add some more tests.
9251
9252 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9253
9254         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9255         Patch by mhagger@dera.gov.uk [PR libc/1145].
9256
9257         * math/libm-test.c (y1_test): New tests.
9258         (y0_test): Likewise.
9259         (j1_test): Likewise.
9260         (j0_test): Likewise.
9261         (main): Added new tests.
9262
9263 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
9264
9265         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9266         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9267         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9268         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9269         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9271
9272 1999-06-02  David S. Miller  <davem@redhat.com>
9273
9274         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9275         pointers properly.
9276
9277 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
9278
9279         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9280         and elide compatibility code if possible.
9281
9282 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
9283
9284         * manual/llio.texi: Remove menu entry for removed section.
9285
9286 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9287
9288         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9289         variables.
9290
9291 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9292
9293         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9294         (from Linux 2.3.4).
9295
9296 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
9297
9298         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9299
9300 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9301
9302         * manual/stdio.texi: Fix some typos.
9303
9304 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9305
9306         * malloc/malloc.h: Properly handle future GCC versions.
9307
9308 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9309
9310         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9311         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
9312         text of error message.
9313
9314         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9315
9316 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
9317
9318         * manual/filesys.texi: Extend (f)truncate documentation.
9319         * manual/llio.texi: Remove duplicate (f)truncate definition.
9320
9321 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9322
9323         * manual/stdio.texi (Formatted Output Functions): Mention
9324         semantics of snprintf in glibc 2.0.
9325         Reported by Ben Pfaff <pfaffben@msu.edu>.
9326
9327 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
9328
9329         * include/features.h (__GLIBC_MINOR__): Bump to 2.
9330
9331 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
9332
9333         * math/libm-test.c: Adjust a few more deltas for the poor ARM
9334         FPU emulator.
9335
9336 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9337
9338         * configure.in: Fix typo.
9339
9340 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9341
9342         * manual/socket.texi (Host Names): Remove statement that h_errno
9343         needs to be declared since this isn't true anymore.
9344         Closes PR libc/1138.
9345
9346 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
9347
9348         * config.h.in: Add __LINUX_KERNEL_VERSION.
9349         * configure.in: Recognize --enable-kernel.
9350         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9351         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9352         appropriately.
9353         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9354         given perform runtime test.
9355
9356         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9357         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9358         minimal supported kernel is known to have the feature.
9359         * sysdeps/unix/sysv/linux/poll.c: Likewise.
9360         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9361         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9362         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9363         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9364         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9365         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9366         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9367         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9368         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9369         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9370         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9371         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9372         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9373         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9374
9375         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9376
9377 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
9378
9379         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9380
9381 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
9382
9383         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9384         Optimized sparc64 routines.
9385
9386 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
9387
9388         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9389         they are the same as ints.
9390         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9391
9392         * version.h (VERSION): Bump to 2.1.90.
9393         (RELEASE): Mark as development.
9394
9395         * stdio-common/vfprintf.c (vfprintf): Don't implement special
9396         handling for long long if it is the same as long.
9397         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9398
9399         * stdlib/strtol.c: Moved to ...
9400         * sysdeps/generic/strtol.c: ...here.
9401         * stdlib/strtoul.c: Moved to ...
9402         * sysdeps/generic/strtoul.c: ...here.
9403         * stdlib/strtoll.c: Moved to ...
9404         * sysdeps/generic/strtoll.c: ...here.
9405         * stdlib/strtoull.c: Moved to ...
9406         * sysdeps/generic/strtoull.c: ...here.
9407         * stdlib/strtol_l.c: Moved to ...
9408         * sysdeps/generic/strtol_l.c: ...here.
9409         * stdlib/strtoul_l.c: Moved to ...
9410         * sysdeps/generic/strtoul_l.c: ...here.
9411         * stdlib/strtoll_l.c: Moved to ...
9412         * sysdeps/generic/strtoll_l.c: ...here.
9413         * stdlib/strtoull_l.c: Moved to ...
9414         * sysdeps/generic/strtoull_l.c: ...here.
9415
9416         * sysdeps/wordsize-64/strtol.c: New file.
9417         * sysdeps/wordsize-64/strtoul.c: New file.
9418         * sysdeps/wordsize-64/strtoll.c: New file.
9419         * sysdeps/wordsize-64/strtoull.c: New file.
9420         * sysdeps/wordsize-64/strtol_l.c: New file.
9421         * sysdeps/wordsize-64/strtoul_l.c: New file.
9422         * sysdeps/wordsize-64/strtoll_l.c: New file.
9423         * sysdeps/wordsize-64/strtoull_l.c: New file.
9424
9425         * wcsmbs/wcstol.c: Moved to ...
9426         * sysdeps/generic/wcstol.c: ...here.
9427         * wcsmbs/wcstoul.c: Moved to ...
9428         * sysdeps/generic/wcstoul.c: ...here.
9429         * wcsmbs/wcstoll.c: Moved to ...
9430         * sysdeps/generic/wcstoll.c: ...here.
9431         * wcsmbs/wcstoull.c: Moved to ...
9432         * sysdeps/generic/wcstoull.c: ...here.
9433         * wcsmbs/wcstol_l.c: Moved to ...
9434         * sysdeps/generic/wcstol_l.c: ...here.
9435         * wcsmbs/wcstoul_l.c: Moved to ...
9436         * sysdeps/generic/wcstoul_l.c: ...here.
9437         * wcsmbs/wcstoll_l.c: Moved to ...
9438         * sysdeps/generic/wcstoll_l.c: ...here.
9439         * wcsmbs/wcstoull_l.c: Moved to ...
9440         * sysdeps/generic/wcstoull_l.c: ...here.
9441
9442         * sysdeps/wordsize-64/wcstol.c: New file.
9443         * sysdeps/wordsize-64/wcstoul.c: New file.
9444         * sysdeps/wordsize-64/wcstoll.c: New file.
9445         * sysdeps/wordsize-64/wcstoull.c: New file.
9446         * sysdeps/wordsize-64/wcstol_l.c: New file.
9447         * sysdeps/wordsize-64/wcstoul_l.c: New file.
9448         * sysdeps/wordsize-64/wcstoll_l.c: New file.
9449         * sysdeps/wordsize-64/wcstoull_l.c: New file.
9450
9451 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
9452
9453         * sysdeps/sparc/bits/wordsize.h: New file.
9454         * sysdeps/sparc/fpu/bits/fenv.h: New file.
9455         * sysdeps/sparc/fpu/fpu_control.h: New file.
9456         * sysdeps/sparc/gmp-mparam.h: New file.
9457
9458         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
9459         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
9460         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
9461         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
9462         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
9463         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
9464
9465         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
9466         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
9467         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
9468         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
9469
9470         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
9471         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
9472         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
9473         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
9474         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
9475
9476 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
9477
9478         * login/openpty.c (openpty): Make sure pty does not because
9479         controlling TTY.
9480
9481         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
9482
9483 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
9484
9485         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
9486         Do proper error return.
9487
9488 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9489
9490         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
9491         of __P in the rest of glibc; define __MALLOC_PMT and use it.
9492         Reported by Stephan Kulow <coolo@kde.org>.
9493
9494 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
9495
9496         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
9497
9498         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
9499
9500 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9501
9502         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
9503         names to protect from user's macro namespace.
9504         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
9505         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
9506         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
9507         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
9508         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
9509         Adapted.
9510         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
9511         sysdeps/arm/fpu/fesetenv.c: Likewise.
9512         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
9513         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
9514         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
9515         * sysdeps/mips/fesetenv.c: Likewise.
9516
9517 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
9518
9519         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
9520
9521 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
9522
9523         * configure.in: Recognize and allow gcc 2.95.
9524
9525 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
9526
9527         * sysdeps/generic/bits/elfclass.h: Version common to
9528         wordsize-32 and wordsize-64.
9529         * sysdeps/generic/bits/environments.h: Ditto.
9530         * sysdeps/generic/stdint.h: Ditto.
9531         * sysdeps/generic/inttypes.h: Ditto.
9532
9533         * sysdeps/generic/bits/wordsize.h: New file.
9534         * stdlib/Makefile: Add bits/wordsize.h to headers.
9535
9536         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
9537
9538         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
9539         headers to be used for 32bit and 64bit ABI compilations.
9540         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
9541         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
9542         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
9543         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
9544         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
9545
9546         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
9547         * sysdeps/wordsize-64/bits/environments.h: Remove.
9548         * sysdeps/wordsize-64/stdint.h: Remove.
9549         * sysdeps/wordsize-64/inttypes.h: Remove.
9550         * sysdeps/wordsize-64/bits/wordsize.h: New file.
9551
9552         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
9553         * sysdeps/wordsize-32/bits/environments.h: Remove.
9554         * sysdeps/wordsize-32/stdint.h: Remove.
9555         * sysdeps/wordsize-32/inttypes.h: Remove.
9556         * sysdeps/wordsize-32/bits/wordsize.h: New file.
9557
9558 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
9559
9560         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
9561         __align_cpy_16): New functions.
9562         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
9563
9564         * sysdeps/sparc/sparc32/Versions: New file.
9565         * sysdeps/sparc/sparc64/Versions: New file.
9566         * sysdeps/sparc/Versions: Remove.
9567
9568 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
9569
9570         * sysdeps/unix/sysv/linux/configure.in:
9571         On sparc64-*-linux*, set slibdir to /lib64 if prefix
9572         is /usr, plus set libdir to ${exec_prefix}/lib64.
9573         * sysdeps/unix/sysv/linux/configure: Regenerated.
9574         * config.make.in: Propagate libdir settings from configure
9575         to the Makefiles.
9576         * shlib-versions: sparc64-*-linux* dynamic linker is
9577         /lib64/ld-linux.so.2.
9578
9579 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
9580
9581         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9582         RPC connection.
9583
9584 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
9585
9586         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9587         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9588
9589         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9590         contains garbage in bits 8-63.
9591         * sysdeps/sparc/sparc64/memset.S: Ditto.
9592         * sysdeps/sparc/sparc64/strchr.S: Ditto.
9593
9594 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
9595
9596         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9597
9598 1999-05-17  David S. Miller  <davem@redhat.com>
9599
9600         * sysdeps/sparc/sparc32/atomicity.h: New file.
9601         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9602         * sysdeps/sparc/sparc64/atomicity.h: New file.
9603         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9604         sysdep-CFLAGS.
9605
9606 1999-05-18  Richard Henderson  <rth@twiddle.net>
9607
9608         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
9609
9610 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9611
9612         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9613         posix/sys/types.h: Handle the case of __GNUC__=3,
9614         __GNUC_MINOR__=(anything).
9615
9616 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9617
9618         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9619         if _FORCE_INLINES.
9620
9621 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
9622
9623         * elf/Makefile (distribute): Remove dl-origin.h.
9624         Add dl-dst.h and gen-trusted-dirs.awk.
9625
9626 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9627
9628         * sysdeps/i386/i486/Versions: New file with inline functions from
9629         sysdeps/i386/i486/bits/string.h for now.
9630
9631         * sysdeps/i386/Versions: Add inline functions from
9632         sysdeps/i386/bits/string.h.
9633
9634         * string/Versions: Add inline functions from <bits/string2.h>.
9635
9636         * string/Makefile (routines): Add string-inlines.
9637         * string/string-inlines.c: New file, used for implementation of
9638         extern inline functions.
9639
9640         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9641         non inlined versions of functions.
9642         * string/bits/string2.h: Likewise.
9643         * sysdeps/i386/bits/string.h: Likewise.
9644
9645 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
9646
9647         * inet/arpa/tftp.h: Add second packed attribute.
9648
9649 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9650
9651         * malloc/malloc.c: Cleanup to bring in line with released
9652         stand-alone version `ptmalloc'.  Update some comments.
9653         (internal_function): Move fallback definition so that the source
9654         compiles outside of libc, and use it in more places.
9655         (malloc_atfork): Fix when malloc_check is in use.
9656
9657 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9658
9659         * stdlib/tst-strtod.c: Fix typo.
9660
9661 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9662
9663         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9664         const incorrectness.
9665
9666 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
9667
9668         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9669
9670 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
9671
9672         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9673         * sunrpc/key_call.c: Fix memory leak, close file handle.
9674         * nis/nis_creategroup.c: Use malloc instead of calloc,
9675         set ctime and mtime.
9676         * nis/nis_subr.c: Check for realloc result.
9677         * nis/nis_file.c: Fix memory leak.
9678         * nis/nis_table.c: Pretty print.
9679         * nis/nis_getservlist.c: Likewise.
9680         * nis/nis_ismember.c: Likewise.
9681         * nis/nis_lookup.c: Likewise.
9682         * nis/nis_ping.c: Likewise.
9683         * nis/nis_removemember.c: Likewise.
9684         * nis/nis_util.c: Likewise, check calloc result.
9685
9686 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
9687
9688         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9689         * sysdeps/generic/sys/socketvar.h: ... here.
9690         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9691         * sysdeps/generic/netinet/in_systm.h: ... here.
9692         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9693         sys/socketvar.h.
9694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9695         * inet/Makefile (headers): Add netinet/in_systm.h here.
9696         * socket/Makefile (headers): Add sys/socketvar.h here.
9697
9698 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
9699
9700         * stdlib/strtol.c: Optimize inner loop of long long versions.
9701
9702         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9703         Unix98.  Add forward declaration of struct utmp.
9704
9705 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
9706
9707         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9708         calloc.
9709
9710         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9711         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
9712         memory allocation results.
9713
9714 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
9715
9716         * sysdeps/generic/getutmp.c: Include <string.h>
9717         (getutmp): Rewrite to only copy those members that are really
9718         present in `struct utmp'.
9719         * sysdeps/generic/getutmpx.c: Likewise.
9720
9721 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
9722
9723         * nss/getXXbyYY.c: Add free_mem function which disposes all
9724         statically allocated memory when debugging.
9725         * nss/getXXent.c: Likewise.
9726         * nss/nsswitch.c: Likewise.
9727
9728 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
9729
9730         * sysdeps/gnu/getutmpx.c: New file.
9731         * sysdeps/gnu/getutmp.c: New file.
9732
9733 1999-05-13  H.J. Lu  <hjl@gnu.org>
9734
9735         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9736         (getutmp): Likewise.
9737
9738         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9739         getutmpx for login.
9740
9741         * sysdeps/gnu/utmpx.h (getutmp): Added.
9742         (getutmpx): Likewise.
9743
9744         * sysdeps/generic/getutmp.c: New file.
9745
9746         * sysdeps/generic/getutmpx.c: New file.
9747
9748 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9749
9750         * glibcbug.in (BUGGLIBC): Change address to
9751         libc-alpha@sourceware.cygnus.com.
9752
9753 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9754
9755         * resolv/arpa/nameser.h: Add C++ protectors.
9756
9757 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9758
9759         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
9760         Elad Tsur <eladts@post.tau.ac.il>.
9761
9762 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
9763
9764         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9765         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9766         lazily if LD_BIND_NOW is not set.
9767         * elf/dl-support.c (_dl_lazy): New variable.
9768         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9769         * elf/rtld.c (_dl_lazy): new global variable.
9770         ( dl_main): Remove lazy, replace it by _dl_lazy.
9771
9772 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9773
9774         * locale/setlocale.c (new_composite_name): Check also whether the
9775         first category name differs.
9776
9777 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9778
9779         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9780         the generic one.
9781
9782 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
9783
9784         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9785         structure; storage suitable for any socket address.
9786         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9787         Likewise.
9788         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9789         sockaddr_storage): Likewise.
9790
9791         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9792         platform.
9793
9794 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
9795
9796         * hesiod/Versions: Change _nss_hesiod_getpwuid and
9797         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9798         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
9799
9800 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
9801
9802         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9803         if the file is empty.
9804
9805 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
9806
9807         * elf/do-lookup.h: Fix typo in comment.
9808
9809         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9810         f_bsize to help some broken programs.
9811
9812         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9813
9814         * stdio-common/vfprintf.c: Fix typo.
9815
9816 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
9817
9818         * elf/link.h (struct link_map): New field l_phdr_allocated.
9819         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9820         the program header being part of any loaded segment.  If it is not
9821         allocate memory and set l_phdr_allocated flag.
9822         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9823
9824         * nss/digits_dots.c: Correct return value interpretation of
9825         inet_ntoa.  Fix PR libc/1109.
9826
9827 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
9828
9829         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9830
9831 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
9832
9833         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9834         * stdlib/fpioconst.c: Move #endif before end of struct.
9835
9836 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
9837
9838         * Versions.def (ld.so): Add GLIBC_2.1.1.
9839         * elf/Makefile (routines): Add dl-origin.
9840         (tests): Add origtest.  Add dependencies for the program.
9841         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9842         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9843         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
9844         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9845         DT_AUXILIARY, and DT_FILTER filenames.
9846         * elf/dl-load.c (expand_dynamic_string_token): Explode into
9847         two functions and three macros.
9848         (_dl_dst_count, _dl_dst_substitute): New functions.
9849         * elf/dl-dst.h: New file.
9850         * elf/dl-open.c (_dl_open): Take extra parameter with address of
9851         caller.  Pass address in args structure.
9852         (dl_open_worker): Recognize and expand DSTs in filename.
9853         * elf/ldsodefs.h (_dl_open): Adapt prototype.
9854         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9855         (__dlopen_check): Pass caller address to dlopen_doit in args.
9856         * elf/dlopendoit.c: Likewise.
9857         * iconv/gconv_dl.c: Adapt call of _dl_open.
9858         * nss/nsswitch.c: Likewise.
9859         * elf/origtest.c: New file.
9860         * sysdeps/generic/dl-origin.h: Moved to...
9861         * sysdeps/generic/dl-origin.c: ...here.
9862         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9863         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9864
9865         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9866         with specific bases and only few bits set in second word.
9867
9868         * timezone/Makefile (install-others): Create target directory
9869         before creating tzfiles.
9870
9871 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
9872
9873         * nis/nis_file.c (readColdStartFile): Allocate memory only after
9874         the file is opened successfully.
9875
9876         * nis/nis_table.c: Fix some memory leaks.
9877
9878 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
9879
9880         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9881         variable.
9882
9883         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9884         around DST.  Correctly ignore ORIGIN IN SUID binaries.
9885
9886 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
9887
9888         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9889         * sysdeps/generic/strtok.c: Likewise.
9890
9891         * string/tester.c: Add test of rawmemchr.
9892
9893         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9894         specification.  It's not necessary.
9895
9896         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9897         * elf/gen-trusted-dirs.awk: New file.
9898         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
9899         from SYSTEM_DIRS macro.
9900         (system_dirs_len): New variable.  Contains lengths of system_dirs
9901         strings.
9902         (fillin_rpath): Rewrite for systems_dirs being a simple string.
9903         Improve string comparisons.  Change parameter trusted to be a flag.
9904         Change all callers.
9905         (_dt_init_paths): Improve using new format for system_dirs.
9906
9907         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9908         $ORIGIN for SUID binaries.
9909
9910         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9911
9912 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9913
9914         * sunrpc/Makefile: Generate dependencies for all flavors of
9915         librpcsvc objects.
9916         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9917         invocations.
9918
9919 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9920
9921         * elf/dlopenold.c: Move #if down after includes to get
9922         dependencies right.
9923
9924 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9925
9926         * sysdeps/generic/bzero.c: Undefine __bzero.
9927
9928 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
9929
9930         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9931         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9932         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9933         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9934
9935         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9936         parameter to struct gaih_servtuple *.  Adapt appropriately.
9937         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9938         This fixes a memory leak.
9939         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9940
9941         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9942         and fpregset_t definition.  They are defined in ucontext.h.
9943
9944 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9945
9946         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9947         and struct ether_header must be packed on the ARM.  The default
9948         alignment constraints add padding to the end of the structures.
9949
9950 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9951
9952         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
9953         default alignment constraints add padding to the end of the
9954         structure and between members.
9955
9956 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
9957
9958         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9959         _dl_cache_libcmp instead of strcmp.
9960
9961         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9962         fails on a file.
9963         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9964
9965 1998-03-30  Joel Klecker  <espy@debian.org>
9966
9967         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9968         (sysdep-others,install-bin): Add lddlibc4.
9969
9970 1999-05-02  H.J. Lu  <hjl@gnu.org>
9971
9972         * timezone/zic.c (dolink): Remove the symlink destination first.
9973
9974         * catgets/open_catalog.c (__open_catalog): Set catalog->status
9975         to "nonexisting" if failed to open the file.
9976
9977 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
9978
9979         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9980         gcc3.
9981
9982         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9983         Prevent warnings from multiplication with 0x01010101 by another cast.
9984
9985 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9986
9987         * string/bits/string2.h (memset): Revert to previous version if
9988         unaligned writes are not available.
9989
9990 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9991
9992         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9993         better code in presence of the asm.
9994
9995 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9996
9997         * stdlib/fmtmsg.c (keywords): Increase array size for faster
9998         indexing.
9999
10000         * locale/localeinfo.h (_nl_category_names): Increase array element
10001         size for faster indexing.
10002         * locale/setlocale.c (_nl_category_names): Adjusted.
10003
10004 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10005
10006         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
10007
10008 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10009
10010         * sysdeps/m68k/stackinfo.h: New file.
10011
10012 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10013
10014         * string/tester.c (test_strchrnul): New function.
10015         (test_memset): Test one more special case.
10016
10017         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
10018         25% of all cases.
10019
10020         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
10021         base types.
10022
10023         * string/bits/string2.h: Fix bugs I introduced in last change.
10024
10025         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
10026         register stall.
10027         Extend memset optimization.
10028         Correct i686 version of memchr.
10029
10030 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
10031
10032         * sysdeps/i386/bzero.c: Add #undef __bzero.
10033
10034         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
10035         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
10036         exec server simulated a SIGTRAP before we even started up, so gdb is
10037         already happy.
10038
10039 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
10040
10041         * nss/digits_dots.c: Always initialize not_ok.
10042
10043 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
10044
10045         * string/bits/string2.h (memset): Avoid arithmetic overflow at
10046         compile time, which produces obnoxious warnings.  If GCCv2 is
10047         in use, map __bzero to __builtin_memset to enable that
10048         optimization.
10049
10050 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10051
10052         * string/bits/string2.h: Add more memset optimizations.
10053
10054         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
10055
10056         * resolv/inet_pton.c (inet_pton4): Little optimizations.
10057         (inet_pton6): Likewise.
10058
10059         * nss/getXXbyYY_r.c: Include assert.h.
10060         * nss/getXXbyYY.c: Likewise.
10061
10062 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10063
10064         * termios/tcgetsid.c (tcgetsid): Rename variable to
10065         tiocgsid_does_not_work.
10066
10067 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
10068
10069         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10070
10071 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10072
10073         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
10074         This allows e.g. gethostbyname to accept "10.1234".
10075         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
10076
10077         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
10078         non quad IPv4 numbers.
10079
10080 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10081
10082         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
10083
10084 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10085
10086         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
10087         * argp/argp-parse.c (_argp_hang): Likewise.
10088         * argp/argp-pv.c (argp_program_version): Likewise.
10089         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
10090         * inet/ether_hton.c (ether_hton, startp): Likewise.
10091         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
10092         * inet/getnetgrent_r.c (setup, startp): Likewise.
10093         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
10094         * intl/localealias.c (string_space, string_space_act, string_space_max,
10095         nmap, maxmap): Likewise.
10096         * libio/iopopen.c (proc_file_chain): Likewise.
10097         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
10098         * locale/lc-collate.c (__collate_table, __collate_extra,
10099         __collate_element_hash, __collate_element_strings,
10100         __collate_element_values): Likewise.
10101         * malloc/mcheck.c (mcheck_used): Likewise.
10102         * malloc/mtrace.c (added_atexit_handler): Likewise.
10103         * malloc/set-freeres.c (already_called): Likewise.
10104         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
10105         * misc/syslog.c (LogStat, LogTag): Likewise.
10106         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
10107         * nss/getXXbyYY_r.c (startp): Likewise.
10108         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
10109         * posix/regex.c (init_syntax_once) [done]: Likewise.
10110         (debug): Likewise.
10111         * string/strfry.c (init): Likewise.
10112         * sunrpc/svc_run.c (svc_top): Likewise.
10113         * posix/euidaccess.c (have_ids): Likewise.
10114         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
10115         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
10116         * time/getdate.c (getdate_err): Likewise.
10117         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
10118         Likewise.
10119         * time/tzset.c (old_tz, is_initialized): Likewise.
10120
10121         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
10122         of static data with zero.
10123         * signal/allocrtsig.c (init): Likewise.
10124
10125         * string/Makefile (routines): Add strchrnul.
10126         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
10127         * string/string.c: Add strchrnul prototype.
10128         * include/string.h: Add __strchrnul prototype.
10129         * sysdeps/generic/strchrnul.c: New file.
10130         * sysdeps/i386/strchrnul.S: New file.
10131         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
10132         * sysdeps/i386/i486/bits/string.c: Likewise.
10133         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
10134         * inet/ether_line.c (ether_line): Likewise.
10135         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10136         * nss/nsswitch.c (nss_parse_file): Likewise.
10137         * posix/execvp.c (execvp): Likewise.
10138         * posix/fnmatch.c (internal_fnmatch): Likewise.
10139         * resolv/res_hconf.c (_res_hconv_init): Likewise.
10140         * resolv/res_init.c (res_init): Likewise.
10141         * stdlib/fmtmsg.c (init): Likewise.
10142         * stdlib/getsubopt.c (getsubopt): Likewise.
10143
10144         * catgets/catgets.c (catopen): Only allocate one memory block.
10145         (catclose): Only one free call necessary.
10146
10147         * catgets/open_catalog.c (__open_catalog): Simplify handling of
10148         file descriptor.
10149
10150         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10151         of real functions.  Simplify _tolower and _toupper.
10152
10153         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10154         variable.
10155
10156         * iconv/gconv.h (struct gconv_info): Change data element from pointer
10157         to array of size 0.
10158         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10159         * iconv/gconv_close.c (__gconv_close): Don't free data.
10160
10161         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10162         insert new alias.
10163
10164         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
10165         for error while inserting in tree.
10166
10167         * include/time.h: Pretty print.
10168
10169         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10170         in table and lots of relocations.
10171         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10172         string pointers in table and lots of relocations.
10173
10174         * intl/finddomain.c: Remove definition of strchr macro.
10175
10176         * io/ftw.c (nftw_arr, ftw_arr): Make const.
10177
10178         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10179
10180         * locale/localeinfo.h (_nl_category_names): Change into an array with
10181         fixed width char string elements.
10182         * locale/setlocale.c (_nl_category_names): Likewise.
10183         (_nl_current): Make global.
10184         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
10185
10186         * malloc/Makefile (distribute): Add stackinfo.h.
10187         * sysdeps/generic/stackinfo.h: New file.
10188         * sysdeps/i386/stackinfo.h: New file.
10189         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10190         * posix/execle.c: Likewise.
10191         * posix/execlp.c: Likewise.
10192
10193         * nis/nis_table.c (__create_ib_request): Always use realloc.
10194
10195         * posix/execvp.c (execute): Rename to script_execute and keep only
10196         code to execute using shell.
10197         (execvp): Call execv directly and only fall back on script_execute.
10198
10199         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10200         and always use xdigits instead.
10201
10202         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10203         where appropriate.
10204
10205         * stdlib/fpioconst.h (__tens): New declaration.
10206         (struct mp_power): Remove array, add arrayoff element.
10207         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10208         __tens array and add in _fpioconst_pow10 offsets into __tens.
10209         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10210         * stdlib/strtod.c: Likewise.
10211
10212         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10213
10214         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10215         of the list.
10216         * stdlib/atexit.c (__exit_funcs): Don't initialize.
10217
10218         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10219
10220         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10221         a single and an array with offsets.
10222
10223         * sunrpc/des_soft.c (partab): Make it const.
10224
10225         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10226         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10227         (__key_decryptsession_pk_LOCAL): Likewise.
10228         (__key_gendes_LOCAL): Likewise.
10229         (MESSENGER): Mark const.
10230         (key_call_private_main): Don't initialize with 0.
10231         (use_keyenvoy): Don't initialize with 0.
10232         (key_call): Rewrite to reverse logic of use_doors variable.
10233
10234         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10235         (startp): Don't initialize with zero.
10236
10237         * sunrpc/openchild.c (_openchild): Make first argument const.
10238
10239         * sunrpc/pmap_rmt.c (timeout): Mark const.
10240         * sunrpc/xcrypt.c (hex): Likewise.
10241
10242         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10243         initialization of global variables.
10244         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10245         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10246         * termios/tcgetsid.c: Likewise.
10247
10248         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10249         fxsr to osfxsr.
10250
10251         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10252         block.  Add function to free memory if wanted.
10253         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10254
10255         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10256
10257         * wcsmbs/wmemset.c: Little code optimization.
10258
10259 1999-04-23  Paul Eggert  <eggert@twinsun.com>
10260
10261         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10262         ifdef _LIBC.
10263
10264 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
10265
10266         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10267         implementation and just always fail with ENOSYS.  This entry point is
10268         obsolete.  Add link warning to that effect.
10269
10270 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10271
10272         * hurd/get-host.c: Include <hurd/lookup.h>.
10273
10274 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10275
10276         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10277         is != NULL.
10278
10279 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10280
10281         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10282         ISO C9x and Unix98.
10283
10284 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10285
10286         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10287         Patch by Peter Miller <millerp@canb.auug.org.au>.
10288
10289 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
10290
10291         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10292         prefers loopback device.
10293
10294 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10295
10296         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10297         no_leading_period change.
10298
10299         * posix/testfnm.c: More test cases.
10300
10301 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
10302
10303         * include/dirent.h: Remove __getdirentries declaration, add __getdents
10304         and __getdents64.
10305         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10306         * sysdeps/unix/readdir_r.c: Likewise.
10307         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10308         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10309         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10310         __getdirentries.  Remove fourth argument.
10311         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10312         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10313         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10314         Add getdirentries and getdirentries64.
10315         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10316
10317         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10318         pointer in case of an invalid [[: expression.
10319
10320         * posix/testfnm.c: Add more test cases.
10321
10322 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10323
10324         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10325         set, pass EXEC_SIGTRAP flag in exec RPC.
10326
10327 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
10328
10329         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
10330         extra parameter.  Fix several more bugs involving wildcard and
10331         ranges.
10332         (fnmatch): New function.  Call internal_fnmatch.
10333
10334         * posix/testfnm.c: More test cases.
10335
10336 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10337
10338         * manual/install.texi (Configuring and compiling): Explain that
10339         files are changed in the source directory.
10340         Closes PR libc/981.
10341         (Configuring and compiling): Explain situation with PARALLELMFLAGS
10342         in the source directory.
10343
10344 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10345
10346         * locale/programs/ld-ctype.c: Spelling fixes.
10347         (ctype_finish): Fix argument of error message format.
10348         * locale/programs/ld-messages.c: Spelling fixes.
10349         * locale/programs/ld-monetary.c: Spelling fixes.
10350         * locale/programs/ld-time.c (time_finish): Make sure that name and
10351         format of era_entries are adjacent.
10352         (time_output): Reduce the size of the io vector.
10353
10354 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10355
10356         * manual/filesys.texi (Attribute Meanings): Move a misplaced
10357         paragraph.
10358
10359 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10360
10361         * locale/programs/ld-collate.c (collate_output): Convert
10362         undefined_offset to an array index.  Fix computation of other
10363         endian extra table.
10364
10365 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
10366
10367         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10368         return success with empty value.
10369
10370 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
10371
10372         * posix/fnmatch.c: Include string.h also for glibc.
10373         (fnmatch, case '?'): Optimize if cascades a bit.
10374         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10375
10376         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10377
10378 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
10379
10380         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10381         * iconv/gconv_int.h: Declare UTF16 functions.
10382         * iconv/gconv_simple.c: Add UTF16 conversion functions.
10383
10384 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10385
10386         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10387         be used correctly as parameter for parse_dollars/parse_tilde.
10388
10389 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10390
10391         * manual/conf.texi (Utility Limits): Remove duplicate description
10392         of BC_DIM_MAX.
10393
10394 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
10395
10396         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10397         outbufend for dst==NULL.
10398
10399 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
10400
10401         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10402         for dst==NULL.
10403         Fixes PR libc/1084.
10404
10405         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10406         Fixes PR libc/1083.
10407
10408 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
10409
10410         * sunrpc/Makefile: Remove special handling of bootparam.x,
10411         add rpcsvc/bootparam.h to headers.
10412         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10413         * sunrpc/rpcsvc/bootparam.x: Renamed to...
10414         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10415
10416 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
10417
10418         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10419         detect and handle invalid descriptors.
10420
10421 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
10422
10423         * timezone/zic.c (dolink): Append complete path not only filename
10424         to ../ list.
10425
10426 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10427
10428         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10429
10430 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
10431
10432         * iconvdata/gconv-modules: Rename CP874 to IBM874.
10433         * iconvdata/Makefile: Likewise.
10434         * iconvdata/cp874.h: Removed.
10435         * iconvdata/cp874.c: Renamed to...
10436         * iconvdata/ibm874.c: ...this.
10437
10438 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
10439
10440         * sysdeps/unix/sysv/linux/bits/types.h: Correct
10441         signed/unsigned-ness of blkcnt and fsblkcnt.
10442         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10443         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10444
10445         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
10446         SOL_AAL, and SOL_IRDA.
10447
10448 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10449
10450         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
10451         include "linux_fsinfo.h".
10452         Based on a patch by H.J. Lu <hjl@gnu.org>.
10453
10454 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
10455
10456         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
10457
10458 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
10459
10460         * nscd/cache.c (prune_cache): Only disable file checking for
10461         future if the file does not exist.
10462         Update file_mtime if cache was flushed.
10463
10464 1999-04-15  David S. Miller  <davem@redhat.com>
10465
10466         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
10467         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
10468
10469 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
10470
10471         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
10472         compilation of file.
10473
10474 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
10475
10476         * Versions.def: Add GLIBC_2.1.1 to libpthread.
10477
10478         * iconvdata/Makefile (modules): Add KOI8-U.
10479         (distribute): Add koi8-u.c.
10480         (gen-8bit-gap-modules): Add koi8-u.
10481         * iconvdata/gconv-modules: Add KOI8-U entries.
10482         * iconvdata/koi8-u.c: New file.
10483
10484 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
10485
10486         * sunrpc/auth_des.c: 64bit fixes, security fixes.
10487         * sunrpc/auth_none.c: Pretty print.
10488         * sunrpc/auth_unix.c: Likewise.
10489         * sunrpc/authdes_prot.c: Likewise.
10490         * sunrpc/authuxprot.c: Likewise.
10491         * sunrpc/bindrsvprt.c: Likewise.
10492         * sunrpc/clnt_gen.c: Likewise.
10493         * sunrpc/rpc/xdr.h: Likewise.
10494         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
10495         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
10496         * sunrpc/rtime.c: Use new rpc_timeval.
10497         * sunrpc/svc_authux.c: Don't use *long pointers.
10498         * sunrpc/svcauth_des.c: Likewise + security fixes.
10499         * sunrpc/xdr_mem.c: Don't use *long pointers.
10500         * sunrpc/xdr_rec.c: Likewise.
10501         * sunrpc/xdr_sizeof.c: Likewise.
10502         * sunrpc/xdr_stdio.c: Likewise.
10503
10504 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
10505
10506         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
10507         so that it is redone for each sending.
10508
10509 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10510
10511         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
10512
10513 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
10514
10515         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
10516         known to not exist don't try to load shared objects.
10517         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
10518
10519         * nscd/cache.c (prune_cache): The table might not be unused.  In
10520         this case do nothing.
10521
10522         * catgets/gencat.c (read_input_file): Don't drop white spaces
10523         between number/identifier and string.
10524         Patch by Dima Barsky <dima@pwd.hp.com>.
10525         If no white space at all follows number/identifier remove existing
10526         message with the number/identifier.
10527
10528 1999-04-14  H.J. Lu  <hjl@gnu.org>
10529
10530         * sunrpc/clnt_udp.c (is_network_up): New function.
10531         (clntudp_call): Call is_network_up () to check if any network
10532         interface is up in case of timeout.
10533
10534 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10535
10536         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
10537         * wctype/Makefile (tests): Add test_wcfuncs.
10538
10539 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
10540
10541         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
10542         architectures.
10543         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10544         instead of CFLAGS.
10545         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10546         instead of CFLAGS. For gnulib and string directories use
10547         -Wa,-Av9a gcc ASFLAGS.
10548         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
10549         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
10550         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
10551         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
10552         the same way as sparc-*.
10553
10554 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
10555
10556         * locale/programs/locfile.c (locfile_read): Fix typo.
10557         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
10558
10559 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10560
10561         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
10562         restarted after being interrupted by a signal.  The parameters on
10563         the stack were corrupted by the signal handler.
10564
10565         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
10566         restarted after being interrupted by a signal.  The parameters on
10567         the stack were corrupted by the signal handler.
10568
10569 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10570
10571         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10572         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10573
10574 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
10575
10576         * posix/wordexp-test.c: In field-splitting test cases where
10577         subshells were involved, unset IFS first: some shells (ash) use
10578         IFS even when no expansion is performed.
10579
10580 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10581
10582         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10583         the real end of the chunk, not some random point inbetween.
10584         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
10585         obstack when growing.  Use fast version of obstack_blank when
10586         shrinking.
10587         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10588         allocating the vtable pointer.
10589         (_IO_obstack_vprintf): Adjust for above change and avoid
10590         unnecessary casts.  Use fast version of obstack_blank when
10591         shrinking.
10592         Fixes PR libc/1075.
10593
10594 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
10595
10596         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
10597         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10598
10599 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
10600
10601         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10602         is seen, as well as fixing semantics.  Don't reset the word count
10603         to zero when an invalid character is seen, but leave it as it was
10604         (this makes a difference with WRDE_APPEND).
10605
10606         * posix/wordexp-test.c: More test cases.
10607
10608         * posix/wordexp.c (parse_param): In words like ${var#pattern},
10609         always expand pattern when it is needed.  Also, handle quoting in
10610         pattern properly.
10611
10612 1999-04-12  Philip Blundell  <philb@gnu.org>
10613
10614         * elf/elf.h: Update ARM definitions to match current gas2.
10615
10616         * sysdeps/arm/bits/endian.h: Support big endian operation.
10617
10618         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10619         Don't bother range checking the port number.
10620
10621         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10622
10623         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10624         the syscall name in assembler output for ease of debugging.
10625
10626         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10627         compiler behaviour.
10628         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10629         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10630         (sysdep_routines): Add sigrestorer.
10631
10632         * string/tester.c (test_strcpy): Add new tests for unaligned
10633         arguments.
10634         * sysdeps/arm/bits/string.h: Delete inline implementations of
10635         strcpy and stpcpy.
10636
10637 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
10638
10639         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10640
10641 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
10642
10643         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10644
10645 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
10646
10647         * iconvdata/Makefile (modules): Add TIS-620.
10648         (distribute): Add tis-620.c.
10649         (gen-8bit-gap-modules): tis-620.
10650         * iconvdata/tis-620.c: New file.
10651         * iconvdata/gconv-modules: Add TIS-620 entries.
10652
10653         * iconvdata/asmo_449.c: Correct comment.
10654
10655 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10656
10657         * manual/install.texi (Configuring and compiling): Comment out
10658         description of --disable-static since this doesn't work currently
10659         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10660
10661 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
10662
10663         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10664         use binary search.
10665         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10666
10667 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10668
10669         * scripts/test-installation.pl (installation_problem): Skip
10670         libnss1_* libraries from glibc-compat add-on.
10671
10672 1999-04-07  H.J. Lu  <hjl@gnu.org>
10673
10674         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10675         libstdc++ 2.7.2.
10676         * posix/Versions (__waitpid): Likewise.
10677
10678 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10679
10680         * manual/install.texi (Reporting Bugs): Add section about reported
10681         bugs and correct email address of glibcbug script.
10682
10683 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
10684
10685         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10686         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10687         xdr_u_longlong_t. Based on patch from Dan Shechter
10688         <damageboy@isdn.net.il>.
10689         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10690         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10691
10692         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10693
10694 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10695
10696         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10697         directly if getdents returns with error set.
10698
10699 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10700
10701         * locale/langinfo.h (THOUSEP): Rename second occurence of
10702         THOUSANDS_SEP to THOUSEP.
10703         Reported by Roman Belenov <roman@nstl.nnov.ru>.
10704
10705 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
10706
10707         * hurd/STATUS: File removed.  Moved items that are still relevant into
10708         TODO list in hurd source.
10709
10710 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
10711
10712         * sysdeps/mach/hurd/bits/time.h: New file.
10713         * sysdeps/mach/hurd/getrusage.c: New file.
10714         * sysdeps/mach/hurd/clk_tck.c: New file.
10715         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10716         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10717         (sysdep_routines): Add clk_tck.
10718         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10719         implemented.
10720
10721 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
10722
10723         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10724         (closelog): But instead here.
10725         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10726
10727 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10728
10729         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10730         the source directory.  Fixes PR libc/1059.
10731
10732 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10733
10734         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10735         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10736
10737 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
10738
10739         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10740         * iconvdata/testdata/ISO-8859-14: New file.
10741         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10742         * iconvdata/testdata/ISO-8859-15: New file.
10743         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10744
10745 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
10746
10747         * iconvdata/testdata/CP1258: New file.
10748         * iconvdata/testdata/CP1258..UTF8: New file.
10749         * iconvdata/TESTS: Add CP1258 entry.
10750
10751         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10752
10753         * timezone/africa: Update from tzdata1999d.
10754         * timezone/europe: Likewise.
10755         * timezone/northamerica: Likewise.
10756
10757 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
10758
10759         * login/programs/pt_chown.c (main): Save effective user ID before
10760         dropping priviliges and use this to check if the program is
10761         properly installed.
10762
10763 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
10764
10765         * iconvdata/testdata/CP1254: Update for charmap changes.
10766         * iconvdata/testdata/CP1254..UTF8: Likewise.
10767         * iconvdata/testdata/CP1255: Likewise.
10768         * iconvdata/testdata/CP1255..UTF8: Likewise.
10769         * iconvdata/testdata/CP1256: Likewise.
10770         * iconvdata/testdata/CP1256..UTF8: Likewise.
10771         * iconvdata/testdata/CP1257: Likewise.
10772         * iconvdata/testdata/CP1257..UTF8: Likewise.
10773
10774         * iconvdata/Makefile (distribute): Remove cp1258.h.
10775         (gen-8bit-gap-modules): Add cp1258.
10776         * iconvdata/cp1258.h: Removed.
10777
10778 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
10779
10780         * timezone/tst-timezone.c (tests): Add more cases.
10781         (check_tzvars): Mark errors clearer.
10782         (main): Likewise.
10783
10784 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10785
10786         * login/programs/pt_chown.c: Drop privileges if invoked with
10787         arguments.  Don't close the master pty.
10788
10789 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
10790
10791         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10792         Minor optimization.
10793
10794 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
10795
10796         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10797         relocation for SUID binaries.
10798
10799 1999-03-29  Paul Eggert  <eggert@twinsun.com>
10800
10801         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10802         while in child process.
10803
10804 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
10805
10806         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10807         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10808         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10809         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10810         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10811
10812         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10813         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10814         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10815         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10816         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10817         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10818         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10819         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10820         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10821         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10822         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10823         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10824         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10825         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10826         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10827         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10828         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10829         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10830         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10831         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10832         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10833         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10834         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10835         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10836         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10837         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10838
10839         * sysdeps/sparc/sparc32/bcopy.c: New file.
10840         * sysdeps/sparc/sparc32/bzero.c: New file.
10841         * sysdeps/sparc/sparc32/memchr.S: New file.
10842         * sysdeps/sparc/sparc32/memcpy.S: New file.
10843         * sysdeps/sparc/sparc32/memmove.c: New file.
10844         * sysdeps/sparc/sparc32/memset.S: New file.
10845         * sysdeps/sparc/sparc32/stpcpy.S: New file.
10846         * sysdeps/sparc/sparc32/strchr.S: New file.
10847         * sysdeps/sparc/sparc32/strrchr.c: New file.
10848         * sysdeps/sparc/sparc32/strcpy.S: New file.
10849         * sysdeps/sparc/sparc32/strlen.S: New file.
10850         * sysdeps/sparc/sparc32/strcat.S: New file.
10851         * sysdeps/sparc/sparc32/strcmp.S: New file.
10852
10853         * sysdeps/sparc/sparc64/bcopy.c: New file.
10854         * sysdeps/sparc/sparc64/bzero.c: New file.
10855         * sysdeps/sparc/sparc64/memchr.S: New file.
10856         * sysdeps/sparc/sparc64/memcmp.S: New file.
10857         * sysdeps/sparc/sparc64/memcpy.S: New file.
10858         * sysdeps/sparc/sparc64/memset.S: New file.
10859         * sysdeps/sparc/sparc64/stpcpy.S: New file.
10860         * sysdeps/sparc/sparc64/strcat.S: New file.
10861         * sysdeps/sparc/sparc64/strchr.S: New file.
10862         * sysdeps/sparc/sparc64/strcmp.S: New file.
10863         * sysdeps/sparc/sparc64/strcpy.S: New file.
10864         * sysdeps/sparc/sparc64/strcspn.S: New file.
10865         * sysdeps/sparc/sparc64/strlen.S: New file.
10866         * sysdeps/sparc/sparc64/strncpy.S: New file.
10867         * sysdeps/sparc/sparc64/strpbrk.S: New file.
10868         * sysdeps/sparc/sparc64/strrchr.c: New file.
10869         * sysdeps/sparc/sparc64/strspn.S: New file.
10870         * sysdeps/sparc/sparc64/stpncpy.S: New file.
10871         * sysdeps/sparc/sparc64/strncmp.S: New file.
10872
10873         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10874         Append -fPIC, don't replace.
10875
10876         * configure.in: Recognize sparcv8plus / sparcv9.
10877
10878 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10879
10880         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10881         char * to avoid C++ warning.
10882         Patch by yasushi@cs.washington.edu [PR libc/1035].
10883
10884 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10885
10886         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10887         declared in stdlib.h, correct return value of mkstemp.
10888         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10889
10890         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10891         from Linux 2.2.5.
10892
10893 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10894
10895         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10896         C++ warning.
10897
10898         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10899         inline functions.  Closes PR libc/1049.
10900
10901 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10902
10903         * timezone/README: Update from tzdata1999c and tzcode1999c.
10904
10905         * timezone/africa: Update from tzdata1999c.
10906         * timezone/antarctica: Likewise.
10907         * timezone/asia: Likewise.
10908         * timezone/australasia: Likewise.
10909         * timezone/europe: Likewise.
10910         * timezone/northamerica: Likewise.
10911         * timezone/southamerica: Likewise.
10912         * timezone/zone.tab: Likewise.
10913
10914         * timezone/zic.c: Update from tzcode1999c.
10915
10916 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10917
10918         * Makerules: Add $(common-objpfx)Versions.all to common-generated
10919         outside of ifndef avoid-generated.
10920
10921         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10922         in iofdopen.c.
10923         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10924         iofopen.c.
10925         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10926         in iofclose.c.
10927         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10928         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10929
10930 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
10931
10932         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10933         if we build the profiled library.
10934
10935 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10936
10937         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
10938         Jaeger <aj@arthur.rhein-neckar.de>
10939
10940 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
10941
10942         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10943         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10944         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10945
10946 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
10947
10948         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10949         works properly in subdirs.
10950
10951 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
10952
10953         * sysdeps/mach/hurd/Makefile: Undo last change.
10954         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10955         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10956
10957         * mach/Machrules (+preinit, +postinit, +interp,
10958         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
10959         linked just like other shared libraries.
10960         (interface.so): Fix typo in defn, so it works.
10961         ($(objpfx)$(interface.so)): Make it depend on libc.so.
10962
10963 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
10964
10965         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10966         $(link-rpcuserlibs).
10967
10968 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10969
10970         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10971         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10972         targets if not building shared libraries.
10973
10974 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10975
10976         * configure.in: Also look in $PATH when searching for
10977         install-info.  Remove autoconf bug workaround and require autoconf
10978         2.13.
10979
10980 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10981
10982         * db/Makefile: Don't try to install shared library link if not
10983         building with shared libs.
10984
10985 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10986
10987         * rt/Makefile: Link against static library if no shared lib is
10988         available.
10989
10990         * localedata/Makefile: The shells scripts implementing the test
10991         require the dynamic linker which is not available with
10992         --disable-shared.  Skip the test if --disable-shared is given.
10993
10994         * linuxthreads/Makefile: Link test against static libpthread if no
10995         shared lib is available.
10996
10997         * iconvdata/Makefile (tests): Run iconv-test only if we're
10998         building shared libraries.
10999         * elf/Makefile (tests): Likewise for elf tests.
11000
11001         * posix/Makefile: The test frameworks globtest and wordexp-test
11002         require the dynamic linker which is not available with
11003         --disable-shared.  Skip the test if --disable-shared is given.
11004
11005         * grp/Makefile (otherlibs): For static nss build link against
11006         necessary libs.
11007
11008 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11009
11010         * debug/Makefile (install-bin): Install and build catchsegv only
11011         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
11012         libc/965].
11013
11014 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11015
11016         * time/tzfile.c (__tzfile_read): Handle the case where there are
11017         transitions but no DST.
11018
11019 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
11020
11021         * mach/Machrules (extra-libs-others): Add $(interface-library) here
11022         too, so it gets built in the others pass rather than the lib pass.
11023         This is necessary since the RPC libraries need to be linked against
11024         libc.
11025
11026 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
11027
11028         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
11029         _itoa_word decl.
11030
11031         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
11032         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
11033         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
11034         versions of lib{mach,hurd}user.so without reference to libc.so,
11035         then link libc.so against that to get deps and symbol versions, then
11036         finally link real lib*user.so against libc.so.
11037
11038         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
11039         Support whole-file locking (only) by using the file_lock RPC.  This
11040         has very wrong semantics, but is better than nothing for the time
11041         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
11042         protocols that will be somewhat hairy to specify.)
11043
11044 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
11045
11046         * sysdeps/mach/hurd/ptsname.c: New file.
11047
11048 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11049
11050         * timezone/asia: Fix rule in Asia/Nicosia entry.
11051
11052 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11053
11054         * manual/getopt.texi (Using Getopt): Explain "::" in option
11055         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
11056
11057 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
11058
11059         * sunrpc/clnt_unix.c: Fix creation of parameters for
11060         sendmsg/recvmsg on non intel platforms.
11061         * sunrpc/svc_unix.c: Likewise.
11062
11063 1999-03-18  Philip Blundell  <philb@gnu.org>
11064
11065         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
11066         implementation.
11067
11068 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11069
11070         * timezone/africa: Update from tzdata1999b.
11071         * timezone/asia: Likewise.
11072         * timezone/australasia: Likewise.
11073         * timezone/europe: Likewise.
11074         * timezone/northamerica: Likewise.
11075         * timezone/southamerica: Likewise.
11076         * timezone/zone.tab: Likewise.
11077
11078         * timezone/README: Mention tzdata1999b.
11079
11080 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
11081
11082         * sysdeps/generic/segfault.c (write_strsignal): New function.
11083         (catch_segfault): Use it instead of calling strsignal.
11084
11085 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11086
11087         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
11088         char to avoid warning.
11089
11090 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11091
11092         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
11093
11094         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
11095         outbuf to unsigned char to avoid warning.
11096
11097 1999-03-11  David S. Miller  <davem@redhat.com>
11098
11099         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
11100         masks.
11101         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
11102
11103 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11104
11105         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
11106         `unsigned char'.
11107         (gconv_step_data): Likewise.
11108         * iconv/gconv_int.h (__gconv): Likewise.
11109         (__BUILINT_TRANS): Likewise.
11110         * iconv/gconv.c (__gconv): Likewise.
11111         * iconv/iconv.c (iconv): Add casts for call of __gconv.
11112         * iconv/skeleton.c: Change local parameters and variable from `char' to
11113         `unsigned char'.  Remove casts from calls into modules.
11114         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
11115         `char' to `unsigned char'.
11116         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
11117         * wcsmbs/mbrtowc.c: Likewise.
11118         * wcsmbs/mbsnrtowcs.c: Likewise.
11119         * wcsmbs/mbsrtowcs.c: Likewise.
11120         * wcsmbs/wcrtomb.c: Likewise.
11121         * wcsmbs/wcsnrtombs.c: Likewise.
11122         * wcsmbs/wcsrtombs.c: Likewise.
11123         * wcsmbs/wctob.c: Likewise.
11124
11125 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11126
11127         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
11128         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
11129         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
11130         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
11131         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
11132         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
11133
11134 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11135
11136         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11137         _hurd_select if TIMEMOUT is -1.
11138
11139 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11140
11141         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11142
11143 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11144
11145         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11146         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11147
11148 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11149
11150         * manual/libc.texinfo: Undo last change for now.
11151
11152 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11153
11154         * intl/locale.alias: Add entries for Croatian.
11155         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11156
11157 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11158
11159         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11160         if the opened master pty really is a pty.  `isatty' checks for
11161         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
11162         if we are out of pty's.
11163
11164 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11165
11166         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11167         opened file is closed on exec.
11168         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11169         opened socket.
11170
11171 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11172
11173         * manual/llio.texi (File Position Primitive): Reformat @end
11174         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11175
11176 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
11177
11178         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11179         entry is found.
11180         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11181         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11182
11183         * locale/programs/localedef.c (main): Initialize `cat' to please
11184         the compiler.
11185
11186 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
11187
11188         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11189         check for root-owned symlinks and reject them too.
11190
11191 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11192
11193         * stdio-common/printf_fphex.c: Move to ...
11194         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
11195         extended precision number.
11196         * sysdeps/m68k/printf_fphex.c: New file.
11197
11198 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11199
11200         * manual/stdio.texi: Fix typos.
11201
11202 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
11203
11204         * version.h (VERSION): Bump to 2.1.1.
11205
11206 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
11207
11208         * nis/ypclnt.c: Try only twice to connect to NIS server.
11209
11210 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11211
11212         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11213
11214 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11215
11216         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11217         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
11218         * stdlib/strtold.c: Moved to ...
11219         * sysdeps/generic/strtold.c: ... here.
11220         * sysdeps/m68k/strtold.c: New file.
11221
11222 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11223
11224         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11225         point if the precision is zero, even if the mantissa is non-zero.
11226
11227 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11228
11229         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11230         arguments into the request message buffer inside `send_rpc'
11231         subfunction.  We must repeat the marshalling when retrying the RPC
11232         after a SIGTTOU delivery.
11233
11234         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11235         path when there is no ctty port.
11236         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11237         Move sigstate check inside loop so we recheck after handling a signal.
11238
11239 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11240
11241         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11242         O_EXLOCK are BSD extensions.
11243         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11244
11245 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
11246
11247         * manual/signal.texi (Termination in Handler): Correct example.
11248         Install default handler before reraising the signal.
11249         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11250
11251 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
11252
11253         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11254         null, in which case send an empty string.
11255
11256 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
11257
11258         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11259         backward compatibility EH functions to be linked when using
11260         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11261
11262 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11263
11264         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11265         /dev/pts status may change during runtime.
11266
11267 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11268
11269         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11270         change.  /dev/pts status can change during runtime.
11271
11272 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
11273
11274         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11275         poll reports error.
11276         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11277         add some more sanity checks.
11278         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11279         parser prototype.
11280
11281 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
11282
11283         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11284         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11285         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11286         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11287         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11288         for x_getint32.
11289         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11290         * nis/nis_print.c: Fix ctime argument for platforms where
11291         sizeof (time_t) != sizeof (int).
11292
11293 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
11294
11295         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11296         CLOCKS_PER_SEC instead of CLK_TCK.
11297
11298 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
11299
11300         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11301         whether /dev/pts is available.
11302         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11303         dev_pts_available.
11304
11305         * posix/globtest.sh: Make common_objpfx path absolute and and db2
11306         and hesiod directory to library path [PR libc/1007].
11307
11308 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11309
11310         * resolv/inet_addr.c (inet_aton): Don't allow componets >
11311         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11312
11313 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
11314
11315         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11316         DT_PLTGOT has already been relocated.
11317         (__elf_machine_fixup_plt): Likewise.
11318         Minor cleanups.
11319
11320 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
11321
11322         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11323
11324 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
11325
11326         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11327         and fold string to uppercase [PR libc/1005].
11328
11329 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11330
11331         * elf/dl-load.c (lose): Fix return type.
11332
11333 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
11334
11335         * sysdeps/mach/hurd/bits/fcntl.h
11336         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11337         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11338         set O_NOTRANS as well.
11339         (__hurd_file_name_lookup_retry): At successful end of lookup,
11340         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11341         it is a translated node not owned by root.
11342         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11343         on the file name passed to LOOKUP.
11344
11345 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
11346
11347         * manual/time.texi (High Resolution Timer): Correct computation in
11348         example.  Reported by jjf@devel.cemsys.com.
11349
11350 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
11351
11352         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11353         entry is already relocated.
11354
11355 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11356
11357         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
11358         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11359
11360 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11361
11362         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11363         uc_link which is the right name according to Unix98.
11364         Reported by Craig Metz [PR libc/1001].
11365         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11366         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11367         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11368         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11369         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11370         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11371
11372 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11373
11374         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11375         @ifinfo.
11376
11377 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11378
11379         * iconvdata/Makefile: Always include iconv-rules, but disable rule
11380         to regenerate it if avoid-generated.
11381
11382         * Makeconfig: Always include sys-dirs, but disable rule to
11383         regenerate it when avoid-generated.
11384
11385         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11386         rule to generate sysd-syscalls.
11387
11388         * elf/Makefile (generated): Remove $(objpfx) from names.
11389
11390 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
11391
11392         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11393         actual length if the adress length is smaller than the input
11394         value.  Change type of *LEN paramater to socklen_t.
11395         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11396         * sysdeps/mach/hurd/accept.c (accept): Likewise.
11397         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11398         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11399         paramater to socklen_t.
11400
11401 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
11402
11403         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11404         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11405         with the RPC.
11406
11407 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
11408
11409         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11410         __get_phys_pages): Cast &HBI to silence warning.
11411
11412         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11413         * hurd/hurdchdir.c: New file.
11414         * hurd/hurdfchdir.c: New file.
11415         * sysdeps/mach/hurd/chroot.c: Call
11416         _hurd_change_directory_port_from_name to do the work.
11417         * sysdeps/mach/hurd/chdir.c: Likewise.
11418         * sysdeps/mach/hurd/fchdir.c: Call
11419         _hurd_change_directory_port_from_fd to do the work.
11420         * hurd/fchroot.c: Likewise.
11421         * hurd/hurd.h: Declare them.
11422
11423 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
11424
11425         * elf/dl-load.c (lose): Add more comments to explain the `why'.
11426         (_dl_map_object): Remove redundant test.
11427
11428 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
11429
11430         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11431         try to _hurd_port_free a lower-numbered descriptor that was not in any
11432         fd_set.
11433
11434 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11435
11436         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11437         declaration for ____wcstod_l_internal.
11438
11439         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11440         __strtod_internal prototype.
11441         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11442         (____strtold_l_internal): Add prototype declaration.
11443         (__strtold_l): Call correct function.
11444
11445 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
11446
11447         * elf/elf.h: Add 32bit HPPA definitions.
11448
11449 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11450
11451         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
11452         non-checked heap is restored when malloc checking was requested by
11453         the user.
11454         (struct malloc_state): Add using_malloc_checking.
11455         (MALLOC_STATE_VERSION): Increment minor.
11456         (using_malloc_checking, disallow_malloc_check): New variables.
11457         (__malloc_check_init): Use them.
11458         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
11459         that it can the chunk is properly instrumented when malloc
11460         checking is enabled.  Set the new using_malloc_checking field.
11461         (malloc_hook_ini): Correct signature when _LIBC is not defined.
11462
11463 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11464
11465         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11466         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
11467         time.
11468
11469         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
11470         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
11471         if ld.so is the main program.
11472
11473 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
11474
11475         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
11476         large for work_buffer, allocate new buffer.
11477         (printf_unknown): Likewise.  [PR libc/988]
11478
11479 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
11480
11481         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
11482         instead of stat and fstat.
11483         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11484
11485 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11486
11487         * elf/dl-error.c (_dl_signal_cerror): New function.
11488         (_dl_signal_error): Don't call receiver function.
11489         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
11490         instead of _dl_signal_error when reporting references to undefined
11491         symbols or versions.
11492         (_dl_lookup_versioned_symbol): Likewise.
11493         (_dl_lookup_versioned_symbol_skip): Likewise.
11494         * elf/dl-version.c (match_symbol): Likewise.
11495
11496         * elf/ldsodefs.h: Declare _dl_signal_cerror.
11497
11498 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
11499
11500         * misc/getttyent.c (getttyent): Release lock on stream later to
11501         also protect global variable zapchar.
11502
11503         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
11504         __times [PR libc/990].
11505
11506 1999-02-21  David S. Miller  <davem@redhat.com>
11507
11508         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
11509         parentheses in Feb 2 changes.
11510         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
11511
11512 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11513
11514         * sysdeps/generic/glob.c (glob): Save previous errno.
11515
11516 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
11517
11518         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
11519         lookup functions if it is too small.
11520
11521 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
11522
11523         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
11524         for tracing to the scope lists.
11525         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
11526         DT_SYMTAB is always available according to ELF spec.
11527
11528         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
11529         call test whether there is any scope left.
11530         (_dl_lookup_versioned_symbol_skip): Likewise.
11531
11532         * elf/Makefile (distribute): Add do-lookup.h.
11533         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
11534         * elf/dl-lookup.c: Move do_lookup function in separate file and
11535         include the file twice, for handling versioning and without it.
11536
11537         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11538         entry is already relocated.
11539         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11540         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11541         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
11542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11543         Likewise.
11544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11545         Likewise.
11546         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
11547         Likewise.
11548
11549         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
11550         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
11551         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
11552         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
11553         rel and rela relocations can both happen and skip one test if this
11554         is not possible.
11555         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
11556         appropriately.
11557         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
11558         already relocated.
11559         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
11560         relocated.
11561         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
11562         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
11563         (_dl_map_object): DT_STRTAB entry is already relocated.
11564         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
11565         already relocated.
11566         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
11567         relocated.
11568         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
11569         DT_VERSYM entries are already relocated.
11570         (profile_fixup): Likewise.
11571         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
11572         all users.
11573         (match_symbol): DT_STRTAB entry is already relocated.
11574         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
11575         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11576         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
11577         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11578         (find_needed): DT_STRTAB entry is already relocated.
11579         (dl_main): Pass extra argument to elf_get_dynamic_info.
11580         DT_STRTAB entry is already relocated.
11581         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11582         DT_PLTGOT entries are already relocated.
11583         (elf_machine_rela): Likewise for DT_SYMTAB.
11584         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11585         relocated.
11586         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11587         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11588         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11590         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11591         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11592         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11593         * sysdeps/mips/mips64/dl-machine.h: Likewise.
11594
11595         * grp/initgroups.c (initgroups): If function in current module was
11596         successful don't stop but continue to process to get all the groups.
11597
11598         * elf/dl-load.c (_dl_map_object_from_fd): Use global
11599         _dl_pf_to_proot array to convert p_flags value.
11600         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11601
11602         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11603         loop to clear `info'.
11604
11605         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11606         do the work and don't use inline assembler.
11607
11608 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
11609
11610         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11611         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11612         noreturn, and prevent it from being inlined.
11613         Define LOSE appropriately.
11614         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11615         Optimize decoding of p_flags for certain platforms.
11616
11617 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
11618
11619         * Makeconfig (link-libc): When doing a static link, make sure that
11620         libgcc.a is included both before and after libc.a.
11621
11622 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
11623
11624         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11625         sp_warn, sp_inact, sp_expire and sp_flag.
11626
11627 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
11628
11629         * elf/link.h (link_map): Add l_dev and l_ino.
11630         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11631         loaded shared object with all loaded objects.  Initialize l_ino
11632         and l_dev in case it's new.
11633         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11634         object.
11635         * elf/Makefile: Compile and run new test.
11636         * elf/multiload.c: New file.
11637
11638         * nss/nsswitch.h (service_user): Change name field from const char *
11639         to char[0].
11640         (name_database_entry): Likewise.
11641         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11642         for change of `service_user'.
11643         (nss_getline): Adjust memory allocation for change of
11644         `name_database_entry'.
11645
11646         * catgets/catgets.c: Correctly handle NLSPATH from environment
11647         [PR libc/980].
11648
11649         * io/Makefile (routines): Add lock64.
11650         * io/Versions: Add lockf64 for GLIBC_2.1.1.
11651         * sysdeps/generic/lockf64.c: New file.
11652
11653 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11654
11655         * string/bits/string2.h: Only use strncmp optimization if count
11656         argument is constant.
11657
11658 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
11659
11660         * sysdeps/mach/hurd/revoke.c: New file.
11661
11662 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11663
11664         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11665         int to avoid warning about `ISO C restricts enumerator values to
11666         range of `int''.
11667
11668 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11669
11670         * elf/dlfcn.h: Fix typo.
11671         * sysdeps/generic/bits/dlfcn.h: Likewise.
11672         * sysdeps/mips/bits/dlfcn.h: Likewise.
11673
11674 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11675
11676         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11677         for the case N == 0.
11678
11679         * db2/Makefile (distribute): Add LICENSE.
11680
11681 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
11682
11683         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11684         generated files.
11685
11686         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11687
11688 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11689
11690         * time/mktime.c: Use ISO C form for function definitions and
11691         remove unnecessary prototypes.
11692
11693         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11694
11695         * time/time.h: Avoid unneccesary #ifdef.
11696
11697 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
11698
11699         * stdio-common/_itoa.c (_itoa): Correct parameters to
11700         udiv_qrnnd_preinv.
11701
11702 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11703
11704         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11705         before (e.g. in glob.h).
11706         Closes PR libc/959.
11707
11708 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11709
11710         * sysdeps/mips/fpu_control.h: Fix typo.
11711         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11712         Remove __setfpucw.
11713
11714 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
11715
11716         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11717         the "unused" ends of the sockets.  Let pipes be bidirectional.
11718
11719 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
11720
11721         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11722         invalid ai_flags.
11723
11724 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11725
11726         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
11727         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11728
11729         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11730         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11731
11732 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
11733
11734         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11735
11736 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11737
11738         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
11739         check for priority mask.
11740
11741 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
11742
11743         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11744         Reported by Craig Metz <cmetz@inner.net> .
11745
11746 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11747
11748         * stdio-common/Makefile (tests): tllformat added.
11749
11750         * stdio-common/tllformat.c: New program, based on tiformat.c with
11751         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11752
11753 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11754
11755         * posix/test-vfork.c: Fix exit status test.
11756
11757 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11758
11759         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11760         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11761
11762 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11763
11764         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11765         of separare explicit comparisons.
11766
11767 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11768
11769         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11770         defined.
11771
11772         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11773         defined.
11774
11775 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
11776
11777         * po/el.po: Update from translation team.
11778
11779 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11780
11781         * intl/locale.alias: Fix slovenian entry [PR libc/948].
11782
11783 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11784
11785         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11786         * inet/ruserpass.c: Likewise.
11787         * locale/programs/stringtrans.c: Likewise.
11788         * locale/programs/localedef.c: Likewise.
11789         * nscd/grpcache.c: Likewise.
11790         * nss/nss_files/files-XXX.c: Likewise.
11791         * stdlib/canonicalize.c: Likewise.
11792         * sysdeps/posix/sigwait.c: Likewise.
11793
11794 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11795
11796         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11797         even on 64 bit platforms.
11798
11799         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11800         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11801
11802 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
11803
11804         * intl/dcgettext.c: Include locale.h is available.
11805
11806 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
11807
11808         * po/nl.po: Update from translation team.
11809
11810         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11811
11812         * Makefile: Allow calling goals for po subdir.
11813
11814         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11815         signal definitions.
11816
11817         * po/el.po: New file.
11818
11819 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11820
11821         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11822         when processing DT_SYMBOLIC objects.
11823
11824 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11825
11826         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11827         program headers without PT_PHDR only require that they are
11828         contained within one of the loaded segments.  Don't use assert,
11829         since that would be a bug in the object, not the dynamic linker.
11830
11831 1999-02-08  Richard Henderson  <rth@cygnus.com>
11832
11833         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11834         restore all call-clobbered fp regs.
11835
11836 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
11837
11838         * po/cs.po: New file.
11839
11840         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11841         SUID binaries.
11842
11843 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
11844
11845         * signal/signal.h: Don't declare __libc_allocate_rtsig.
11846         * include/signal.h: Declare __libc_allocate_rtsig here.
11847
11848         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11849         point functions, not do_lookup since the later can be called more
11850         than once.
11851
11852 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
11853
11854         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11855         macro, so that architectures which need to add some special
11856         offset to stack pointer can share this file.
11857
11858         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11859         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11860         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11861         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11862
11863         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11864         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11866         between sparc32 and sparc64.
11867
11868         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11869         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11870         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11871         between sparc32 and sparc64.
11872
11873         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11874         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11875         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11876         between sparc32 and sparc64.
11877
11878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11880         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11881         between sparc32 and sparc64.
11882
11883 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
11884
11885         * Versions.def: New version GLIBC_2.1.1 for libc.
11886         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11887         * stdlib/labs.c: Moved to...
11888         * sysdeps/generic/labs.c: ...here.
11889         * stdlib/llabs.c: Moved to...
11890         * sysdeps/generic/llabs.c: ...here.
11891         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11892         header.  Declare _Exit.
11893         * sysdeps/generic/_exit.c: Add alias _Exit.
11894         * sysdeps/mach/hurd/_exit.c: Likewise.
11895         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11896         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11897         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11898         * sysdeps/unix/_exit.c: Likewise.
11899         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11900         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
11901         * sysdeps/wordsize-64/inttypes.h: Likewise.
11902         * sysdeps/wordsize-32/llabs.c: New file.
11903         * sysdeps/wordsize-32/lldiv.c: New file.
11904         * sysdeps/wordsize-64/labs.c: New file.
11905         * sysdeps/wordsize-64/ldiv.c: New file.
11906         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11907         * manual/startup.texi: Document _Exit.
11908
11909 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11910
11911         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11912
11913 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
11914
11915         * Versions.def: Add versions for ld.so.
11916         * csu/Versions: Remove __libc_stack_end here.
11917         * elf/Versions: Split libc definitions in libc and ld.so definitions.
11918         * elf/Makefile (ld-map): Change to ld.so.map.
11919         * scripts/versions.awk: Recognize dot in library names.
11920
11921         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11922         Don't use __tolower and __toupper in inline functions.
11923         Add optimizing macros for tolower and toupper.
11924         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11925         (_toupper): Don't use __toupper.
11926         * ctype/ctype.c (tolower): Don't use __tolower.
11927         (toupper): Don't use toupper.
11928
11929         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11930
11931         * resolv/Versions (libresolv): Export __ns_name_unpack and
11932         __ns_name_ntop.
11933         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11934         make it global.  Change all users.  Similar for ns_name_ntop.
11935         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11936         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
11937         directly to detect too small buffer.
11938         * resolv/nss_dns/dns-network.c: Likewise.
11939
11940         * stdio-common/Makefile (tests): Add scanf12.
11941         * stdio-common/scanf12.c: New file.
11942         * stdio-common/scanf12.input: New file.
11943         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11944         floating-point correctly if the number is invalid.
11945
11946         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11947         functions.
11948         * stdio-common/printf_fp.c: Likewise.
11949         * stdio-common/printf_fphex.c: Likewise.
11950         * stdio-common/vfprintf.c: Likewise.
11951
11952
11953 See ChangeLog.9 for earlier changes.