Update.
[platform/upstream/glibc.git] / ChangeLog
1 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
2
3         * intl/libintl.h: Add format_arg attributes to declarations of new
4         functions.
5
6         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
7         ngettext, and plural.
8         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
9         (test-srcs): Add tst-gettext.
10         (before-compile): Add $(objpfx)msgs.h.
11         Add rules for plural.c and msgs.h generation and running tst-gettext.\
12         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
13         and ngettext.
14         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
15         dcigettext with appropriate parameters.
16         * intl/dcigettext.c: New file.
17         * intl/dcngettext.c: New file.
18         * intl/dngettext.c: New file.
19         * intl/ngettext.c: New file.
20         * intl/gettextP.h (struct expression): Define.
21         (struct loaded_domain): Add plural and nplurals members.
22         Add prototypes for new internal functions.
23         * intl/libintl.h: Declare new functions.  Add optimizations for them.
24         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
25         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
26         header entry and parse and store the expression.
27         * intl/plural.y: New file.
28         * intl/po2test.sed: New file.
29         * intl/tst-gettext.c: New file.
30         * intl/tst-gettext.sh: New file.
31
32         * intl/gettext.c: Call __dcgettext directly.
33
34 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
35
36         * manual/getopt.texi (Using the getopt function): Fix description of
37         return value for format string starting with '-' (PR libc/1551).
38         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
39
40         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
41         Patch by jens.moeller@westgeo.com (PR libc/1550).
42
43         * locale/programs/ld-collate.c (struct element_t): Add wclast
44         and compute it where necessary.
45         (collate_output): Insert indirect references in the right order.
46
47         * math/Makefile (tests): Add test-misc.
48         * math/test-misc.c: New file.
49
50 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
51
52         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
53         with exponent >31 and < 63 (PR libc/1548).
54
55         * locale/programs/ld-collate.c (output_weightwc): Return index
56         measured in words, not bytes.  Don't write out words for ignored
57         characters.
58         (collate_output): Correct various problems with alignment in the
59         output file.
60         * locale/weight.h: Adjust for last change in ld-collate.c of adding
61         alignment padding.
62
63         * stdlib/strfmon.c: Don't report an error if final NUL is at the
64         end of the buffer.  Set errno correctly if floating-point number
65         would overflow buffer.
66
67         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
68
69         * locale/weight.h (findidx): Little optimization.  Correctly return
70         offset in indirect table.
71         * locale/programs/ld-collate.c (struct element_t): Add mblast
72         and compute it where necessary.
73         (insert_weights): Correctly handle missing weights in ellipsis
74         expression.
75         (handle_ellipsis): Correctly enqueue new element.
76         (collate_output): Insert indirect references in the right order.
77
78 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
79
80         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
81         written.
82         * wcsmbs/mbsrtowcs.c: Likewise.
83         * wcsmbs/wcrtomb.c: Likewise.
84         * wcsmbs/wcsrtombs.c: Likewise.
85
86         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
87         with s == NULL.
88
89         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
90         in gconv function.
91
92         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
93         incomplete but correct.
94
95         * locale/programs/charmap.c: NUL-terminate names of generated
96         entries for ellipsis.
97
98 2000-01-18  Andreas Jaeger  <aj@suse.de>
99
100         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
101         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
102         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
103         _STAT_VER_KERNEL handling up; don't save errno.
104         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
105         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
106         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
107         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
108         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
109         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
110         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
111         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
112         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
113
114 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
115
116         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
117         Remove done variable and all uses.
118         * iconv/skeleton.c: Update comment for *written modification.
119         * iconv/gconv_int.h (__gconv): Update comment.
120         Reported by Bruno Haible.
121
122 2000-01-18  Bruno Haible  <haible@ilog.fr>
123
124         * posix/fnmatch.c (ISWCTYPE): New macro.
125         (__wcschrnul): New function.
126         (BTOWC): New macro. Define it instead of __btowc.
127         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
128         wcsrtombs. Call wctype, not __wctype.
129         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
130         BTOWC instead of __btowc.
131
132 2000-01-18  Andreas Jaeger  <aj@suse.de>
133
134         * inet/Versions: Add new functions added on 2000-01-17.
135
136 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
137
138         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
139
140 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
141
142         * timezone/antarctica: Update from tzdata2000a.
143         * timezone/asia: Likewise.
144         * timezone/australasia: Likewise.
145         * timezone/backward: Likewise.
146         * timezone/northamerica: Likewise.
147         * timezone/southamerica: Likewise.
148         * timezone/zone.tab: Likewise.
149
150         * nscd/connections.c (dbs): Use
151         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
152         Pretty printing.
153
154         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
155         address.  Suggested by Philip Blundell.
156
157         * posix/TESTS: Fix expected result for test cases with * with no
158         leading expression.
159
160         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
161         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
162         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
163         open call would require read permission.
164         Patch by James Antill <james@and.org>.
165
166         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
167
168         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
169         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
170         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
171
172         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
173         * posix/regex.c (regex_compile): Return appropriate errors for
174         unterminated brace expressions.  Detect invalid characters
175         in brace expressions.
176         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
177         * sysdeps/posix/sysconf.c: Include regex.h.
178         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
179
180 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
181
182         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
183         AI_NUMERICHOST flag is set, return an error.
184         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
185
186         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
187         iruserok_af.
188         * inet/rexec.c: Implement rexec_af.
189         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
190
191         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
192         and rresvport_af.
193
194 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
195
196         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
197         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
198         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
199         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
200         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
201         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
202         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
203         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
204         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
205         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
206         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
207         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
208
209         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
210         Renamed from msgctl.
211         (__new_msgctl): New function.
212         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
213         Renamed from semctl.
214         (__new_semctl): New function.
215         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
216         Renamed from shmctl.
217         (__new_shmctl): New function.
218
219         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
220         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
221         * sysdeps/unix/sysv/linux/semget.c: Likewise.
222         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
223         * sysdeps/unix/sysv/linux/semop.c: Likewise.
224         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
225         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
226         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
227
228         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
229         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
230         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
231
232         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
233
234 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
235
236         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
237         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
238         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
239         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
240         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
241         syscalls.
242
243         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
244         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
245
246         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
247         available on sparc since 2.3.39.
248
249         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
250
251 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
252
253         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
254         prototype.
255         (__real_chown): Return EINVAL if owner or group are out of the range
256         -1U .. 65534.
257         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
258         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
259         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
260         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
261         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
262         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
263         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
264         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
265         prototype.
266         Don't include non-existant header.
267         (__chown): Return EINVAL if owner or group are out of the range
268         -1U .. 65534.
269         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
270         setresgid): Inherit standard linux/syscalls.list definitions.
271         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
272         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
273         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
274         __setresgid symbol.
275
276 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
277
278         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
279         from 1989 change in ISO 639.
280
281 2000-01-12  Andreas Jaeger  <aj@suse.de>
282
283         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
284         function; needed for 32bit uid support.
285
286         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
287         uids correctly.
288
289 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
290
291         * intl/locale.alias: Add entries for galician.
292
293         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
294         try to get sequence from charmap with Uxxxxxxxx name.
295         (charclass_ucs4_ellipsis): Likewise.
296         (charclass_charcode_ellipsis): Allow byte sequence missing.
297         (read_writestring): Free allocated memory in case of an error.
298         (set_class_defaults): Don't search repertoire map for wide character
299         default values; we know it's UCS4.
300
301         * locale/programs/repertoire.c (repertoire_find_value): Just return an
302         error if no repertoire map was loaded.
303         (repertoire_find_symbol): Likewise.
304         (repertoire_find_seq): Likewise.
305
306         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
307         twice, to define singlebyte and multibyte version.
308         (fnmatch): Differentiate between singlebyte and multibyte locale and
309         call appropriate internal function.
310         * posix/fnmatch_loop.c: New file.
311         * posix/Makefile (distribute): Add fnmatch_loop.c.
312
313         * locale/programs/repertoire.c (repertoire_read): Don't print
314         error message when repertoire map is missing.
315         (repertoire_complain): Print error message for missing map, but only
316         once.
317         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
318
319         * locale/programs/linereader.c (get_string): Prefer getting names
320         from charseq entries.  Try finding Uxxxxxxxx names in charmap
321         before trying to map from repertoire.
322
323 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
324
325         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
326         error in last change.
327         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
328
329         * stdlib/longlong.h: Fix typo in last patch.
330
331 2000-01-12  Andreas Jaeger  <aj@suse.de>
332
333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
334         Added for Linux 2.3.39+.
335
336         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
337         32bit GIDs.
338         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
339         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
341         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
342         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
343         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
344         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
345         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
346         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
347         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
348         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
349         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
350         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
351         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
352         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
353
354         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
355         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
356         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
357         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
358         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
359         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
360         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
361         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
362         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
363         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
364         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
365         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
366         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
367         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
368         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
369         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
370         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
371         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
372         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
373         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
374         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
375         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
376         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
377         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
378         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
379         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
380         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
381         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
382
383 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
384
385         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
386
387 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
388
389         * sysdeps/generic/backtrace.c: Include signal.h which
390         sigcontextinfo.h headers are used to expect.
391         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
392         (register_dump): Fix a typo in the printout.
393         Avoid using reg_window, so that asm/ptrace.h is not necessary.
394         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
395         (ADVANCE_STACK_FRAME): Likewise.
396
397         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
398         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
399         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
400
401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
402         to make it clear this file depends on __WORDSIZE.
403         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
404         Renamed from have_no_truncate64.
405         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
406         Likewise.
407
408 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
409
410         * Makeconfig (rpath-dirs): Remove db2.
411         (dbojdir): Remove variable.
412
413         * locale/programs/locfile.h (handle_copy): Take repertoire map
414         name as parameter, not pointer to repertoire structure.
415         * locale/programs/ld-address.c: Change caller.
416         * locale/programs/ld-ctype.c: Likewise.
417         * locale/programs/ld-identification.c: Likewise.
418         * locale/programs/ld-measurement.c: Likewise.
419         * locale/programs/ld-messages.c: Likewise.
420         * locale/programs/ld-monetary.c: Likewise.
421         * locale/programs/ld-name.c: Likewise.
422         * locale/programs/ld-numeric.c: Likewise.
423         * locale/programs/ld-paper.c: Likewise.
424         * locale/programs/ld-telephone.c: Likewise.
425         * locale/programs/ld-time.c: Likewise.
426
427 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
428
429         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
430         mmap2 is available when compiling but no at runtime.
431
432 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
433
434         * iconvdata/iso-ir-165.c: New file.
435         * iconvdata/iso-ir-165.h: New file.
436         * iconvdata/Makefile: Add rules to build libISOIR165.
437
438         * Makefile (install): Correct passing -r parameter to ldconfig.
439
440         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
441         Reported by Bruno Haible <haible@ilog.fr>.
442
443 2000-01-11  Andreas Schwab  <schwab@suse.de>
444
445         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
446
447 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
448
449         * nss/getent.c: Add ipv6 support for hosts.
450
451 2000-01-05  Philip Blundell  <pb@futuretv.com>
452
453         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
454         getrlimit64, setrlimit64 for GLIBC_2.1.3.
455         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
456         oldsetrlimit.
457         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
458         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
459         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
460         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
461         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
462         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
463
464         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
465         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
466         [subdir=misc] (sysdep_headers): Add sys/elf.h.
467
468 2000-01-09  Andreas Jaeger  <aj@suse.de>
469
470         * manual/install.texi (Tools for Compilation): Update required
471         compiler version.
472         (Configuring and compiling): Restore old comments about
473         configparms; modify to reflect current usage.
474
475 2000-01-09  Philip Blundell  <philb@gnu.org>
476
477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
478         resolution if the hints included AI_NUMERICHOST.
479
480 2000-01-11  Andreas Schwab  <schwab@suse.de>
481
482         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
483         infinite loop to avoid pulling in stdio in the dynamic linker.
484         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
485
486 2000-01-10  Andreas Jaeger  <aj@suse.de>
487
488         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
489         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
490         EM_MIPS_RS3_LE.
491         * sysdeps/mips/mips64/dl-machine.h: Likewise.
492
493         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
494         gregset_t, fpregset_t, and NGREG definitions.
495
496         * sysdeps/mips/Implies: Add wordsize-32.
497
498         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
499         int's.
500
501         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
502         missing int's.
503
504         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
505         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
506         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
507         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
508         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
509         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
510         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
511
512 2000-01-09  Philip Blundell  <philb@gnu.org>
513
514         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
515         (dl_platform_init): Allow _dl_platform to be NULL.
516
517         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
518         last change.
519
520 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
521
522         * nscd/connections.c (handle_request): Handle systems without
523         SO_PEERCRED.
524         (nscd_run): Likewise.
525
526 2000-01-07  Andreas Jaeger  <aj@suse.de>
527
528         Add support for Berkeley db 3.0.x and merge db support:
529         * nss/nss_db/dummy-db.h (struct db30): New.
530         (struct dbc30): New.
531         Added DB30* flags.
532
533         * nss/makedb.c: Move all database routines to db-open.c.
534         (main): Adjust to interface changes.
535         Load database early to initialize version dependend variables.
536
537         * nss/db-open.c: Merge database routines from makedb.c.
538         Define version dependend constansts as variables.
539         (load_db): Check also for db 3.
540         (internal_setent): Call dbopen.
541         (db_cursor): New function from makedb; handles db 3 now.
542         (dbopen): New function from makedb; handles db 3.
543
544         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
545         different in different DB versions.
546
547         * nss/nss_db/nss_db.h: Add version dependend constants as
548         variables, add exportet interfaces from db-open.c.
549
550         * nss/Makefile ($(objpfx)makedb): Link against db-open.
551
552 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
553
554         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
555         Reported by Jim Meyering.
556
557         * time/strftime.c: Pretty printing.
558
559 2000-01-07  Andreas Jaeger  <aj@suse.de>
560
561         * manual/socket.texi (Host Names): Fix example.
562         Reported by Marco Budde <budde@telos.de>.
563
564 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
565
566         * localedata/Makefile (install-locales): Create locale directory
567         if it does not exist.
568
569         * locale/programs/charmap.c (charmap_read): Call lr_open here and
570         not in parse_charmap.  Try also the directories on the I18NPATH.
571         (parse_charmap): Change accordingly.
572
573 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
574
575         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
576         and oldsetrlimit64.c.
577
578         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
579         sys/procfs.h.
580
581         * manual/texinfo.tex: Updated from latest official version.
582
583         * debug/Makefile (distribute): Add frame.h.
584
585 2000-01-05  Philip Blundell  <philb@gnu.org>
586
587         * sysdeps/arm/frame.h: New file.
588         * sysdeps/generic/frame.h: Likewise.
589         * sysdeps/generic/segfault.c (struct layout): Delete definition;
590         include the above file instead.
591         * sysdeps/generic/backtrace.c (struct layout): Likewise.
592         (__backtrace): Use ADVANCE_STACK_FRAME.
593         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
594         (ADVANCE_STACK_FRAME): New macro.
595         (GET_FRAME): Apply above to returned value.
596
597         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
598
599 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
600
601         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
602         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
603
604         * io/ftw.c (process_entry): Cache object dev/inode only for
605         directories (PR libc/1514).
606
607 2000-01-05  Andreas Schwab  <schwab@suse.de>
608
609         * locale/programs/charmap.c (charmap_read): Fix typo.
610
611 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
612
613         * locale/programs/charset.c: Removed.
614
615         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
616         * iconvdata/gconv-modules: Likewise.
617         * iconvdata/iso8859-16.c: New file.
618
619 2000-01-05  Andreas Schwab  <schwab@suse.de>
620
621         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
622
623 2000-01-05  Andreas Jaeger  <aj@suse.de>
624
625         * intl/locale.alias: Add lithunian entry.
626         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
627
628 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
629
630         * locale/programs/stringtrans.c: Removed.
631         * locale/programs/stringtrans.h: Removed.
632         * locale/programs/linereader.c: Remove #include of stringtrans.h.
633
634         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
635         _POSIX_MAPPED_FILES is not defined.
636
637         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
638         for loc_name copy.
639
640         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
641         _nl_POSIX_name instead of "C" and "POSIX" strings.
642
643         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
644         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
645         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
646         reuse the _nl_C_LC_CTYPE_tolower table.
647         (_nl_C_LC_CTYPE_toupper32): Likewise.
648         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
649         toupper32 entries.
650
651         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
652         characters >= 0x80.
653         (_nl_C_LC_CTYPE_class32): Likewise.
654
655         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
656         aio_idle_time.
657         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
658         after the operation is done.  Let them linger for a user-definable
659         time.
660         * rt/aio_cancel.c: Likewise.
661         Patch by Willian M Shubert <william.m.shubert@intel.com>.
662
663         * sysdeps/i386/i686/add_n.S: New file.
664
665 2000-01-02  Philip Blundell  <philb@gnu.org>
666
667         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
668         to obtain port mapping information.  Avoid use of mprotect.
669
670 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
671
672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
673         definition from 2.3.36.
674
675 2000-01-04  Andreas Jaeger  <aj@suse.de>
676
677         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
678         (struct db27): Add missing fields byteswapped, join and flags;
679         remove wrong member handleq.
680         (struct dbc27): Correct lock field.
681
682         * nss/makedb.c: Remove __P.
683
684 2000-01-04  Andreas Jaeger  <aj@suse.de>
685
686         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
687         success, fix a memory leak and clean up function.
688
689 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
690
691         * Makefile (install): Pass $(install_root) to ldconfig.
692         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
693
694 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
695
696         * soft-fp/op-1.h: Fix division for machines using not normalizing
697         version of udiv_qrnnd in longlong.h.
698         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
699         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
700         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
701         Patch by Eddie C. Dost <ecd@skynet.be>.
702
703         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
704
705 2000-01-03  Andreas Schwab  <schwab@suse.de>
706
707         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
708         needed for change in common symbol handing in newer binutils.
709
710 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
711
712         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
713         kernel without mmap2 syscall.
714
715 2000-01-03  Philip Blundell  <philb@gnu.org>
716
717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
718         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
719         ARM for kernels >= 2.3.35.
720
721 2000-01-03  Philip Blundell  <philb@gnu.org>
722
723         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
724         Optimise error handling a little.
725         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
726
727 2000-01-03  Andreas Jaeger  <aj@suse.de>
728
729         * include/resolv.h: Remove declarations for __ns_name_ntop and
730         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
731
732 2000-01-03  Andreas Jaeger  <aj@suse.de>
733
734         * time/tst-strptime.c (test_tm): Add tests for all fields of
735         struct tm.
736
737 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
738
739         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
740
741 2000-01-03  Andreas Jaeger  <aj@suse.de>
742
743         * string/tester.c (test_strsep): Add one more test.
744
745 2000-01-03  Philip Blundell  <philb@gnu.org>
746
747         * string/tester.c (test_mempcpy): New function.
748         (main): Call it.
749         (test_memcpy): Test unaligned cases too.
750
751         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
752
753         * sysdeps/arm/fpu/bits/mathdef.h: New file.
754
755 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
756
757         * posix/Makefile (tests): Add tst-mmap.
758         * posix/tst-mmap.c: New file.
759
760         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
761         call before handling error.
762
763         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
764         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
765
766         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
767         0xa2e6 and 0xa2e7.
768         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
769         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
770         mappings.
771         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
772         * iconvdata/testdata/ISO-2022-KR: Likewise.
773
774         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
775
776         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
777         ISO-8859-13.
778         * iconvdata/Makefile (distribute): Remove baltic.c.
779         (modules): Remove BALTIC.
780         (gen-8bit-gap-modules): Remove baltic.
781         * iconvdata/baltic.c: Removed.
782
783         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
784
785         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
786
787         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
788         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
789         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
790
791         * nss/Makefile: Add rules to build makedb.
792         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
793         * nss/nss_db/dummy-db.h: Likewise.
794         * nss/makedb.c: New file.  Copied from file in db2, modified to not
795         depend on being linked against libdb.
796
797 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
798
799         * Makeconfig (all-subdirs): Remove db and db2.
800         * db/*: Removed.
801         * db2/*: Removed.
802
803         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
804         functions from here...
805         * nss/db-alias.c: ...and here...
806         * nss/db-netgrp.c: ...and here...
807         * nss/nss_db/db-open.c: ...to here.  New file.
808         * nss/nss_db/dummy-db.h: New file.
809         * nss/nss_db/nss_db.h: New file.
810         * nss/Depend: Depend in dlfcn, not db2.
811         * nss/Makefile (libnss_db-routines): Add db-open.
812         (distribute): Add nss_db.h dummy-db.h.
813         (libnss_db.so): Replace libdb dependency by $(libdl).
814         Based on a patch by Zack Weinberg.
815
816         * locale/programs/ld-ctype.c: Implement rest of transliteration
817         definition parsing.
818         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
819         * locale/programs/locfile-token.h: Add tok_translit_ignore.
820
821 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
822
823         * locale/programs/ld-collate.c (collate_output): Emit correct
824         information for collation elements.
825         Don't write over end of array idx.
826         * posix/regex.c: Handle also collation elements at end of range.
827
828         * posix/PTESTS: Fix a few typos.
829
830         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
831         no idea where this came from.
832         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
833
834 1999-12-31  Andreas Jaeger  <aj@suse.de>
835
836         * libio/strfile.h: Remove K&R compatibility.
837         * locale/langinfo.h: Likewise.
838         * locale/localeconv.c (localeconv): Likewise.
839         * locale/programs/simple-hash.h: Likewise.
840         * nis/nis_xdr.h: Likewise.
841         * nis/rpcsvc/nislib.h: Likewise.
842         * nis/rpcsvc/nis_callback.h: Likewise.
843         * nis/rpcsvc/nis.h: Likewise.
844         * nis/ypclnt.c: Likewise.
845         * nscd/nscd_proto.h: Likewise.
846         * nscd/nscd.c: Likewise.
847         * sysdeps/generic/inttypes.h: Likewise.
848         * sysdeps/gnu/utmpx.h: Likewise.
849
850         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
851         * sunrpc/rpcsvc/rusers.x: Likewise.
852
853         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
854
855         * elf/dl-misc.c: Remove __libc_write prototype since it's already
856         in include/unistd.h.
857         * elf/dl-profile.c: Likewise.
858         * elf/dl-load.c: Likewise for __libc_read.
859
860         * elf/dl-profile.c: Remove __P.
861         * elf/sprof.c: Likewise.
862         * elf/sln.c: Likewise.
863
864 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
865
866         * locale/langinfo.h: Add constants for wide character collation
867         symbol table.
868         * locale/categories.def: Add appropriate entries for collate symbol
869         table entries.
870         * locale/C-collate.c: Add initializers for new entries.
871         Remove commented out code.
872         * locale/elem-hash.h: New file.
873         * locale/Makefile (distribute): Add elem-hash.h.
874         * locale/programs/ld-collate.c: Implement output of collate symbol
875         table.
876
877         * posix/regex.c: Implement collation class handling.
878
879 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
880
881         * posix/regex.c (regex_compile): Implement equivalence class handling.
882
883 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
884
885         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
886         (OPCODE_LWZU): New macro.
887         (OPCODE_ADDIS_HI): New macro.
888         (OPCODE_LIS_HI): New macro.
889         (__elf_machine_runtime_setup): Change PLT code-generation scheme
890         for thread safety even with very large PLTs, better efficiency,
891         and to fix a cache-flushing bug.  Also support the Motorola
892         8xx processors which have a different cache line size than all
893         the others.
894         (__elf_machine_fixup_plt): Likewise.
895         (__process_machine_rela): Don't use elf_machine_fixup_plt.
896
897 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
898
899         * wcsmbs/wcscoll.c: Use multibyte character version.
900         * wcsmbs/wcsxfrm.c: Likewise.
901         * string/strcoll.c: Prepare to be used for the wide character version.
902         * string/strxfrm.c: Likewise.
903         * locale/weightwc.h: New file.
904
905 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
906
907         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
908         the (void) casts as now feraiseexcept returns a value.
909         (feclearexcept): Likewise.
910
911         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
912         it interferes with the macros for AIX.
913
914 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
915
916         * locale/programs/ld-collate.c (collate_finish): Always define
917         weight for UNDEFINED if not defined by the user but don't complain
918         unless it is needed in the multibyte character table.
919         (collate_output): Add extra dummy elements in wide char tables in the
920         same way done for multibyte.  Always output undefined entry in
921         wide character table.
922
923         * locale/Makefile (categories): Remove commented-out old definition.
924
925         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
926         to new_element if the wide char is not valid.
927         (handle_ellipsis): Likewise.
928         (collate_read): It's no problem if the string in the collating element
929         definition cannot be represented as multibyte or wide char string.
930
931 1999-12-13  Andreas Jaeger  <aj@suse.de>
932
933         * resolv/resolv.h: Remove K&R compatibility.
934
935         * resolv/res_libc.c: Move definition of _res after res_init,
936         res_init should use the threaded specific context.
937
938         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
939         needed anymore.
940
941 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
942
943         * locale/langinfo.h: Add constants for wide character collation data.
944         * locale/categories.def: Add appropriate entries for collate entries.
945         * locale/C-collate.c: Add initializers for new entries.
946         * locale/programs/ld-collate.c: Implement output of wide character
947         tables.
948
949         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
950         compute wide character table size a bit: it now gives up a bit of
951         total table size for fewer levels.
952
953         * soft-fp/*: Tons of new files to implement floating-point arithmetic
954         in software.
955         Contributed by Richard Henderson, Jakub Jelinek and others.
956
957 1999-12-29  Andreas Jaeger  <aj@suse.de>
958
959         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
960         <asm/io.h>; remove K&R compatibility; add missing ints.
961
962         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
963         add missing ints.
964
965         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
966
967 1999-12-29  Andreas Jaeger  <aj@suse.de>
968
969         * manual/getopt.texi (Using Getopt): Document ordering of options.
970
971 1999-12-29  Andreas Jaeger  <aj@suse.de>
972
973         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
974         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
975
976 1999-12-14  Andreas Jaeger  <aj@suse.de>
977
978         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
979         2.3.32.
980
981 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
982
983         * elf/sprof.c (load_shobj): Fix error message.
984         (generate_call_graph): Cast %*s length argument to int.
985         * locale/programs/localedef.c (construct_output_path): Likewise.
986         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
987         specifier.
988         (ctype_class_new): Likewise.
989         * locale/programs/ld-time.c (time_finish): Likewise.
990         * sunrpc/svc_simple.c (register_rpc): Likewise.
991         * nscd/connections.c (nscd_run, start_threads): Use long instead of
992         int to avoid cast warnings.
993         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
994         warning.
995         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
996         variable se.
997
998         * time/strftime.c (my_strftime): Provide wide era string when
999         requested.
1000
1001         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
1002         Separate into 32bit and 64bit versions.
1003
1004 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
1005
1006         * iconvdata/Makefile (modules): Add ISO-2022-CN.
1007         Add link rules for this module.
1008         (distribute): Add iso-2022-cn.c and cns11643l2.h.
1009         * iconvdata/cns11643l2.h: New file.
1010         * iconvdata/iso-2022-cn.c: New file.
1011         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
1012
1013         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
1014         unsigned.
1015         (ucs4_to_cns11643l1): Likewise.
1016         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
1017
1018         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
1019         loop to UCS4.
1020         Optimize recognition of escape sequences a bit.
1021
1022         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
1023         and oldsetrlimit definitions.
1024
1025 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1026
1027         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
1028         identifying errors more easily.
1029
1030         * iconvdata/testdata/EUC-CN..UTF8: New file.
1031         * iconvdata/testdata/GBK..UTF8: New file.
1032
1033         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
1034         mappings.  Fix last patch.
1035         * iconvdata/TESTS: Add GBK.
1036         * iconvdata/testdata/GBK: New file.
1037
1038         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
1039         0x2312, and 0x2500..0x254b.
1040         * iconvdata/TESTS: Add EUC-CN.
1041         * iconvdata/testdata/EUC-CN: New file.
1042
1043         * iconvdata/gbgbk.c: New file.
1044         * iconvdata/Makefile (modules): Add GBGBK.
1045         (distribute): Add gbgbk.c.
1046         * iconvdata/gconv-modules: Add entries for GBGBK modules.
1047
1048         * iconvdata/euc-cn.c: Fix comment.
1049
1050         * iconvdata/gbk.c: Optimize the switch statement in the conversion
1051         to GBK a bit.
1052
1053         * locale/programs/charmap.c (charmap_new_char): Recognize special
1054         character names Uxxxx and Pxxxx and initialize the UCS4 value from
1055         the value of xxxx.
1056
1057 1999-12-17  Andreas Jaeger  <aj@suse.de>
1058
1059         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
1060
1061 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
1062
1063         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
1064         * stdlib/exit.h (flavor): Add ef_cxa.
1065         (exit_function): Add cxa variant.
1066         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
1067         * stdlib/cxa_atexit.c: New file.
1068         * stdlib/cxa_finalize.c: New file.
1069
1070 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
1071
1072         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
1073         Unicode tables.
1074
1075 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1076
1077         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
1078         __have_no_stat64.
1079         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1080         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1081
1082         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
1083         of <asm/resource.h>.
1084
1085 1999-12-26  Philip Blundell  <philb@gnu.org>
1086
1087         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
1088         argument count for `syscall' to 7.
1089         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
1090         with more than five arguments.
1091         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1092
1093 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
1094
1095         * locale/programs/ld-collate.c (collate_output): Don't start with empty
1096         extrapool and indirectpool obstacks since we need the offsets to be
1097         nonzero.
1098         (collate_read): Call load_locale, not find_locale.
1099         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
1100         wasn't defined in the file also initialize repertoire if possible.
1101         * locale/programs/ld-time.c (time_finish): Fix message string.
1102         * locale/programs/linereader.c: Cast parameters of lr_error to
1103         correct type to prevnet warning.
1104         * locale/programs/localedef.c (load_locale): New file.
1105         * locale/programs/localedef.h: Add its prototype.
1106         * locale/programs/repertoire.c (repertoire_new_char): Add missing
1107         parameters to lr_error call.
1108
1109         * localedata/Makefile: Enable running tests again.
1110         * localedata/tests/test2.def: Adjust syntax to new specification.
1111         * localedata/tests/test3.def: Likewise.
1112         * localedata/tst-trans.sh: Redirect output of program into file.
1113
1114         * string/strcoll.c: Fix many error in new implementation to make it
1115         pass (at least) the test suite.
1116
1117         * locale/Makefile: Don't link localedef statically anymore.
1118
1119         * locale/ld-collate.c (struct element_t): Add field is_character and
1120         use it to distinguish real character from collating elements and
1121         symbols.
1122         (new_element): Take new parameter to initialize is_character.  Change
1123         all callers.
1124         (handle_ellipsis): Use is_character field to make sure ellipsis is
1125         only used with characters.
1126         (collate_read): Fix reading of collating elements.
1127
1128         * string/strxfrm.c: Correct loop end detection and memory access
1129         in the little optimization at the end.
1130
1131         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
1132         emit warnings.  Provide default value for mon_decimal_point.
1133
1134         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
1135         category wasn't defined.
1136         (collate_output): Likewise.
1137
1138         * locale/programs/ld-address.c: Don't emit message about not defined
1139         category if be_quiet.
1140         * locale/programs/ld-ctype.c: Likewise.
1141         * locale/programs/ld-identification.c: Likewise.
1142         * locale/programs/ld-measurement.c: Likewise.
1143         * locale/programs/ld-messages.c: Likewise.
1144         * locale/programs/ld-monetary.c: Likewise.
1145         * locale/programs/ld-name.c: Likewise.
1146         * locale/programs/ld-numeric.c: Likewise.
1147         * locale/programs/ld-paper.c: Likewise.
1148         * locale/programs/ld-telephone.c: Likewise.
1149         * locale/programs/ld-time.c: Likewise.
1150
1151         * locale/programs/locfile.c (write_locale_data): Correct memory
1152         allocation for fname.
1153
1154 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
1155
1156         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
1157         (collate_finish): Test that position is used in all sections for
1158         a level or in none.
1159
1160         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
1161         of the index returned by findidx.
1162
1163         * string/strcoll.c: Complete rewrite for new collate implementation.
1164         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
1165         locally.
1166
1167         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
1168         indirect table.
1169         * locale/langinfo.h: Likewise.
1170         * locale/categories.def: Likewise.  Remove reference to postload
1171         functions.
1172         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
1173         __collate_tablemb, __collate_weightmb, and __collate_extramb.
1174         * locale/localeinfo.h: Remove declaration for removed variables above.
1175         Remove prototype for _nl_get_era_entry.
1176         * locale/weight.h: Complete rewrite for new collate implementation.
1177         * locale/programs/ld-collate.c: Many changes to make output file
1178         usable in strxfrm/strcoll.
1179         * string/strxfrm.c: Complete rewrite for new collate implementation.
1180         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
1181         locally.
1182
1183 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
1184
1185         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
1186         transformation values for chars >255.
1187         * wctype/wctrans.c: Return pointer unmodified.
1188
1189 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
1190
1191         * sysdeps/posix/system.c (__libc_system): Check whether command
1192         processor is available if LINE is NULL.  Don't return immediately
1193         if wait call returned with EINTR.
1194         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
1195
1196 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
1197
1198         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
1199         prevent warning.
1200
1201         * locale/programs/ld-collate.c: Implement writing out multibyte
1202         collation data.
1203
1204         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
1205         * locale/localeinfo.h: Declare variables only for currently implemented
1206         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
1207         * locale/lc-collate.c: Define variables only for currently implemented
1208         functionality.
1209         * locale/langinfo.h: Define symbols only for currently implemented
1210         functionality.
1211         * locale/categories.def: Define elements for currently implemented
1212         functionality.
1213         * locale/C-collate.c: Comment out definitions of arrays with symbol
1214         name definitions etc.
1215         (_nl_C_LC_COLLATE): Update for currently defined information.
1216
1217         * intl/libintl.h: Remove dcgettext macro definition.
1218         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
1219
1220         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
1221
1222         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
1223         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
1224
1225 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
1226
1227         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
1228         for __fenv_stfsr argument.
1229         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1230         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
1231         Remove ugetrlimit.
1232         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
1233         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1234         (XSTAT_IS_XSTAT64): Define.
1235         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
1236         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
1237         and __libc_pwrite64.
1238         Remove oldgetrlimit and oldsetrlimit.
1239         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
1240         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
1241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
1242
1243         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
1244         pointer to the syscall, not address of that pointer.
1245         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1246         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1247         (__syscall_stat64): Provide proper prototype.
1248
1249         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
1250         has_no_truncate64 between truncate64 and ftruncate64.
1251         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1252
1253         * sysdeps/unix/sysv/linux/kernel-features.h
1254         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
1255         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
1256
1257 1999-12-22  Andreas Jaeger  <aj@suse.de>
1258
1259         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
1260         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
1261
1262 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
1263
1264         * locale/lc-time.c: Extend structure era_entry.
1265         * locale/localeinfo.h: Likewise.
1266         * locale/lc-time.c: Handle '-' direction used in locale's era part
1267         properly.
1268         * time/strptime.c: Likewise.
1269         * time/strftime.c: Likewise.
1270         * locale/programs/ld-time.c: Consider negative values in era part
1271         of locale as B.C..
1272         * time/strptime.c (strptime_internal): Merged Yoshiyama's
1273         %E[CyY] implementation.
1274
1275 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
1276
1277         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
1278         of recursive() call.
1279         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
1280         parsing.
1281
1282 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
1283
1284         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
1285         Patch by Scott Bambrough <scottb@netwinder.org>.
1286
1287 1999-12-21  Andreas Schwab  <schwab@suse.de>
1288
1289         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
1290
1291         * include/unistd.h: Declare __libc_lseek.
1292
1293 1999-12-21  Andreas Jaeger  <aj@suse.de>
1294
1295         * stdlib/longlong.h: Remove __P.
1296
1297 1999-12-21  Andreas Jaeger  <aj@suse.de>
1298
1299         * sysdeps/powerpc/fpu/libm-ulps: New file.
1300
1301 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
1302
1303         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
1304         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
1305
1306 1999-12-21  Andreas Jaeger  <aj@suse.de>
1307
1308         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
1309         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
1310         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
1311         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
1312         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1313         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1314         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1315         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1316         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1317         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
1318         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
1319         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
1320
1321 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
1322
1323         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
1324         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
1325         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
1326         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
1327         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
1328         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
1329         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
1330         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
1331         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
1332         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
1333         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
1334         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
1335         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
1336         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
1337         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
1338         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
1339         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
1340         putpmsg.
1341
1342 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
1343
1344         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
1345         before testing for __ASSUME_STAT64_SYSCALL.
1346         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1347         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1348
1349 1999-12-20  Andreas Schwab  <schwab@suse.de>
1350
1351         * manual/install.texi (Running make install): Clearify that
1352         install_root should be an absolute file name.
1353
1354 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
1355
1356         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
1357
1358         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
1359         buffer is given to place conversion descriptor in initial state.
1360         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
1361         CSPC862LATINHEBREW.
1362         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
1363         (according to IANA registry).
1364         Reported by Bruno Haible <haible@ilog.fr>.
1365
1366         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
1367
1368         * locale/categories.def: Remove most of the collate definitions.
1369         * locale/langinfo.h: Comment out corresponding definitions.
1370         * locale/programs/locale-spec.c (locale_special): Don't recognize the
1371         collate names yet.
1372         * locale/programs/ld-collate.c: Correct and optimize computation of
1373         weights.  Set up list of all definitions correctly.  Start writing
1374         function to generate output file.
1375
1376         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
1377         loop to compute default mapping.
1378
1379 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1380
1381         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
1382         cancelation wrapper.
1383         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1384         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1386
1387 1999-12-19  Andreas Jaeger  <aj@suse.de>
1388
1389         * sysdeps/generic/libc-start.c: Remove declaration of
1390         __libc_open.  Move declaration of __libc_fcntl to ...
1391         * include/fcntl.h: ...here.
1392
1393         * include/unistd.h: Move __libc_open and __libc_open64 to ...
1394         * include/fcntl.h: ...here.
1395
1396         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
1397         happened yet.
1398
1399         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
1400         rename label.
1401
1402 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1403
1404         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
1405         inclusion.
1406
1407 1999-12-19  Andreas Jaeger  <aj@suse.de>
1408
1409         * include/string.h: Mark __strndup with __attribute_malloc__.
1410
1411 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
1412
1413         * locale/langinfo.h: Always define CODESET.
1414         (CODESET): Define also as macro.
1415
1416         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
1417         generate mantissa output in using malloc if it is larger than
1418         20000 characters.
1419         Reported by Jim Meyering <meyering@ascend.com>.
1420
1421 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
1422
1423         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
1424         available gcc version.
1425         * string/string.h: Mark strdup, __strdup, and strndup with
1426         __attribute_malloc__.
1427         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
1428         __attribute_malloc__.
1429         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
1430         and __default_morecore with __attribute_malloc__.
1431         Provide default definition for __attribute_malloc__.
1432         * libio/stdio.h: Make tempnam with __attribute_malloc__.
1433
1434         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
1435         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
1436         * io/Versions: Export __libc_open64 and __libc_lseek64.
1437         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
1438         and __libc_pwrite64.
1439         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
1440         wrapper.
1441         * sysdeps/generic/pread.c: Likewise.
1442         * sysdeps/generic/pread64.c: Likewise.
1443         * sysdeps/generic/pwrite.c: Likewise.
1444         * sysdeps/generic/pwrite64.c: Likewise.
1445         * sysdeps/posix/open64.c: Likewise.
1446         * sysdeps/posix/pread.c: Likewise.
1447         * sysdeps/posix/pread64.c: Likewise.
1448         * sysdeps/posix/pwrite.c: Likewise.
1449         * sysdeps/posix/pwrite64.c: Likewise.
1450         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1451         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1452         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1453         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1454         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1455         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1456         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1457         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1458         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1459
1460         * sysdeps/posix/open64.c: Help gcc generating better code.
1461
1462         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
1463         instead of __open.
1464
1465 1999-12-11  H.J. Lu  <hjl@gnu.org>
1466
1467         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
1468         instead of __fcntl.
1469
1470 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
1471
1472         * iconvdata/isiri-3342.c: New file.
1473         * iconvdata/Makefile (modules): Add ISIRI-3342.
1474         (distribute): Add isiri-3342.c.
1475         (gen-8bit-gap-modules): Add isiri-3342.
1476         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
1477
1478         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
1479
1480         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
1481         result if necessary.
1482
1483         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
1484         unreliable kernel headers.
1485         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1486         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1487         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
1488         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
1489
1490 1999-12-18  Andreas Jaeger  <aj@suse.de>
1491
1492         * config.make.in (datadir): Added.
1493         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
1494
1495 1999-12-18  Andreas Jaeger  <aj@suse.de>
1496
1497         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
1498         set errno.
1499         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
1500
1501 1999-12-18  Andreas Jaeger  <aj@suse.de>
1502
1503         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
1504         syscall if available.
1505         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
1506         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
1507
1508         * sysdeps/unix/sysv/linux/kernel-features.h
1509         (__ASSUME_STAT64_SYSCALL): New.
1510
1511 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
1512
1513         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
1514         cache flush.
1515         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
1516         after .text segment fixups.
1517
1518 1999-12-16  Andreas Jaeger  <aj@suse.de>
1519
1520         * rt/aio.h: Remove erroneous __restrict declarations.
1521
1522 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
1523
1524         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
1525         do the job if it is there neither.
1526         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
1527
1528 1999-12-16  Andreas Jaeger  <aj@suse.de>
1529
1530         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
1531         duplicate definition with function __nan.
1532         Closes PR libc/1487 reported by <diana@kai.com>.
1533
1534 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
1535
1536         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
1537
1538         * locale/programs/ld-collate.c: Implement handling of absolute
1539         ellipsis.  Parsing of file and constructing the internal data
1540         structures should now be complete.
1541         (collate_finish): Start adding support to generate the data
1542         structures which are written out to the file.
1543
1544         * intl/dcgettext.c: Rewrite to handle caching of previous results here
1545         instead of in the dcgettext macro.
1546         * intl/libintl.h (dcgettext): Don't define for systems using this
1547         glibc or systems with tsearch.
1548
1549         * sysdeps/generic/mathdef.h: Protect definitions for math.h
1550         against double inclusion.
1551         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1552         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1553         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1554         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1555
1556         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
1557         that different?).
1558
1559 1999-12-17  Andreas Jaeger  <aj@suse.de>
1560
1561         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
1562         struct with aiocb.
1563
1564         * rt/Makefile (tests): Added tst-aio64.
1565         Added dependency rules for tst-aio64.
1566
1567         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
1568         64bit tests.
1569
1570 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
1571
1572         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
1573         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
1574         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
1575         old value (signed long).
1576         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
1577         long RLIM_INFINITY.
1578         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
1579         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
1580         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
1581         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
1582         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
1583         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
1584         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
1585         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
1586         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
1587         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
1588         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
1589         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
1590         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
1591         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
1592         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
1593
1594 1999-12-17  Andreas Jaeger  <aj@suse.de>
1595
1596         * elf/ldconfig.c: Add new option -l to manualy link shared
1597         libraries.
1598         (options): Added option.
1599         (parse_opt): Set option.
1600         (main): Handle option.
1601         (manual_link): New function.
1602
1603 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
1604
1605         * string/bits/string2.h: Fix patch from 1999-12-07.
1606
1607 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
1608
1609         * sysdeps/generic/strsep.c: If delim string has only one character
1610         don't run over end of string.
1611
1612         * locale/programs/ld-collate.c (insert_weights): Also update next
1613         pointer of last cursor element.
1614         (insert_value): Return nonzero value if nothing got inserted.
1615         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
1616
1617 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
1618
1619         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
1620         where appropriate.
1621
1622 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
1623
1624         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
1625         Copy sa_flags into kernel sigaction structure.
1626
1627 1999-12-14  Andreas Jaeger  <aj@suse.de>
1628
1629         * string/tester.c (test_strsep): More tests for access beyond
1630         the final NUL.  The first two tests come from PR libc/1486 by
1631         martinea@iro.umontreal.ca.
1632
1633 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
1634
1635         * nis/ypclnt.c: Correct handling of cached client handles.
1636         (__xdr_ypresp_all): Call callback function for errors, too,
1637         like Solaris does.
1638         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
1639         * nis/nss_compat/compat-initgroups.c: Likewise.
1640         * nis/nss_compat/compat-spwd.c: Likewise.
1641         * nis/nss_nis/nis-alias.c: Likewise.
1642         * nis/nss_nis/nis-ethers.c: Likewise.
1643         * nis/nss_nis/nis-grp.c: Likewise.
1644         * nis/nss_nis/nis-hosts.c: Likewise.
1645         * nis/nss_nis/nis-netgrp.c: Likewise.
1646         * nis/nss_nis/nis-publickey.c: Likewise.
1647         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
1648         Map if available, optimize query if name/port and protocol is known.
1649
1650 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
1651
1652         * locale/programs/ld-collate.c (collate_read): Make symbolic
1653         ellipsis work.  Remove old and unused code.
1654
1655 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
1656
1657         * locale/programs/ld-collate.c (collate_read): Implement
1658         reorder-section handling.
1659
1660 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
1661
1662         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
1663
1664         * locale/programs/ld-collate.c (collate_read): Add handling of
1665         reorder-after.
1666
1667         * locale/programs/ld-collate.c: Many changes to implement parsing
1668         of collation definition (still not complete).
1669
1670 1999-12-09  Andreas Jaeger  <aj@suse.de>
1671
1672         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
1673         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
1674         Reported by Christian Starkjohann <cs@obdev.at>.
1675
1676 1999-12-09  Andreas Jaeger  <aj@suse.de>
1677
1678         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
1679
1680 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
1681
1682         * stdlib/longlong.h: Update from latest egcs version.
1683
1684         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
1685
1686         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
1687         has to preceede __attribute__, otherwise g++ barfs.
1688
1689         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
1690         on sparc64-*-linux.
1691
1692         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
1693         use sigcontext.
1694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1695
1696 1999-12-05  Wolfram Gloger  <wg@malloc.de>
1697
1698         * malloc/malloc.c (arena_get2): If generating a new arena fails,
1699         try to generate a minimal one and hope for mmap_chunk() to succeed
1700         later.
1701
1702 1999-11-07  Wolfram Gloger  <wg@malloc.de>
1703
1704         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
1705         mutex_t work as an `in-use' flag even without threads.
1706         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
1707         for multiple arenas separately from NO_THREADS.
1708         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
1709         fall back to an mmap()ed arena when sbrk() has failed.
1710
1711 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
1712
1713         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
1714         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1715         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
1716         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1717         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
1718         oldgetrlimit and oldsetrlimit.
1719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
1720         oldsetrlimit.
1721         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
1722         oldsetrlimit rules into 32-bit arch subdirs.
1723         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1724
1725         * locale/programs/ld-collate.c (insert_value): If this is the
1726         first symbol the cursor can be the same as the next pointer.
1727
1728 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
1729
1730         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
1731         arrays.
1732         (allocate_arrays): Allocate memory for map32.  Correctly install
1733         default values in it and install defined mappings.
1734
1735         * locale/programs/ld-monetary.c (monetary_finish): Provide default
1736         value for mon_grouping.
1737
1738         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
1739         headers are not clean enough.
1740
1741         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
1742
1743         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1744         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
1745         on x86.
1746         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
1747         * sysdeps/unix/sysv/linux/truncate64.c: New file.
1748         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
1749         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
1750
1751         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
1752         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
1753         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
1754         _nl_C_LC_CTYPE_tolower32 tables.
1755         Don't compile it names of 14652 classes and maps.
1756         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
1757         _NL_CTYPE_TOLOWER32.
1758         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
1759         and __ctype32_tolower.
1760         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
1761         (ctype_output): Write out map32 values.
1762         (allocate_arrays): Compute mapping tables correctly.
1763         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
1764         (towupper): Use __ctype32_toupper.
1765         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
1766
1767         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
1768         determine tolower mapping for 8bit table if the tolower keyword is
1769         not given.
1770
1771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
1772         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
1773
1774 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
1775
1776         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
1777         __stpcpy_small): Cast switch expressions to int to shut up compiler
1778         warnings.
1779
1780 1999-12-07  Scott Bambrough <scottb@netwinder.org>
1781
1782         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
1783         relocs if possible.
1784
1785 1999-12-06  Andreas Schwab  <schwab@suse.de>
1786
1787         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
1788         ugetrlimit syscall exists.
1789
1790         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
1791         exported symbols.
1792         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1793
1794 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
1795
1796         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
1797         pointers if character is illegal.
1798         Reported by Bruno Haible <haible@ilog.fr>.
1799
1800         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
1801         (increment_counter): New function.  Broken out of find_derivation.
1802         (find_derivation): No need for a lock.  Increment counter only when
1803         the derivation was already available.
1804         * iconv/gconv_dl.c: Add debugging functions.
1805         (known_compare): We have to use strcmp.
1806         Reported by Bruno Haible <haible@ilog.fr>.
1807
1808 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
1809
1810         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
1811         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
1812         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
1813         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
1814         SHIFT_JIS alias.
1815         Reported by Bruno Haible <haible@ilog.fr>.
1816
1817         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
1818
1819 1999-12-03  Andreas Jaeger  <aj@suse.de>
1820
1821         * nss/getXXbyYY.c: Include <resolv.h>
1822         (FUNCTION_NAME): Use res_ninit instead of res_init.
1823
1824         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
1825         declaration and prototypes.
1826         Remove extra _res declaration.
1827         (INTERNAL): Use thread aware res_ninit function.
1828
1829         * inet/gethstbyad_r.c: Include <resolv.h>.
1830
1831         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
1832         res_libc.c.  Disabled unneeded functions.
1833
1834         * resolv/res_libc.c: New file.
1835
1836         * Versions.def: Add version GLIBC_2.2 for libpthread.
1837         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
1838
1839         * include/resolv.h: Add internal interfaces.
1840
1841         * resolv/Makefile (routines): Add new files.
1842         (libresolv-routines): Likewise.
1843         (distribute): Likewise.
1844
1845         * resolv/gethnamaddr.c: Use thread safe resolver functions.
1846         * resolv/nss_dns/dns-host.c: Likewise.
1847         * resolv/nss_dns/dns-network.c: Likewise.
1848
1849         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
1850         * resolv/nsap_addr.c: Likewise.
1851         * resolv/res_comp.c: Likewise.
1852         * resolv/res_debug.c: Likewise.
1853         * resolv/res_init.c: Likewise.
1854         * resolv/res_mkquery.c: Likewise.
1855         * resolv/res_query.c: Likewise.
1856         * resolv/res_send.c: Likewise.
1857         * resolv/resolv.h: Likewise.
1858
1859         * resolv/Versions: Add __res_state and __res_ninit with version
1860         GLIBC_2.2 to libc.
1861         Add new interfaces with version GLIBC_2.2 to libresolv.
1862
1863         * resolv/Banner: Update.
1864
1865         * include/arpa/nameser_compat.h: New file.
1866
1867         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
1868         * resolv/ns_netint.c: Likewise.
1869         * resolv/ns_parse.c: Likewise.
1870         * resolv/ns_print.c: Likewise.
1871         * resolv/ns_samedomain.c: Likewise.
1872         * resolv/ns_ttl.c: Likewise.
1873         * resolv/arpa/nameser_compat.h: Likewise.
1874         * resolv/res_debug.h: Likewise.
1875
1876         Some patches are based on work done by Adam D. Bradley
1877         <artdodge@cs.bu.edu>.
1878
1879 1999-11-30  Andreas Jaeger  <aj@suse.de>
1880
1881         Add ldconfig:
1882         * elf/Makefile (extra-objs): Added ldconfig-modules.
1883         (ldconfig-modules): New.
1884         Added vpath for xstrdup and xmalloc.
1885         Check for use-ldconfig instead of has-ldconfig.
1886         ($(objpfx)ldconfig): New rule with dependencies.
1887         (distribute): Add new files.
1888
1889         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
1890         developed together with Jakub Jelinek <jakub@redhat.com>.
1891         * sysdeps/generic/readelflib.c: Likewise.
1892
1893         * elf/cache.c: New file.
1894         * elf/ldconfig.c: New file.
1895         * elf/ldconfig.h: New file.
1896         * elf/readlib.c: New file.
1897
1898         * Makefile (install): Remove flag -d in ldconfig call.
1899
1900         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
1901         by default.
1902
1903         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
1904         comment.
1905
1906         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
1907         set always use_ldconfig instead.
1908
1909 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
1910
1911         * sysdeps/generic/bits/stropts.h: Update with LiS types and
1912         values.  Patch by David Grothe <dave@gcom.com>.
1913
1914         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
1915         Make long types.
1916         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1917         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1918         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1919
1920 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
1921
1922         * locale/lc-time.c (_nl_get_era_entry): Separate eras
1923         initialization as _nl_init_era_entry().
1924         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
1925         * locale/lc-time.c (_nl_get_era_year_offset): New function.
1926         * locale/lc-time.c (_nl_get_era_year_start): New function.
1927         * locale/localeinfo.h: Declare new functions.
1928         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
1929         and ERA_W_FORMAT.
1930
1931 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
1932
1933         * posix/regex.c (SYNTAX): Make more portable.
1934         Patch by Aharon Robbins <arnold@skeeve.com>.
1935
1936 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
1937
1938         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
1939         nonzero, use cthread_fork to create the signal thread.
1940         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
1941         _hurd_msgport_thread here (to self).
1942         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
1943         is zero, instead compute child signal thread's starting SP from parent
1944         signal thread's current SP and the threadvar_stack variables.
1945         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
1946         These are now referenced weakly by _hurdsig_init.
1947
1948         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
1949         &_hurd_itimer_thread not &_hurd_msgport_thread.
1950
1951 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
1952
1953         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
1954         without HURD_DPORT_USE to clean up warnings.
1955         * hurd/dtable.c (get_dtable_port): Likewise.
1956
1957         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
1958         (install_ctty): Do the changing of the cttyid port cell here, inside
1959         the critical section while we holding the dtable lock.
1960         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
1961         the port cell and calling rectty_dtable.
1962         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
1963         (install_ctty): Use it inside a critical section, with the lock held.
1964         * sysdeps/mach/hurd/setsid.c (__setsid): Use
1965         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
1966         after proc_setsid, having held the dtable lock throughout.
1967         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
1968         cttyid port for null and bail out early if so.  The dtable lock
1969         serializes us after any cttyid change and its associated dtable update.
1970
1971 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
1972
1973         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
1974         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
1975         We don't install this file for users.
1976         * sysdeps/mach/hurd/Dist: Add it.
1977         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
1978         Append nfs/nfs.h here.
1979
1980 1999-12-01  Andreas Jaeger  <aj@suse.de>
1981
1982         * sysdeps/generic/if_index.c (__protocol_available): Add missing
1983         int for parameter.
1984
1985         * stdio/stdio.h: Fix typo.
1986         Patches by Marcus G. Daniels <mgd@santafe.edu>.
1987
1988 1999-12-01  Andreas Jaeger  <aj@suse.de>
1989
1990         * scripts/test-installation.pl (installation_problem): Filter out
1991         libpthread_db.
1992
1993 1999-12-01  Andreas Schwab  <schwab@suse.de>
1994
1995         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
1996         __rlim_t and __rlim64_t.
1997         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1998         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1999
2000 1999-12-01  Andreas Schwab  <schwab@suse.de>
2001
2002         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2003         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
2004         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
2005         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
2006         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
2007         new kernel version.  Add symbol versions.
2008         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
2009         oldgetrlimit.
2010         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2011         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2012         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
2013         and s_ugetrlimit.
2014         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2015         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2016         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2017         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
2018         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
2019         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2020         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
2021         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
2022         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
2023         file.
2024         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
2025         file.
2026
2027 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
2028
2029         * sysdeps/generic/usleep.c: Fix typo.
2030
2031         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
2032
2033         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
2034         itself.
2035
2036         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
2037         _UTSNAME_H.
2038
2039         * malloc/set-freeres.c: Really use already_called variable.
2040
2041         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
2042         function call directly.
2043         * libio/iosetvbuf.c: Likewise.
2044
2045 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2046
2047         * configure.in: Add AIX 4.3 support.
2048
2049         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
2050         standard was issued in 1992.
2051         Reported by Bruno Haible <haible@ilog.fr>.
2052
2053 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2054
2055         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
2056         SIGCLD als SIGCHLD.
2057
2058 1999-11-29  Andreas Jaeger  <aj@suse.de>
2059
2060         * manual/time.texi (Basic CPU Time): Better describe wrap around.
2061         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2062
2063 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
2064
2065         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
2066         Patch by Bruno Haible <haible@ilog.fr>.
2067
2068 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
2069
2070         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
2071
2072 1999-11-29  Andreas Schwab  <schwab@suse.de>
2073
2074         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
2075         __v to __bswap_32_v.
2076         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
2077         and __bswap_64_r to avoid clash with __bswap_32 macro.
2078
2079 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
2080
2081         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
2082         gconv-modules.
2083
2084 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
2085
2086         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
2087         patch.  Use wch instead of idx to compute index.
2088         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2089
2090         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
2091
2092         * locale/iso-3166.def: Update from latest official list.
2093
2094 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
2095
2096         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
2097         asm/ptrace.h, since this will not be done with 2.3.xx automatically
2098         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2099
2100 1999-11-26  Andreas Jaeger  <aj@suse.de>
2101
2102         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
2103
2104 1999-11-26  Andreas Jaeger  <aj@suse.de>
2105
2106         * inet/rcmd.c: Include stdlib for declaration of free.
2107         Declare iruserok.
2108
2109 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2110
2111         * iconv/gconv.c (__gconv): Always initialize
2112         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
2113
2114         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
2115         written bytes.
2116         * iconvdata/iso-2022-jp.c: Likewise.
2117
2118 1999-11-25  H.J. Lu  <hjl@gnu.org>
2119
2120         * stdlib/exit.c (exit): Run funtions only if
2121         __exit_funcs->idx > 0.
2122
2123 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2124
2125         * manual/charset.texi (iconv Examples): Add iconv call to flush
2126         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
2127
2128 1999-11-25  Andreas Jaeger  <aj@suse.de>
2129
2130         * manual/install.texi (Running make install): Better describe
2131         update from libc5.
2132         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2133
2134 1999-11-25  Andreas Jaeger  <aj@suse.de>
2135
2136         * include/sys/mman.h: Remove K&R compatibility.
2137
2138 1999-11-15  Andreas Jaeger  <aj@suse.de>
2139
2140         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
2141         use __off64_t.
2142
2143 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
2144
2145         * iconv/iconv_prog.c (process_block): For stateful charsets write
2146         out byte sequence to get to initial state at the end of the file.
2147
2148 1999-11-25  Andreas Schwab  <schwab@suse.de>
2149
2150         * Makeconfig: Include sys-dirs and sys-sorted earlier.
2151         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
2152         ($(common-objpfx)sysd-sorted): Emit marker when this file is
2153         complete.
2154
2155 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
2156
2157         * manual/setjmp.texi: Many changes to correct bad English introduced
2158         mainly by me.
2159         * manual/time.texi: Likewise.
2160         Patches by Neil Booth <neil@rosenet.ne.jp>.
2161
2162         * include/string.h: Remove K&R compatibility.
2163
2164 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
2165
2166         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
2167
2168         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
2169
2170         * string/stratcliff.c: Add one more strchr test for something
2171         which was reported to not work (which proofed to be wrong).
2172
2173         * iconv/skeleton.c: It's __is_last, not is_last.
2174
2175         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
2176         the UCS value.
2177         (allocate_arrays): Likewise.
2178         (find_idx): Correctly increase array size.
2179         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2180
2181 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
2182
2183         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
2184         is true.
2185
2186 1999-11-23  Andreas Jaeger  <aj@suse.de>
2187
2188         * include/sys/select.h: Remove K&R compatibility.
2189         * include/sys/statfs.h: Likewise.
2190         * include/gnu/libc-version.h: Likewise.
2191         * include/db_185.h: Likewise.
2192         * include/dlfcn.h: Likewise.
2193         * include/search.h: Likewise.
2194         * include/setjmp.h: Likewise.
2195         * include/signal.h: Likewise.
2196         * include/stdio.h: Likewise.
2197         * include/unistd.h: Likewise.
2198
2199 1999-11-23  Andreas Jaeger  <aj@suse.de>
2200
2201         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
2202         is only need in external header files that might be compiled by a
2203         C++ compiler.
2204         * include/alloca.h: Likewise.
2205         * include/db.h: Likewise.
2206         * include/dirent.h: Likewise.
2207         * include/execinfo.h: Likewise.
2208         * include/fpu_control.h: Likewise.
2209         * include/glob.h: Likewise.
2210         * include/grp.h: Likewise.
2211         * include/libintl.h: Likewise.
2212         * include/math.h: Likewise.
2213         * include/math.h: Likewise.
2214         * include/mntent.h: Likewise.
2215         * include/mntent.h: Likewise.
2216         * include/netdb.h: Likewise.
2217         * include/pwd.h: Likewise.
2218         * include/sched.h: Likewise.
2219         * include/shadow.h: Likewise.
2220         * include/stdlib.h: Likewise.
2221         * include/sys/file.h: Likewise.
2222         * include/sys/gmon.h: Likewise.
2223         * include/sys/ioctl.h: Likewise.
2224         * include/sys/socket.h: Likewise.
2225         * include/sys/stat.h: Likewise.
2226         * include/sys/sysinfo.h: Likewise.
2227         * include/sys/time.h: Likewise.
2228         * include/sys/times.h: Likewise.
2229         * include/sys/uio.h: Likewise.
2230         * include/sys/wait.h: Likewise.
2231         * include/termios.h: Likewise.
2232         * include/time.h: Likewise.
2233         * include/ulimit.h: Likewise.
2234         * include/utmp.h: Likewise.
2235         * include/wchar.h: Likewise.
2236
2237 1999-11-22  Andreas Jaeger  <aj@suse.de>
2238
2239         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
2240         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
2241         libc/1456+1457.
2242
2243 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
2244
2245         * sysdeps/generic/siglist.h: Avoid declaring the same field
2246         twice if SIGPWR is defined to SIGLOST.
2247         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
2248         not signed, so we should not special case it for negative args.
2249         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
2250         memmove, use the one provided in memcpy.S.
2251         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
2252         copies like memmove, while the previous version worked like memcpy.
2253         Implement optimized assembly memmove.
2254         * sysdeps/sparc/sparc64/memmove.c: New file.
2255
2256 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
2257
2258         * po/cs.po: Update from translators.
2259
2260 1999-11-23  Andreas Jaeger  <aj@suse.de>
2261
2262         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
2263         (elf_machine_got): Removed, not needed anymore.
2264         (ELF_MACHINE_RELOC_NOPLT): Removed.
2265         (ELF_MACHINE_JMP_SLOT): Added.
2266         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
2267         (_RTLD_EPILOGUE): Likewise.
2268         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
2269         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2270         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
2271         Ralf Baechle <baechle@uni-koblenz.de>.
2272
2273         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
2274
2275 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
2276
2277         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
2278         name from the locale name.  Only use the value in the LC_CTYPE
2279         locale data file.
2280
2281         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
2282         file be equal to file size.
2283
2284         * stdlib/longlong.h: Add count_trailing_zeros back.
2285
2286         * stdlib/longlong.h: Update from latest egcs version.
2287
2288 1999-11-22  Andreas Jaeger  <aj@suse.de>
2289
2290         * locale/programs/ld-collate.c (insert_value): Correct order of
2291         arguments for lr_error call.
2292
2293         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
2294         __syscall_setrlimit.
2295
2296         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
2297         for key_t.
2298         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2299
2300 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
2301
2302         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
2303         gcc version.
2304
2305         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
2306         14652-style definition of new maps and classes.
2307
2308 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
2309
2310         * locale/programs/ld-monetary.c (monetary_finish): Don't print
2311         individual error message if nothing is defined.
2312
2313         * locale/programs/ld-time.c (time_startup): Test for lr being
2314         nonzero, not time.
2315
2316         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
2317         decimal_point is not defined.
2318
2319         * wctype/wctrans.c (wctrans): Use correct base index to access
2320         extra mapping tables.
2321
2322         * locale/loadlocale.c (_nl_load_locale): Use actual number of
2323         entries from file and not the fixed (minimal number from the
2324         langinfo.h list.
2325
2326         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
2327         values in charmaps.
2328
2329 1999-11-18  Paul Eggert  <eggert@twinsun.com>
2330
2331         * time/strftime.c (my_strftime): Some old compilers object to
2332         '\a', so don't bother optimizing for it.
2333
2334 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
2335
2336         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
2337         the rlimits structure passed in.
2338
2339 1999-11-19  Andreas Jaeger  <aj@suse.de>
2340
2341         * include/sys/resource.h (__setrlimit): Add prototype.
2342
2343 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
2344
2345         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
2346         entries for rtld_search_dirs[0].
2347         Patch by David Mosberger <davidm@hpl.hp.com>.
2348
2349 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
2350
2351         * locale/programs/ld-ctype.c: Don't predefine the character
2352         classes and mappings of ISO 14652.
2353
2354         * locale/programs/ld-ctype.c: Punt if character class definitions
2355         to not consists of tok_bsymbol (for now).
2356
2357         * time/strptime.c (day_of_the_week): Make sure result is never
2358         negative.
2359         (strptime_internal): Allow %C without %y.
2360
2361 1999-11-18  Andreas Jaeger  <aj@suse.de>
2362
2363         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
2364         comments.
2365
2366         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
2367         of defining *_SUPER_MAGIC.
2368         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
2369
2370 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
2371
2372         * locale/programs/locale.c: Don't handle LC_ALL together with the
2373         other categories when printing the value.
2374         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2375
2376         * locale/locale.h: Correct comment about LC_ALL.
2377
2378 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
2379
2380         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
2381         nelems.  Correctly compute index for additional character classes.
2382         (ctype_read): Handle charclass and charconv definitions.  Also
2383         recognize arbitrary strings as mapping names.
2384         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
2385         character era strings.
2386         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
2387         and format for wide characters.
2388         * time/strftime.c: Correctly determine era information for wide
2389         wcsftime.
2390         * wctype/wctrans.c: Fix after removal of second endianess table.
2391         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
2392         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2393
2394         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
2395         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
2396
2397         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
2398         gregset_t, fpregset_t, and NGREG definitions.
2399
2400         * locale/programs/ld-ctype.c: Implement character width information
2401         handling.
2402
2403 1999-11-09  Andreas Jaeger  <aj@suse.de>
2404
2405         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
2406
2407         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
2408         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
2409
2410         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
2411
2412 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
2413
2414         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
2415
2416 1999-11-07  Andreas Jaeger  <aj@suse.de>
2417
2418         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
2419         defines from Linux scsi_ioctl.h header.
2420
2421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
2422         scsi_ioctl.h.
2423         * sysdeps/unix/sysv/linux/Dist: Likewise.
2424
2425         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
2426         pretty printed.
2427
2428         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
2429         sync with Linux 2.3.26.
2430
2431 1999-11-17  Andreas Jaeger  <aj@suse.de>
2432
2433         * shlib-versions: Allow mipsel for libm.
2434         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2435
2436 1999-11-16  Andreas Jaeger  <aj@suse.de>
2437
2438         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
2439
2440 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
2441
2442         * locale/programs/ld-ctype.c (set_class_defaults): Set default
2443         value for alpha and alnum correctly.
2444
2445         * locale/programs/ld-address.c (address_output): Fix output of
2446         country_num.
2447
2448 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
2449
2450         * timezone/asia: Update from tzdata1999j.
2451         * timezone/australasia: Likewise.
2452         * timezone/europe: Likewise.
2453         * timezone/northamerica: Likewise.
2454         * timezone/southamerica: Likewise.
2455         * timezone/zone.tab: Likewise.
2456
2457 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
2458
2459         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
2460         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2461         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2462         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
2463         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2464
2465 1999-11-15  Andreas Jaeger  <aj@suse.de>
2466
2467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2468         __syscall_setrlimit.
2469         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2470
2471 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
2472
2473         * scripts/versions.awk: Don't expect to read predecessor versions,
2474         compute them.
2475         * Versions.def: Remove predecessors.  They now get computed.
2476
2477 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
2478
2479         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
2480         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
2481         prototype.
2482         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
2483         * sysdeps/powerpc/stackinfo.h: New file.
2484         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
2485
2486 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
2487
2488         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
2489         GLIBC_2.1.3.
2490
2491 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
2492
2493         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
2494         hurd_directory_name_split.
2495         * Versions.def (libc): Add GLIBC_2.1.3.
2496
2497 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
2498
2499         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
2500         to return the location of the null byte written into the string.
2501         (describe_number): Likewise.
2502         (describe_number): Remove assert, not always used with #.
2503         If FLAVOR is null, don't use it.
2504         (describe_number): Take signed argument and print a - if negative.
2505         (_S_msg_report_wait): Report system call number for system calls that
2506         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
2507         matches SS->intr_port, bracket port description with [...] to indicate
2508         a Hurd interruptible RPC; if destination port is null, examine the
2509         receive port and report that state; if receive port is also null,
2510         check for timeout and report its value.
2511         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
2512         zero iff we managed to examine the stack; take new args RCV_NAME,
2513         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
2514
2515         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
2516         MACH_PORT_DEAD specially.
2517
2518 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2519
2520         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
2521         (__directory_name_split): New function.
2522         * hurd/hurd.h: Declare them.
2523         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
2524         __file_name_split, so we ignore trailing slashes properly.
2525         * sysdeps/mach/hurd/rename.c: Likewise.
2526
2527 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
2528
2529         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
2530         from current kernel headers.
2531
2532         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
2533         SO_PASSCRED defined.
2534
2535 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
2536
2537         * locale/C-ctype.c: Fix typo in char class name.
2538
2539         * configure.in: Allow user so specify --enable-kernel=current.
2540
2541 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
2542
2543         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
2544
2545         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
2546         i386 version.
2547         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2548         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2549         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2550         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2551
2552 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
2553
2554         * intl/locale.alias: Add Estonian entries.
2555         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
2556
2557 1999-11-02  Andreas Jaeger  <aj@suse.de>
2558
2559         * Versions.def: Add version GLIBC_2.2 for libm.
2560         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
2561         fedisableexcept.
2562         * sysdeps/generic/feenablxcpt.c: Stub file.
2563         * sysdeps/generic/fedisblxcpt.c: Stub file.
2564         * sysdeps/generic/fegetexcept.c: Stub file.
2565         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
2566         * sysdeps/i386/fpu/feenablxcpt.c: New file.
2567         * sysdeps/i386/fpu/fegetexcept.c: New file.
2568         * math/Makefile (libm-support): Add new files.
2569         * math/Versions: Add new functions with version GLIBC_2.2.
2570         * manual/arith.texi (Control Functions): Document fegetexcept,
2571         feenableexcept and fedisableexcept.
2572
2573 1999-11-01  Wolfram Gloger  <wg@malloc.de>
2574
2575         * malloc/malloc.h: Describe __malloc_initialize_hook.
2576         * manual/memory.texi: Document __malloc_initialize_hook.
2577
2578 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
2579
2580         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
2581
2582 1999-11-09  Andreas Jaeger  <aj@suse.de>
2583
2584         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2585         implementation for ttyname_r call; fix inverted condition; return
2586         ut_user.
2587         Closes PR libc/1438.
2588
2589 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
2590
2591         * math/fenv.h: Include bits/fenvinline.h if optimizing.
2592         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
2593         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
2594         * sysdeps/generic/bits/fenv.h: New file.
2595
2596 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
2597
2598         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
2599         printf call.
2600
2601 1999-11-10  Andreas Jaeger  <aj@suse.de>
2602
2603         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
2604
2605 1999-11-10  Andreas Jaeger  <aj@suse.de>
2606
2607         * string/strsignal.c (strsignal): Correct check for snprintf
2608         return value.
2609         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
2610
2611         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
2612         according to changed snprintf return value.
2613         Reported by Lawrence K. Chen <lchen@opentext.com>.
2614
2615         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
2616         for ecvt_r and fcvt_r.
2617
2618 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
2619
2620         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
2621         directory with the reference since this is as secure as using the
2622         object with the dependency.
2623         (_dl_dst_substitute): Likewise.
2624
2625         * elf/dl-load.c (_dl_dst_count): Change strings in first two
2626         strncmp calls to allow reuse.
2627         (_dl_dst_substitute): Likewise.
2628
2629 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
2630
2631         * posix/regex.c (init_syntax_once): move below definition of
2632         ISALNUM etc., then use ISALNUM to init the table, so that
2633         the word ops will work if i18n'ed.
2634         (SYNTAX): And subscript with 0xFF for 8bit character sets.
2635
2636 1999-11-09  Andreas Jaeger  <aj@suse.de>
2637
2638         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
2639         implementation for ttyname_r call; fix inverted condition; return
2640         ut_user.  Closes PR libc/1438.
2641
2642 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
2643
2644         * timezone/checktab.awk: Update from tzcode1999h.
2645         * timezone/africa: Update from tzdata1999i.
2646         * timezone/asia: Likewise.
2647         * timezone/australasia: Likewise.
2648         * timezone/backward: Likewise.
2649         * timezone/europe: Likewise.
2650         * timezone/northamerica: Likewise.
2651         * timezone/southamerica: Likewise.
2652         * timezone/iso3166.tab: Likewise.
2653         * timezone/zone.tab: Likewise.
2654
2655         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
2656         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
2657
2658 1999-11-09  Andreas Jaeger  <aj@suse.de>
2659
2660         * posix/Makefile (tests): Added tst-getlogin.
2661
2662         * posix/tst-getlogin.c: New file, contains simple tests for
2663         getlogin and getlogin_r.
2664
2665 1999-11-09  Andreas Schwab  <schwab@suse.de>
2666
2667         * misc/syslog.c: For LOG_PERROR only append a newline if
2668         necessary.
2669
2670 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
2671
2672         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
2673         definitions.
2674
2675 1999-11-08  Andreas Jaeger  <aj@suse.de>
2676
2677         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
2678         this fixes a memory leak (closes PR libc/1435).
2679
2680         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
2681         reflect memory allocation.
2682
2683         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
2684         allocation in _nl_explode_name.
2685
2686 1999-11-06  Andreas Jaeger  <aj@suse.de>
2687
2688         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
2689         to initialize it.
2690         Reported by wes@surety.com, closes PR libc/1432.
2691
2692 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
2693
2694         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
2695         enumerator lists (-pedantic complains).
2696         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
2697         test for 'one bit set'.
2698         (feclearexcept): Likewise.
2699
2700 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
2701
2702         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
2703
2704         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
2705         for kernel changes.
2706         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
2707         unsigned.
2708
2709 1999-10-04  Tim Waugh  <twaugh@redhat.com>
2710
2711         * posix/wordexp-test.c: More tests.
2712
2713         * posix/wordexp.c (wordexp): Explicit null words should be kept.
2714
2715 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2716
2717         * locale/programs/linereader.c (get_string): Correct type of buf2
2718         variable.
2719         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
2720         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
2721         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
2722         _NL_CTYPE_OUTDIGIT*_WC.
2723         (allocate_arrays): Completely initialize mapping tables.
2724         * locale/programs/ld-time.c (time_startup): We need the wide car
2725         string.
2726         (time_finish): Correct handling of era.
2727         (time_output): Fix a few array indeces.
2728         (time_read): Pass the repertoire map to lr_token.
2729
2730 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
2731
2732         * Versions.def: Add version for libthread_db.
2733
2734 1999-11-02  Andreas Jaeger  <aj@suse.de>
2735
2736         * manual/header.texi (Library Summary): The command @indexfonts
2737         doesn't exist anymore, use @smallfonts instead.
2738
2739 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
2740
2741         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
2742         instead of duplicating definitions.
2743
2744 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
2745
2746         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
2747         by the debugger.
2748         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
2749         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
2750         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2751         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2752         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
2753
2754 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
2755
2756         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
2757
2758         * sysdeps/unix/sysv/linux/kernel-features.h
2759         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
2760         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
2761
2762         * manual/texinfo.tex: Updated.
2763
2764 1999-11-01  Andreas Jaeger  <aj@suse.de>
2765
2766         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
2767
2768         * inet/gethstbynm2_r.c: Reorder addresses.
2769
2770 1999-09-11  Paul Eggert  <eggert@twinsun.com>
2771
2772         * posix/glob.h (glob): If #defining to glob64, do this before
2773         declaring it, so that all declarations and uses match, and do not
2774         declare glob64, to avoid a declaration clash.
2775         (globfree): Likewise with globfree64.
2776
2777 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
2778
2779         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
2780         Keep the trailing slash unless DIRNAME is just "x:/".
2781
2782 1999-10-11  Andreas Jaeger  <aj@suse.de>
2783
2784         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
2785         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2786         Closes PR libc/1384.
2787
2788 1999-10-20  Andreas Schwab  <schwab@suse.de>
2789
2790         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
2791         (generated): Add it here.
2792         (before-compile): Add libm-test.c.
2793         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
2794         libm-test.stmp.
2795         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
2796         $(objdir)/math/.
2797
2798 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
2799
2800         * Makefile (pdf): New goal.
2801         * manual/Makefile: Add definitions and rules for PDF generation.
2802
2803         * Versions.def (libm): Add GLIBC_2.1.3.
2804
2805         ISO C99 TR1 changes various fe* functions to return an error value.
2806         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
2807         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
2808         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
2809         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2810         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2811         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2812         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2813         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2814         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2815         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2816         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2817         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2818         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2819         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
2820         * sysdeps/generic/fclrexcpt.c: Likewise.
2821         * sysdeps/generic/fegetenv.c: Likewise.
2822         * sysdeps/generic/fesetenv.c: Likewise.
2823         * sysdeps/generic/feupdateenv.c: Likewise.
2824         * sysdeps/generic/fgetexcptflg.c: Likewise.
2825         * sysdeps/generic/fraiseexcpt.c: Likewise.
2826         * sysdeps/generic/fsetexcptflg.c: Likewise.
2827         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
2828         * sysdeps/i386/fpu/fegetenv.c: Likewise.
2829         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2830         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2831         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2832         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2833         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2834         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
2835         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
2836         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2837         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
2838         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
2839         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2840         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
2841         * sysdeps/mips/fclrexcpt.c: Likewise.
2842         * sysdeps/mips/fegetenv.c: Likewise.
2843         * sysdeps/mips/fesetenv.c: Likewise.
2844         * sysdeps/mips/feupdateenv.c: Likewise.
2845         * sysdeps/mips/fgetexcptflg.c: Likewise.
2846         * sysdeps/powerpc/fclrexcpt.c: Likewise.
2847         * sysdeps/powerpc/fegetenv.c: Likewise.
2848         * sysdeps/powerpc/fesetenv.c: Likewise.
2849         * sysdeps/powerpc/feupdateenv.c: Likewise.
2850         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
2851         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
2852         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
2853         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
2854         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2855         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2856         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2857         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2858         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2859         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2860         * math/fenv.h: Adjust prototypes.: Likewise.
2861         * manual/arith.texi: Adjust documentation for these changes.
2862
2863         * manual/arith.texi: Document feraiseexcept.
2864
2865         * sysdeps/powerpc/fegetenv.c: Moved to...
2866         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
2867         * sysdeps/powerpc/fegetround.c: Moved to...
2868         * sysdeps/powerpc/fpu/fegetround.c: ...here.
2869         * sysdeps/powerpc/feholdexcpt.c: Moved to...
2870         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
2871         * sysdeps/powerpc/fesetenv.c: Moved to...
2872         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
2873         * sysdeps/powerpc/fenv_libc.h: Moved to...
2874         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
2875         * sysdeps/powerpc/feupdateenv.c: Moved to...
2876         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
2877         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
2878         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
2879         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
2880         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
2881         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
2882         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
2883         * sysdeps/powerpc/ftestexcept.c: Moved to...
2884         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
2885         * sysdeps/powerpc/fesetround.c: Moved to...
2886         * sysdeps/powerpc/fpu/fesetround.c: ...here
2887         * sysdeps/powerpc/fenv_const.c: Moved to...
2888         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
2889
2890         * sysdeps/mips/fclrexcpt.c: Moved to...
2891         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
2892         * sysdeps/mips/fegetenv.c: Moved to...
2893         * sysdeps/mips/fpu/fegetenv.c: ...here.
2894         * sysdeps/mips/fegetround.c: Moved to...
2895         * sysdeps/mips/fpu/fegetround.c: ...here.
2896         * sysdeps/mips/fesetenv.c: Moved to...
2897         * sysdeps/mips/fpu/fesetenv.c: ...here.
2898         * sysdeps/mips/fesetround.c: Moved to...
2899         * sysdeps/mips/fpu/fesetround.c: ...here.
2900         * sysdeps/mips/feupdateenv.c: Moved to...
2901         * sysdeps/mips/fpu/feupdateenv.c: ...here.
2902         * sysdeps/mips/fgetexcptflg.c: Moved to...
2903         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
2904         * sysdeps/mips/ftestexcept.c: Moved to...
2905         * sysdeps/mips/fpu/ftestexcept.c: ...here.
2906
2907 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
2908
2909         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
2910         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
2911         libraries from statically linked programs.
2912         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
2913         fix for sigaction on SPARC.
2914         Patches by David S. Miller <davem@redhat.com>.
2915
2916         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
2917         gregset_t and other required structures and defines for SPARC 64bit
2918         ABI as well, not only 32bit ABI.
2919
2920 1999-10-31  Andreas Jaeger  <aj@suse.de>
2921
2922         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
2923         by __USE_ISOC99 and update comments.
2924
2925         * math/complex.h: Update comments for ISO C99.
2926         * math/fenv.h: Likewise.
2927         * math/test-fenv.c: Likewise.
2928         * math/tgmath.h: Likewise.
2929         * libio/stdio.h: Likewise.
2930         * posix/sys/types.h: Likewise.
2931         * sysdeps/generic/inttypes.h: Likewise.
2932         * sysdeps/generic/stdint.h: Likewise.
2933
2934 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
2935
2936         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
2937
2938         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
2939         recognize _ISOC99_SOURCE.
2940         * libio/stdio.h: Likewise.
2941         * math/math.h: Likewise.
2942         * math/bits/mathcalls.h: Likewise.
2943         * math/stdio.h: Likewise.
2944         * stdlib/stdlib.h: Likewise.
2945         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2946         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2947         * sysdeps/arm/bits/huge_val.h: Likewise.
2948         * sysdeps/generic/bits/mathdef.h: Likewise.
2949         * sysdeps/i386/bits/huge_val.h: Likewise.
2950         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2951         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2952         * sysdeps/ieee754/bits/huge_val.h: Likewise.
2953         * sysdeps/m68k/bits/huge_val.h: Likewise.
2954         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2955         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2956         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2957         * sysdeps/powerpc/bits/mathinline.h: Likewise.
2958         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
2959         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2960         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
2961         * wcsmbs/wchar.h: Likewise.
2962
2963         * sysdeps/powerpc/bits/mathdef.h: Moved to...
2964         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
2965         * sysdeps/powerpc/bits/mathinline.h: Moved to...
2966         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
2967         * sysdeps/powerpc/bits/fenv.h: Moved to...
2968         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
2969
2970 1999-10-31  Andreas Jaeger  <aj@suse.de>
2971
2972         * manual/math.texi (Errors in Math Functions): Correct TeX code.
2973
2974 1999-10-31  Andreas Jaeger  <aj@suse.de>
2975
2976         * math/libm-test.inc:  Change comments to use ISO C99 instead of
2977         ISO C9x.
2978         * math/w_lgamma.c: Likewise.
2979         * math/w_lgammaf.c: Likewise.
2980         * math/w_lgammal.c: Likewise.
2981         * math/test-fenv.c: Likewise.
2982         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2983         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2984         * sysdeps/generic/printf_fphex.c: Likewise.
2985
2986 1999-10-31  Andreas Jaeger  <aj@suse.de>
2987
2988         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
2989
2990         * manual/math.texi: Change ISO C9x to ISO C99.
2991         * manual/startup.texi: Likewise.
2992         * manual/stdio.texi: Likewise.
2993
2994 1999-10-31  Andreas Jaeger  <aj@suse.de>
2995
2996         * manual/arith.texi: Change ISO C9x to ISO C99.
2997         * manual/time.texi (Low-Level Time String Parsing): Likewise.
2998
2999 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
3000
3001         * socket/Makefile (distribute): Add ifreq.h.
3002
3003         * manual/time.texi (Formatting Date and Time): Revise comments about
3004         origins of the formats with ISO C99 references.
3005
3006 1999-10-30  Andreas Jaeger  <aj@suse.de>
3007
3008         * sysdeps/unix/sysv/linux/ifreq.h: New file.
3009
3010 1999-10-29  Andreas Jaeger  <aj@suse.de>
3011
3012         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
3013         input format; mention that strtof and strtold are part of ISO C99.
3014
3015 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3016
3017         * manual/math.texi (Errors in Math Functions): New section.
3018         * math/libm-err-tab.pl: Moved to...
3019         * manual/libm-err-tab.pl: ...here.
3020         * manual/Makefile: Add rules for math function error table generation.
3021
3022         * stdlib/tst-strtod.c: Add more hexadecimal tests.
3023
3024         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
3025         != 1 correctly and more than one digit before decimal point..
3026
3027 1999-10-27  Andreas Jaeger  <aj@suse.de>
3028
3029         * sysdeps/generic/ifreq.h: New file.
3030
3031         * resolv/res_hconf.c: Add missing includes to get all prototypes.
3032         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
3033         Reported by John DiMarco <jdd@cs.toronto.edu>.
3034
3035         (_res_hconf_reorder_addrs): Made thread safe.
3036         (free_mem): New function, needed for malloc debugging.
3037
3038 1999-10-29  Andreas Jaeger  <aj@suse.de>
3039
3040         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
3041         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
3042         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
3043         opensock to use __opensock.
3044
3045         * socket/Makefile (routines): Add opensock.
3046
3047         * include/sys/socket.h (__opensock): Add prototype declaration.
3048
3049 1999-10-29  Andreas Jaeger  <aj@suse.de>
3050
3051         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
3052         N_* constants.
3053         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3054
3055         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
3056         new constant from Linux 2.3.25pre1.
3057
3058         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
3059
3060 1999-10-29  Andreas Jaeger  <aj@suse.de>
3061
3062         * math/libm-err-tab.pl: New file to generate a table of
3063         libm-test-ulps values.
3064
3065 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
3066
3067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
3068         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
3069         struct sigcontext* object as second parameter for profil_counter.
3070         Patches by Jakub Jelinek <jakub@redhat.com>.
3071
3072 1999-10-29  Andreas Jaeger  <aj@suse.de>
3073
3074         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
3075         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
3076
3077         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
3078         efs, qnx4 and reiser file systems.
3079
3080 1999-10-29  Andreas Jaeger  <aj@suse.de>
3081
3082         * locale/Makefile (others): Set to localedef and locale for make
3083         clean.
3084
3085         * debug/Makefile (generated): Add xtrace for make clean to work.
3086
3087 1999-10-29  Andreas Jaeger  <aj@suse.de>
3088
3089         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
3090
3091 1999-10-25  Andreas Jaeger  <aj@suse.de>
3092
3093         * math/libm-test.inc: Added code to ignore the given max ulps.
3094         (print_max_error): Check for ignore_max_ulp.
3095         (check_float_internal): Likewise.
3096         (parse_opt): Parse --ignore-max-ulp.
3097         (main): Initialize ignore_max_ulp.
3098
3099 1999-10-26  Andreas Jaeger  <aj@suse.de>
3100
3101         * stdlib/msort.c: Include <alloca.h> for prototype.
3102         Remove K&R compatibility and _quicksort prototype.
3103
3104         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
3105         some comments.
3106         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
3107         Remove K&R compatibility.
3108         Move prototype declaration to include/stdlib.h.
3109         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
3110
3111         * include/stdlib.h: Prototype declaration for _quicksort.
3112
3113 1999-10-27  Andreas Jaeger  <aj@suse.de>
3114
3115         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
3116         shifted a bit too much.
3117         Reported by Eugen Dedu <dedu@ese-metz.fr>.
3118
3119 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3120
3121         * resolv/gethnamaddr.c: Account bytes needed for alignment in
3122         buflen.  Patch by Olaf Kirch <okir@lst.de>.
3123
3124         * md5-crypt/md5test.c: Correct names of MD5 functions after
3125         removing of public names.
3126
3127         * configure.in: Don't allow --enable-kernel without parameter.
3128
3129 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
3130
3131         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
3132         problems.
3133
3134 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
3135
3136         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
3137         only used internally.
3138         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
3139         remove weak alias for public names.
3140         * md5-crypt/md5.c: Remove weak aliase.
3141
3142 1999-10-25  Andreas Jaeger  <aj@suse.de>
3143
3144         * math/README.libm-test: New file, documents libm-test.inc.
3145
3146 1999-10-25  Andreas Jaeger  <aj@suse.de>
3147
3148         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
3149         given.
3150         (print_ulps_file): Fix loops to not read @tests and @functions
3151         since those are not initialized with -n now.
3152         (parse_ulps): Set $results{..}{"kind"}.
3153
3154 1999-10-25  Andreas Jaeger  <aj@suse.de>
3155
3156         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
3157
3158         * math/libm-test.inc (check_float_internal): Don't print ulps for
3159         wrong sign of zero.
3160
3161 1999-10-20  Andreas Jaeger  <aj@suse.de>
3162
3163         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
3164         versus AF_LOCAL.
3165         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
3166
3167 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
3168
3169         * math/libm-test.inc: Disable some boundary case tests for inline
3170         function testing.
3171
3172         * math/math.h: Pretty printing.
3173
3174         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
3175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3176         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3177         * sysdeps/i386/fpu/e_log10.S: Likewise.
3178         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3179         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3180         * sysdeps/i386/fpu/s_log1p.S: Likewise.
3181         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3182         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3183         * sysdeps/i386/fpu/s_log2.S: Likewise.
3184         * sysdeps/i386/fpu/s_log2f.S: Likewise.
3185         * sysdeps/i386/fpu/s_log2l.S: Likewise.
3186
3187         * sysdeps/i386/fpu/libm-test-ulps: New file.
3188
3189         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
3190         value for x == 0.
3191         (pow): Correct case x == 0.
3192         (__sgn1l): Correct handling of -0.0.
3193
3194 1999-10-22  Andreas Jaeger  <aj@suse.de>
3195
3196         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
3197         (atan_test): Likewise.
3198         (atanh_test): Likewise.
3199         (atan2_test): Likewise.
3200         (carg_test): Likewise.
3201         (ceil_test): Likewise.
3202         (cos_test): Likewise.
3203         (cosh_test): Likewise.
3204         (cpow_test): Likewise.
3205         (erf_test): Likewise.
3206         (erfc_test): Likewise.
3207         (exp_test): Likewise.
3208         (exp10_test): Likewise.
3209         (exp2_test): Likewise.
3210         (expm1_test): Likewise.
3211         (fabs_test): Likewise.
3212         (floor_test): Likewise.
3213         (fmod_test): Likewise.
3214         (gamma_test): Likewise.
3215         (lgamma_test): Likewise.
3216         (log10_test): Likewise.
3217         (log1p_test): Likewise.
3218         (log2_test): Likewise.
3219         (logb_test): Likewise.
3220         (nearbyint_test): Likewise.
3221         (remainder_test): Likewise.
3222         (remquo_test): Likewise.
3223         (sin_test): Likewise.
3224         (sincos_test): Likewise.
3225         (sinh_test): Likewise.
3226         (sqrt_test): Likewise.
3227         (tan_test): Likewise.
3228         (tanh_test): Likewise.
3229         (tgamma_test): Likewise.
3230
3231 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
3232
3233         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
3234
3235         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
3236
3237         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
3238         for -Inf and return NaN.
3239
3240         * configure.in: Correct test for Cygnus gcc versions.
3241
3242 1999-10-21  Andreas Jaeger  <aj@suse.de>
3243
3244         * math/libm-test.inc (cimag_test): New function, tests cimag.
3245         (creal_test): New function, tests creal.
3246         (conj_test): New function, tests conj.
3247         (main): Add new functions.
3248
3249 1999-10-20  Andreas Jaeger  <aj@suse.de>
3250
3251         * math/libm-test.inc: Rewrite to allow different deltas for real
3252         and imaginary part of complex functions.
3253         * math/gen-libm-test.pl: Likewise.
3254
3255 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
3256
3257         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
3258         aliases.
3259
3260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
3261
3262         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
3263         for -Inf and return NaN.
3264
3265         * math/gen-libm-test.pl: Fix program name in help message.
3266
3267         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
3268
3269         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
3270
3271         * sysdeps/i386/Implies: Correct order of libm directories.
3272
3273 1999-10-19  Andreas Jaeger  <aj@suse.de>
3274
3275         * include/bits/ipc.h: Remove K&R compatibility.
3276         * include/libintl.h: Likewise.
3277         * include/math.h: Likewise.
3278         * include/mntent.h: Likewise
3279         * include/netdb.h: Likewise.
3280         * include/pwd.h: Likewise.
3281         * include/sched.h: Likewise.
3282         * include/shadow.h: Likewise
3283         * include/stdlib.h: Likewise.
3284         * include/sys/file.h: Likewise.
3285         * include/sys/gmon.h: Likewise.
3286         * include/sys/ioctl.h: Likewise.
3287         * include/sys/mman.h: Likewise.
3288         * include/sys/resource.h: Likewise.
3289         * include/sys/socket.h: Likewise.
3290         * include/sys/stat.h: Likewise.
3291         * include/sys/sysinfo.h: Likewise.
3292         * include/sys/time.h: Likewise.
3293         * include/sys/times.h: Likewise.
3294         * include/sys/uio.h: Likewise.
3295         * include/sys/wait.h: Likewise.
3296         * include/termios.h: Likewise.
3297         * include/time.h: Likewise.
3298         * include/ulimit.h: Likewise.
3299         * include/utmp.h: Likewise.
3300         * include/wchar.h: Likewise.
3301         * include/wctype.h: Likewise.
3302
3303 1999-10-19  Andreas Jaeger  <aj@suse.de>
3304
3305         * math/libm-test.inc: Remove one K&R compatibility.
3306         (main): Enable nexttoward_test.
3307
3308         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
3309         libm-test-ulps.h; pretty print output a bit.
3310
3311 1999-10-19  Andreas Jaeger  <aj@suse.de>
3312
3313         * iconv/iconv_prog.c (main): Set exit value in case that reading
3314         from stdin failed [PR libc/1404].
3315
3316 1999-10-18  Andreas Jaeger  <aj@suse.de>
3317
3318         Added improved math testsuite:
3319         * math/libm-test.inc: New file, contains all tests from
3320         libm-test.c but in a different form.
3321         * math/libm-test.c: Removed.
3322         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
3323         * math/gen-libm-test.pl: New file: Preprocessor.
3324         * math/test-double.c: Adopted to new testsuite.
3325         * math/test-idouble.c: Likewise.
3326         * math/test-float.c: Likewise.
3327         * math/test-ifloat.c: Likewise.
3328         * math/test-ldouble.c: Likewise.
3329         * math/test-ildoubl.c: Likewise.
3330         * math/Makefile: Added rules to generate new suite.
3331
3332 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
3333
3334         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
3335         Patch by J. Richard Sladkey <jrs@world.std.com>.
3336
3337         * scripts/config.sub: Update from latest autoconf version.
3338         * scripts/config.guess: Likewise.
3339
3340 1999-10-18  Andreas Jaeger  <aj@suse.de>
3341
3342         * inet/arpa/inet.h: Remove K&R compatibility.
3343         * math/fenv.h: Likewise.
3344
3345 1999-10-18  Andreas Jaeger  <aj@suse.de>
3346
3347         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3348         kernel_sigaction): Remove K&R compatibility.
3349         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
3350         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3351         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
3352         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
3353         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
3354         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
3355         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3356         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
3357         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3358         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3359         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
3360         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3361         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
3362         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3363         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3364         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3365         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
3366
3367 1999-10-18  Andreas Jaeger  <aj@suse.de>
3368
3369         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
3370         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
3371
3372 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
3373
3374         * po/gl.po: New file.
3375
3376 1999-10-18  Andreas Schwab  <schwab@suse.de>
3377
3378         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
3379         namespace selection.
3380
3381 1999-10-18  Andreas Schwab  <schwab@suse.de>
3382
3383         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
3384         clash with the TERM environment variable.
3385
3386 1999-10-18  Andreas Jaeger  <aj@suse.de>
3387
3388         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
3389         returns now NaN + i NaN.
3390         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
3391         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
3392
3393 1999-10-18  Andreas Jaeger  <aj@suse.de>
3394
3395         * include/aio.h: Remove K&R compatiblity.
3396         * include/alloca.h: Likewise.
3397         * include/db.h: Likewise.
3398         * include/dirent.h: Likewise.
3399         * include/fcntl.h: Likewise.
3400         * include/fpu_control.h: Likewise.
3401         * include/glob.h: Likewise.
3402         * include/grp.h: Likewise.
3403         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
3404         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3405         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3406         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3407
3408         * include/execinfo.h: Add __THROW.
3409
3410 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
3411
3412         * sysdeps/mips/Implies: Remove wordsize-32 reference.
3413         * sysdeps/mips/mips3/Implies: Add it here.
3414
3415 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
3416
3417         * elf/elf.h: Add various platform and architecture extensions.
3418
3419         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
3420         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
3421         LC_ALL.
3422
3423         * socket/sys/socket.h: Remove K&R compatibility.
3424
3425 1999-10-16  Andreas Jaeger  <aj@suse.de>
3426
3427         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
3428
3429 1999-10-15  Andreas Jaeger  <aj@suse.de>
3430
3431         * stdlib/Makefile (tests): Added tst-xpg-basename.
3432
3433         * stdlib/tst-xpg-basename.c: New test file.
3434
3435 1999-10-14  Cristian Gafton  <gafton@redhat.com>
3436
3437         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
3438
3439 1999-10-14  Andreas Jaeger  <aj@suse.de>
3440
3441         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
3442         endian version works for both endiannesses.
3443
3444         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
3445         seconds.
3446
3447 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
3448
3449         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
3450         register names unconditionally, only if __USE_GNU.
3451
3452         * debug/Makefile: Fix rules to generate pcprofiledump.
3453
3454         * include/ucontext.h: New file.
3455
3456         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
3457
3458 1999-10-12  Andreas Jaeger  <aj@suse.de>
3459
3460         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
3461
3462         * math/basic-test.c: Fix typo.
3463
3464         * locale/programs/xstrdup.c: Include string.h for glibc
3465         compilation to get string prototypes.
3466
3467         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
3468         gregset_t and fpregset_t.
3469
3470         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
3471         warnings.  Correct value for x == 0.
3472
3473         * argp/argp-help.c: Remove broken definition of flockfile and
3474         funlockfile.
3475
3476 1999-10-12  Andreas Schwab  <schwab@suse.de>
3477
3478         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
3479         generic Linux version.
3480
3481 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
3482
3483         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
3484
3485 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
3486
3487         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
3488         and fpregset_t definitions.
3489
3490         * malloc/memprof.c (GETSP): Define for PowerPC.
3491         (GETTIME): Fix generic version.
3492
3493 1999-10-10  Philip Blundell  <philb@gnu.org>
3494
3495         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
3496         __BYTE_ORDER.
3497
3498 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
3499
3500         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
3501         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3502         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
3503         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
3504
3505         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
3506
3507         * sysdeps/powerpc/e_sqrt.c: Moved to...
3508         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
3509         * sysdeps/powerpc/e_sqrtf.c: Moved to...
3510         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
3511
3512         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
3513         * sysdeps/powerpc/sub_n.S: Likewise.
3514         * sysdeps/powerpc/strlen.S: Likewise.
3515         * sysdeps/powerpc/strcpy.S: Likewise.
3516         * sysdeps/powerpc/strcmp.S: Likewise.
3517         * sysdeps/powerpc/strchr.S: Likewise.
3518         * sysdeps/powerpc/stpcpy.S: Likewise.
3519         * sysdeps/powerpc/setjmp.S: Likewise.
3520         * sysdeps/powerpc/rshift.S: Likewise.
3521         * sysdeps/powerpc/ppc-mcount.S: Likewise.
3522         * sysdeps/powerpc/mul_1.S: Likewise.
3523         * sysdeps/powerpc/memset.S: Likewise.
3524         * sysdeps/powerpc/lshift.S: Likewise.
3525         * sysdeps/powerpc/dl-start.S: Likewise.
3526         * sysdeps/powerpc/bzero.S: Likewise.
3527         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3528         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3529         * sysdeps/powerpc/addmul_1.S: Likewise.
3530         * sysdeps/powerpc/add_n.S: Likewise.
3531         * sysdeps/powerpc/__longjmp.S: Likewise.
3532         * sysdeps/powerpc/elf/start.S: Likewise.
3533
3534 1999-10-11  Cristian Gafton  <gafton@redhat.com>
3535
3536         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
3537         SA_SIGINFO.
3538
3539 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
3540
3541         * stdlib/atexit.c (initial): New variable.  Use to initialize
3542         __exit_funcs.
3543         * stdlib/exit.c (exit): Beware to not free statically allocated
3544         list element [PR libc/1305].
3545
3546         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
3547         slash before the basename [PR libc/1383].
3548
3549         * argp/argp.h: Fix typo in last patch.
3550
3551         * sysdeps/powerpc/sysdep.h: New file.
3552         * sysdeps/unix/powerpc/sysdep.h: New file.
3553         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
3554         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
3555         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
3556         instead of bare numbers.
3557         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
3558         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3559         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3560
3561         * sysdeps/hppa/sysdep.h: New file.
3562
3563 1999-10-10  Andreas Jaeger  <aj@suse.de>
3564
3565         * misc/sgtty.h: Fix typo in last patch.
3566
3567 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
3568
3569         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
3570         * sysdeps/powerpc/s_copysign.S: Move to...
3571         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
3572         * sysdeps/powerpc/s_copysignf.S: Move to...
3573         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
3574         * sysdeps/powerpc/s_fabs.S: Move to...
3575         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
3576         * sysdeps/powerpc/s_fabsf.S: Move to...
3577         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
3578         * sysdeps/powerpc/s_fdim.c: Move to...
3579         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
3580         * sysdeps/powerpc/s_fdimf.c: Move to...
3581         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
3582         * sysdeps/powerpc/s_fmax.S: Move to...
3583         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
3584         * sysdeps/powerpc/s_fmaxf.S: Move to...
3585         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
3586         * sysdeps/powerpc/s_fmin.S: Move to...
3587         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
3588         * sysdeps/powerpc/s_fminf.S: Move to...
3589         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
3590         * sysdeps/powerpc/s_isnan.S: Move to...
3591         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
3592         * sysdeps/powerpc/s_isnanf.S: Move to...
3593         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
3594         * sysdeps/powerpc/s_llrint.c: Move to...
3595         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
3596         * sysdeps/powerpc/s_llrintf.c: Move to...
3597         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
3598         * sysdeps/powerpc/s_llround.c: Move to...
3599         * sysdeps/powerpc/fpu/s_llround.c: ...here.
3600         * sysdeps/powerpc/s_llroundf.c: Move to...
3601         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
3602         * sysdeps/powerpc/s_lrint.c: Move to...
3603         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
3604         * sysdeps/powerpc/s_lrintf.S: Move to...
3605         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
3606         * sysdeps/powerpc/s_lround.c: Move to...
3607         * sysdeps/powerpc/fpu/s_lround.c: ...here.
3608         * sysdeps/powerpc/s_lroundf.c: Move to...
3609         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
3610         * sysdeps/powerpc/s_rint.c: Move to...
3611         * sysdeps/powerpc/fpu/s_rint.c: ...here.
3612         * sysdeps/powerpc/s_rintf.c: Move to...
3613         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
3614         * sysdeps/powerpc/t_sqrt.c: Move to...
3615         * sysdeps/powerpc/fpu/t_sqrt: ...here.
3616         * sysdeps/powerpc/w_sqrt.c: Move to...
3617         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
3618         * sysdeps/powerpc/w_sqrtf.c: Move to...
3619         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
3620         * configure.in: Support platforms which have no .text pseudo-op.
3621         Patches partly by Jimi X <jimix@pobox.com>.
3622
3623         * Makeconfig: Look also in all subdirs for shlib-versions files.
3624
3625         * malloc/memprof.sh: Fix --help string a bit.
3626
3627         * argp/argp.h: Remove K&R compatiblity.
3628         * assert/assert.h: Likewise.
3629         * catgets/nl_types.h: Likewise.
3630         * ctype/ctype.h: Likewise.
3631         * db/db.h: Likewise.
3632         * db/ndbm.h: Likewise.
3633         * db2/db.h: Likewise.
3634         * db2/db_185.h: Likewise.
3635         * debug/execinfo.h: Likewise.
3636         * dirent/dirent.h: Likewise.
3637         * dlfcn/dlfcn.h: Likewise.
3638         * gmon/sys/gmon.h: Likewise.
3639         * grp/grp.h: Likewise.
3640         * iconv/gconv.h: Likewise.
3641         * iconv/iconv.h: Likewise.
3642         * include/execinfo.h: Likewise.
3643         * inet/aliases.h: Likewise.
3644         * inet/netinet/ether.h: Likewise.
3645         * inet/netinet/in.h: Likewise.
3646         * intl/libintl.h: Likewise.
3647         * io/fcntl.h: Likewise.
3648         * io/fts.h: Likewise.
3649         * io/ftw.h: Likewise.
3650         * io/utime.h: Likewise.
3651         * io/sys/poll.h: Likewise.
3652         * io/sys/stat.h: Likewise.
3653         * io/sys/statfs.h: Likewise.
3654         * io/sys/statvfs.h: Likewise.
3655         * libio/libio.h: Likewise.
3656         * libio/stdio.h: Likewise.
3657         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
3658         * locale/locale.h: Likewise.
3659         * login/pty.h: Likewise.
3660         * login/utmp.h: Likewise.
3661         * malloc/mcheck.h: Likewise.
3662         * math/complex.h: Likewise.
3663         * math/math.h: Likewise.
3664         * math/math_private.h: Likewise.
3665         * misc/err.h: Likewise.
3666         * misc/fstab.h: Likewise.
3667         * misc/libgen.h: Likewise.
3668         * misc/mntent.h: Likewise.
3669         * misc/regexp.h: Likewise.
3670         * misc/search.h: Likewise.
3671         * misc/sgtty.h: Likewise.
3672         * misc/ttyent.h: Likewise.
3673         * misc/sys/cdefs.h: Likewise.
3674         * misc/sys/file.h: Likewise.
3675         * misc/sys/ioctl.h: Likewise.
3676         * misc/sys/mman.h: Likewise.
3677         * misc/sys/select.h: Likewise.
3678         * misc/sys/syslog.h: Likewise.
3679         * misc/sys/uio.h: Likewise.
3680         * misc/sys/ustat.h: Likewise.
3681         * nss/nss.h: Likewise.
3682         * posix/sched.h: Likewise.
3683         * posix/unistd.h: Likewise.
3684         * posix/wordexp.h: Likewise.
3685         * posix/sys/times.h: Likewise.
3686         * posix/sys/utsname.h: Likewise.
3687         * posix/sys/wait.h: Likewise.
3688         * pwd/pwd.h: Likewise.
3689         * resolv/netdb.h: Likewise.
3690         * resolv/resolv.h: Likewise.
3691         * resource/ulimit.h: Likewise.
3692         * resource/sys/resource.h: Likewise.
3693         * resource/sys/vlimit.h: Likewise.
3694         * resource/sys/vtimes.h: Likewise.
3695         * rt/aio.h: Likewise.
3696         * setjmp/setjmp.h: Likewise.
3697         * shadow/shadow.h: Likewise.
3698         * signal/signal.h: Likewise.
3699         * socket/socket.h: Likewise.
3700         * stdio/stdio.h: Likewise.
3701         * stdio-common/_itoa.h: Likewise.
3702         * stdio-common/_itowa.h: Likewise.
3703         * stdio-common/printf.h: Likewise.
3704         * stdlib/alloca.h: Likewise.
3705         * stdlib/fmtmsg.h: Likewise.
3706         * stdlib/monetary.h: Likewise.
3707         * stdlib/stdlib.h: Likewise.
3708         * stdlib/ucontext.h: Likewise.
3709         * streams/stropts.h: Likewise.
3710         * string/argz.h: Likewise.
3711         * string/envz.h: Likewise.
3712         * string/string.h: Likewise.
3713         * string/strings.h: Likewise.
3714         * string/bits/string2.h: Likewise.
3715         * sunrpc/rpc/auth.h: Likewise.
3716         * sunrpc/rpc/auth_des.h: Likewise.
3717         * sunrpc/rpc/auth_unix.h: Likewise.
3718         * sunrpc/rpc/clnt.h: Likewise.
3719         * sunrpc/rpc/des_crypt.h: Likewise.
3720         * sunrpc/rpc/netdb.h: Likewise.
3721         * sunrpc/rpc/pmap_clnt.h: Likewise.
3722         * sunrpc/rpc/pmap_prot.h: Likewise.
3723         * sunrpc/rpc/pmap_rmt.h: Likewise.
3724         * sunrpc/rpc/rpc_msg.h: Likewise.
3725         * sunrpc/rpc/svc.h: Likewise.
3726         * sunrpc/rpc/svc_auth.h: Likewise.
3727         * sunrpc/rpc/xdr.h: Likewise.
3728         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
3729         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3730         * sysvipc/sys/ipc.h: Likewise.
3731         * sysvipc/sys/msg.h: Likewise.
3732         * sysvipc/sys/sem.h: Likewise.
3733         * sysvipc/sys/shm.h: Likewise.
3734         * termios/termios.h: Likewise.
3735         * time/time.h: Likewise.
3736         * time/sys/time.h: Likewise.
3737         * time/sys/timeb.h: Likewise.
3738         * wcsmbs/wchar.h: Likewise.
3739         * wctype/wctype.h: Likewise.
3740
3741 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
3742
3743         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
3744         _GNU_SOURCE be defined.
3745
3746 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
3747
3748         * ctype/ctype.h: Pretty print.
3749
3750         * po/cs.po: Fix typos.
3751
3752         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
3753         handling of empty entries.  [PR libc/1345]
3754         Patch by Thorsten Kukuk <kukuk@suse.de>.
3755
3756 1999-10-08  Andreas Schwab  <schwab@suse.de>
3757
3758         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
3759
3760 1999-10-08  Andreas Schwab  <schwab@suse.de>
3761
3762         * debug/pcprofiledump.c: Fix typos.
3763
3764 1999-10-07  Andreas Jaeger  <aj@suse.de>
3765
3766         * math/Makefile (tests): Added basic-tests.
3767
3768         * math/basic-test.c: New file.  Contains function basic_tests from
3769         libm-test.
3770
3771 1999-10-07  Andreas Schwab  <schwab@suse.de>
3772
3773         * malloc/memprof.sh: Fix quoting bugs.
3774
3775 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
3776
3777         * timezone/europe: Update from tzdata1999h.
3778
3779 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
3780
3781         * elf/elf.h: Update from last gABI draft.
3782
3783         * elf/elf.h: Remove EM_486 entry.
3784         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
3785         test for EM_486.
3786
3787 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
3788
3789         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
3790         Add rules for both programs.
3791         * debug/pcprofiledump.c: New file.
3792         * debug/xtrace.sh: New file.
3793         * debug/pcprofile.c: Allow creating output file.  Add magic signature
3794         to let reader recognize file format.
3795
3796 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
3797
3798         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
3799
3800 1999-10-05  Andreas Jaeger  <aj@suse.de>
3801
3802         * locale/programs/ld-identification.c: Fix typo in comment.
3803         * locale/programs/ld-messages.c: Likewise.
3804         * locale/programs/ld-monetary.c: Likewise.
3805         * locale/programs/ld-name.c: Likewise.
3806
3807         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
3808         (collate_read): Remove unnecessary comparisons with ignore_content.
3809
3810         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
3811         assigned elements.
3812         (ctype_read): Remove unnecessary comparisons with ignore_content.
3813         Fix typos in comments.
3814
3815         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
3816         comparisons with ignore_content.
3817
3818 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
3819
3820         * po/cs.po: Update.
3821
3822         * time/time.h: Move __gmtime_r declaration to ...
3823         * include/time.h: ...here.
3824
3825 1999-10-05  Andreas Jaeger  <aj@suse.de>
3826
3827         * manual/message.texi (The message catalog files): Fix description
3828         to match gencat implementation and Unix98: Message fields are
3829         separated by a single blank space.
3830
3831 1999-10-05  Andreas Jaeger  <aj@suse.de>
3832
3833         * manual/string.texi (Search Functions): Add missing end for
3834         memrchr description.
3835
3836 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3837
3838         * malloc/memprof.sh: Various small cleanups.  Add short options.
3839         Write error messages to stderr.
3840
3841         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
3842
3843         * malloc/memprof.sh: Take options to control memprofstat.
3844
3845         * malloc/Makefile: Add rule to generate memprof script.
3846         * malloc/memprof.sh: New file.
3847
3848         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
3849         GNU standard.
3850
3851 1999-10-04  Andreas Jaeger  <aj@suse.de>
3852
3853         * configure.in: Allow makeinfo 4.*.
3854
3855 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3856
3857         * stdio-common/vfprintf.c: Correct last patch and use outchar
3858         instead of PUTC to output single characters.
3859         * stdio-common/Makefile (tests): Add bug13.
3860         * stdio-common/bug13.c: New file.
3861
3862         * configure.in: Add additional options --with-gd-include and
3863         --with-gd-lib to help people with strange installations.
3864
3865         * malloc/Makefile: Add libdl dependency to libmemprof.so.
3866         * malloc/Depend: New file.
3867
3868 1999-10-04  Andreas Jaeger  <aj@suse.de>
3869
3870         * timezone/README: Change wording to not mention the current
3871         version.  This way we can't forget to update the file.
3872
3873 1999-10-04  Andreas Jaeger  <aj@suse.de>
3874
3875         * manual/time.texi (Basic CPU Time): Fix typo.
3876         Reported by Ben Pfaff <pfaffben@msu.edu>.
3877
3878 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
3879
3880         * string/string.h: Move __memrchr declaration to ...
3881         * include/string.h: ...here.
3882
3883 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3884
3885         * string/Makefile (routines): Add memrchr.
3886
3887         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
3888         Correct order of tests for matching bytes.
3889
3890         * string/tester.c: Add tests for memrchr.
3891
3892         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
3893         Start from the last character and take decrement not increment
3894         into account for correction in return line.  Add memrchr alias.
3895         * sysdeps/i386/bits/string.h: Likewise.
3896
3897 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3898
3899         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
3900
3901 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3902
3903         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
3904
3905         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
3906         conventions.
3907
3908         * string/Versions: Export memrchr.
3909
3910 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3911
3912         * misc/Versions (GLIBC_2.2): Add getloadavg.
3913         * misc/Makefile (routines): Add getloadavg.
3914         * sysdeps/generic/getloadavg.c: New file.
3915         * sysdeps/mach/getloadavg.c: New file.
3916         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
3917
3918         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
3919         * sysdeps/i386/bits/string.h (__memrchr): New function.
3920         * string/string.h: Declare memrchr, __memrchr.
3921         * manual/string.texi (Search Functions): Document memrchr.
3922
3923 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
3924
3925         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
3926         CFLAGS-memprofstat.c, and LIBGD variables.
3927         * config.make.in: Add LIBGD.
3928         * malloc/Makefile: Add rules to generate libmemprof.so and
3929         memprofstat.
3930         * malloc/memprof.c: New file.
3931         * malloc/memprofstat.c: New file.
3932
3933 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
3934
3935         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
3936
3937         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
3938         (inet_ntop6): Likewise.
3939
3940         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
3941         overruns.
3942
3943         * resolv/tst-aton.c (main): Add more tests.
3944
3945         * resolv/inet_addr.c (inet_aton): Correct some problems with to
3946         large numbers.  Optimize a bit.
3947
3948 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
3949
3950         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
3951         account for added '0'.
3952
3953         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
3954         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
3955         len argument to be greater than needed address size.
3956
3957 1999-10-01  Andreas Jaeger  <aj@suse.de>
3958
3959         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
3960         warning.
3961         * intl/finddomain.c (_nl_find_domain): Likewise.
3962
3963 1999-09-30  Andreas Schwab  <schwab@suse.de>
3964
3965         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
3966
3967 1999-09-30  Andreas Jaeger  <aj@suse.de>
3968
3969         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
3970         * sysdeps/i386/rshift.S: Likewise.
3971         * sysdeps/i386/strchrnul.S: Likewise.
3972         * sysdeps/i386/strchr.S: Likewise.
3973         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
3974         PR libc/1339.
3975
3976 1999-09-30  Andreas Jaeger  <aj@suse.de>
3977
3978         * manual/examples/pipe.c: Close other end of pipe to make example work.
3979
3980 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
3981
3982         * timezone/checktab.awk: Update from tzcode1999g.
3983         * timezone/tzselect.ksh: Likewise.
3984         * timezone/africa: Update from tzdata1999g.
3985         * timezone/asia: Likewise.
3986         * timezone/australasia: Likewise.
3987         * timezone/europe: Likewise.
3988         * timezone/northamerica: Likewise.
3989         * timezone/southamerica: Likewise.
3990         * timezone/iso3166.tab: Likewise.
3991         * timezone/zone.tab: Likewise.
3992
3993 1999-09-27  Andreas Jaeger  <aj@suse.de>
3994
3995         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
3996         been renamed to getipnodebyname.  Move flags around.
3997
3998 1999-09-27  Andreas Schwab  <schwab@suse.de>
3999
4000         * manual/message.texi (Locating gettext catalog): Fix typos.
4001
4002 1999-09-27  Andreas Jaeger  <aj@suse.de>
4003
4004         * manual/socket.texi (Out-of-Band Data): Correct example program,
4005         rename some variables for clarity.
4006         Reported by James Antill <james@and.org>, close PR libc/1329.
4007
4008 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
4009
4010         * locale/programs/ld-collate.c (insert_value): Add hack to not
4011         crash in incomplete collate implementation.
4012
4013         * locale/programs/ld-collate.c (read_directions): Read new token
4014         after accepting sorting rule.
4015
4016 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
4017
4018         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4019         error message printing.  Correctly test whether all characters of
4020         current token are used.
4021         (ctype_read): NUL terminate last_str.
4022
4023 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
4024
4025         * nscd/connections.c: Invalidate caches on request.
4026         * nscd/nscd-client.h: Add INVALIDATE to request_type.
4027         * nscd/nscd.c: Add invalidate cache option.
4028         * nscd/nscd.conf: Change log directory to /var/log (FHS).
4029
4030 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
4031
4032         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
4033         not ovverwrite last group member with NULL pointer.
4034         Reported by Thomas Winder <thomas.winder@newlogic.at>.
4035
4036 1999-09-24  Andreas Jaeger  <aj@suse.de>
4037
4038         * stdio-common/tst-printf.c (main): Add a testcase for large
4039         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
4040
4041 1999-09-24  Andreas Schwab  <schwab@suse.de>
4042
4043         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
4044
4045 1999-09-24  Andreas Jaeger  <aj@suse.de>
4046
4047         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
4048         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
4049
4050 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
4051
4052         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
4053         variable.  Define MORECORE_CLEARS to 2.
4054
4055         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
4056         doesn't clear the contents of memory that is reallocated after
4057         decrementing the break value first.  Update comment about
4058         MORECORE_CLEARS, explaining the meaning of the values it can be
4059         set to.
4060
4061 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
4062
4063         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
4064         one more case.
4065
4066         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
4067         (log): Likewise.
4068         (log10): Likewise.
4069         (log1p): Likewise.
4070         (log2): Likewise.
4071
4072 1999-09-22  Andreas Jaeger  <aj@suse.de>
4073
4074         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
4075         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
4076
4077 1999-09-22  Andreas Schwab  <schwab@suse.de>
4078
4079         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
4080
4081 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4082
4083         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
4084         the source directory.  Fixes PR libc/1059.
4085
4086 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
4087
4088         * locale/programs/repertoire.c (repertoire_find_value): Abort if
4089         rep parameter is NULL.
4090         (repertoire_find_symbol): Likewise.
4091         (repertoire_find_seq): Likewise.
4092
4093 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
4094
4095         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
4096         returned errno value in some cases.
4097
4098 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4099
4100         * iconvdata/Makefile (modules): Add GBK.
4101         (distribute): Add gbk.c.
4102         * iconvdata/gbk.c: New file.
4103         * iconvdata/gconv-modules: Add GBK entry.
4104         Contributed by Sean Chen <sean.chen@turbolinux.com>.
4105
4106         * locale/programs/ld-monetary.c (monetary_output): Remove
4107         byte-order code.
4108
4109         * locale/programs/ld-time.c (time_output): Correct expected number
4110         of iov entries.
4111
4112         * manual/filesys.texi (Testing File Access): Correct description of
4113         SUID.
4114
4115 1999-080-25  H.J. Lu  <hjl@gnu.org>
4116
4117         * csu/defs.awk (.end): Only match with leading white spaces.
4118         (.align): Likewise.
4119
4120 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
4121
4122         * stdlib/isomac.c: Add va_copy to allowed macros.
4123
4124         * po/pl.po: Updated.
4125
4126 1999-09-17  Andreas Schwab  <schwab@suse.de>
4127
4128         * Makefile (clean): Also remove $(postclean) files.
4129
4130 1999-09-15  Andreas Jaeger  <aj@suse.de>
4131
4132         * pwd/Makefile (otherlibs): Add for building with static-nss.
4133         * inet/Makefile (otherlibs): Likewise.
4134
4135 1999-09-15  Andreas Jaeger  <aj@suse.de>
4136
4137         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
4138         function definition to avoid a compilation failure.
4139
4140 1999-09-15  Andreas Jaeger  <aj@suse.de>
4141
4142         * stdlib/tst-environ.c (main): Add getenv regression test for
4143         environment variable that's one character long.
4144
4145 1999-09-15  Andreas Jaeger  <aj@suse.de>
4146
4147         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
4148         signal definitions to let glibc compile with older Linux versions
4149         (2.0.10 to 2.1.100 or so).
4150
4151 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
4152
4153         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
4154         return zero to indicate no children died yet (assuming WNOHANG).
4155
4156         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
4157
4158 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
4159
4160         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
4161
4162         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
4163         Return _hurd_pgrp instead of 0.
4164
4165 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
4166
4167         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
4168         pages rather than just reprotecting them.  This way we don't hold on
4169         to the backing space.
4170
4171         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
4172         Use __munmap instead of __vm_deallocate.
4173
4174 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
4175
4176         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
4177         returned errno value in some cases.
4178
4179 1999-09-17  Andreas Jaeger  <aj@suse.de>
4180
4181         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
4182         to override user settings.
4183
4184 1999-09-17  Andreas Schwab  <schwab@suse.de>
4185
4186         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
4187         using a pointer to it.
4188
4189 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
4190
4191         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
4192         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
4193
4194 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
4195
4196         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
4197
4198         * elf/elf.h (PF_MASKOS): New definition.
4199         (EM_VAX): New definition.
4200
4201 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
4202
4203         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
4204         'unsigned char ftype[8]', and 'unsigned int init_flag' to
4205         struct user_fp.  These were added in version 2.2.12 of the
4206         ARM Linux kernel.
4207         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
4208         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
4209         The generic procfs.h included <asm/elf.h>.  This causes
4210         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
4211         are included in the same source file.  Found when building GDB.
4212
4213 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
4214
4215         * locale/langinfo.h: Remove byte-order dependent names.
4216         * locale/categories.def: Update after removal of byte-order dependent
4217         names.
4218         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
4219         with magic number in other byte order.
4220         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
4221         * locale/C-collate.c: Remove initializers for other byte-order.
4222         * locale/C-ctype.c: Likewise.
4223         * locale/C-monetary.c: Likewise.
4224         * locale/C-paper.c: Likewise.
4225         * locale/C-time.c: Likewise.
4226         * locale/lc-collate.c: Remove byte-order oriented initialization.
4227         * locale/lc-ctype.c: Likewise.
4228         * locale/lc-monetary.c: Likewise.
4229         * locale/lc-time.c: Likewise.
4230         * locale/programs/ld-address.c: Don't generate output in both
4231         byte-orders.
4232         * locale/programs/ld-ctype.c: Likewise.
4233         * locale/programs/ld-paper.c: Likewise.
4234         * locale/programs/ld-time.c: Likewise.
4235         * time/strftime.c (NLW): Don't use different byte-orders.
4236         * wctype/cname-lookup.h (cname_lookup): Likewise.
4237
4238         * Makeconfig (localedir): Define using libdir, not datadir.
4239         (msgcatdir): New variable.
4240         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
4241         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
4242         msgcatdir.
4243         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
4244         (CPPFLAGS): Define paths using msgcatdir.
4245         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
4246         * po/Makefile (mo-installed): Define using msgcatdir.
4247
4248         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
4249
4250 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
4251
4252         * stdio-common/vfprintf.c: Remove limitation on size of precision
4253         for integers.
4254
4255         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
4256         glibc by defining internal_function if it isn't already.
4257
4258         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
4259         fails don't rely on errno value.
4260         (getanswer_r): Set *ERRNOP in error cases.
4261
4262         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
4263         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
4264         associated data.  Test for matching numeric address and family.
4265         (getaddrinfo): Remember EAI_NODATA result and return this in case
4266         everything fails.
4267         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
4268
4269         * locale/programs/ld-address.c: Fix handling of non-existing
4270         definitions for this category.  Correctly ignore content of this
4271         category is this is necessary.
4272         * locale/programs/ld-collate.c: Likewise.
4273         * locale/programs/ld-ctype.c: Likewise.
4274         * locale/programs/ld-identification.c: Likewise.
4275         * locale/programs/ld-measurement.c: Likewise.
4276         * locale/programs/ld-messages.c: Likewise.
4277         * locale/programs/ld-monetary.c: Likewise.
4278         * locale/programs/ld-name.c: Likewise.
4279         * locale/programs/ld-numeric.c: Likewise.
4280         * locale/programs/ld-paper.c: Likewise.
4281         * locale/programs/ld-telephone.c: Likewise.
4282         * locale/programs/ld-time.c: Likewise.
4283         * locale/programs/locfile.h (handle_copy): Take extra parameter
4284         with result pointer.  Fill in name of locale from which to copy.
4285         Correctly read token after `END'.
4286
4287         * locale/programs/localedef.c (main): Correct handling copy.
4288         (add_to_readlist): Take extra parameter which says whether we
4289         are supposed to read the file or not.
4290         (find_locale): Call add_to_readlist with extra parameter set to 0.
4291
4292         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
4293         instead of wrong number in array definitions.
4294         (add_to_readlist): Update prototype.
4295
4296         * locale/programs/locfile.c (locfile_read): Mark categories not
4297         available in source file as read.
4298         (write_all_categories): Fix typo.
4299
4300         * locale/programs/locales.h: Removed.
4301
4302 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
4303
4304         * elf/elf.h (SHF_MASKOS): Added.
4305
4306         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
4307
4308 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4309
4310         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
4311
4312 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4313
4314         * configure.in: Fix make version test for make 3.77.95 and later
4315         versions.
4316         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
4317
4318 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
4319
4320         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
4321
4322         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
4323         WINT_MAX values.
4324
4325         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
4326
4327 1999-09-09  Andreas Schwab  <schwab@suse.de>
4328
4329         * elf/link.h: Fix comment.
4330
4331 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
4332
4333         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
4334
4335         * math/math.h: Pretty print.
4336
4337 1999-09-10  Andreas Schwab  <schwab@suse.de>
4338
4339         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
4340         character variable on bigendian platforms without unaligned memory
4341         access.
4342
4343 1999-09-07  Cristian Gafton  <gafton@redhat.com>
4344
4345         * sysdeps/unix/sysv/linux/sys/raw.h: New file
4346         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
4347         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
4348
4349 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
4350
4351         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
4352
4353         * time/ap.c: Removed.  It was not used.
4354         * time/date.c: Likewise.
4355         * sysdeps/unix/nlist.c: Likewise.
4356         * sysdeps/generic/nlist.c: Likewise.
4357         * sysdeps/generic/varargs.h: Likewise.
4358         * stdio-common/scanf11.c: Likewise.
4359         * stdio-common/scanf6.c: Likewise.
4360         * scripts/=__ify: Likewise.
4361         * scripts/printsources: Likewise.
4362         * resolv/getnetnamadr.c: Likewise.
4363         * posix/id.c: Likewise.
4364         * misc/ioctltst.c: Likewise.
4365         * misc/nlist.h: Likewise.
4366         * math/test-math.h: Likewise.
4367         * include/nlist.h: Likewise.
4368
4369 1999-09-06  Andreas Schwab  <schwab@suse.de>
4370
4371         * time/tzset.c (compute_change): Replace slow loop to compute T by
4372         simple algorithm.
4373
4374 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
4375
4376         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
4377         escape sequences out even if the character itself does not fit
4378         into the buffer.
4379
4380         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
4381
4382 1999-08-31  H.J. Lu  <hjl@gnu.org>
4383
4384         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
4385
4386 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
4387
4388         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
4389         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
4390         (_hurd_priority_which_map):
4391
4392 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
4393
4394         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
4395
4396 1999-09-03  Andreas Schwab  <schwab@suse.de>
4397
4398         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
4399         fork from __syscall_fork to __libc_fork.
4400         * posix/Versions: Add __libc_fork and __vfork to version
4401         GLIBC_2.1.2.
4402
4403 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4404
4405         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
4406         dependencies in sort.
4407
4408 1999-09-01  H.J. Lu  <hjl@gnu.org>
4409
4410         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
4411
4412         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
4413         <sys/user.h> instead of <asm/user.h>.
4414
4415 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
4416
4417         * elf/elf.h: Update PARISC-specific flags and symbolic names.
4418
4419 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
4420
4421         * elf/elf.h: Update PARISC relocations.
4422
4423 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
4424
4425         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
4426         #ifdef statement to prevent it from being included twice.
4427         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
4428         #include <bits/armsigctx.h>.
4429
4430 1999-08-31  Andreas Schwab  <schwab@suse.de>
4431
4432         * locale/C-collate.c: Add missing initialisations.
4433         * locale/C-ctype.c: Likewise.
4434
4435 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
4436
4437         * time/strftime.c (my_strftime): Remove unneeded variable len.
4438
4439         * time/strptime.c: Undo last change.
4440
4441 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
4442
4443         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
4444         Change charset.h to charmap.h.
4445         (categories): Add new categories.  Leave out collate for now.
4446         Update build rules.
4447         * locale/categories.def: Add definitions for new categories.
4448         * locale/langinfo.h: Likewise.
4449         * locale/locale.h: Likewise.
4450         * locale/C-address.c: New file.
4451         * locale/C-identification.c: New file.
4452         * locale/C-measurement.c: New file.
4453         * locale/C-name.c: New file.
4454         * locale/C-paper.c: New file.
4455         * locale/C-telephone.c: New file.
4456         * locale/lc-address.c: Likewise.
4457         * locale/lc-identification.c: Likewise.
4458         * locale/lc-measurement.c: Likewise.
4459         * locale/lc-name.c: Likewise.
4460         * locale/lc-paper.c: Likewise.
4461         * locale/lc-telephone.c: Likewise.
4462         * locale/C-ctype.c: Update for locale rewrite.
4463         * locale/C-messages.c: Likewise.
4464         * locale/C-monetary.c: Likewise.
4465         * locale/C-time.c: Likewise.
4466         * locale/lc-collate.c: Likewise.
4467         * locale/lc-ctype.c: Likewise.
4468         * locale/lc-monetary.c: Likewise.
4469         * locale/lc-time.c: Likewise.
4470         * locale/localeinfo.h: Likewise.
4471         * locale/newlocale.c: Likewise.
4472         * locale/setlocale.c: Likewise.
4473         * locale/weight.h: Likewise.
4474         * locale/findlocale.c: Unconditionally use mmap.
4475         Handle new categories.
4476         * locale/loadlocale.c: Likewise.
4477         * locale/iso-3166.def: New file.
4478         * locale/iso-639.def: New file.
4479         * locale/programs/charmap-kw.gperf: Add new keywords.
4480         * locale/programs/locfile-kw.gperf: Likewise.
4481         * locale/programs/locfile-token.h: Define new tokens.
4482         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
4483         * locale/programs/charmap.h: New file.
4484         * locale/programs/charset.h: Removed.
4485         * locale/programs/config.h: Add __LC_LAST.
4486         * locale/programs/lc-address.c: New file.
4487         * locale/programs/lc-identification.c: New file.
4488         * locale/programs/lc-measurement.c: New file.
4489         * locale/programs/lc-name.c: New file.
4490         * locale/programs/lc-paper.c: New file.
4491         * locale/programs/lc-telephone.c: New file.
4492         * locale/programs/lc-collate.c: Update for locale rewrite.
4493         * locale/programs/lc-ctype.c: Likewise.
4494         * locale/programs/lc-messages.c: Likewise.
4495         * locale/programs/lc-monetary.c: Likewise.
4496         * locale/programs/lc-numeric.c: Likewise.
4497         * locale/programs/lc-time.c: Likewise.
4498         * locale/programs/locale.c: Likewise.
4499         * locale/programs/localedef.c: Likewise.
4500         * locale/programs/locfile.c: Likewise.
4501         * locale/programs/repertoire.c: Likewise.
4502         * locale/programs/repertoire.h: Likewise.
4503         * locale/programs/locfile.c: Update prototypes.
4504         Update handle_copy definition.
4505         * locale/programs/linereader.c: Add handling of wide char strings and
4506         new definition file syntax.
4507         * locale/programs/linereader.h (struct token): Add elements for wide
4508         character strings.
4509         * locale/programs/locale-spec.c: Disable handling of collation
4510         elements for now.
4511         * locale/programs/simple-hash.h: Cleanup.
4512         * locale/programs/stringtrans.h: Handle quite of end of line.
4513         * string/strcoll.c: Fall back on strcmp for now.
4514         * string/strxfrm.c: Fall back on strncpy/strlen for now.
4515         * time/strftime.c: Use new wide character data for wcsftime.
4516         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
4517         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
4518
4519         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
4520         compiling for i386 to avoid i686-like GOT pointer computation.
4521
4522         * db2/db_int.h: Change tsl_t type to u_int32_t.
4523         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
4524         * db2/mutex/alpha.h: New file.
4525         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
4526         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
4527         known.
4528         Patches by Richard Henderson.
4529
4530         * stdlib/tst-environ.c: Add cast to avoid warning.
4531         * timezone/test-tz.c: Use setenv instead of putenv.
4532
4533 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4534
4535         * manual/libc.texinfo: Update version and date.
4536
4537         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
4538
4539         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
4540         (File System Interface): Correct entry.
4541         (Permission Bits): Add missing commata after @xref.
4542
4543 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4544
4545         * timezone/tst-timezone.c (main): Don't pass const strings to
4546         putenv to avoid warnings.
4547
4548         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
4549
4550 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
4551
4552         * nis/Versions: Add _nss_*_getipnodebyname_r.
4553         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
4554         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
4555         * nss/Versions: Add _nss_files_getipnodebyname_r.
4556
4557 1999-08-28  H.J. Lu  <hjl@gnu.org>
4558
4559         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
4560         memory for buffer.
4561
4562 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
4563
4564         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
4565         kernel.
4566         * inet/netinet/in.h: Likewise.
4567         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4568         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4569
4570 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
4571
4572         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
4573         thresholds for SUID binaries.  [PR libc/1277]
4574
4575         * posix/regexbug1.c: Add one more similar case.
4576
4577 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4578
4579         * manual/install.texi (Running make install): Give examples for
4580         timezone and locale installation.
4581
4582 1999-08-28  Zack Weinberg  <zack@bitmover.com>
4583
4584         * glibcbug.in: Get CCVERSION from autoconf substitution.
4585         * configure.in: Calculate and substitute CCVERSION.
4586
4587 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4588
4589         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
4590         partially reverting a patch from 1998-12-29.  We just can't change
4591         the flags, kernels with different flags lead to
4592         incompatibilities.
4593
4594 1999-08-26  Andreas Schwab  <schwab@suse.de>
4595
4596         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
4597
4598 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
4599
4600         * inet/rexec.c (rexec): Free memory if strings were allocated in
4601         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
4602
4603 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
4604
4605         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
4606
4607         * manual/argp.texi: Fixing language and typos.
4608         * manual/conf.texi: Likewise.
4609         * manual/contrib.texi: Likewise.
4610         * manual/ctype.texi: Likewise.
4611         * manual/filesys.texi: Likewise.
4612         * manual/install.texi: Likewise.
4613         * manual/job.texi: Likewise.
4614         * manual/lang.texi: Likewise.
4615         * manual/llio.texi: Likewise.
4616         * manual/locale.texi: Likewise.
4617         * manual/math.texi: Likewise.
4618         * manual/nss.texi: Likewise.
4619         * manual/pipe.texi: Likewise.
4620         * manual/signal.texi: Likewise.
4621         * manual/socket.texi: Likewise.
4622         * manual/stdio.texi: Likewise.
4623         * manual/sysinfo.texi: Likewise.
4624         * manual/users.texi: Likewise.
4625         Patches by Neil Booth <NeilB@earthling.net>.
4626
4627 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
4628
4629         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
4630         unsigned to avoid warning.  [PR libc/1271].
4631
4632         * conform/conformtest.pl: Allow testing regex.h which requires
4633         sys/types.h being included.
4634
4635         * conform/data/regex.h-data: Allow *_t types.
4636         * conform/data/pwd.h-data: Likewise.
4637         * conform/data/sched.h-data: Likewise.
4638         * conform/data/pthread.h-data: Likewise.
4639         * conform/data/search.h-data: Likewise.
4640
4641         * misc/search.h: Avoid namespace pollution.
4642
4643         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
4644         pwd.h, and pthread.h.
4645         * conform/data/pthread.h-data: New file.
4646         * conform/data/pwd.h-data: New file.
4647         * conform/data/regex.h-data: New file.
4648         * conform/data/sched.h-data: New file.
4649         * conform/data/search.h-data: New file.
4650
4651         * NAMESPACE: Add REG_ for regex.h.
4652
4653         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
4654         they are removed.
4655
4656         * configure.in (libc_cv_asm_global_directive): Indent .text in
4657         test code so that the lame HPUX compiler recognizes it.
4658         * sysdeps/hppa/bits/endian.h: New file.
4659         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
4660         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
4661         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
4662         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
4663
4664         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
4665         Patch by John Tobey <jtobey@banta-im.com>.
4666
4667         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
4668
4669         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4670         old_siocfifconf definition to toplevel.
4671         (__protocol_available): Remove old_siocfifconf definition.
4672
4673 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
4674
4675         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
4676         really dealing with a master pseudo terminal, and really returning
4677         the name of the associated slave pseudo terminal by checking the
4678         device number.
4679         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
4680         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
4681
4682 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4683
4684         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
4685         underscore in _llseek entry.
4686
4687         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
4688         entry.
4689
4690         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
4691         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
4692
4693         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
4694         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4695
4696 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
4697
4698         * inet/Makefile (routines): Add getipnodebynm.
4699         * inet/getipnodebynm.c: New file.
4700         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
4701         interface type.
4702         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4703         EXTRA_ARGS_VALUE is not already done.
4704         (internal_getent): Allow extra parameters and pass them to parse_line.
4705         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
4706         (_nss_files_get##name##_r): Likewise.
4707         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
4708         and EXTRA_ARGS_VALUE to pass flags and type to parser.
4709         Add getipnodebyname function.
4710         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
4711         EXTRA_ARGS_VALUE is not already done.
4712         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
4713         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
4714         to parse_line.
4715         (_nss_db_get##name##_r): Pass extra parameters to lookup.
4716         (_nss_db_get,ENTNAME_r): Likewise.
4717         * sysdeps/generic/if_index.c (__protocol_available): New function.
4718         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4719
4720 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
4721
4722         * login/pty-private.h: Move to...
4723         * sysdeps/generic/pty-private.h: ...here.
4724         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
4725         version.
4726         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
4727         available.
4728
4729         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
4730         of __overflow.
4731
4732         * conform/conformtest.pl (@headers): Add monetary.h-data,
4733         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
4734         * conform/data/monetary.h-data: New file.
4735         * conform/data/mqueue.h-data: New file.
4736         * conform/data/ndbm.h-data: New file.
4737         * conform/data/nl_types.h.h-data: New file.
4738         * conform/data/poll.h-data: New file.
4739
4740         * stdio-common/Makefile (test): Add tst-cookie.
4741         * stdio-common/tst-cookie.c: New file.
4742
4743         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
4744         changed in last patch.  Reported by Ralf Baechle.
4745
4746 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4747
4748         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
4749
4750         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
4751         Patches by Ralf Baechle <ralf@uni-koblenz.de>
4752
4753 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4754
4755         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
4756         Linux 2.3.15.
4757
4758 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
4759
4760         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
4761         syscall.
4762         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4763
4764         * misc/libgen.h: Don't take basename macro as taking arguments.
4765
4766         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
4767         for gcc >= 2.95.
4768         * sysdeps/i386/bits/huge_val.h: Likewise.
4769         * sysdeps/i386/bits/huge_val.h: Likewise.
4770         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4771         * sysdeps/m68k/bits/huge_val.h: Likewise.
4772         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4773         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
4774
4775         * conform/Makefile: New file.
4776         * conform/conformtest.pl: New file.
4777         * conform/data/aio.h-data: New file.
4778         * conform/data/assert.h-data: New file.
4779         * conform/data/cpio.h-data: New file.
4780         * conform/data/ctype.h-data: New file.
4781         * conform/data/dirent.h-data: New file.
4782         * conform/data/dlfcn.h-data: New file.
4783         * conform/data/errno.h-data: New file.
4784         * conform/data/fcntl.h-data: New file.
4785         * conform/data/float.h-data: New file.
4786         * conform/data/fmtmsg.h-data: New file.
4787         * conform/data/fnmatch.h-data: New file.
4788         * conform/data/ftw.h-data: New file.
4789         * conform/data/glob.h-data: New file.
4790         * conform/data/grp.h-data: New file.
4791         * conform/data/iconv.h-data: New file.
4792         * conform/data/inttypes.h-data: New file.
4793         * conform/data/iso646.h-data: New file.
4794         * conform/data/langinfo.h-data: New file.
4795         * conform/data/libgen.h-data: New file.
4796         * conform/data/locale.h-data: New file.
4797         * conform/data/math.h-data: New file.
4798
4799 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4800
4801         * posix/execvp.c (execvp): Correct copying of file name.
4802
4803 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
4804
4805         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
4806
4807 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4808
4809         * stdio-common/Makefile: Move addition to routines to the right place.
4810
4811 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4812
4813         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
4814         since mips*-linux has ECANCELED.
4815
4816 1999-08-23  Andreas Schwab  <schwab@suse.de>
4817
4818         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
4819         SIGCONTEXT_EXTRA_ARGS.
4820         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
4821         * sysdeps/generic/sigcontextinfo.h: Likewise.
4822         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
4823         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
4824         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4825         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
4826         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
4827         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
4828
4829 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
4830
4831         * posix/regexbug1.c: Make it an error if the test fails.
4832
4833 1999-08-23  Andreas Schwab  <schwab@suse.de>
4834
4835         * posix/regex.c (re_match_2_internal): Correct check for charset
4836         after exactn in loop.
4837
4838 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
4839
4840         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
4841         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4842         Patch by Joel Klecker.
4843
4844         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
4845         (__gconv_find_transform): Update prototype.
4846         (__gconv_open): Likewise.
4847         * iconv/gconv_open.c: Take extra parameter and pass it to
4848         __gconv_find_transform.
4849         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
4850         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
4851         transformation.
4852         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
4853         * wcsmbs/wcsmbsload.c: Likewise.
4854         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
4855         iconv for glibc.
4856         * intl/gettextP.h: Likewise.
4857         * intl/loadmsgcat.c: Likewise.
4858
4859         * posix/regexbug1.c: New file.
4860         * posix/Makefile (tests): Add regexbug1.
4861
4862 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
4863
4864         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
4865         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
4866         installing PORT in the descriptor cell.
4867
4868 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
4869
4870         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
4871         TIMEOUT as outputs of the asm to indicate that the signal thread
4872         might mutate them.
4873         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
4874         mach_msg if only sending or only receiving (i.e., not an RPC).  When
4875         making an RPC that might get interrupted, save OPTION and the portion
4876         of the message buffer that gets clobbered by an EINTR reply message,
4877         and properly restore them before attempting to retry the request
4878         message send.
4879
4880 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4881
4882         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
4883         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
4884         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
4885         stdio is used instead of libio.
4886         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
4887         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
4888         to make the code compile again when stdio is used instead of
4889         libio.
4890         (vfprintf): Only check for correct orientation if ORIENT is
4891         defined.
4892         * stdio-common/Makefile (routines): Only add vfwprintf and
4893         vfwscanf if we're using libio.
4894
4895 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4896
4897         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
4898         any additional prototype just as we do for libio.
4899
4900 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4901
4902         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
4903         TZNAME_MAX.  These limits are not X/Open specific.
4904         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
4905         is defined.
4906
4907 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
4908
4909         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
4910         UIO_MAXIOV is left undefined in sys/uio.h.
4911         * stdio-common/stdio_lim.h.in: Adapt for change above.
4912
4913 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4914
4915         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
4916         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
4917         Patches by Ralf Baechle <ralf@uni-koblenz.de>
4918
4919 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
4920
4921         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
4922
4923 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
4924
4925         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
4926
4927         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
4928         call.  It should not be necessary andis harmful for Alpha.
4929
4930         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
4931         type.  [PR libc/1269]
4932
4933         * posix/execvp.c (execvp): Allocate array name of correct size.
4934         Optimize inner loop.  Use execve directly, not execv.
4935
4936         * elf/elf.h: Corrected SHT_ values from new draft.
4937
4938         * intl/gettextP.h (struct loaded_domain): Add conv element.
4939         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
4940         Instead of returning found message directly convert it using iconv
4941         if a conversion was found when opening the file.
4942         * intl/loadinfo.h: Protect against multiple inclusion.
4943         Declare _nl_find_msg.
4944         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
4945         in the message file and if necessary find approrpiate
4946         conversion to match currently selected charset.
4947         * include/libintl.h: Declare __dgettext and __dcgettext.
4948         * include/iconv.h: New file.
4949
4950 1999-08-20  Andreas Schwab  <schwab@suse.de>
4951
4952         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4953
4954 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
4955
4956         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
4957         all threads [PR libc/1223].
4958
4959         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
4960         [PR libc/1165].
4961
4962         * configure.in: Search for programs with prefix gnu* and g* first.
4963         [PR libc/1104].
4964
4965         * dirent/Makefile (routines): Add getdents64.
4966         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
4967         Remove getdents64.
4968         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
4969         compiled with _FILE_OFFSET_BITS=64.
4970         * sysdeps/generic/getdents64.c: New file.
4971         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
4972         __lseek for getdirentries64 definition.
4973
4974         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
4975
4976         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
4977         _FILE_OFFSET_BITS=64.
4978
4979         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
4980         parameter.
4981
4982         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
4983         after we have the lock.
4984
4985         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
4986         Patch by Richard Henderson.
4987
4988 1999-08-19  Andreas Schwab  <schwab@suse.de>
4989
4990         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
4991         and call _IO_fwide, to get the wide stream state initialized
4992         correctly.  Don't set _IO_JUMPS.
4993         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
4994         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
4995         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
4996         directly.
4997
4998 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4999
5000         * math/libm-test.c (jn_test): Fix typo in description.
5001         (erfc_test): Add some more tests.
5002         (erf_test): Add some more tests.
5003
5004 1999-08-19  Andreas Schwab  <schwab@suse.de>
5005
5006         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
5007         expression using $(exceptions).
5008
5009 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5010
5011         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
5012
5013         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
5014         allocated so far.  [PR libc/1261].
5015
5016         * math/libm-test.c (j0_test): Adjust deltas for m68k.
5017         (jn_test): Likewise.
5018
5019         * dirent/dirent.h: Only define ino64_t if not already done.
5020         * posix/sys/types.h: Likewise.
5021
5022         * ctype/ctype.h: Avoid useless #endif #if pairs.
5023
5024         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
5025         (seekdir): Fix type of second parameter.
5026         * sysdeps/generic/seekdir.c: Likewise.
5027         * sysdeps/mach/hurd/seekdir.c: Likewise.
5028         * sysdeps/unix/seekdir.c: Likewise.
5029
5030         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
5031
5032 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5033
5034         * manual/install.texi (Configuring and compiling): Clarify ix86
5035         situation.
5036
5037 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
5038
5039         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
5040         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
5041         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
5042         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
5043
5044         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
5045
5046         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
5047
5048         * misc/search.h: Don't define NULL.
5049
5050         * posix/sys/types.h: Define blksize_t if it hasn't happened.
5051         Only define key_t and blkcnt_t if it hasn't happened before.
5052         Define blksize_t if not happened before.
5053         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
5054         * sysdeps/generic/bits/types.h: Define __blksize_t.
5055         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5056         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5057         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5058         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5059         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5060         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
5061         st_blksize member.
5062         (struct stat64): Likewise.
5063         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5064         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5065         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5066         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5067         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5068         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
5069         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5070
5071         * stdlib/getsubopt.c: Correct type of second argument.
5072         * stdlib/stdlib.h: Likewise.
5073
5074         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
5075         and ssize_t.
5076
5077         * sysdeps/generic/putenv.c: Correct type of parameter.
5078         * stdlib/stdlib.h: Likewise.
5079
5080         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
5081         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5082         * sysvips/sys/msg.h: Likewise.
5083
5084         * sysdeps/generic/semop.c: Correct type of third parameter.
5085         * sysdeps/unix/sysv/linux/semop.c: Likewise.
5086         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
5087         size_t.
5088
5089         * sysdeps/generic/shmget.c: Correct type of second parameter.
5090         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
5091         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
5092         Declare __getpagesize here.
5093
5094         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
5095         sys/types.h.
5096         * sysdeps/gnu/bits/ipc.h: Likewise.
5097         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
5098         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5100         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
5101         already done.
5102
5103         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
5104
5105         * debug/versions: Export __cyg_profile_func_enter and
5106         __cyg_profile_func_exit.
5107
5108         * math/bits/mathcalls.h: Pretty print.
5109
5110 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5111
5112         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
5113         case for new tzdata.
5114
5115         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
5116         unsigned.
5117         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5118         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5119         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5120         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5121
5122         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
5123
5124         * sysdeps/generic/ualarm.c (ualarm): Change return value and
5125         parameter type to useconds_t.
5126         * sysdeps/unix/bsd/ualarm.c: Likewise.
5127
5128         * sysdeps/generic/usleep.c (usleep): Change parameter type to
5129         useconds_t.
5130         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
5131         * sysdeps/mach/usleep.c: Likewise.
5132
5133         * locale/weight.h: Include <errno.h>.
5134
5135         * posix/sys/types.h: Define type useconds_t if not done already.
5136         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
5137         declarations.
5138         * sysdeps/generic/bits/types.h: Define type __useconds_t.
5139         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5140         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5141         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5142         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5143         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5144
5145         * dirent/dirent.h (telldir): Change return type to long int.
5146         * sysdeps/generic/telldir.c: Likewise.
5147         * sysdeps/mach/hurd/telldir.c: Likewise.
5148         * sysdeps/unix/telldir.c: Likewise.
5149         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
5150
5151         * locale/weight.h: Set errno if an invalid character is found.
5152
5153 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5154
5155         * math/libm-test.c (erfc_test): Add test for example from PR
5156         libc/1259.
5157         (erf_test): Likewise.
5158
5159 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
5160
5161         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
5162         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
5163
5164         * timezone/private.h: Update from tzcode1999e.
5165         * timezone/zic.c: Likewise.
5166
5167         * timezone/africa: Update from tzdata1999e.
5168         * timezone/antarctica: Likewise.
5169         * timezone/asia: Likewise.
5170         * timezone/australasia: Likewise.
5171         * timezone/europe: Likewise.
5172         * timezone/leapseconds: Likewise.
5173         * timezone/northamerica: Likewise.
5174         * timezone/southamerica: Likewise.
5175
5176         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
5177         and write correct number of bytes in case of %ls with precision.
5178         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5179
5180 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
5181
5182         * nscd/nscd.init: Test for kernel version and make LSB compliant.
5183         Patch by Christian Gafton.
5184
5185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
5186         O_RSYNC.  Patch by Christian Gafton.
5187
5188         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
5189         possibly unterminated strings for %ls when a precision is
5190         specified.
5191         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5192
5193         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
5194         update_conversion_ptrs.
5195         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5196
5197 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5198
5199         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
5200         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5201
5202         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
5203         * wcsmbs/tst-wcsnlen.c: New file.
5204
5205 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5206
5207         * libio/ioputs.c (_IO_puts): Add missing brace.
5208
5209 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
5210
5211         * math/libm-test.c: Tweak deltas for a clean run on ppc.
5212
5213 1999-08-10  H.J. Lu  <hjl@gnu.org>
5214
5215         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
5216         (vfprintf): Likewise.
5217         * stdio-common/vfscanf.c (ORIENT): Likewise.
5218         * libio/genops.c (__underflow): Likewise.
5219         (__uflow): Likewise.
5220         * libio/iofputs.c (_IO_fputs): Likewise.
5221         * libio/ioftell.c (_IO_ftell): Likewise.
5222         * libio/iofwrite.c (_IO_fwrite): Likewise.
5223         * libio/ioputs.c (_IO_puts): Likewise.
5224         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5225         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5226
5227 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5228
5229         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
5230
5231 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5232
5233         * manual/job.texi (Process Group Functions): Document getpgid,
5234         getsid.
5235
5236 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5237
5238         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
5239         initialize si_pid from it.
5240         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
5241         parameter.
5242         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
5243         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
5244         (struct requestlist): Likewise.
5245         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
5246         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
5247         to __aio_sigqueue.
5248         (__aio_notify): Pass caller PID to __aio_notify_only.
5249         * rt/aio_suspend.c: Initialize caller_pid.
5250         * rt/lio_listio.c: Likewise.
5251         * rt/lio_listio64.c: Likewise.
5252
5253         * rt/lio_listio.c: If nothing has to be done free mutex before
5254         signalling.
5255         * rt/lio_listio64.c: Likewise.
5256
5257 1999-08-10  H.J. Lu  <hjl@gnu.org>
5258
5259         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
5260         handling.
5261
5262 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5263
5264         * elf/elf.h: Define ElfXX_Versym.
5265         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
5266         definition.
5267
5268         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
5269         for string output correctly in the wide character case.
5270         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
5271
5272         * intl/locale.alias: Add catalan.
5273
5274 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5275
5276         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
5277
5278 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5279
5280         * po/pt_BR.po: New file.
5281
5282 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5283
5284         * math/libm-test.c (yn_test): Adjust deltas for i386.
5285         (ccosh_test): Likewise.
5286         (jn_test): Likewise.
5287
5288 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
5289
5290         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
5291
5292 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
5293
5294         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
5295         problem.
5296
5297 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5298
5299         * configure.in: install-sh lives now in scripts subdir.
5300         PR libc/1255 (bug 4).
5301
5302 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
5303
5304         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
5305         version.
5306
5307         * po/fr.po: Update.
5308
5309 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
5310
5311         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
5312
5313 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
5314
5315         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
5316         exponent.
5317
5318 1999-08-10  Andreas Schwab  <schwab@suse.de>
5319
5320         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
5321         header.
5322
5323 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
5324
5325         * elf/elf.h: Added definition of ELFOSABI_ARM.
5326         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
5327         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
5328         object's header and ABI values are acceptable.
5329         (VALID_ELF_HEADER): New macro; provide default definition.
5330         (VALID_ELF_OSABI): New macro; provide default definition.
5331         (VALID_ELF_ABIVERSION): New macro; provide default definition.
5332         * sysdeps/arm/dl-machine.h Define ARM specific versions of
5333         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
5334
5335 1999-08-09  Andreas Schwab  <schwab@suse.de>
5336
5337         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
5338
5339 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
5340
5341         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
5342
5343 1999-08-09  Andreas Schwab  <schwab@suse.de>
5344
5345         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
5346
5347 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
5348
5349         * sysdeps/ieee754/ieee754.h: Handle platforms with special
5350         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
5351
5352         * string/bits/string2.h: Mark void* operations as extensions.
5353         * sysdeps/i386/i486/bits/string.h: Likewise.
5354
5355         * debug/Makefile (routines): Add noophooks.
5356         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
5357         * debug/noophooks.c: New file.
5358         * debug/pcprofile.c: New file.
5359
5360 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
5361
5362         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
5363         systems which allow using the functions also on non-seekable
5364         devices.
5365
5366         * resolv/res_send.c (res_send): Recompute timeout for poll for
5367         each jump to `wait'.
5368
5369         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
5370         braces to avoid warnings.
5371         (IN6ADDR_LOOPBACK_INIT): Likewise.
5372
5373         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
5374         MSG_DONTWAIT).
5375
5376 1999-08-06  H.J. Lu  <hjl@gnu.org>
5377
5378         * malloc/malloc.c: Initialize __libc_pagesize early.
5379
5380 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
5381
5382         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
5383         defining it.
5384
5385         * inet/Makefile (tests): Add tst-ipnode.
5386         * inet/tst-ipnode.c: New file.
5387
5388 1999-08-06  Andreas Schwab  <schwab@suse.de>
5389
5390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
5391         New definitions.
5392         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
5393         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5394         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
5395         New definitions.
5396         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
5397         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
5398
5399 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
5400
5401         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
5402         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
5403         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
5404
5405 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
5406
5407         * resolv/res_send.c (res_send): Don't test file descriptor for
5408         range, we use poll now.  [PR libc/1240]
5409
5410 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
5411
5412         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
5413         2.0 defined if they are not available.
5414
5415 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
5416
5417         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
5418         Define.
5419
5420 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
5421
5422         * rt/aio_read.c: Fix return value.
5423         * rt/aio_read64.c: Likewise.
5424         Reported by Christian Gafton.
5425
5426         * rt/aio_write.c: Fix return value.
5427         * rt/aio_write64.c: Likewise.
5428         * rt/aio_fsync.c: Likewise.
5429
5430         * rt/aio_misc.c: Set errno at correct place.
5431
5432         * rt/aio_fsync.c: Test OP parameter for correct values.
5433
5434         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
5435
5436 1999-08-04  Andreas Schwab  <schwab@suse.de>
5437
5438         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
5439         Initialize result to one.
5440         (GET_NPROCS_CONF_PARSER): Likewise.
5441
5442 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
5443
5444         * inet/ether_hton.c: Pass errno pointer to NSS function.
5445         * inet/getnetgrent_r.c: Likewise.
5446         Reported by Marty Leisner <leisner@rochester.rr.com>.
5447
5448 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
5449
5450         * nis/nis_callback.c: Fix port problem on big-endian machines
5451         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
5452         fields are always 32 bit.
5453         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
5454
5455         * nis/nss_nis/nis-service.c: Remove htons, port is always in
5456         network-byte-order.
5457         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
5458
5459 1999-08-03  Andreas Schwab  <schwab@suse.de>
5460
5461         * sysdeps/posix/sigset.c: Unblock the signal after setting its
5462         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
5463         avoid two calls to sigprocmask.
5464
5465 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
5466
5467         * sysdeps/generic/s_nexttowardf.c: Fix typo.
5468
5469 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
5470
5471         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
5472         Only allow rt signal frames. No SA_SIGINFO signals will have the
5473         siginfo_t just not filled out with SI_NOINFO code.
5474         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
5475         (register_dump): Take the above change into account.
5476         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
5477         (rt_signal_frame): Likewise.
5478
5479         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
5480
5481 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
5482
5483         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
5484         instead of select().
5485
5486 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
5487
5488         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
5489         nexttoward so something else so that aliasing works.
5490
5491 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
5492
5493         * sysdeps/generic/math_ldbl.h: Fix typo.
5494         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
5495         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
5496
5497 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
5498
5499         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
5500
5501 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
5502
5503         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
5504         program.
5505         * elf/resolvfail.c: New file.
5506
5507         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
5508         pass it to _dl_lookup_symbol.
5509
5510         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
5511         bit.  Reword message.
5512
5513         * dlfcn/dlerror.c: Make code thread-safe.
5514
5515 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
5516
5517         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
5518         initializer in CHECK: a bit size, not the type code repeated!
5519
5520 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
5521
5522         * string/tester.c: Add tests with constant arguments for strcpy
5523         and stpcpy.
5524
5525 1999-07-31  H.J. Lu  <hjl@gnu.org>
5526
5527         * string/bits/string2.h (__strcpy_small): Fix a typo.
5528
5529 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
5530
5531         * Makeconfig (link-libc): Always define it, not only for shared
5532         builds.
5533
5534         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
5535         * sysdeps/i386/fpu/e_powf.S: Likewise.
5536         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
5537
5538         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
5539         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
5540
5541 1999-07-30  Andreas Schwab  <schwab@suse.de>
5542
5543         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
5544         definition.
5545         (__get_nprocs): Use it.
5546         (__get_nprocs_conf): Define as separate function if
5547         GET_NPROCS_CONF_PARSER is defined.
5548         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
5549
5550         * include/sys/sysinfo.h: New file.
5551         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
5552         interface.
5553         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5554
5555 1999-07-30  H.J. Lu  <hjl@gnu.org>
5556
5557         * libio/iofflush.c (fflush_unlocked): Weak aliase if
5558         _IO_MTSAFE_IO is not defined.
5559         * libio/clearerr.c (clearerr_unlocked): Likewise.
5560         * libio/feof.c (feof_unlocked): Likewise.
5561         * libio/ferror.c (ferror_unlocked): Likewise.
5562         * libio/fputc.c (fputc_unlocked): Likewise.
5563         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
5564         * libio/getchar.c (getchar_unlocked): Likewise.
5565         * libio/putc.c (putc_unlocked): Likewise.
5566         * libio/putchar.c (putchar_unlocked): Likewise.
5567
5568 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
5569
5570         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
5571           svc_max_pollfd and svc_pollfd to GLIBC_2.2
5572         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
5573           for svc_run/poll interface.
5574         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
5575         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
5576           global variable.
5577         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
5578           rewrite other svc_getreq* functions to use svc_getreq_common.
5579         * sunrpc/svc_run.c: Use poll().
5580
5581 1999-07-30  Andreas Schwab  <schwab@suse.de>
5582
5583         * Makerules: Put sysd-versions and Versions.all on
5584         postclean-generated instead of common-generated.
5585
5586 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5587
5588         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
5589         around and CLOCKS_PER_SEC is 1e6.
5590
5591 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
5592
5593         * configure.in: Add test for local label subtraction.
5594         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
5595         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
5596         labels to reduce number of runtime relocations and move jump
5597         tables in read-only seciton.
5598
5599         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
5600         assignment cannot be moved.
5601
5602 1999-07-29  H.J. Lu  <hjl@gnu.org>
5603
5604         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
5605         if no threads are used.
5606
5607         * libio/iofwrite.c: Add weak alias for _unlocked function if not
5608         _IO_MTSAFE_IO.
5609         * libio/iofread.c: Likewise.
5610         * libio/iofgets.c: Likewise.
5611         * libio/iofputs.c: Likewise.
5612
5613         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
5614         definition.
5615
5616         * stdlib/mbtowc.c: Include <string.h>.
5617         * stdlib/wctomb.c: Likewise.
5618         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5619         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5620
5621         * misc/mntent_r.c: Include <alloca.h>.
5622         * elf/dl-runtime.c: Likewise.
5623
5624 1999-07-29  Andreas Schwab  <schwab@suse.de>
5625
5626         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
5627         all floating point formats supported by gcc.  Error out for
5628         unhandled precisions.
5629         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
5630         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
5631         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
5632
5633 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
5634
5635         * sysdeps/generic/setenv.c: Move setenv code in new function
5636         __add_to_environ.  Add new parameter specifying already
5637         constructed string for the environment.
5638         (setenv): Call __add_to_environ with new parameter set to NULL.
5639         (unsetenv): Really test all elements for duplicated name.  Missed those
5640         cases where the two are following each other.
5641         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
5642         * include/stdlib.h: Add prototype of __add_to_environ.
5643         * stdlib/tst-environ.c: New file.
5644         * stdlib/Makefile (tests): Add tst-environ.
5645
5646         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
5647
5648         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
5649         argument in realloc call.
5650         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
5651         Likewise.
5652         Reported by Danny Braniss <danny@cs.huji.ac.il>.
5653
5654 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
5655
5656         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
5657         to print.
5658         * misc/efgcvt_r.c: Likewise.
5659         * misc/qefgcvt.c: Likewise.
5660         * misc/qefgcvt_r.c: Likewise.
5661         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
5662         anymore.
5663
5664 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5665
5666         * manual/math.texi (FP Function Optimization): Mention drawbacks.
5667
5668 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
5669
5670         * stdlib/mblen.c: Use static state.
5671         Reported by Bruno Haible <haible@ilog.fr>.
5672
5673         * stdlib/mbtowc.c: Reset state for s == NULL.
5674         * stdlib/wctomb.c: Likewise.
5675         Reported by Bruno Haible <haible@ilog.fr>.
5676
5677         * stdlib/mbstowcs.c: Do not use global state.
5678         Reported by Bruno Haible <haible@ilog.fr>.
5679
5680 1999-07-28  Andeas Schwab  <schwab@suse.de>
5681
5682         * iconvdata/Makefile: Don't try to run iconv tests when cross
5683         compiling.
5684
5685 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
5686
5687         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
5688         assembler code to switch stacks and call init1 outside this
5689         function.  Inside `init' the code was optimized away by gcc
5690         2.95 since it was "clearly" unreachable.
5691         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5692         Do something similar for the trampoline code.
5693
5694 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
5695
5696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
5697         for the hinted protocol.
5698
5699 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5700
5701         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
5702
5703 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5704
5705         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
5706         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
5707         * elf/dl-load.c (_dl_map_object): Likewise.
5708         * elf/do-lookup.h (do_lookup*): Likewise.
5709         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
5710         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
5711         as uint64_t.
5712         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
5713
5714 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5715
5716         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
5717         * sysdeps/generic/getpgrp.c: Likewise.
5718         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5719         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
5720         Patch by John Tobey <jtobey@banta-im.com>.
5721
5722         * sysdeps/posix/wait3.c: Help compiling in presence of
5723         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
5724
5725 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5726
5727         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
5728         as much as possible. Declare them using .register pseudo-op if they
5729         are still used.
5730         * sysdeps/sparc/sparc64/lshift.S: Likewise.
5731         * sysdeps/sparc/sparc64/memchr.S: Likewise.
5732         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5733         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5734         * sysdeps/sparc/sparc64/memset.S: Likewise.
5735         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5736         * sysdeps/sparc/sparc64/rshift.S: Likewise.
5737         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
5738         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5739         * sysdeps/sparc/sparc64/strcat.S: Likewise.
5740         * sysdeps/sparc/sparc64/strchr.S: Likewise.
5741         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
5742         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
5743         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
5744         * sysdeps/sparc/sparc64/strlen.S: Likewise.
5745         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5746         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5747         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
5748         * sysdeps/sparc/sparc64/strspn.S: Likewise.
5749         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
5750         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5751         Optimize trampoline code for .plt4-.plt32767.
5752         Fix trampolines for .plt32768+.
5753
5754 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
5755
5756         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
5757         -mcpu=v8.
5758         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
5759         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
5760         libc's private use (as assembly routine clobber it anyway).
5761
5762 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5763
5764         * README.template (configurations): The crypt add-on has a new
5765         ftp site.
5766         * manual/install.texi (Installation): Likewise.
5767
5768 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5769
5770         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
5771         requires to have a full definition but we wait for a bug report
5772         based on the test suite.
5773
5774         * sysdeps/generic/clock_getres.c: New file.
5775         * sysdeps/generic/clock_gettime.c: New file.
5776         * sysdeps/generic/clock_settime.c: New file.
5777         * sysdeps/generic/timer_create.c: New file.
5778         * sysdeps/generic/timer_delete.c: New file.
5779         * sysdeps/generic/timer_getoverr.c: New file.
5780         * sysdeps/generic/timer_gettime.c: New file.
5781         * sysdeps/generic/timer_settime.c: New file.
5782
5783         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
5784         CLOCK_REALTIME, and TIMER_ABSTIME.
5785         * sysdeps/mach/hurd/bits/time.h: Likewise.
5786         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5787         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5788
5789         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
5790
5791         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
5792         si_timer2.
5793
5794         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
5795
5796         * time/Makefile (routines): Add clock_getres, clock_gettime,
5797         clock_setres, timer_create, timer_delete, timer_getoverr,
5798         timer_gettime, and timer_settime.
5799
5800         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
5801         POSIX.1b.  Add prototypes for clock and timer functions.
5802
5803 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
5804
5805         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
5806         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
5807
5808 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
5809
5810         * stdlib/wcstombs.c: Do not use global state.
5811         Reported by Bruno Haible <haible@ilog.fr>.
5812
5813         * wcsmbs/wctob.c: Avoid sign extension when returning character.
5814         Reported by Bruno Haible <haible@ilog.fr>.
5815
5816         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
5817         of wide characters to convert do it right and don't overestimate
5818         by multiplying with MB_CUR_MAX.
5819         Reported by Bruno Haible <haible@ilog.fr>.
5820
5821 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
5822
5823         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
5824         (__stpcpy_small): Likewise.
5825         Union has no __uc member but __c.
5826
5827 1999-07-26  Andreas Schwab  <schwab@suse.de>
5828
5829         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
5830
5831 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
5832
5833         * libio/iofclose.c (_IO_new_fclose): Only fall back on
5834         _IO_old_fclose if doing versioning.
5835
5836         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
5837         them appropriately.
5838         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5839
5840         * misc/mntent_r.c: Allow spaces and tabs in entry names by
5841         encoding these characters.
5842         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
5843
5844         * string/bits/string2.h: Fix aliasing problems.
5845         * sysdeps/i386/i486/bits/string.h: Likewise.
5846         * sysdeps/i386/bits/string.h: Likewise.
5847
5848 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
5849
5850         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
5851         * elf/rtld.c (dl_main): Don't call malloc() between
5852         re-relocating the dynamic linker and running the application's crt0.
5853
5854 1999-07-21  Paul D. Smith  <psmith@gnu.org>
5855
5856         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
5857         glob.h to get __P() macro.
5858
5859         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
5860         not ANSI.
5861         (__strchrnul): This won't exist outside GLIBC, so create one.
5862
5863 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
5864
5865         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
5866         __ino64_t should be 32bit unsigned type on sparc32.
5867         Define __off64_t to __quad_t instead of __int64_t.
5868         Make __pic_pid_t unsigned on sparc32.
5869
5870 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5871
5872         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
5873         in bash 2.03.
5874
5875 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
5876
5877         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
5878         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
5879
5880 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
5881
5882         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
5883         accesses.
5884
5885         * resolv/res_send.c: Add locks for res_send and res_close use.
5886
5887         * elf/Makefile (dl-routines): Add preinit.
5888         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
5889         * elf/link.h (struct link_map): Add new field l_preinitcount.
5890         * elf/dl-preinit.c: New file.
5891         * elf/dynamic-link.h: Initialize l_preinitcount.
5892         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
5893
5894         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
5895         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
5896         and l_initcount.
5897         * elf/dl-init.c: Handle DT_INIT_ARRAY.
5898         * elf/dynamic-link.h: Change parameters.  Now only get link_map
5899         pointer.  Calculate l_initcount.
5900
5901         * elf/link.h (struct link_map): Add l_runpath_dirs.
5902         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
5903         * elf/dl-load.c: Pretty print.
5904         (decompose_rpath): Take new parameter with info from where the path
5905         comes.  Pass it the fillin_rpath.
5906         (_dl_init_paths): Initialize l_runpath_dirs.
5907         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
5908         Search using RUNPATH after LD_LIBRARY_PATH.
5909         * elf/dl-support.c: Adjust comment.
5910         * elf/rtld.c: Adjust help message.
5911
5912 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5913
5914         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
5915         interface.
5916
5917 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
5918
5919         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
5920         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
5921         ever used this, so I'm not going to worry about compatibility.
5922         [__USE_GNU] (IUCLC, OLCUC): New macros.
5923
5924 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
5925
5926         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
5927
5928         * elf/elf.h: Add ET_LOOS and ET_HIOS.
5929         Add various EM_* constants.
5930         Add SHN_LOOS and SHN_HIOS.
5931         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
5932         Add SHF_MERGE and SHF_STRINGS.
5933         (ElfXX_Sym): Update description of st_other field.
5934         Add STT_COMMON.
5935         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
5936         Add STV_* macros.
5937         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
5938         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
5939         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
5940
5941         * posix/unistd.h: Move declaration of __libc_enable_secure to...
5942         * include/unistd.h: ...here.
5943
5944         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
5945         * elf/dl-deps.c (expand_dst): Likewise.
5946
5947         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
5948         based on DT_FLAGS value.
5949
5950         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
5951         Add test for symbols marked STV_HIDDEN.
5952         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
5953         add undef_map.  Compute reference_name locally.  Update call to
5954         do_lookup.
5955         (_dl_lookup_symbol_skip): Likewise.
5956         (_dl_lookup_versioned_symbol): Likewise.
5957         (_dl_lookup_versioned_symbol_skip): Likewise.
5958         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
5959         * elf/dl-runtime.c: Likewise.
5960         * elf/dl-sym.c: Likewise.
5961         * elf/dl-symbol.c: Likewise.
5962         * elf/ldsodefs.h: Adjust prototypes.
5963
5964         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
5965         handle appropriately.  Add comment about DT_TEXTREL.
5966         * elf/dl-runtime.c: Likewise.
5967
5968 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
5969
5970         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
5971         * elf/ldsodefs.h: Declare it.
5972         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
5973         instead of assert.
5974         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
5975         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5976         (elf_machine_lazy_rel): Likewise.
5977         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
5978         (elf_machine_lazy_rel): Likewise.
5979         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
5980         (elf_machine_lazy_rel): Likewise.
5981         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
5982         (elf_machine_lazy_rel): Likewise.
5983         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5984         (elf_machine_lazy_rel): Likewise.
5985         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
5986         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
5987         (elf_machine_lazy_rel): Likewise.
5988         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
5989         (elf_machine_lazy_rel): Likewise.
5990         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
5991         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
5992         _dl_reloc_bad_type instead of _dl_signal_error.
5993         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
5994
5995 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
5996
5997         * sysdeps/mach/_strerror.c: Include <libintl.h>.
5998
5999 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
6000
6001         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
6002         hurd_signal_preemptor matches but its `preemptor' field is null, use
6003         its `handler' field directly.  This is to comply with behavior
6004         documented in <hurd/sigpreempt.h>.
6005
6006 1999-07-21  Andreas Schwab  <schwab@suse.de>
6007
6008         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
6009         when reading from write-only stream.
6010         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
6011         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6012
6013 1999-07-21  Andreas Schwab  <schwab@suse.de>
6014
6015         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
6016         NULL.
6017
6018 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
6019
6020         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
6021         <hurd/fd.h>.
6022         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
6023         <hurd/fd.h>.
6024         (__libc_write): Call __pwrite instead of __pread.
6025
6026 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
6027
6028         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
6029         __vm_allocate calls.
6030
6031         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
6032         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
6033
6034         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
6035         _hurd_fd_read with new OFFSET argument set to -1.
6036         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
6037         to -1.
6038
6039 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
6040
6041         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
6042         descriptor table sent in the RPC.
6043
6044 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6045
6046         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
6047         bill@taniwha.org [PR libc/1211].
6048
6049 1999-07-19  Andreas Schwab  <schwab@suse.de>
6050
6051         * libio/Makefile (routines): Add fwprintf.
6052
6053         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
6054         * math/w_sqrt.c: Moved to ...
6055         * sysdeps/generic/w_sqrt.c: ... here.
6056         * math/w_sqrtf.c: Moved to ...
6057         * sysdeps/generic/w_sqrtf.c: ... here.
6058
6059         * Make-dist (generic-dirs): New variable.
6060         (try-sysdeps, +sysdep-names): Use it.
6061         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
6062         instead of $(lib)-routines.
6063         * elf/Makefile (distribute): Add dl-cache.h.
6064         * db2/Makefile (distribute): Add all new files.
6065         * iconvdata/Makefile (distribute): Don't distribute CVS
6066         directory.
6067         * math/Makefile (distribute): Remove machine/endian.h, add
6068         math_ldbl.h.
6069         * stdio-common/Makefile (distribute): Add _itowa.h.
6070         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
6071         * sysdeps/gnu/Dist: Add eval.c
6072         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
6073         dlfcn]: Add to this instead of libdl-routines.
6074         * sysdeps/ieee754/ldbl-128/Dist: New file.
6075         * sysdeps/mach/hurd/Dist: Add siglist.h
6076         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
6077
6078 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
6079
6080         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
6081
6082         * inet/Makefile (routines): Add getipnodebyad and freehostent.
6083         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
6084         * inet/freehostent.c: New file.
6085         * inet/getipnodebyad.c: New file.
6086         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
6087         and getipnodebyname.  The latter comes soon.
6088         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
6089         Add support for getipnode* functions.
6090
6091         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
6092         Set h_aliases to NULL and not to a pointer to an array with a NULL
6093         pointer following XNS 5.2.
6094
6095         * posix/sched.h: Remove internal interfaces.
6096         * include/sched.h: Add internal interfaces.
6097
6098         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
6099
6100         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
6101
6102         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
6103         and return an error in this case.
6104         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
6105         available.
6106
6107 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6108
6109         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
6110         1999-07-17 and adjust len parameter.
6111         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6112         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
6113         * manual/socket.texi (Host Names): Likewise.
6114         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6115         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6116         Likewise.
6117         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6118         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6119         (ht_gethostbyaddr): Likewise.
6120         (_gethtbyaddr): Likewise.
6121
6122 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6123
6124         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
6125         gethostbyaddr_r.
6126         * include/netdb.h: Likewise.
6127         * inet/gethstbyad.c: Correct type of len parameter.
6128         * inet/gethstbyad_r.c: Likewise.
6129
6130         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
6131
6132 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
6133
6134         * include/libc-symbol.h: Clean up definitions of weak_alias,
6135         strong_alias, symbol_version, etc. etc.
6136         * posix/getopt.h: Use ctype.h to get features.h included, and don't
6137         include it at all if __GNU_LIBRARY__ is already defined.
6138
6139 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
6140
6141         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
6142
6143         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
6144
6145         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
6146         type for tv_usec element.
6147         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6148         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
6149         * sysdeps/generic/bits/time.h: Likewise.
6150         * sysdeps/mach/hurd/bits/time.h: Likewise.
6151         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6152         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6153         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6154         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6155         * sysdeps/generic/bits/types.h: Likewise.
6156         * posix/sys/types.h: Define suseconds_t for X/Open.
6157
6158 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6159
6160         * stdio-common/bug1.c: Avoid memory leak.
6161
6162         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
6163         program deterministic.
6164         * sysdeps/i386/fpu/e_powf.S: Likewise.
6165         * sysdeps/i386/fpu/e_powl.S: Likewise.
6166
6167 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
6168
6169         * math/Makefile: Add t_sincosl and k_sincosl support routines.
6170         * math/math_private.h (__kernel_sincosl): New declaration.
6171         * sysdeps/generic/t_sincosl.c: New file.
6172         * sysdeps/generic/k_sincosl.c: New file.
6173         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
6174         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
6175         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
6176         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
6177         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
6178         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
6179         __kernel_sincosl.
6180         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
6181         definition.
6182
6183 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6184
6185         * posix/unistd.h: Use __PMT for exit.
6186
6187 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
6188
6189         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
6190         _outw, _outl): Added to GLIBC_2.1.2.
6191
6192 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
6193
6194         * posix/fnmatch.h: Use __name instead of __string in prototype to
6195         allow use outside glibc.
6196
6197 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
6198
6199         * time/tst-strptime.c (main): Add one more test case.  Produce
6200         output even when result is ok.
6201
6202         * time/strptime.c (get_number): Handle number parsing more
6203         consistent with strftime.  Only parse a given number of digits.
6204         (get_alt_number):  Fix implementation.  Was broken.
6205         (strptime_internal): Add third parameter to get_number and
6206         get_alt_number calls.
6207
6208 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
6209
6210         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
6211         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
6212         try both 32bit and 64bit dynamic linker.
6213         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
6214         script on all sparc targets.
6215
6216 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
6217
6218         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
6219         to int.
6220
6221 1999-07-13  Andreas Schwab  <schwab@suse.de>
6222
6223         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
6224         inlining.  Fixes PR libc/1198.
6225
6226 1999-07-14  Andreas Schwab  <schwab@suse.de>
6227
6228         * Makerules (common-generated): Don't prepend $(common-objpfx).
6229
6230 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
6231
6232         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
6233         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
6234         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
6235         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
6236         macro.
6237         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6238         instead of ieee754.
6239         * sysdeps/arm/Implies: Likewise.
6240         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6241         ieee754/ldbl-96 instead of ieee754.
6242         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
6243         * sysdeps/generic/e_atanhl.c: New file.
6244         * sysdeps/generic/e_coshl.c: New file.
6245         * sysdeps/generic/e_sinhl.c: New file.
6246         * sysdeps/generic/e_gammal_r.c: New file.
6247         * sysdeps/generic/e_hypotl.c: New file.
6248         * sysdeps/generic/s_cbrtl.c: New file.
6249         * sysdeps/generic/s_asinhl.c: New file.
6250         * sysdeps/generic/s_tanhl.c: New file.
6251         * sysdeps/generic/w_expl.c: New file.
6252         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6253         instead of ieee754.
6254         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
6255         ieee754/ldbl-96 instead of ieee754.
6256         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
6257         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
6258         printf_fphex.
6259         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
6260         instead of ieee754.
6261         * sysdeps/mips/mips64/Implies: Likewise.
6262         * sysdeps/powerpc/Implies: Likewise.
6263         * sysdeps/sparc/Implies: Remove.
6264         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
6265         ieee754/dbl-64.
6266         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
6267         and ieee754/ldbl-128.
6268
6269         * sysdeps/sparc/bits/wordsize.h: Remove.
6270         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
6271         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
6272         only for sparc32.
6273         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
6274         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
6275         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
6276         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
6277         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
6278         support.
6279
6280         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
6281         of carries. Optimize.
6282
6283         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
6284         * sysdeps/generic/e_exp10.c: ...here.
6285         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
6286         * sysdeps/generic/e_exp10f.c: ...here.
6287         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
6288         * sysdeps/generic/e_exp10l.c: ...here.
6289         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
6290         * sysdeps/generic/e_scalb.c: ...here.
6291         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
6292         * sysdeps/generic/e_scalbf.c: ...here.
6293         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
6294         * sysdeps/generic/e_scalbl.c: ...here.
6295         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
6296         * sysdeps/generic/s_cacos.c: ...here.
6297         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
6298         * sysdeps/generic/s_cacosf.c: ...here.
6299         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
6300         * sysdeps/generic/s_cacosh.c: ...here.
6301         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
6302         * sysdeps/generic/s_cacoshf.c: ...here.
6303         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
6304         * sysdeps/generic/s_cacoshl.c: ...here.
6305         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
6306         * sysdeps/generic/s_cacosl.c: ...here.
6307         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
6308         * sysdeps/generic/s_casin.c: ...here.
6309         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
6310         * sysdeps/generic/s_casinf.c: ...here.
6311         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
6312         * sysdeps/generic/s_casinh.c: ...here.
6313         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
6314         * sysdeps/generic/s_casinhf.c: ...here.
6315         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
6316         * sysdeps/generic/s_casinhl.c: ...here.
6317         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
6318         * sysdeps/generic/s_casinl.c: ...here.
6319         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
6320         * sysdeps/generic/s_catan.c: ...here.
6321         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
6322         * sysdeps/generic/s_catanf.c: ...here.
6323         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
6324         * sysdeps/generic/s_catanh.c: ...here.
6325         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
6326         * sysdeps/generic/s_catanhf.c: ...here.
6327         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
6328         * sysdeps/generic/s_catanhl.c: ...here.
6329         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
6330         * sysdeps/generic/s_catanl.c: ...here.
6331         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
6332         * sysdeps/generic/s_ccos.c: ...here.
6333         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
6334         * sysdeps/generic/s_ccosf.c: ...here.
6335         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
6336         * sysdeps/generic/s_ccosh.c: ...here.
6337         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
6338         * sysdeps/generic/s_ccoshf.c: ...here.
6339         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
6340         * sysdeps/generic/s_ccoshl.c: ...here.
6341         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
6342         * sysdeps/generic/s_ccosl.c: ...here.
6343         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
6344         * sysdeps/generic/s_cexp.c: ...here.
6345         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
6346         * sysdeps/generic/s_cexpf.c: ...here.
6347         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
6348         * sysdeps/generic/s_cexpl.c: ...here.
6349         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
6350         * sysdeps/generic/s_clog.c: ...here.
6351         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
6352         * sysdeps/generic/s_clog10.c: ...here.
6353         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
6354         * sysdeps/generic/s_clog10f.c: ...here.
6355         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
6356         * sysdeps/generic/s_clog10l.c: ...here.
6357         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
6358         * sysdeps/generic/s_clogf.c: ...here.
6359         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
6360         * sysdeps/generic/s_clogl.c: ...here.
6361         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
6362         * sysdeps/generic/s_cpow.c: ...here.
6363         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
6364         * sysdeps/generic/s_cpowf.c: ...here.
6365         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
6366         * sysdeps/generic/s_cpowl.c: ...here.
6367         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
6368         * sysdeps/generic/s_cproj.c: ...here.
6369         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
6370         * sysdeps/generic/s_cprojf.c: ...here.
6371         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
6372         * sysdeps/generic/s_cprojl.c: ...here.
6373         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
6374         * sysdeps/generic/s_csin.c: ...here.
6375         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
6376         * sysdeps/generic/s_csinf.c: ...here.
6377         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
6378         * sysdeps/generic/s_csinh.c: ...here.
6379         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
6380         * sysdeps/generic/s_csinhf.c: ...here.
6381         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
6382         * sysdeps/generic/s_csinhl.c: ...here.
6383         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
6384         * sysdeps/generic/s_csinl.c: ...here.
6385         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
6386         * sysdeps/generic/s_csqrt.c: ...here.
6387         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
6388         * sysdeps/generic/s_csqrtf.c: ...here.
6389         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
6390         * sysdeps/generic/s_csqrtl.c: ...here.
6391         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
6392         * sysdeps/generic/s_ctan.c: ...here.
6393         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
6394         * sysdeps/generic/s_ctanf.c: ...here.
6395         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
6396         * sysdeps/generic/s_ctanh.c: ...here.
6397         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
6398         * sysdeps/generic/s_ctanhf.c: ...here.
6399         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
6400         * sysdeps/generic/s_ctanhl.c: ...here.
6401         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
6402         * sysdeps/generic/s_ctanl.c: ...here.
6403         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
6404         * sysdeps/generic/s_fdim.c: ...here.
6405         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
6406         * sysdeps/generic/s_fdimf.c: ...here.
6407         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
6408         * sysdeps/generic/s_fdiml.c: ...here.
6409         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
6410         * sysdeps/generic/s_fma.c: ...here.
6411         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
6412         * sysdeps/generic/s_fmaf.c: ...here.
6413         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
6414         * sysdeps/generic/s_fmal.c: ...here.
6415         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
6416         * sysdeps/generic/s_fmax.c: ...here.
6417         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
6418         * sysdeps/generic/s_fmaxf.c: ...here.
6419         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
6420         * sysdeps/generic/s_fmaxl.c: ...here.
6421         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
6422         * sysdeps/generic/s_fmin.c: ...here.
6423         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
6424         * sysdeps/generic/s_fminf.c: ...here.
6425         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
6426         * sysdeps/generic/s_fminl.c: ...here.
6427         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
6428         * sysdeps/generic/s_ldexp.c: ...here.
6429         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
6430         * sysdeps/generic/s_ldexpf.c: ...here.
6431         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
6432         * sysdeps/generic/s_ldexpl.c: ...here.
6433         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
6434         * sysdeps/generic/s_nan.c: ...here.
6435         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
6436         * sysdeps/generic/s_nanf.c: ...here.
6437         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
6438         * sysdeps/generic/s_nanl.c: ...here.
6439         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
6440         * sysdeps/generic/s_significand.c: ...here.
6441         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
6442         * sysdeps/generic/s_significandf.c: ...here.
6443         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
6444         * sysdeps/generic/s_significandl.c: ...here.
6445         Avoid conversion from int to double and then to long double.
6446         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
6447         * math/w_acos.c: ...here.
6448         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
6449         * math/w_acosf.c: ...here.
6450         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
6451         * math/w_acosh.c: ...here.
6452         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
6453         * math/w_acoshf.c: ...here.
6454         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
6455         * math/w_acoshl.c: ...here.
6456         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
6457         * math/w_acosl.c: ...here.
6458         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
6459         * math/w_asin.c: ...here.
6460         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
6461         * math/w_asinf.c: ...here.
6462         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
6463         * math/w_asinl.c: ...here.
6464         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
6465         * math/w_atan2.c: ...here.
6466         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
6467         * math/w_atan2f.c: ...here.
6468         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
6469         * math/w_atan2l.c: ...here.
6470         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
6471         * math/w_atanh.c: ...here.
6472         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
6473         * math/w_atanhf.c: ...here.
6474         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
6475         * math/w_atanhl.c: ...here.
6476         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
6477         * math/w_cosh.c: ...here.
6478         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
6479         * math/w_coshf.c: ...here.
6480         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
6481         * math/w_coshl.c: ...here.
6482         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
6483         * math/w_drem.c: ...here.
6484         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
6485         * math/w_dremf.c: ...here.
6486         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
6487         * math/w_dreml.c: ...here.
6488         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
6489         * math/w_exp10.c: ...here.
6490         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
6491         * math/w_exp10f.c: ...here.
6492         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
6493         * math/w_exp10l.c: ...here.
6494         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
6495         * math/w_exp2.c: ...here.
6496         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
6497         * math/w_exp2f.c: ...here.
6498         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
6499         * math/w_exp2l.c: ...here.
6500         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
6501         * math/w_fmod.c: ...here.
6502         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
6503         * math/w_fmodf.c: ...here.
6504         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
6505         * math/w_fmodl.c: ...here.
6506         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
6507         * math/w_hypot.c: ...here.
6508         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
6509         * math/w_hypotf.c: ...here.
6510         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
6511         * math/w_hypotl.c: ...here.
6512         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
6513         * math/w_j0.c: ...here.
6514         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
6515         * math/w_j0f.c: ...here.
6516         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
6517         * math/w_j0l.c: ...here.
6518         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
6519         * math/w_j1.c: ...here.
6520         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
6521         * math/w_j1f.c: ...here.
6522         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
6523         * math/w_j1l.c: ...here.
6524         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
6525         * math/w_jn.c: ...here.
6526         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
6527         * math/w_jnf.c: ...here.
6528         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
6529         * math/w_jnl.c: ...here.
6530         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
6531         * math/w_lgamma.c: ...here.
6532         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
6533         * math/w_lgamma_r.c: ...here.
6534         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
6535         * math/w_lgammaf.c: ...here.
6536         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
6537         * math/w_lgammaf_r.c: ...here.
6538         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
6539         * math/w_lgammal.c: ...here.
6540         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
6541         * math/w_lgammal_r.c: ...here.
6542         * sysdeps/libm-ieee754/w_log.c: Moved to ...
6543         * math/w_log.c: ...here.
6544         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
6545         * math/w_log10.c: ...here.
6546         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
6547         * math/w_log10f.c: ...here.
6548         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
6549         * math/w_log10l.c: ...here.
6550         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
6551         * math/w_logf.c: ...here.
6552         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
6553         * math/w_logl.c: ...here.
6554         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
6555         * math/w_pow.c: ...here.
6556         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
6557         * math/w_powf.c: ...here.
6558         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
6559         * math/w_powl.c: ...here.
6560         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
6561         * math/w_remainder.c: ...here.
6562         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
6563         * math/w_remainderf.c: ...here.
6564         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
6565         * math/w_remainderl.c: ...here.
6566         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
6567         * math/w_scalb.c: ...here.
6568         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
6569         * math/w_scalbf.c: ...here.
6570         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
6571         * math/w_scalbl.c: ...here.
6572         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
6573         * math/w_sinh.c: ...here.
6574         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
6575         * math/w_sinhf.c: ...here.
6576         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
6577         * math/w_sinhl.c: ...here.
6578         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
6579         * math/w_sqrt.c: ...here.
6580         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
6581         * math/w_sqrtf.c: ...here.
6582         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
6583         * math/w_sqrtl.c: ...here.
6584         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
6585         * math/w_tgamma.c: ...here.
6586         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
6587         * math/w_tgammaf.c: ...here.
6588         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
6589         * math/w_tgammal.c: ...here.
6590         * sysdeps/libm-i387/e_acos.S: Moved to ...
6591         * sysdeps/i386/fpu/e_acos.S: ...here.
6592         * sysdeps/libm-i387/e_acosf.S: Moved to ...
6593         * sysdeps/i386/fpu/e_acosf.S: ...here.
6594         * sysdeps/libm-i387/e_acosh.S: Moved to ...
6595         * sysdeps/i386/fpu/e_acosh.S: ...here.
6596         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
6597         * sysdeps/i386/fpu/e_acoshf.S: ...here.
6598         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
6599         * sysdeps/i386/fpu/e_acoshl.S: ...here.
6600         * sysdeps/libm-i387/e_acosl.S: Moved to ...
6601         * sysdeps/i386/fpu/e_acosl.S: ...here.
6602         * sysdeps/libm-i387/e_asin.S: Moved to ...
6603         * sysdeps/i386/fpu/e_asin.S: ...here.
6604         * sysdeps/libm-i387/e_asinf.S: Moved to ...
6605         * sysdeps/i386/fpu/e_asinf.S: ...here.
6606         * sysdeps/libm-i387/e_asinl.S: Moved to ...
6607         * sysdeps/i386/fpu/e_asinl.S: ...here.
6608         * sysdeps/libm-i387/e_atan2.S: Moved to ...
6609         * sysdeps/i386/fpu/e_atan2.S: ...here.
6610         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
6611         * sysdeps/i386/fpu/e_atan2f.S: ...here.
6612         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
6613         * sysdeps/i386/fpu/e_atan2l.S: ...here.
6614         * sysdeps/libm-i387/e_atanh.S: Moved to ...
6615         * sysdeps/i386/fpu/e_atanh.S: ...here.
6616         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
6617         * sysdeps/i386/fpu/e_atanhf.S: ...here.
6618         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
6619         * sysdeps/i386/fpu/e_atanhl.S: ...here.
6620         * sysdeps/libm-i387/e_exp.S: Moved to ...
6621         * sysdeps/i386/fpu/e_exp.S: ...here.
6622         * sysdeps/libm-i387/e_exp10.S: Moved to ...
6623         * sysdeps/i386/fpu/e_exp10.S: ...here.
6624         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
6625         * sysdeps/i386/fpu/e_exp10f.S: ...here.
6626         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
6627         * sysdeps/i386/fpu/e_exp10l.S: ...here.
6628         * sysdeps/libm-i387/e_expf.S: Moved to ...
6629         * sysdeps/i386/fpu/e_expf.S: ...here.
6630         * sysdeps/libm-i387/e_expl.S: Moved to ...
6631         * sysdeps/i386/fpu/e_expl.S: ...here.
6632         * sysdeps/libm-i387/e_fmod.S: Moved to ...
6633         * sysdeps/i386/fpu/e_fmod.S: ...here.
6634         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
6635         * sysdeps/i386/fpu/e_fmodf.S: ...here.
6636         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
6637         * sysdeps/i386/fpu/e_fmodl.S: ...here.
6638         * sysdeps/libm-i387/e_hypot.S: Moved to ...
6639         * sysdeps/i386/fpu/e_hypot.S: ...here.
6640         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
6641         * sysdeps/i386/fpu/e_hypotf.S: ...here.
6642         * sysdeps/libm-i387/e_log.S: Moved to ...
6643         * sysdeps/i386/fpu/e_log.S: ...here.
6644         * sysdeps/libm-i387/e_log10.S: Moved to ...
6645         * sysdeps/i386/fpu/e_log10.S: ...here.
6646         * sysdeps/libm-i387/e_log10f.S: Moved to ...
6647         * sysdeps/i386/fpu/e_log10f.S: ...here.
6648         * sysdeps/libm-i387/e_log10l.S: Moved to ...
6649         * sysdeps/i386/fpu/e_log10l.S: ...here.
6650         * sysdeps/libm-i387/e_logf.S: Moved to ...
6651         * sysdeps/i386/fpu/e_logf.S: ...here.
6652         * sysdeps/libm-i387/e_logl.S: Moved to ...
6653         * sysdeps/i386/fpu/e_logl.S: ...here.
6654         * sysdeps/libm-i387/e_pow.S: Moved to ...
6655         * sysdeps/i386/fpu/e_pow.S: ...here.
6656         * sysdeps/libm-i387/e_powf.S: Moved to ...
6657         * sysdeps/i386/fpu/e_powf.S: ...here.
6658         * sysdeps/libm-i387/e_powl.S: Moved to ...
6659         * sysdeps/i386/fpu/e_powl.S: ...here.
6660         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
6661         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
6662         * sysdeps/libm-i387/e_remainder.S: Moved to ...
6663         * sysdeps/i386/fpu/e_remainder.S: ...here.
6664         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
6665         * sysdeps/i386/fpu/e_remainderf.S: ...here.
6666         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
6667         * sysdeps/i386/fpu/e_remainderl.S: ...here.
6668         * sysdeps/libm-i387/e_scalb.S: Moved to ...
6669         * sysdeps/i386/fpu/e_scalb.S: ...here.
6670         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
6671         * sysdeps/i386/fpu/e_scalbf.S: ...here.
6672         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
6673         * sysdeps/i386/fpu/e_scalbl.S: ...here.
6674         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
6675         * sysdeps/i386/fpu/e_sqrt.S: ...here.
6676         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
6677         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
6678         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
6679         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
6680         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
6681         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
6682         * sysdeps/libm-i387/s_asinh.S: Moved to ...
6683         * sysdeps/i386/fpu/s_asinh.S: ...here.
6684         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
6685         * sysdeps/i386/fpu/s_asinhf.S: ...here.
6686         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
6687         * sysdeps/i386/fpu/s_asinhl.S: ...here.
6688         * sysdeps/libm-i387/s_atan.S: Moved to ...
6689         * sysdeps/i386/fpu/s_atan.S: ...here.
6690         * sysdeps/libm-i387/s_atanf.S: Moved to ...
6691         * sysdeps/i386/fpu/s_atanf.S: ...here.
6692         * sysdeps/libm-i387/s_atanl.S: Moved to ...
6693         * sysdeps/i386/fpu/s_atanl.S: ...here.
6694         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
6695         * sysdeps/i386/fpu/s_cbrt.S: ...here.
6696         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
6697         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
6698         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
6699         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
6700         * sysdeps/libm-i387/s_ceil.S: Moved to ...
6701         * sysdeps/i386/fpu/s_ceil.S: ...here.
6702         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
6703         * sysdeps/i386/fpu/s_ceilf.S: ...here.
6704         * sysdeps/libm-i387/s_ceill.S: Moved to ...
6705         * sysdeps/i386/fpu/s_ceill.S: ...here.
6706         * sysdeps/libm-i387/s_cexp.S: Moved to ...
6707         * sysdeps/i386/fpu/s_cexp.S: ...here.
6708         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
6709         * sysdeps/i386/fpu/s_cexpf.S: ...here.
6710         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
6711         * sysdeps/i386/fpu/s_cexpl.S: ...here.
6712         * sysdeps/libm-i387/s_copysign.S: Moved to ...
6713         * sysdeps/i386/fpu/s_copysign.S: ...here.
6714         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
6715         * sysdeps/i386/fpu/s_copysignf.S: ...here.
6716         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
6717         * sysdeps/i386/fpu/s_copysignl.S: ...here.
6718         * sysdeps/libm-i387/s_cos.S: Moved to ...
6719         * sysdeps/i386/fpu/s_cos.S: ...here.
6720         * sysdeps/libm-i387/s_cosf.S: Moved to ...
6721         * sysdeps/i386/fpu/s_cosf.S: ...here.
6722         * sysdeps/libm-i387/s_cosl.S: Moved to ...
6723         * sysdeps/i386/fpu/s_cosl.S: ...here.
6724         * sysdeps/libm-i387/s_exp2.S: Moved to ...
6725         * sysdeps/i386/fpu/s_exp2.S: ...here.
6726         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
6727         * sysdeps/i386/fpu/s_exp2f.S: ...here.
6728         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
6729         * sysdeps/i386/fpu/s_exp2l.S: ...here.
6730         * sysdeps/libm-i387/s_expm1.S: Moved to ...
6731         * sysdeps/i386/fpu/s_expm1.S: ...here.
6732         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
6733         * sysdeps/i386/fpu/s_expm1f.S: ...here.
6734         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
6735         * sysdeps/i386/fpu/s_expm1l.S: ...here.
6736         * sysdeps/libm-i387/s_fdim.S: Moved to ...
6737         * sysdeps/i386/fpu/s_fdim.S: ...here.
6738         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
6739         * sysdeps/i386/fpu/s_fdimf.S: ...here.
6740         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
6741         * sysdeps/i386/fpu/s_fdiml.S: ...here.
6742         * sysdeps/libm-i387/s_finite.S: Moved to ...
6743         * sysdeps/i386/fpu/s_finite.S: ...here.
6744         * sysdeps/libm-i387/s_finitef.S: Moved to ...
6745         * sysdeps/i386/fpu/s_finitef.S: ...here.
6746         * sysdeps/libm-i387/s_finitel.S: Moved to ...
6747         * sysdeps/i386/fpu/s_finitel.S: ...here.
6748         * sysdeps/libm-i387/s_floor.S: Moved to ...
6749         * sysdeps/i386/fpu/s_floor.S: ...here.
6750         * sysdeps/libm-i387/s_floorf.S: Moved to ...
6751         * sysdeps/i386/fpu/s_floorf.S: ...here.
6752         * sysdeps/libm-i387/s_floorl.S: Moved to ...
6753         * sysdeps/i386/fpu/s_floorl.S: ...here.
6754         * sysdeps/libm-i387/s_fma.S: Moved to ...
6755         * sysdeps/i386/fpu/s_fma.S: ...here.
6756         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
6757         * sysdeps/i386/fpu/s_fmaf.S: ...here.
6758         * sysdeps/libm-i387/s_fmal.S: Moved to ...
6759         * sysdeps/i386/fpu/s_fmal.S: ...here.
6760         * sysdeps/libm-i387/s_fmax.S: Moved to ...
6761         * sysdeps/i386/fpu/s_fmax.S: ...here.
6762         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
6763         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
6764         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
6765         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
6766         * sysdeps/libm-i387/s_fmin.S: Moved to ...
6767         * sysdeps/i386/fpu/s_fmin.S: ...here.
6768         * sysdeps/libm-i387/s_fminf.S: Moved to ...
6769         * sysdeps/i386/fpu/s_fminf.S: ...here.
6770         * sysdeps/libm-i387/s_fminl.S: Moved to ...
6771         * sysdeps/i386/fpu/s_fminl.S: ...here.
6772         * sysdeps/libm-i387/s_frexp.S: Moved to ...
6773         * sysdeps/i386/fpu/s_frexp.S: ...here.
6774         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
6775         * sysdeps/i386/fpu/s_frexpf.S: ...here.
6776         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
6777         * sysdeps/i386/fpu/s_frexpl.S: ...here.
6778         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
6779         * sysdeps/i386/fpu/s_ilogb.S: ...here.
6780         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
6781         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
6782         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
6783         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
6784         * sysdeps/libm-i387/s_llrint.S: Moved to ...
6785         * sysdeps/i386/fpu/s_llrint.S: ...here.
6786         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
6787         * sysdeps/i386/fpu/s_llrintf.S: ...here.
6788         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
6789         * sysdeps/i386/fpu/s_llrintl.S: ...here.
6790         * sysdeps/libm-i387/s_log1p.S: Moved to ...
6791         * sysdeps/i386/fpu/s_log1p.S: ...here.
6792         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
6793         * sysdeps/i386/fpu/s_log1pf.S: ...here.
6794         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
6795         * sysdeps/i386/fpu/s_log1pl.S: ...here.
6796         * sysdeps/libm-i387/s_log2.S: Moved to ...
6797         * sysdeps/i386/fpu/s_log2.S: ...here.
6798         * sysdeps/libm-i387/s_log2f.S: Moved to ...
6799         * sysdeps/i386/fpu/s_log2f.S: ...here.
6800         * sysdeps/libm-i387/s_log2l.S: Moved to ...
6801         * sysdeps/i386/fpu/s_log2l.S: ...here.
6802         * sysdeps/libm-i387/s_logb.S: Moved to ...
6803         * sysdeps/i386/fpu/s_logb.S: ...here.
6804         * sysdeps/libm-i387/s_logbf.S: Moved to ...
6805         * sysdeps/i386/fpu/s_logbf.S: ...here.
6806         * sysdeps/libm-i387/s_logbl.S: Moved to ...
6807         * sysdeps/i386/fpu/s_logbl.S: ...here.
6808         * sysdeps/libm-i387/s_lrint.S: Moved to ...
6809         * sysdeps/i386/fpu/s_lrint.S: ...here.
6810         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
6811         * sysdeps/i386/fpu/s_lrintf.S: ...here.
6812         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
6813         * sysdeps/i386/fpu/s_lrintl.S: ...here.
6814         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
6815         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
6816         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
6817         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
6818         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
6819         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
6820         * sysdeps/libm-i387/s_remquo.S: Moved to ...
6821         * sysdeps/i386/fpu/s_remquo.S: ...here.
6822         * sysdeps/libm-i387/s_remquof.S: Moved to ...
6823         * sysdeps/i386/fpu/s_remquof.S: ...here.
6824         * sysdeps/libm-i387/s_remquol.S: Moved to ...
6825         * sysdeps/i386/fpu/s_remquol.S: ...here.
6826         * sysdeps/libm-i387/s_rint.S: Moved to ...
6827         * sysdeps/i386/fpu/s_rint.S: ...here.
6828         * sysdeps/libm-i387/s_rintf.S: Moved to ...
6829         * sysdeps/i386/fpu/s_rintf.S: ...here.
6830         * sysdeps/libm-i387/s_rintl.S: Moved to ...
6831         * sysdeps/i386/fpu/s_rintl.S: ...here.
6832         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
6833         * sysdeps/i386/fpu/s_scalbn.S: ...here.
6834         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
6835         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
6836         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
6837         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
6838         * sysdeps/libm-i387/s_significand.S: Moved to ...
6839         * sysdeps/i386/fpu/s_significand.S: ...here.
6840         * sysdeps/libm-i387/s_significandf.S: Moved to ...
6841         * sysdeps/i386/fpu/s_significandf.S: ...here.
6842         * sysdeps/libm-i387/s_significandl.S: Moved to ...
6843         * sysdeps/i386/fpu/s_significandl.S: ...here.
6844         * sysdeps/libm-i387/s_sin.S: Moved to ...
6845         * sysdeps/i386/fpu/s_sin.S: ...here.
6846         * sysdeps/libm-i387/s_sincos.S: Moved to ...
6847         * sysdeps/i386/fpu/s_sincos.S: ...here.
6848         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
6849         * sysdeps/i386/fpu/s_sincosf.S: ...here.
6850         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
6851         * sysdeps/i386/fpu/s_sincosl.S: ...here.
6852         * sysdeps/libm-i387/s_sinf.S: Moved to ...
6853         * sysdeps/i386/fpu/s_sinf.S: ...here.
6854         * sysdeps/libm-i387/s_sinl.S: Moved to ...
6855         * sysdeps/i386/fpu/s_sinl.S: ...here.
6856         * sysdeps/libm-i387/s_tan.S: Moved to ...
6857         * sysdeps/i386/fpu/s_tan.S: ...here.
6858         * sysdeps/libm-i387/s_tanf.S: Moved to ...
6859         * sysdeps/i386/fpu/s_tanf.S: ...here.
6860         * sysdeps/libm-i387/s_tanl.S: Moved to ...
6861         * sysdeps/i386/fpu/s_tanl.S: ...here.
6862         * sysdeps/libm-i387/s_trunc.S: Moved to ...
6863         * sysdeps/i386/fpu/s_trunc.S: ...here.
6864         * sysdeps/libm-i387/s_truncf.S: Moved to ...
6865         * sysdeps/i386/fpu/s_truncf.S: ...here.
6866         * sysdeps/libm-i387/s_truncl.S: Moved to ...
6867         * sysdeps/i386/fpu/s_truncl.S: ...here.
6868         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
6869         * sysdeps/ieee754/k_standard.c: ...here.
6870         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
6871         * sysdeps/ieee754/s_lib_version.c: ...here.
6872         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
6873         * sysdeps/ieee754/s_matherr.c: ...here.
6874         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
6875         * sysdeps/ieee754/s_signgam.c: ...here.
6876         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
6877         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
6878         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
6879         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
6880         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
6881         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
6882         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
6883         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
6884         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
6885         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
6886         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
6887         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
6888         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
6889         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
6890         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
6891         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
6892         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
6893         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
6894         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
6895         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
6896         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
6897         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
6898         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
6899         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
6900         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
6901         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
6902         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
6903         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
6904         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
6905         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
6906         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
6907         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
6908         * sysdeps/libm-ieee754/e_log.c: Moved to ...
6909         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
6910         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
6911         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
6912         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
6913         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
6914         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
6915         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
6916         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
6917         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
6918         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
6919         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
6920         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
6921         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
6922         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
6923         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
6924         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
6925         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
6926         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
6927         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
6928         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
6929         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
6930         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
6931         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
6932         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
6933         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
6934         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
6935         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
6936         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
6937         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
6938         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
6939         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
6940         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
6941         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
6942         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
6943         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
6944         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
6945         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
6946         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
6947         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
6948         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
6949         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
6950         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
6951         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
6952         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
6953         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
6954         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
6955         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
6956         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
6957         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
6958         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
6959         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
6960         (__isnan): Comment above function says it returns 0 or 1, but it
6961         used to return 0 or -1.
6962         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
6963         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
6964         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
6965         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
6966         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
6967         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
6968         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
6969         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
6970         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
6971         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
6972         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
6973         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
6974         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
6975         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
6976         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
6977         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
6978         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
6979         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
6980         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
6981         * sysdeps/generic/s_nextafter.c: ...here.
6982         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
6983         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
6984         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
6985         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
6986         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
6987         * sysdeps/libm-ieee754/s_round.c: Moved to ...
6988         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
6989         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
6990         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
6991         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
6992         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
6993         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
6994         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
6995         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
6996         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
6997         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
6998         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
6999         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
7000         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
7001         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
7002         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
7003         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
7004         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
7005         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
7006         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
7007         * sysdeps/ieee754/mpn2flt.c: Moved to ...
7008         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
7009         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
7010         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
7011         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
7012         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
7013         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
7014         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
7015         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
7016         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
7017         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
7018         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
7019         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
7020         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
7021         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
7022         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
7023         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
7024         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
7025         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
7026         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
7027         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
7028         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
7029         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
7030         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
7031         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
7032         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
7033         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
7034         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
7035         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
7036         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
7037         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
7038         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
7039         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
7040         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
7041         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
7042         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
7043         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
7044         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
7045         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
7046         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
7047         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
7048         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
7049         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
7050         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
7051         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
7052         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
7053         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
7054         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
7055         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
7056         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
7057         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
7058         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
7059         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
7060         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
7061         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
7062         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
7063         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
7064         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
7065         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
7066         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
7067         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
7068         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
7069         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
7070         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
7071         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
7072         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
7073         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
7074         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
7075         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
7076         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
7077         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
7078         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
7079         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
7080         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
7081         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
7082         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
7083         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
7084         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
7085         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
7086         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
7087         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
7088         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
7089         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
7090         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
7091         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
7092         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
7093         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
7094         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
7095         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
7096         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
7097         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
7098         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
7099         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
7100         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
7101         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
7102         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
7103         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
7104         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
7105         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
7106         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
7107         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
7108         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
7109         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
7110         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
7111         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
7112         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
7113         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
7114         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
7115         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
7116         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
7117         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
7118         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
7119         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
7120         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
7121         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
7122         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
7123         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
7124         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
7125         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
7126         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
7127         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
7128         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
7129         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
7130         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
7131         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
7132         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
7133         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
7134         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
7135         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
7136         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
7137         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
7138         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
7139         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
7140         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
7141         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
7142         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
7143         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
7144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
7145         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
7146         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
7147         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
7148         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
7149         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
7150         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
7151         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
7152         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
7153         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
7154         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
7155         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
7156         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
7157         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
7158         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
7159         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
7160         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
7161         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
7162         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
7163         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
7164         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
7165         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
7166         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
7167         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
7168         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
7169         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
7170         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
7171         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
7172         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
7173         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
7174         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
7175         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
7176         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
7177         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
7178         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
7179         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
7180         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
7181         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
7182         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
7183         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
7184         INSERT_WORDS.
7185         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
7186         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
7187         (__nearbyintl): Fix for exponents 2^30.
7188         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
7189         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
7190         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
7191         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
7192         (__rintl): Fix for exponents 2^30.
7193         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
7194         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
7195         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
7196         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
7197         (__scalbnl): Fix exponent for subnormal result.
7198         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
7199         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
7200         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
7201         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
7202         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
7203         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
7204         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
7205         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
7206         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
7207         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
7208         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
7209         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
7210         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
7211         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
7212         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
7213         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
7214         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
7215         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
7216         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
7217         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
7218         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
7219         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
7220         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
7221         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
7222         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
7223         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
7224         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
7225         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
7226         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
7227         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
7228         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
7229         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
7230         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
7231         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
7232         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
7233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
7234         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
7235         * sysdeps/i386/fpu/s_scalbln.c: ...here.
7236         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
7237         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
7238         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
7239         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
7240         * sysdeps/libm-i387/t_exp.c: Moved to ...
7241         * sysdeps/i386/fpu/t_exp.c: ...here.
7242         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
7243         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
7244         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
7245         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
7246         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
7247         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
7248         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
7249         * sysdeps/i386/fpu/s_isinfl.c: ...here.
7250         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
7251         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
7252         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
7253         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
7254         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
7255         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
7256         Fix exponent for subnormal result.
7257         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
7258         * sysdeps/generic/s_nexttowardl.c: ...here.
7259         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
7260         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
7261         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
7262         * sysdeps/i386/fpu/s_isnanl.c: ...here.
7263         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
7264         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
7265         Comment above function says it returns 0 or 1, but it used to return
7266         0 or -1.
7267         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
7268         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
7269         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
7270         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
7271         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
7272         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
7273         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
7274         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
7275         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
7276         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
7277         Cannot compare exponents with different biases without adjusting.
7278         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
7279         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
7280         Cannot compare exponents with different biases without adjusting.
7281         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
7282         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
7283         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
7284         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
7285         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
7286         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
7287         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7288         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
7289         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
7290         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
7291         * sysdeps/libm-ieee754/Dist: Split into ...
7292         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
7293         * sysdeps/ieee754/flt-32/Dist: ...this file.
7294
7295         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
7296         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
7297         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
7298         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
7299         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
7300         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
7301         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
7302         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
7303         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
7304         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
7305         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
7306         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
7307         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
7308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
7309         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
7310         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
7311         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
7312         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
7313         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
7314         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
7315         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
7316         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
7317         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
7318         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
7319         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
7320         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
7321         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
7322         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
7323         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
7324         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
7325         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
7326         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
7327         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
7328         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
7329         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
7330         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
7331         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
7332         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
7333         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
7334         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
7335         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
7336         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
7337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
7338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
7339         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
7340         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
7341         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
7342
7343         * sysdeps/generic/math_ldbl.h: New file.
7344         * sysdeps/generic/s_nexttowardf.c: New file.
7345         * sysdeps/generic/strtold.c: New file.
7346         * sysdeps/generic/ldbl2mpn.c: New file.
7347
7348         * math/machine/endian.h: Remove.
7349         * sysdeps/i386/fpu/Implies: Remove.
7350         * sysdeps/ieee754/Implies: Remove.
7351
7352         * math/math_private.h: Move long double macros to math_ldbl.h
7353         header.
7354
7355 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
7356
7357         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
7358         connections without a hostname set address to localhost address.
7359
7360 1999-07-11  H.J. Lu  <hjl@gnu.org>
7361
7362         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
7363         nscd's own strong version of the get[a-z]*_r function.
7364         * nscd/hstcache.c: Likewise.
7365         * nscd/pwdcache.c: Likewise.
7366
7367 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
7368
7369         * configure.in: Recognize 2.95 as gcc version number.
7370         Patch by Joel Klecker <jk@espy.org>.
7371
7372 1999-07-12  Andreas Schwab  <schwab@suse.de>
7373
7374         * elf/rtld.c (dl_main): When putting back the interpreter object
7375         handle the case where a missing object might occur in the list of
7376         objects but not in the search list when in trace mode.
7377
7378 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
7379
7380         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
7381         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
7382         _nss_hesiod_initgroups.
7383
7384 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
7385
7386         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
7387         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
7388         Initialize it from &__data_start if defined, or else &_end.
7389
7390 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
7391
7392         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
7393         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
7394
7395 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
7396
7397         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
7398
7399 1999-07-09  H.J. Lu  <hjl@gnu.org>
7400
7401         * Versions.def (GLIBC_2.1.2): Added.
7402
7403         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
7404         old one as GLIBC_2.0.
7405         * nss/getXXbyYY_r.c: Likewise.
7406
7407         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
7408         GLIBC_2.1.2.
7409         * inet/Versions (getaliasbyname_r, getaliasent_r,
7410         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
7411         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
7412         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
7413         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
7414         getservbyname_r): Likewise.
7415         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
7416         * shadow/Versions (getspent_r, getspnam_r): Likewise.
7417
7418 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
7419
7420         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
7421         compilers.
7422         (__memset_cc): Likewise.
7423
7424         * sysdeps/generic/libc-start.c: For SUID binaries check whether
7425         the standard file descriptors are open.
7426         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7427
7428         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
7429         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
7430         range of mmap.  If not fail.
7431         Patches by Daniel Jacobowitz <dan@debian.org>.
7432
7433         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
7434         before the relocation happened.
7435         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
7436
7437         * Versions.def (libnsl): Add GLIBC_2.2.
7438         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
7439
7440 1999-07-08  Cristian Gafton  <gafton@redhat.com>
7441
7442         * nis/yp_xdr.c (xdr_ypall): New function.
7443
7444 1999-07-09  Andreas Schwab  <schwab@suse.de>
7445
7446         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
7447
7448         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
7449
7450 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
7451
7452         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
7453         * hesiod/hesiod-grp.c: Add initgroups support.
7454         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
7455
7456 1999-07-08  Andreas Schwab  <schwab@suse.de>
7457
7458         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
7459
7460         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
7461         negative numbers.
7462
7463         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
7464         EOF.
7465         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
7466
7467 1999-07-08  Andreas Schwab  <schwab@suse.de>
7468
7469         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
7470
7471 1999-07-08  Andreas Schwab  <schwab@suse.de>
7472
7473         * libio/fileno.c: Return -1 instead of EOF and set errno if the
7474         stream is not a real file stream.
7475
7476 1999-07-08  Andreas Schwab  <schwab@suse.de>
7477
7478         * manual/charset.texi: Fix typos.
7479
7480 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
7481
7482         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
7483
7484 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
7485
7486         * dlfcn: New directory.  Move the following files from elf:
7487         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
7488         dlopenold.c, dlsym.c, dlvsym.c.
7489         * dlfcn/Makefile: New file.
7490         * dlfcn/Versions: New file.
7491         * dlfcn/dlsym.c: All ELF-specific code split out to new
7492         function _dl_sym.
7493         * dlfcn/dlvsym.c: All ELF-specific code split out to new
7494         function _dl_vsym.
7495         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
7496         implemented here.
7497
7498         * dlfcn/dladdr.c: Remove all references to ELF data structures
7499         or headers.
7500         * dlfcn/dlclose.c: Likewise.
7501         * dlfcn/dlerror.c: Likewise.
7502         * dlfcn/dlopen.c: Likewise.
7503         * dlfcn/dlopenold.c: Likewise.
7504
7505         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
7506         yes, empty otherwise.
7507         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
7508         depending on build-shared.
7509         (subdirs): Add $(dlfcn).
7510         (rpath-dirs): Add dlfcn.
7511         * elf/Makefile: Remove all references to libdl or its
7512         components, except the ones relating to the test cases.
7513         (routines): Add dl-sym.
7514         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
7515         (libdl): Delete.
7516
7517         * elf/dl-close.c (_dl_close): Change argument to void *.
7518         * elf/dl-open.c (_dl_open): Change return type to void *.
7519         * elf/eval.c: Removed.
7520         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
7521         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
7522         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
7523         _CALL_DL_FCT macro.
7524         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
7525         Include real header from dlfcn directory.
7526         * include/ldsodefs.h: Removed.
7527
7528         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
7529         * nss/getXXbyYY_r.c: Likewise.
7530         * nss/getXXent_r.c: Likewise.
7531         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
7532         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
7533         * iconv/skeleton.c: Don't include ldsodefs.h.
7534         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
7535
7536 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
7537
7538         * sysdeps/generic/setenv.c: Describe problem.
7539
7540         * malloc/malloc.c (request2size): Also set errno if failing.
7541
7542         * malloc/malloc.c (request2size): Take care of overflow in
7543         addition.
7544
7545         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
7546         (NULL, != 0) correctly.
7547
7548         * elf/dl-load.c: Use a few more __builtin_expect.
7549
7550         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
7551         is large enough.
7552
7553 1999-07-07  Andreas Schwab  <schwab@suse.de>
7554
7555         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
7556         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
7557         (_PATH_DEVPTMX): Use _PATH_DEV.
7558
7559 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7560
7561         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
7562         * malloc/Makefile (tests): Add tst-malloc.
7563
7564 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
7565
7566         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
7567         convention.
7568
7569         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
7570         motherboards.
7571         Patch by Jay Estabrook.
7572
7573         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
7574         ldd for SPARC.
7575         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
7576         Patch by Cristian Gafton.
7577
7578 1999-07-02  Cristian Gafton  <gafton@redhat.com>
7579
7580         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
7581         instead of "return NULL" to make C++ happy.
7582
7583 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
7584
7585         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
7586         allowed by the file access mode of the open file.
7587
7588 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
7589
7590         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
7591         macros defined.
7592
7593 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
7594
7595         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
7596         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
7597         * sysdeps/sparc/sparc64/rshift.S: Likewise.
7598         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
7599
7600 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7601
7602         * malloc/malloc.c (request2size): Check for overflow and return
7603         NULL whenever it is encountered.
7604
7605 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
7606
7607         * sysdeps/posix/tempname.c (__gen_tempname):   Add
7608         ability to create directories.  Replace OPENIT and LARGEFILE
7609         args with a single flags parameter.
7610         * sysdeps/generic/tempname.c: Likewise.
7611         * include/stdio.h: Adjust prototype of __gen_tempname to
7612         match.  Define symbolic constants for second argument.
7613
7614         * misc/mkdtemp.c: New file, provides new function mkdtemp().
7615         * stdlib/stdlib.h: Prototype it.
7616         * misc/Versions: Export it.
7617         * misc/Makefile (routines): Add mktemp.
7618         * manual/filesys.texi: Document it.
7619
7620         * misc/mktemp.c: Adjust call of __gen_tempname to match new
7621         convention.
7622         * misc/mkstemp.c: Likewise.
7623         * stdio-common/tempnam.c: Likewise.
7624         * stdio-common/tmpfile.c: Likewise.
7625         * stdio-common/tmpfile64.c: Likewise.
7626         * stdio-common/tmpnam.c: Likewise.
7627         * stdio-common/tmpnam_r.c: Likewise.
7628
7629 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
7630
7631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
7632         R_SPARC_OLO10 relocations.
7633         * elf/elf.h (R_SPARC_OLO10): Fix comment.
7634
7635 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7636
7637         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
7638         doesn't belong in the tests, but in the wordexp implementation.
7639
7640         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
7641         split fields.
7642
7643 1999-07-01  Cristian Gafton  <gafton@redhat.com>
7644
7645         * time/strptime.c (strptime): Initialize the tm struct first to avoid
7646         returning bogus results on incomplete data.
7647         (strptime_internal): day_of_the_week() requres both tm_mon and
7648         tm_mday to be initialized.
7649         Compute them first if they are not given.
7650         (strptime_internal): (have_mon, have_mday): New variables.
7651
7652 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7653
7654         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
7655
7656 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7657
7658         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
7659         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7660
7661 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7662
7663         * posix/wordexp.c (parse_tilde): Handle failing call to
7664         get.*_r functions correctly for non-existing entry.
7665         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7666         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
7667
7668 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7669
7670         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
7671         getxxbyYY_r functions correctly for non-existing entry.
7672         * sunrpc/getrpcport.c: Likewise.
7673         * sunrpc/clnt_simp.c: Likewise.
7674         * inet/rexec.c: Likewise.
7675         * sunrpc/clnt_gen.c: Likewise.
7676         * inet/rcmd.c: Likewise.
7677         * sysdeps/generic/glob.c: Likewise.
7678
7679 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7680
7681         * pwd/Makefile (tests): Add rules for tst-getpw.
7682
7683         * pwd/tst-getpw.c: New program to test getpw.
7684
7685 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7686
7687         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
7688         correctly.
7689
7690 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7691
7692         * manual/arith.texi (System V Number Conversion): Fix the
7693         description which confused pointer and value to pointer.
7694         Reported by Andries.Brouwer@cwi.nl.
7695
7696 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7697
7698         * pwd/getpw.c (__getpw): Check for NULL result pointer.
7699
7700 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7701
7702         * manual/users.texi (Lookup User): Document POSIX return
7703         semantics for getpwuid_r and getgrgid_r.
7704
7705         * manual/socket.texi (Host Names): Document that the result
7706         pointer is null in case of error or host not found and fix a
7707         typo.  Give a small example.
7708
7709 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7710
7711         * pwd/getpw.c: Add warning since no buffer size is given and
7712         therefore no overrun tests are possible.
7713
7714 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7715
7716         * pwd/pwd.h: Add getpw prototype declaration.
7717
7718 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
7719
7720         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
7721         * wcsmbs/wcschr.c: Likewise.
7722
7723 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
7724
7725         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
7726         returns.
7727         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
7728         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
7729         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
7730
7731         * elf/dl-dst.h: Fix typo.
7732         * elf/dl-open.c: Likewise.
7733
7734 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
7735
7736         * elf/dl-libc.c: New file, provides three functions:
7737         __libc_dlopen, __libc_dlclose, __libc_dlsym.
7738         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
7739         * elf/Makefile (routines): Add dl-libc.c.
7740         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
7741         argument to void *.
7742         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
7743
7744         * iconv/gconv.c: Include dlfcn.h.
7745         * iconv/gconv_db.c: Likewise.
7746         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
7747
7748         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
7749         `handle' to a void *.
7750         (__gconv_find_func): Delete prototype.
7751
7752         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
7753         dlerror_run and related functions and structs.  Use
7754         __libc_dlopen, __libc_dlsym, __libc_dlclose.
7755         * nss/nsswitch.c: Likewise.
7756
7757 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
7758
7759         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
7760         function correctly.
7761
7762         * sunrpc/getrpcport.c: Test for gethostbyname_r function
7763         correctly.
7764
7765         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
7766
7767         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
7768         functions correctly.
7769
7770         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
7771
7772         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
7773         file reading a bit.
7774
7775         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
7776
7777 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7778
7779         * manual/string.texi (Copying and Concatenation): Mention that
7780         strndup is a GNU extension.
7781
7782 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7783
7784         * pwd/getpw.c (__getpw): Fix check for error return.
7785
7786 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7787
7788         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
7789         occurence of the aux object start with the current list entry, not
7790         the new one.  Adjust tail pointer in the unique list.  Explain how
7791         the meaning of the variables changes [PR libc/1168].
7792
7793 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7794
7795         * sysdeps/m68k/fpu/Dist: New file.
7796
7797 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7798
7799         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
7800         definitions...
7801         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
7802         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
7803         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7804         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7805         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7806         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7807         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7808         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7809         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7810         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7811         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7812         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7813         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7814         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7815         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7816         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7817
7818 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
7819
7820         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
7821         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
7822         _EXTERN_INLINE, use a macro specific to each file,
7823         _HURD_FD_H_EXTERN_INLINE and the like.
7824         * hurd/Makefile (inline-headers): New variable.
7825         (routines): Remove hurdinline.  Add $(inlines).
7826         (inlines): New variable.
7827         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
7828         (generated): Append those here.
7829         * hurd/hurdinline.c: File removed.
7830
7831         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
7832
7833         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
7834
7835 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7836
7837         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
7838
7839 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
7840
7841         * string/bits/string2.h (strnlen): Remove extra prototype.
7842
7843 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7844
7845         * manual/filesys.texi (Working on Directory Trees): Fix typos.
7846         Reported by Andries.Brouwer@cwi.nl.
7847
7848 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
7849
7850         * nscd/connections.c (handle_request): Use correct type for optlen
7851         variable.
7852
7853         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
7854         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
7855
7856 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
7857
7858         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
7859         * nscd/pwdcache.c: Likewise.
7860         * nscd/hstcache.c: Likewise.
7861
7862 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
7863
7864         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
7865
7866         * posix/getopt.h: Include stdio.h.
7867
7868         * manual/arith.texi: Document restriction of ndigit parameter of
7869         ecvt and friends.
7870         * misc/efgcvt.c: Define NDIGIT_MAX.
7871         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
7872         Do not dynamically allocate the static buffers.  They are small enough.
7873         * misc/efgcvt_r.c: Define NDIGIT_MAX.
7874         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
7875         * misc/qefgcvt.c: Define NDIGIT_MAX.
7876         * misc/qefgcvt_r.c: Likewise.
7877         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
7878
7879 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
7880
7881         * libio/stdio.h: Define stdin, stdout, stderr as macros.
7882         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
7883         These are *pragmas* not macros.
7884         * wcsmbs/wchar.h: Fix comment.
7885
7886         * grp/grp.h: Use __foo_t_defined convention to typedef things
7887         only once.
7888         * io/sys/stat.h: Likewise.
7889         * libio/stdio.h: Likewise.
7890         * posix/unistd.h: Likewise.
7891         * posix/sys/types.h: Likewise.
7892         * posix/sys/wait.h: Likewise.
7893         * pwd/pwd.h: Likewise.
7894         * signal/signal.h: Likewise.
7895         * sysdeps/generic/stdint.h: Likewise.
7896         * sysdeps/gnu/utmpx.h: Likewise.
7897         * termios/termios.h: Likewise.
7898
7899 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
7900
7901         * stdio/fputc.c: Don't define alias if fputc is defined as a
7902         macro.
7903         * stdio/putc.c: Define weak alias here since it is not done
7904         anymore in fputc.c.
7905
7906 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7907
7908         * assert/assert.h: Don't produce `defined' as part of macro
7909         expansion.
7910
7911 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
7912
7913         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
7914         OFFSET argument of (off_t) -1.
7915         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
7916         OFFSET argument of (off_t) -1.
7917
7918         * sysdeps/mach/hurd/pwrite.c: New file.
7919         * sysdeps/mach/hurd/pread.c: New file.
7920
7921         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
7922         pass it in the RPC instead of always -1.
7923         * hurd/fd-write.c (_hurd_fd_write): Likewise.
7924         * hurd/hurd/fd.h: Update decls.
7925
7926 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7927
7928         * libio/wscanf.c: Include <wchar.h> for prototype.
7929
7930 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
7931
7932         * manual/io.texi. Fix typos.
7933         * manual/stdio.texi: Likewise.
7934         Patches by Brian Youmans <3diff@gnu.org>.
7935
7936 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
7937
7938         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
7939         bits of two words differ.
7940
7941 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7942
7943         * libio/Makefile (routines): Add putwchar and putwchar_u.
7944
7945         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
7946         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
7947         stdout.  Fix parameter name.
7948
7949         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
7950         * libio/getchar_u.c: Likewise.
7951
7952         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
7953
7954 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7955
7956         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
7957         macro expansion---it's undefined.  Properly parenthesize
7958         substituted parameters.
7959         (__GLIBC_PREREQ): Likewise.
7960
7961 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
7962
7963         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
7964         weird effects.
7965
7966         * stdlib/longlong.h: Provide __P definition if not already
7967         defined.
7968
7969         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
7970
7971 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
7972
7973         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
7974
7975 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7976
7977         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
7978
7979 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7980
7981         * stdio-common/vfprintf.c (group_member): Make parameters and
7982         return types pointers to CHAR_T instead of UCHAR_T.
7983         (vfprintf): Change type of work_buffer, workend and string to
7984         CHAR_T pointer/array.
7985         (process_arg, process_string_arg): Adjust/remove casts.  Add
7986         missing use of L_ macro.
7987         (printf_unknown): Add missing uses of L_ macro.
7988
7989 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7990
7991         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
7992         warning.
7993
7994 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7995
7996         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
7997         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
7998         (__wunderflow): Likewise.
7999         (_IO_switch_to_wget_mode): Likewise.
8000         (_IO_init_wmarker): Likewise.
8001
8002         * libio/wfileops.c (_IO_wfile_seekoff): Call
8003         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
8004         (_IO_wfile_jumps): Fix pbackfail entry.
8005
8006         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
8007         function if the stream is currently unoriented.
8008
8009 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
8010
8011         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
8012         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
8013         __gnuc_va_list in v*w(printf|scanf) prototypes.
8014
8015 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8016
8017         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
8018         1999-03-29 to iopopen also here.
8019         Reported by Richard Braakman <dark@xs4all.nl>.
8020
8021 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8022
8023         * include/features.h: Use __GNUC_PREREQ.
8024         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8025
8026 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8027
8028         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
8029         Change EOF to WEOF and remove cast.
8030         (UNGETC): Remove macro.
8031         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
8032         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
8033         Change ISASCII to isascii and MBRLEN to mbrlen.
8034         (parse_one_spec): Compare info.spec always against wchar_t
8035         values.
8036         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
8037         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
8038         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
8039
8040 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8041
8042         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
8043         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
8044         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
8045         oldiofsetpos64 only if doing versioning.
8046
8047 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8048
8049         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
8050
8051 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8052
8053         * libio/libio.h: Fix last patch.
8054
8055 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
8056
8057         * libio/libio.h (_IO_putwc): Correct type of first argument.
8058         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
8059         putwc_unlocked, putwchar_unlocked): Likewise.
8060         * libio/fputwc.c: Likewise.
8061         * libio/fputwc_unlocked.c: Likewise.
8062         * libio/putwc.c: Likewise.
8063         * libio/putwc_unlocked.c: Likewise.
8064         * libio/putwchar.c: Likewise.
8065         * libio/putwchar_unlocked.c: Likewise.
8066
8067 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
8068
8069         * sysdeps/gnu/siglist.h: File moved to ...
8070         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
8071         any platform, since it just associates the SIG* macros with text names
8072         and descriptions. For any signal macros do not exist on every
8073         platform, we can use #ifdef tests here and still use this single
8074         common file for all platforms.
8075         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
8076         should be usable for all platforms after the binary compatibility
8077         stuff in the current sysdeps/gnu version is no longer required.
8078         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
8079         * sysdeps/generic/make_siglist.c: File removed.
8080         * sysdeps/mach/hurd/siglist.h: Use #include_next.
8081         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
8082
8083 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
8084
8085         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
8086         * sysdeps/gnu/siglist.c: ... here.
8087         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
8088         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
8089         * sysdeps/gnu/siglist.h: New file, contents from linux version.
8090         Add entry for SIGLOST protected by #ifdef.
8091         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
8092         and define OLD_SIGLIST_SIZE_STR.
8093         * sysdeps/mach/hurd/siglist.h: New file, likewise.
8094
8095 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8096
8097         * include/features.h: Define new macros __GNUC_PREREQ and
8098         __GLIBC_PREREQ which can be used to test the version of gcc
8099         and glibc respectively.
8100
8101         * assert/assert.h: Use __GNUC_PREREQ.
8102         * intl/libintl.h: Likewise.
8103         * math/complex.h: Likewise.
8104         * math/tgmath.h: Likewise.
8105         * misc/sys/cdefs.h: Likewise.
8106         * posix/sys/types.h: Likewise.
8107         * socket/sys/socket.h: Likewise.
8108         * string/bits/string2.h: Likewise.
8109         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
8110         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8111
8112 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
8113
8114         * include/libintl.h: Declare _libc_intl_domainname here.
8115         Define _ and N_ here.
8116         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
8117         define _ and N_.  Don't declare _libc_intl_domainname.
8118         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
8119
8120         * db2/config.h: Don't include sys/stat.h or define
8121         HAVE_ST_BLKSIZE here...
8122         * db2/compat.h: ...do it here.
8123
8124         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
8125         other headers.
8126         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
8127         * iconv/iconv.c: Include stddef.h for NULL.
8128         * malloc/malloc.h: Include features.h.
8129         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
8130
8131         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
8132         into the generated file.
8133         * sysdeps/gnu/errlist.awk: Likewise.
8134         * sysdeps/gnu/errlist.c: Rebuilt.
8135
8136         * assert/assert-perr.c: Include libintl.h.
8137         * assert/assert.c: Likewise.
8138         * elf/dl-open.c: Likewise.
8139         * elf/dlsym.c: Likewise.
8140         * elf/dlvsym.c: Likewise.
8141         * iconv/iconv_prog.c: Likewise.
8142         * inet/rcmd.c: Likewise.
8143         * inet/ruserpass.c: Likewise.
8144         * locale/programs/charset.c: Likewise.
8145         * locale/programs/ld-collate.c: Likewise.
8146         * locale/programs/ld-ctype.c: Likewise.
8147         * locale/programs/ld-messages.c: Likewise.
8148         * locale/programs/ld-monetary.c: Likewise.
8149         * locale/programs/ld-numeric.c: Likewise.
8150         * locale/programs/ld-time.c: Likewise.
8151         * locale/programs/locfile.c: Likewise.
8152         * locale/programs/repertoire.c: Likewise.
8153         * login/programs/database.c: Likewise.
8154         * login/programs/request.c: Likewise.
8155         * malloc/mcheck.c: Likewise.
8156         * misc/error.c: Likewise.
8157         * nis/nis_call.c: Likewise.
8158         * nis/nis_callback.c: Likewise.
8159         * nis/nis_error.c: Likewise.
8160         * nis/nis_local_names.c: Likewise.
8161         * nis/nis_print.c: Likewise.
8162         * nis/nis_print_group_entry.c: Likewise.
8163         * nis/ypclnt.c: Likewise.
8164         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8165         * nscd/cache.c: Likewise.
8166         * nscd/connections.c: Likewise.
8167         * nscd/grpcache.c: Likewise.
8168         * nscd/hstcache.c: Likewise.
8169         * nscd/nscd_conf.c: Likewise.
8170         * nscd/nscd_stat.c: Likewise.
8171         * nscd/pwdcache.c: Likewise.
8172         * posix/id.c: Likewise.
8173         * resolv/herror.c: Likewise.
8174         * stdio-common/psignal.c: Likewise.
8175         * string/strsignal.c: Likewise.
8176         * sunrpc/auth_unix.c: Likewise.
8177         * sunrpc/clnt_perr.c: Likewise.
8178         * sunrpc/clnt_raw.c: Likewise.
8179         * sunrpc/clnt_tcp.c: Likewise.
8180         * sunrpc/clnt_udp.c: Likewise.
8181         * sunrpc/clnt_unix.c: Likewise.
8182         * sunrpc/get_myaddr.c: Likewise.
8183         * sunrpc/pm_getmaps.c: Likewise.
8184         * sunrpc/pmap_clnt.c: Likewise.
8185         * sunrpc/pmap_rmt.c: Likewise.
8186         * sunrpc/rpc_main.c: Likewise.
8187         * sunrpc/rpc_scan.c: Likewise.
8188         * sunrpc/svc_run.c: Likewise.
8189         * sunrpc/svc_simple.c: Likewise.
8190         * sunrpc/svc_tcp.c: Likewise.
8191         * sunrpc/svc_udp.c: Likewise.
8192         * sunrpc/svc_unix.c: Likewise.
8193         * sunrpc/xdr_rec.c: Likewise.
8194         * sunrpc/xdr_ref.c: Likewise.
8195         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
8196         * sysdeps/posix/gai_strerror.c: Likewise.
8197         * sysdeps/unix/siglist.c: Likewise.
8198         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
8199         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8200         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
8201         * timezone/zic.c: Likewise.
8202
8203 1999-06-18  H.J. Lu  <hjl@gnu.org>
8204
8205         * localedata/Makefile (charmaps): Exclude SCCS.
8206         (locales): Likewise.
8207         (repertoiremaps): Likewise.
8208
8209 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
8210
8211         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
8212         * sysdeps/generic/bsd-setjmp.c: Likewise.
8213
8214         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
8215
8216         * iconv/gconv_open.c: Include string.h for memset prototype.
8217
8218         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
8219         definitions.
8220
8221         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
8222         assignment to avoid warning on 64bit platforms.
8223
8224 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
8225
8226         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
8227
8228         * nss/getXXbyYY_r.c: Return error code not -1.
8229         * nss/getXXent_r.c: Likewise.
8230         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
8231         small.
8232         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
8233         value > 0 for error.
8234         * nscd/nscd_gethst_r.c: Likewise.
8235         * nscd/nscd_getpw_r.c: Likewise.
8236
8237 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8238
8239         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
8240         disciplines.
8241
8242 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8243
8244         * nscd/nscd_nischeck.c: Fix typos.
8245
8246 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
8247
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
8249         always when oact is NULL.
8250         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
8251
8252 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8253
8254         * math/libm-test.c (jn_test): Adjust delta.
8255
8256 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8257
8258         * libio/vwprintf.c: Include <wchar.h> for prototypes.
8259         * libio/wprintf.c: Likewise.
8260
8261 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8262
8263         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
8264         to not write beyond allocated memory.
8265         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
8266
8267 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
8268
8269         * malloc/mtrace.c: Keep lock while printing output lines.
8270         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
8271
8272 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
8273
8274         * configure.in: Add warnings about broken code.
8275
8276         * Versions.def: Add GLIBC_2.2 for libc.
8277
8278         * iconv/gconv.h: Make header suitable for inclusion in public header
8279         by protecting all names with __.
8280         * iconv/gconv.c: Adapt for symbol name changes.
8281         * iconv/gconv.h: Likewise.
8282         * iconv/gconv_builtin.c: Likewise.
8283         * iconv/gconv_close.c: Likewise.
8284         * iconv/gconv_db.c: Likewise.
8285         * iconv/gconv_dl.c: Likewise.
8286         * iconv/gconv_int.h: Likewise.
8287         * iconv/gconv_open.c: Likewise.
8288         * iconv/gconv_simple.c: Likewise.
8289         * iconv/iconv.c: Likewise.
8290         * iconv/iconv_close.c: Likewise.
8291         * iconv/iconv_open.c: Likewise.
8292         * iconv/loop.c: Likewise.
8293         * iconv/skeleton.c: Likewise.
8294         * iconvdata/8bit-gap.c: Likewise.
8295         * iconvdata/8bit-generic.c: Likewise.
8296         * iconvdata/ansi_x3.110.c: Likewise.
8297         * iconvdata/big5.c: Likewise.
8298         * iconvdata/cns11643.h: Likewise.
8299         * iconvdata/cns11643l1.h: Likewise.
8300         * iconvdata/euc-cn.c: Likewise.
8301         * iconvdata/euc-jp.c: Likewise.
8302         * iconvdata/euc-kr.c: Likewise.
8303         * iconvdata/euc-tw.c: Likewise.
8304         * iconvdata/gb2312.h: Likewise.
8305         * iconvdata/iso-2022-jp.c: Likewise.
8306         * iconvdata/iso-2022-kr.c: Likewise.
8307         * iconvdata/iso646.c: Likewise.
8308         * iconvdata/iso8859-1.c: Likewise.
8309         * iconvdata/iso_6937-2.c: Likewise.
8310         * iconvdata/iso_6937.c: Likewise.
8311         * iconvdata/jis0201.h: Likewise.
8312         * iconvdata/jis0208.h: Likewise.
8313         * iconvdata/jis0212.h: Likewise.
8314         * iconvdata/johab.c: Likewise.
8315         * iconvdata/ksc5601.h: Likewise.
8316         * iconvdata/sjis.c: Likewise.
8317         * iconvdata/t.61.c: Likewise.
8318         * iconvdata/uhc.c: Likewise.
8319         * stdlib/mblen.c: Likewise.
8320         * stdlib/mbtowc.c: Likewise.
8321         * stdlib/wctomb.c: Likewise.
8322         * wcsmbs/btowc.c: Likewise.
8323         * wcsmbs/mbrtowc.c: Likewise.
8324         * wcsmbs/mbsnrtowcs.c: Likewise.
8325         * wcsmbs/mbsrtowcs.c: Likewise.
8326         * wcsmbs/wchar.h: Likewise.
8327         * wcsmbs/wcrtomb.c: Likewise.
8328         * wcsmbs/wcsmbsload.c: Likewise.
8329         * wcsmbs/wcsmbsload.h: Likewise.
8330         * wcsmbs/wcsnrtombs.c: Likewise.
8331         * wcsmbs/wcsrtombs.c: Likewise.
8332         * wcsmbs/wctob.c: Likewise.
8333
8334         * include/limits.h (MB_LEN_MAX): Increase to 16.
8335
8336         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
8337         _G_iconv_t.
8338         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8339         * include/wchar.h: Change mbstate_t to __mbstate_t.
8340
8341         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
8342         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
8343         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
8344         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
8345         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
8346         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
8347         and iofwide.
8348         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
8349         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
8350         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
8351         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
8352         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
8353         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
8354         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
8355         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
8356         GLIBC_2.2 for libc.
8357         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
8358         Extend _IO_file contain pointer to codecvt, widedata and mode.
8359         (_IO_getwc_unlocked): New macro.
8360         (_IO_putwc_unlocked): New macro.
8361         (_IO_fwide): New macro.
8362         * libio/libioP.h: Add new prototypes and adjust existing declarations.
8363         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
8364         buffers based on mode.
8365         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
8366         oriented.
8367         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
8368         flag to be enough to signal unallocated buffer.  For wide oriented
8369         stream don't make it linebuffered.  Don't use _IO_do_flush, use
8370         _IO_new_do_write directly.
8371         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
8372         (_IO_file_seek): Likewise.
8373         * libio/genops.c (_IO_least_marker): Make global.
8374         (__underflow): Orient stream if not already done.
8375         (__uflow): Likewise.
8376         (_IO_default_seekpos): Change to type _IO_off64_t.
8377         (_IO_default_seekoff): Likewise.
8378         (_IO_default_seek): Likewise.
8379         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
8380         in initialization.
8381         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
8382         to use _IO_off64_t.
8383         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
8384         char stream.
8385         * libio/ftello64.c: Likewise.
8386         * libio/ioftell.c: Likewise.
8387         * libio/iofopncook.c: Likewise.
8388         * libio/ioseekoff.c: Likewise.
8389         * libio/ioseekpos.c: Likewise.
8390         * libio/oldfileops.c: Likewise.
8391         * libio/iofgetpos.c: Store state of conversion if necessary.
8392         * libio/iofgetpos64.c: Likewise.
8393         * libio/iofsetpos.c: Restore conversion state if necessary.
8394         * libio/iofsetpos64.c: Likewise.
8395         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
8396         * libio/iofopen.c: Likewise.
8397         * libio/iofopen64.c: Likewise.
8398         * libio/iopopen.c: Likewise.
8399         * libio/iovdprintf.c: Likewise.
8400         * libio/iovsprintf.c: Likewise.
8401         * libio/iovsscanf.c: Likewise.
8402         * libio/memstream.c: Likewise.
8403         * libio/obprintf.c: Likewise.
8404         * libio/iofputs.c: Orient stream if not already happened.
8405         * libio/iofputs_u.c: Likewise.
8406         * libio/iofwrite.c: Likewise.
8407         * libio/iofwrite_u.c: Likewise.
8408         * libio/ioputs.c: Likewise.
8409         * libio/iosetbuffer.c: Handle not yet oriented stream.
8410         * libio/iosetvbuf.c: Likewise.
8411         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
8412         * libio/stdfiles.c: Likewise.
8413         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
8414         failed allocation.
8415         (_IO_str_seekoff): Use _IO_off64_t.
8416         * libio/vasprintf.c: Pre-orient stream.
8417         * libio/vsnprintf.c: Likewise.
8418         * libio/fputwc.c: New file.
8419         * libio/fputwc_u.c: New file.
8420         * libio/fwprintf.c: New file.
8421         * libio/fwscanf.c: New file.
8422         * libio/getwc.c: New file.
8423         * libio/getwc_u.c: New file.
8424         * libio/getwchar.c: New file.
8425         * libio/getwchar_u.c: New file.
8426         * libio/iofgetws.c: New file.
8427         * libio/iofgetws_u.c: New file.
8428         * libio/iofputws.c: New file.
8429         * libio/iofputws_u.c: New file.
8430         * libio/iofwide.c: New file.
8431         * libio/iogetwline.c: New file.
8432         * libio/ioungetwc.c: New file.
8433         * libio/iovswscanf.c: New file.
8434         * libio/iowpadn.c: New file.
8435         * libio/oldiofgetpos.c: New file.
8436         * libio/oldiofgetpos64.c: New file.
8437         * libio/oldiofsetpos.c: New file.
8438         * libio/oldiofsetpos64.c: New file.
8439         * libio/putwc.c: New file.
8440         * libio/putwc_u.c: New file.
8441         * libio/putwchar.c: New file.
8442         * libio/putwchar_u.c: New file.
8443         * libio/swprintf.c: New file.
8444         * libio/swscanf.c: New file.
8445         * libio/tst_swprintf.c: New file.
8446         * libio/tst_swscanf.c: New file.
8447         * libio/tst_wprintf.c: New file.
8448         * libio/tst_wscanf.c: New file.
8449         * libio/tst_wscanf.input: New file.
8450         * libio/vswprintf.c: New file.
8451         * libio/vwprintf.c: New file.
8452         * libio/vwscanf.c: New file.
8453         * libio/wfiledoalloc.c: New file.
8454         * libio/wfileops.c: New file.
8455         * libio/wgenops.c: New file.
8456         * libio/wprintf.c: New file.
8457         * libio/wscanf.c: New file.
8458         * libio/wstrops.c: New file.
8459         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
8460         vfwprintf, and vfwscanf.
8461         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
8462         make global.
8463         * stdio-common/_itowa.c: New file.
8464         * stdio-common/_itowa.h: New file.
8465         * stdio-common/itoa-digits.c: Minimal optimization.
8466         * stdio-common/itowa-digits.c: New file.
8467         * stdio-common/printf-parse.h: Allow use in wide character context.
8468         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
8469         * stdio-common/printf.h (printf_info): Add wide bit.
8470         * stdio-common/printf_fp.c: Determine from wide bit whether stream
8471         is wide oriented or not.
8472         * stdio-common/printf_size.c: Likewise.
8473         * sysdeps/generic/printf_fphex.c: Likewise.
8474         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
8475         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
8476         context.
8477         * stdio-common/vfscand.c: Likewise.
8478         * stdio-common/vfwprintf.c: New file.
8479         * stdio-common/vfwscanf.c: New file.
8480
8481         * time/Makefile (routines): Add wcsftime.
8482         (tests): Add tst_wcsftime.
8483         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
8484         * time/strftime.c: Make usable as wcsftime.
8485         * time/wcsftime.c: New file.
8486         * time/tst_wcsftime.c: New file.
8487
8488         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
8489         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
8490         * wcsmbs/wcschrnul.c: New file.
8491         * wcsmbs/wmemcpy.c: New file.
8492         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
8493         * wcsmbs/wmemmove.c: Likewise for wmemmove.
8494
8495         * manual/stdio.texi: Document is_char and wide element if printf_info.
8496
8497         * manual/time.texi: Document wcsftime.
8498
8499         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
8500         __wmemmove, __wcschrnul, and __vfwscanf.
8501
8502         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
8503         * locale/C-time.c: Adapt for above change.
8504         * locale/categories.def: Likewise.
8505         * locale/localeinfo.h: Likewise.
8506         * localedata/Makefile: Don't run tests for now.
8507
8508         * manual/errno.texi: Fix typos.
8509         * manual/memory.texi: Likewise.
8510         * manual/ctype.texi: Likewise.
8511         Patches by Brian Youmans <3diff@gnu.org>.
8512
8513 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8514
8515         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
8516
8517 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8518
8519         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
8520         word order.
8521         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
8522         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
8523
8524 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8525
8526         * db2/db/db.c: Restore __nss_db_open alias.
8527         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
8528         include.
8529         * db2/os/os_rw.c (__os_write): Maintain const correctness.
8530         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
8531
8532 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
8533
8534         * stdio-common/printf-parse.h (parse_one_spec): Don't set
8535         is_longlong if not necessary.
8536
8537 1999-06-15  H.J. Lu  <hjl@gnu.org>
8538
8539         * Make-dist (sysdep_dirs): Exclude SCCS.
8540         * MakeTAGS (sysdep_dirs): Likewise.
8541
8542 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
8543
8544         * posix/regex.c (re_error_msgid): Remove extra commas.
8545
8546 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
8547
8548         * stdlib/tst-strtoll.c: New file.
8549         * stdlib/Makefile (tests): Add tst-strtoll.c
8550         * stdlib/strtol.c: It is not generally true that if
8551         (unsigned)a*(unsigned)b overflows, then the result is
8552         less than 'a'.
8553
8554 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
8555
8556         * nscd/connections.c (handle_request): Only root is allowed to
8557         send GETSTAT request in non secure mode.
8558         * nscd/nscd.c: Print error message if other then root try to
8559         use getstat.
8560
8561 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8562
8563         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
8564
8565 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8566
8567         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
8568         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
8569
8570 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8571
8572         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
8573         for character to search, to help the compiler.
8574         * sysdeps/generic/strchrnul.c: Likewise.
8575         * sysdeps/generic/memchr.c: Likewise.
8576         * sysdeps/generic/memccpy.c: Likewise.
8577         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
8578
8579 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8580
8581         * sysdeps/m68k/memchr.S: New file.
8582         * sysdeps/m68k/rawmemchr.S: New file.
8583         * sysdeps/m68k/strchr.S: New file.
8584         * sysdeps/m68k/strchrnul.S: New file.
8585
8586 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
8587
8588         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
8589         add `memory' clobber; optimise for constant `val'.
8590         (atomic_add): Likewise.
8591         (test_and_set): Remove `volatile'; add `memory' clobber; be more
8592         like the original `test_and_set'.
8593         (compare_and_swap): Remove `volatile'; add `memory' clobber;
8594         optimise for constant `oldval'.
8595         (always_swap): Remove `volatile'; add `memory' clobber.
8596
8597 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8598
8599         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
8600         functions for gcc <= 2.7.x.
8601
8602 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
8603
8604         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
8605         change.
8606
8607 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
8608
8609         * db2/Makefile (distribute): Remove files which do not exist
8610         anymore.
8611
8612         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
8613         definitions to calm down gcc.
8614
8615         * db2/db.h: Update from db 2.7.5.
8616         * db2/db_185.h: Likewise.
8617         * db2/db_int.h: Likewise.
8618         * db2/btree/bt_compare.c: Likewise.
8619         * db2/btree/bt_conv.c: Likewise.
8620         * db2/btree/bt_curadj.c: Likewise.
8621         * db2/btree/bt_cursor.c: Likewise.
8622         * db2/btree/bt_delete.c: Likewise.
8623         * db2/btree/bt_open.c: Likewise.
8624         * db2/btree/bt_page.c: Likewise.
8625         * db2/btree/bt_put.c: Likewise.
8626         * db2/btree/bt_rec.c: Likewise.
8627         * db2/btree/bt_recno.c: Likewise.
8628         * db2/btree/bt_rsearch.c: Likewise.
8629         * db2/btree/bt_search.c: Likewise.
8630         * db2/btree/bt_split.c: Likewise.
8631         * db2/btree/bt_stat.c: Likewise.
8632         * db2/btree/btree_auto.c: Likewise.
8633         * db2/common/db_appinit.c: Likewise.
8634         * db2/common/db_apprec.c: Likewise.
8635         * db2/common/db_err.c: Likewise.
8636         * db2/common/db_region.c: Likewise.
8637         * db2/common/db_salloc.c: Likewise.
8638         * db2/db/db.c: Likewise.
8639         * db2/db/db.src: Likewise.
8640         * db2/db/db_am.c: Likewise.
8641         * db2/db/db_auto.c: Likewise.
8642         * db2/db/db_dispatch.c: Likewise.
8643         * db2/db/db_dup.c: Likewise.
8644         * db2/db/db_iface.c: Likewise.
8645         * db2/db/db_join.c: Likewise.
8646         * db2/db/db_overflow.c: Likewise.
8647         * db2/db/db_pr.c: Likewise.
8648         * db2/db/db_rec.c: Likewise.
8649         * db2/db/db_ret.c: Likewise.
8650         * db2/db185/db185.c: Likewise.
8651         * db2/dbm/dbm.c: Likewise.
8652         * db2/hash/hash.c: Likewise.
8653         * db2/hash/hash_auto.c: Likewise.
8654         * db2/hash/hash_dup.c: Likewise.
8655         * db2/hash/hash_page.c: Likewise.
8656         * db2/hash/hash_rec.c: Likewise.
8657         * db2/hash/hash_stat.c: Likewise.
8658         * db2/include/btree.h: Likewise.
8659         * db2/include/btree_ext.h: Likewise.
8660         * db2/include/clib_ext.h: Likewise.
8661         * db2/include/common_ext.h: Likewise.
8662         * db2/include/db_am.h: Likewise.
8663         * db2/include/db_auto.h: Likewise.
8664         * db2/include/db_cxx.h: Likewise.
8665         * db2/include/db_ext.h: Likewise.
8666         * db2/include/db_join.h: Likewise.
8667         * db2/include/db_page.h: Likewise.
8668         * db2/include/hash.h: Likewise.
8669         * db2/include/hash_ext.h: Likewise.
8670         * db2/include/lock.h: Likewise.
8671         * db2/include/lock_ext.h: Likewise.
8672         * db2/include/log.h: Likewise.
8673         * db2/include/log_ext.h: Likewise.
8674         * db2/include/mp.h: Likewise.
8675         * db2/include/mp_ext.h: Likewise.
8676         * db2/include/os.h: Likewise.
8677         * db2/include/os_ext.h: Likewise.
8678         * db2/include/os_func.h: Likewise.
8679         * db2/include/txn.h: Likewise.
8680         * db2/include/txn_auto.h: Likewise.
8681         * db2/include/txn_ext.h: Likewise.
8682         * db2/include/xa.h: Likewise.
8683         * db2/include/xa_ext.h: Likewise.
8684         * db2/lock/lock.c: Likewise.
8685         * db2/lock/lock_conflict.c: Likewise.
8686         * db2/lock/lock_deadlock.c: Likewise.
8687         * db2/lock/lock_region.c: Likewise.
8688         * db2/lock/lock_util.c: Likewise.
8689         * db2/log/log.c: Likewise.
8690         * db2/log/log_archive.c: Likewise.
8691         * db2/log/log_auto.c: Likewise.
8692         * db2/log/log_findckp.c: Likewise.
8693         * db2/log/log_get.c: Likewise.
8694         * db2/log/log_put.c: Likewise.
8695         * db2/log/log_rec.c: Likewise.
8696         * db2/log/log_register.c: Likewise.
8697         * db2/mp/mp_bh.c: Likewise.
8698         * db2/mp/mp_fget.c: Likewise.
8699         * db2/mp/mp_fopen.c: Likewise.
8700         * db2/mp/mp_fput.c: Likewise.
8701         * db2/mp/mp_fset.c: Likewise.
8702         * db2/mp/mp_open.c: Likewise.
8703         * db2/mp/mp_pr.c: Likewise.
8704         * db2/mp/mp_region.c: Likewise.
8705         * db2/mp/mp_sync.c: Likewise.
8706         * db2/mutex/mutex.c: Likewise.
8707         * db2/mutex/uts4_cc.s: Likewise.
8708         * db2/os/os_abs.c: Likewise.
8709         * db2/os/os_alloc.c: Likewise.
8710         * db2/os/os_config.c: Likewise.
8711         * db2/os/os_dir.c: Likewise.
8712         * db2/os/os_fid.c: Likewise.
8713         * db2/os/os_fsync.c: Likewise.
8714         * db2/os/os_map.c: Likewise.
8715         * db2/os/os_oflags.c: Likewise.
8716         * db2/os/os_open.c: Likewise.
8717         * db2/os/os_rw.c: Likewise.
8718         * db2/os/os_seek.c: Likewise.
8719         * db2/os/os_sleep.c: Likewise.
8720         * db2/os/os_spin.c: Likewise.
8721         * db2/os/os_stat.c: Likewise.
8722         * db2/os/os_tmpdir.c: Likewise.
8723         * db2/os/os_unlink.c: Likewise.
8724         * db2/progs/db_archive/db_archive.c: Likewise.
8725         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8726         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8727         * db2/progs/db_dump/db_dump.c: Likewise.
8728         * db2/progs/db_load/db_load.c: Likewise.
8729         * db2/progs/db_printlog/README: Likewise.
8730         * db2/progs/db_printlog/commit.awk: Likewise.
8731         * db2/progs/db_printlog/count.awk: Likewise.
8732         * db2/progs/db_printlog/db_printlog.c: Likewise.
8733         * db2/progs/db_printlog/pgno.awk: Likewise.
8734         * db2/progs/db_printlog/range.awk: Likewise.
8735         * db2/progs/db_printlog/status.awk: Likewise.
8736         * db2/progs/db_printlog/txn.awk: Likewise.
8737         * db2/progs/db_recover/db_recover.c: Likewise.
8738         * db2/progs/db_stat/db_stat.c: Likewise.
8739         * db2/txn/txn.c: Likewise.
8740         * db2/txn/txn.src: Likewise.
8741         * db2/txn/txn_auto.c: Likewise.
8742         * db2/txn/txn_rec.c: Likewise.
8743         * db2/xa/xa.c: Likewise.
8744         * db2/xa/xa_db.c: Likewise.
8745         * db2/xa/xa_map.c: Likewise.
8746
8747         * db2/btree/bt_close.c: Removed.
8748         * db2/db/db_thread.c: Likewise.
8749         * db2/hash/hash_debug.c: Likewise.
8750         * db2/include/db.h.src: Likewise.
8751         * db2/include/db_int.h.src: Likewise.
8752         * db2/include/os_jump.h: Likewise.
8753         * db2/mutex/alpha.dec: Likewise.
8754         * db2/mutex/alpha.gcc: Likewise.
8755         * db2/mutex/parisc.hp: Likewise.
8756         * db2/mutex/uts4.cc.s: Likewise.
8757
8758         * db2/Makefile: Add new routines, remove old for 2.7.5.
8759         * db2/Versions: Add internal function names for the helper programs.
8760         * db2/makedb.c: Update for new cursor callback.
8761         * Versions.def: Define versions for libdb.
8762
8763 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
8764
8765         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
8766         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
8767         * nscd/nscd_nischeck.c: New file.
8768         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
8769
8770 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8771
8772         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
8773         MSG_* flags from Linux 2.2.9.
8774
8775 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
8776
8777         * Makeconfig (static-start-installed-name): Set to
8778         $(start-installed-name) if not defined.
8779         (+link-static): Use $(static-start-installed-name) instead of
8780         $(start-installed-name).
8781         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8782         Set to crt0.o.
8783
8784 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
8785
8786         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
8787         inserting a send right into the child instead of unconditionally
8788         copying the send right.
8789
8790 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
8791
8792         * locale/lc-time.c: Add free_mem function to free if necessary
8793         statically allocated memory.
8794
8795 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
8796
8797         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
8798         bias from the raw exponent.
8799
8800 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
8801
8802         * inet/arpa/tftp.h: Move attribute declaration in right position.
8803
8804 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
8805
8806         * nscd/nscd.c: Add -S options for separate caching of data for
8807         every user. So one user couldn't see the data another user
8808         has gotten with his credentials.
8809         * nscd/nscd.h: Add new prototypes.
8810         * nscd/cache.c: Compare owner of cache entry if in secure mode.
8811         * nscd/connections.c: Check on shutdown if caller really was root.
8812         In secure mode get uid of caller.
8813         * nscd/grpcache.c: Add support for new secure group mode.
8814         * nscd/hstcache.c: Add support for new secure hosts mode.
8815         * nscd/pwdcache.c: Add support for new secure passwd mode.
8816
8817 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
8818
8819         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
8820         of user-provided buffer.
8821
8822 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
8823
8824         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
8825         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
8826
8827 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
8828
8829         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
8830         and A format.
8831
8832         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
8833         returning after last entry.
8834         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
8835
8836 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
8837
8838         * misc/sysexits.h: Remove advertising clause of copyright.
8839         * resolv/getnetnamadr.c: Likewise.
8840         * sysdeps/vax/bcopy.s: Likewise.
8841         * sysdeps/vax/bzero.s: Likewise.
8842         * sysdeps/vax/ffs.s: Likewise.
8843         * sysdeps/vax/memchr.s: Likewise.
8844         * sysdeps/vax/memcmp.s: Likewise.
8845         * sysdeps/vax/memmove.s: Likewise.
8846         * sysdeps/vax/memset.s: Likewise.
8847         * sysdeps/vax/strcat.s: Likewise.
8848         * sysdeps/vax/strchr.s: Likewise.
8849         * sysdeps/vax/strcmp.s: Likewise.
8850         * sysdeps/vax/strcpy.s: Likewise.
8851         * sysdeps/vax/strcspn.s: Likewise.
8852         * sysdeps/vax/strlen.s: Likewise.
8853         * sysdeps/vax/strncat.s: Likewise.
8854         * sysdeps/vax/strncmp.s: Likewise.
8855         * sysdeps/vax/strncpy.s: Likewise.
8856         * sysdeps/vax/strpbrk.s: Likewise.
8857         * sysdeps/vax/strrchr.s: Likewise.
8858         * sysdeps/vax/strsep.s: Likewise.
8859         * sysdeps/vax/strspn.s: Likewise.
8860         * sysdeps/vax/strstr.s: Likewise.
8861
8862         * libio/iofopncook.c: Adjust for renaming of structure elements.
8863         * libio/libio.h: Define cookie functions with all the names.
8864
8865         * pwd/fgetpwent_r.c: Set errno in the correct way.
8866         * shadow/fgetspent_r.c: Likewise.
8867         * pwd/fgetpwent.c: Handle long lines correctly.  Little
8868         optimizations.  Free static buffer when debugging memory handling.
8869         * shadow/fgetspent.c: Likewise.
8870
8871         * grp/fgetgrent.c: Little optimization in loop.
8872
8873 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8874
8875         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
8876         in a different way.
8877
8878 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
8879
8880         * stdlib/longlong.h: gas changed sethi handling when without
8881         %hi(). Fix assembly.
8882         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
8883         port specific cache id checks.
8884         * sysdeps/generic/dl-cache.h: New file.
8885         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
8886
8887 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
8888
8889         * gmon/gmon.c: Remove advertising clause of copyright.
8890         * gmon/mcount.c: Likewise.
8891         * gmon/sys/gmon.h: Likewise.
8892         * inet/arpa/ftp.h: Likewise.
8893         * inet/arpa/telnet.h: Likewise.
8894         * inet/arpa/tftp.h: Likewise.
8895         * inet/inet_lnaof.c: Likewise.
8896         * inet/inet_mkadr.c: Likewise.
8897         * inet/inet_net.c: Likewise.
8898         * inet/inet_netof.c: Likewise.
8899         * inet/protocols/routed.h: Likewise.
8900         * inet/protocols/rwhod.h: Likewise.
8901         * inet/protocols/talkd.h: Likewise.
8902         * inet/protocols/timed.h: Likewise.
8903         * inet/rcmd.c: Likewise.
8904         * inet/rexec.c: Likewise.
8905         * inet/ruserpass.c: Likewise.
8906         * io/fts.c: Likewise.
8907         * io/fts.h: Likewise.
8908         * login/login_tty.c: Likewise.
8909         * misc/fstab.h: Likewise.
8910         * misc/getttyent.c: Likewise.
8911         * misc/getusershell.c: Likewise.
8912         * misc/sys/queue.h: Likewise.
8913         * misc/sys/syslog.h: Likewise.
8914         * misc/syslog.c: Likewise.
8915         * misc/ttyent.h: Likewise.
8916         * misc/ttyslot.c: Likewise.
8917         * resolv/arpa/nameser.h: Likewise.
8918         * resolv/gethnamaddr.c: Likewise.
8919         * resolv/herror.c: Likewise.
8920         * resolv/inet_addr.c: Likewise.
8921         * resolv/mapv4v6addr.h: Likewise.
8922         * resolv/mapv4v6hostent.h: Likewise.
8923         * resolv/nss_dns/dns-host.c: Likewise.
8924         * resolv/nss_dns/dns-network.c: Likewise.
8925         * resolv/res_comp.c: Likewise.
8926         * resolv/res_data.c: Likewise.
8927         * resolv/res_debug.c: Likewise.
8928         * resolv/res_init.c: Likewise.
8929         * resolv/res_mkquery.c: Likewise.
8930         * resolv/res_query.c: Likewise.
8931         * resolv/res_send.c: Likewise.
8932         * resolv/resolv.h: Likewise.
8933         * sysdeps/generic/div.c: Likewise.
8934         * sysdeps/generic/netinet/ip.h: Likewise.
8935         * sysdeps/generic/netinet/tcp.h: Likewise.
8936         * sysdeps/generic/paths.h: Likewise.
8937         * sysdeps/generic/prof-freq.c: Likewise.
8938         * sysdeps/generic/sys/ttydefaults.h: Likewise.
8939         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8940         * sysdeps/gnu/netinet/tcp.h: Likewise.
8941         * sysdeps/ieee754/support.c: Likewise.
8942         * sysdeps/mach/hurd/sys/param.h: Likewise.
8943         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
8944         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8945         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
8946         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8947         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
8948         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
8949         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
8950         * sysdeps/unix/sysv/linux/paths.h: Likewise.
8951         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
8952         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
8953         * sysdeps/vax/DEFS.h: Likewise.
8954         * termios/sys/ttychars.h: Likewise.
8955         * misc/daemon.c: Likewise.  Call fork.
8956
8957         * grp/fgetgrent.c (buffer): Make file local variable.
8958         (free_mem): New function.  Call for malloc debugging.
8959
8960         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
8961
8962 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8963
8964         * grp/Makefile: Add rules for tst_fgetgrent.
8965
8966         * grp/tst_fgetgrent.c: Rewritten to read only one file.
8967
8968         * grp/tst_fgetgrent.sh: New file.
8969
8970 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
8971
8972         * grp/Makefile (tests): Add tst_fgetgrent.
8973         * grp/tst_fgetgrent.c: New file.
8974         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8975
8976 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
8977
8978         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
8979         be POSIX compliant.  Prior definition was broken for Hurd.
8980         Reported by Mark Kettenis <kettenis@gnu.org>.
8981
8982 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
8983
8984         * ctype/ctype.h: Protect __tobody code by __extension__.
8985
8986 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
8987
8988         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
8989         reading and reset in case the buffer was too small.
8990
8991         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
8992         of EOF.
8993
8994 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8995
8996         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
8997         another SIOGIFNAME typo.
8998
8999 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9000
9001         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
9002
9003         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
9004         bit.
9005
9006 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9007
9008         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
9009         the precision if the mantissa is zero.
9010
9011 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9012
9013         * manual/lang.texi (Floating Point Parameters): GCC already
9014         supports long double for a long time.
9015
9016 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9017
9018         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
9019         yn_test): Increase some epsilons.
9020
9021 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
9022
9023         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
9024         parameters.
9025
9026 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9027
9028         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9029         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
9030         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
9031         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
9032
9033         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
9034         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
9035         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
9036         * sysdeps/libm-ieee754/w_j1.c: Likewise.
9037         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
9038         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
9039         * sysdeps/libm-ieee754/w_jn.c: Likewise.
9040         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
9041         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
9042
9043         * stdio-common/vfprintf.c: Correct typos.
9044
9045         * math/libm-test.c (jn_test): Adjust delta.
9046         (y1_test): Likewise.
9047         (yn_test): Likewise.
9048
9049         * elf/do-lookup.h: It should never happen that if we expect a versioned
9050         symbol from a file the file has no version table.  This should have
9051         been checked in dl-version.c.
9052         * elf/dl-lookup.c: Include assert.h.
9053
9054         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
9055         function handling.
9056
9057         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
9058
9059 1999-06-06  Andi Kleen  <ak@muc.de>
9060
9061         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
9062         SA_RESTORER flag.
9063
9064 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9065
9066         * math/libm-test.c (yn_test): Change one delta.
9067         (jn_test): Likewise.
9068         (j1_test): Likewise.
9069         (y0_test): Likewise.
9070
9071 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
9072
9073         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
9074         avoid multiple calls to getpagesize() which might be a syscall.
9075
9076 1999-06-06  Philip Blundell  <philb@gnu.org>
9077
9078         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
9079
9080 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9081
9082         * manual/install.texi (Running make install): Correct typo in
9083         dynamic linker invocation.
9084
9085 1999-06-05  Philip Blundell  <philb@gnu.org>
9086
9087         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
9088         problems with GOT addressing.
9089
9090 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9091
9092         * malloc/malloc.c (check_action): Change into bitmap so that both
9093         diagnostic and abort can be requested by setting it to 3.
9094         (mALLOC_SET_STATe): Disable malloc checking if necessary.
9095
9096 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
9097
9098         * configure.in: Few changes for HPUX.
9099
9100         * scripts/config.guess: Update from latest version.
9101         * scripts/config.sub: Likewise.
9102
9103 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9104
9105         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
9106         map files.  Closes PR libc/1147.
9107
9108 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9109
9110         * math/libm-test.c (main): Add new test functions.
9111         (jn_test): New tests.
9112         (j1_test): Add some more tests.
9113         (j0_test): Add some more tests.
9114         (y0_test): Add some more tests.
9115         (y1_test): Add some more tests.
9116
9117 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9118
9119         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
9120         Patch by mhagger@dera.gov.uk [PR libc/1145].
9121
9122         * math/libm-test.c (y1_test): New tests.
9123         (y0_test): Likewise.
9124         (j1_test): Likewise.
9125         (j0_test): Likewise.
9126         (main): Added new tests.
9127
9128 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
9129
9130         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
9131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
9132         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
9133         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
9134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
9135         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
9136
9137 1999-06-02  David S. Miller  <davem@redhat.com>
9138
9139         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
9140         pointers properly.
9141
9142 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
9143
9144         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
9145         and elide compatibility code if possible.
9146
9147 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
9148
9149         * manual/llio.texi: Remove menu entry for removed section.
9150
9151 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9152
9153         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
9154         variables.
9155
9156 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9157
9158         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
9159         (from Linux 2.3.4).
9160
9161 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
9162
9163         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
9164
9165 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9166
9167         * manual/stdio.texi: Fix some typos.
9168
9169 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9170
9171         * malloc/malloc.h: Properly handle future GCC versions.
9172
9173 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9174
9175         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
9176         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
9177         text of error message.
9178
9179         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
9180
9181 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
9182
9183         * manual/filesys.texi: Extend (f)truncate documentation.
9184         * manual/llio.texi: Remove duplicate (f)truncate definition.
9185
9186 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9187
9188         * manual/stdio.texi (Formatted Output Functions): Mention
9189         semantics of snprintf in glibc 2.0.
9190         Reported by Ben Pfaff <pfaffben@msu.edu>.
9191
9192 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
9193
9194         * include/features.h (__GLIBC_MINOR__): Bump to 2.
9195
9196 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
9197
9198         * math/libm-test.c: Adjust a few more deltas for the poor ARM
9199         FPU emulator.
9200
9201 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9202
9203         * configure.in: Fix typo.
9204
9205 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9206
9207         * manual/socket.texi (Host Names): Remove statement that h_errno
9208         needs to be declared since this isn't true anymore.
9209         Closes PR libc/1138.
9210
9211 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
9212
9213         * config.h.in: Add __LINUX_KERNEL_VERSION.
9214         * configure.in: Recognize --enable-kernel.
9215         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
9216         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
9217         appropriately.
9218         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
9219         given perform runtime test.
9220
9221         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
9222         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
9223         minimal supported kernel is known to have the feature.
9224         * sysdeps/unix/sysv/linux/poll.c: Likewise.
9225         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9226         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9227         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9228         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9229         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
9230         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9231         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9232         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9233         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9234         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9235         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
9236         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9237         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
9238         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9239
9240         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
9241
9242 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
9243
9244         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
9245
9246 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
9247
9248         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
9249         Optimized sparc64 routines.
9250
9251 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
9252
9253         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
9254         they are the same as ints.
9255         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9256
9257         * version.h (VERSION): Bump to 2.1.90.
9258         (RELEASE): Mark as development.
9259
9260         * stdio-common/vfprintf.c (vfprintf): Don't implement special
9261         handling for long long if it is the same as long.
9262         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
9263
9264         * stdlib/strtol.c: Moved to ...
9265         * sysdeps/generic/strtol.c: ...here.
9266         * stdlib/strtoul.c: Moved to ...
9267         * sysdeps/generic/strtoul.c: ...here.
9268         * stdlib/strtoll.c: Moved to ...
9269         * sysdeps/generic/strtoll.c: ...here.
9270         * stdlib/strtoull.c: Moved to ...
9271         * sysdeps/generic/strtoull.c: ...here.
9272         * stdlib/strtol_l.c: Moved to ...
9273         * sysdeps/generic/strtol_l.c: ...here.
9274         * stdlib/strtoul_l.c: Moved to ...
9275         * sysdeps/generic/strtoul_l.c: ...here.
9276         * stdlib/strtoll_l.c: Moved to ...
9277         * sysdeps/generic/strtoll_l.c: ...here.
9278         * stdlib/strtoull_l.c: Moved to ...
9279         * sysdeps/generic/strtoull_l.c: ...here.
9280
9281         * sysdeps/wordsize-64/strtol.c: New file.
9282         * sysdeps/wordsize-64/strtoul.c: New file.
9283         * sysdeps/wordsize-64/strtoll.c: New file.
9284         * sysdeps/wordsize-64/strtoull.c: New file.
9285         * sysdeps/wordsize-64/strtol_l.c: New file.
9286         * sysdeps/wordsize-64/strtoul_l.c: New file.
9287         * sysdeps/wordsize-64/strtoll_l.c: New file.
9288         * sysdeps/wordsize-64/strtoull_l.c: New file.
9289
9290         * wcsmbs/wcstol.c: Moved to ...
9291         * sysdeps/generic/wcstol.c: ...here.
9292         * wcsmbs/wcstoul.c: Moved to ...
9293         * sysdeps/generic/wcstoul.c: ...here.
9294         * wcsmbs/wcstoll.c: Moved to ...
9295         * sysdeps/generic/wcstoll.c: ...here.
9296         * wcsmbs/wcstoull.c: Moved to ...
9297         * sysdeps/generic/wcstoull.c: ...here.
9298         * wcsmbs/wcstol_l.c: Moved to ...
9299         * sysdeps/generic/wcstol_l.c: ...here.
9300         * wcsmbs/wcstoul_l.c: Moved to ...
9301         * sysdeps/generic/wcstoul_l.c: ...here.
9302         * wcsmbs/wcstoll_l.c: Moved to ...
9303         * sysdeps/generic/wcstoll_l.c: ...here.
9304         * wcsmbs/wcstoull_l.c: Moved to ...
9305         * sysdeps/generic/wcstoull_l.c: ...here.
9306
9307         * sysdeps/wordsize-64/wcstol.c: New file.
9308         * sysdeps/wordsize-64/wcstoul.c: New file.
9309         * sysdeps/wordsize-64/wcstoll.c: New file.
9310         * sysdeps/wordsize-64/wcstoull.c: New file.
9311         * sysdeps/wordsize-64/wcstol_l.c: New file.
9312         * sysdeps/wordsize-64/wcstoul_l.c: New file.
9313         * sysdeps/wordsize-64/wcstoll_l.c: New file.
9314         * sysdeps/wordsize-64/wcstoull_l.c: New file.
9315
9316 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
9317
9318         * sysdeps/sparc/bits/wordsize.h: New file.
9319         * sysdeps/sparc/fpu/bits/fenv.h: New file.
9320         * sysdeps/sparc/fpu/fpu_control.h: New file.
9321         * sysdeps/sparc/gmp-mparam.h: New file.
9322
9323         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
9324         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
9325         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
9326         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
9327         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
9328         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
9329
9330         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
9331         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
9332         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
9333         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
9334
9335         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
9336         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
9337         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
9338         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
9339         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
9340
9341 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
9342
9343         * login/openpty.c (openpty): Make sure pty does not because
9344         controlling TTY.
9345
9346         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
9347
9348 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
9349
9350         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
9351         Do proper error return.
9352
9353 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9354
9355         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
9356         of __P in the rest of glibc; define __MALLOC_PMT and use it.
9357         Reported by Stephan Kulow <coolo@kde.org>.
9358
9359 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
9360
9361         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
9362
9363         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
9364
9365 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9366
9367         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
9368         names to protect from user's macro namespace.
9369         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
9370         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
9371         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
9372         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
9373         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
9374         Adapted.
9375         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
9376         sysdeps/arm/fpu/fesetenv.c: Likewise.
9377         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
9378         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
9379         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
9380         * sysdeps/mips/fesetenv.c: Likewise.
9381
9382 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
9383
9384         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
9385
9386 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
9387
9388         * configure.in: Recognize and allow gcc 2.95.
9389
9390 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
9391
9392         * sysdeps/generic/bits/elfclass.h: Version common to
9393         wordsize-32 and wordsize-64.
9394         * sysdeps/generic/bits/environments.h: Ditto.
9395         * sysdeps/generic/stdint.h: Ditto.
9396         * sysdeps/generic/inttypes.h: Ditto.
9397
9398         * sysdeps/generic/bits/wordsize.h: New file.
9399         * stdlib/Makefile: Add bits/wordsize.h to headers.
9400
9401         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
9402
9403         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
9404         headers to be used for 32bit and 64bit ABI compilations.
9405         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
9406         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
9407         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
9408         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
9409         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
9410
9411         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
9412         * sysdeps/wordsize-64/bits/environments.h: Remove.
9413         * sysdeps/wordsize-64/stdint.h: Remove.
9414         * sysdeps/wordsize-64/inttypes.h: Remove.
9415         * sysdeps/wordsize-64/bits/wordsize.h: New file.
9416
9417         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
9418         * sysdeps/wordsize-32/bits/environments.h: Remove.
9419         * sysdeps/wordsize-32/stdint.h: Remove.
9420         * sysdeps/wordsize-32/inttypes.h: Remove.
9421         * sysdeps/wordsize-32/bits/wordsize.h: New file.
9422
9423 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
9424
9425         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
9426         __align_cpy_16): New functions.
9427         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
9428
9429         * sysdeps/sparc/sparc32/Versions: New file.
9430         * sysdeps/sparc/sparc64/Versions: New file.
9431         * sysdeps/sparc/Versions: Remove.
9432
9433 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
9434
9435         * sysdeps/unix/sysv/linux/configure.in:
9436         On sparc64-*-linux*, set slibdir to /lib64 if prefix
9437         is /usr, plus set libdir to ${exec_prefix}/lib64.
9438         * sysdeps/unix/sysv/linux/configure: Regenerated.
9439         * config.make.in: Propagate libdir settings from configure
9440         to the Makefiles.
9441         * shlib-versions: sparc64-*-linux* dynamic linker is
9442         /lib64/ld-linux.so.2.
9443
9444 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
9445
9446         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
9447         RPC connection.
9448
9449 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
9450
9451         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
9452         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
9453
9454         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
9455         contains garbage in bits 8-63.
9456         * sysdeps/sparc/sparc64/memset.S: Ditto.
9457         * sysdeps/sparc/sparc64/strchr.S: Ditto.
9458
9459 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
9460
9461         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
9462
9463 1999-05-17  David S. Miller  <davem@redhat.com>
9464
9465         * sysdeps/sparc/sparc32/atomicity.h: New file.
9466         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
9467         * sysdeps/sparc/sparc64/atomicity.h: New file.
9468         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
9469         sysdep-CFLAGS.
9470
9471 1999-05-18  Richard Henderson  <rth@twiddle.net>
9472
9473         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
9474
9475 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9476
9477         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
9478         posix/sys/types.h: Handle the case of __GNUC__=3,
9479         __GNUC_MINOR__=(anything).
9480
9481 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9482
9483         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
9484         if _FORCE_INLINES.
9485
9486 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
9487
9488         * elf/Makefile (distribute): Remove dl-origin.h.
9489         Add dl-dst.h and gen-trusted-dirs.awk.
9490
9491 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9492
9493         * sysdeps/i386/i486/Versions: New file with inline functions from
9494         sysdeps/i386/i486/bits/string.h for now.
9495
9496         * sysdeps/i386/Versions: Add inline functions from
9497         sysdeps/i386/bits/string.h.
9498
9499         * string/Versions: Add inline functions from <bits/string2.h>.
9500
9501         * string/Makefile (routines): Add string-inlines.
9502         * string/string-inlines.c: New file, used for implementation of
9503         extern inline functions.
9504
9505         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
9506         non inlined versions of functions.
9507         * string/bits/string2.h: Likewise.
9508         * sysdeps/i386/bits/string.h: Likewise.
9509
9510 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
9511
9512         * inet/arpa/tftp.h: Add second packed attribute.
9513
9514 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9515
9516         * malloc/malloc.c: Cleanup to bring in line with released
9517         stand-alone version `ptmalloc'.  Update some comments.
9518         (internal_function): Move fallback definition so that the source
9519         compiles outside of libc, and use it in more places.
9520         (malloc_atfork): Fix when malloc_check is in use.
9521
9522 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9523
9524         * stdlib/tst-strtod.c: Fix typo.
9525
9526 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9527
9528         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
9529         const incorrectness.
9530
9531 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
9532
9533         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
9534
9535 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
9536
9537         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
9538         * sunrpc/key_call.c: Fix memory leak, close file handle.
9539         * nis/nis_creategroup.c: Use malloc instead of calloc,
9540         set ctime and mtime.
9541         * nis/nis_subr.c: Check for realloc result.
9542         * nis/nis_file.c: Fix memory leak.
9543         * nis/nis_table.c: Pretty print.
9544         * nis/nis_getservlist.c: Likewise.
9545         * nis/nis_ismember.c: Likewise.
9546         * nis/nis_lookup.c: Likewise.
9547         * nis/nis_ping.c: Likewise.
9548         * nis/nis_removemember.c: Likewise.
9549         * nis/nis_util.c: Likewise, check calloc result.
9550
9551 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
9552
9553         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
9554         * sysdeps/generic/sys/socketvar.h: ... here.
9555         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
9556         * sysdeps/generic/netinet/in_systm.h: ... here.
9557         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
9558         sys/socketvar.h.
9559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
9560         * inet/Makefile (headers): Add netinet/in_systm.h here.
9561         * socket/Makefile (headers): Add sys/socketvar.h here.
9562
9563 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
9564
9565         * stdlib/strtol.c: Optimize inner loop of long long versions.
9566
9567         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
9568         Unix98.  Add forward declaration of struct utmp.
9569
9570 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
9571
9572         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
9573         calloc.
9574
9575         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
9576         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
9577         memory allocation results.
9578
9579 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
9580
9581         * sysdeps/generic/getutmp.c: Include <string.h>
9582         (getutmp): Rewrite to only copy those members that are really
9583         present in `struct utmp'.
9584         * sysdeps/generic/getutmpx.c: Likewise.
9585
9586 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
9587
9588         * nss/getXXbyYY.c: Add free_mem function which disposes all
9589         statically allocated memory when debugging.
9590         * nss/getXXent.c: Likewise.
9591         * nss/nsswitch.c: Likewise.
9592
9593 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
9594
9595         * sysdeps/gnu/getutmpx.c: New file.
9596         * sysdeps/gnu/getutmp.c: New file.
9597
9598 1999-05-13  H.J. Lu  <hjl@gnu.org>
9599
9600         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
9601         (getutmp): Likewise.
9602
9603         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
9604         getutmpx for login.
9605
9606         * sysdeps/gnu/utmpx.h (getutmp): Added.
9607         (getutmpx): Likewise.
9608
9609         * sysdeps/generic/getutmp.c: New file.
9610
9611         * sysdeps/generic/getutmpx.c: New file.
9612
9613 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9614
9615         * glibcbug.in (BUGGLIBC): Change address to
9616         libc-alpha@sourceware.cygnus.com.
9617
9618 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9619
9620         * resolv/arpa/nameser.h: Add C++ protectors.
9621
9622 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9623
9624         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
9625         Elad Tsur <eladts@post.tau.ac.il>.
9626
9627 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
9628
9629         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
9630         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
9631         lazily if LD_BIND_NOW is not set.
9632         * elf/dl-support.c (_dl_lazy): New variable.
9633         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
9634         * elf/rtld.c (_dl_lazy): new global variable.
9635         ( dl_main): Remove lazy, replace it by _dl_lazy.
9636
9637 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9638
9639         * locale/setlocale.c (new_composite_name): Check also whether the
9640         first category name differs.
9641
9642 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9643
9644         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
9645         the generic one.
9646
9647 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
9648
9649         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
9650         structure; storage suitable for any socket address.
9651         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
9652         Likewise.
9653         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
9654         sockaddr_storage): Likewise.
9655
9656         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
9657         platform.
9658
9659 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
9660
9661         * hesiod/Versions: Change _nss_hesiod_getpwuid and
9662         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
9663         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
9664
9665 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
9666
9667         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
9668         if the file is empty.
9669
9670 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
9671
9672         * elf/do-lookup.h: Fix typo in comment.
9673
9674         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
9675         f_bsize to help some broken programs.
9676
9677         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
9678
9679         * stdio-common/vfprintf.c: Fix typo.
9680
9681 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
9682
9683         * elf/link.h (struct link_map): New field l_phdr_allocated.
9684         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
9685         the program header being part of any loaded segment.  If it is not
9686         allocate memory and set l_phdr_allocated flag.
9687         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
9688
9689         * nss/digits_dots.c: Correct return value interpretation of
9690         inet_ntoa.  Fix PR libc/1109.
9691
9692 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
9693
9694         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
9695
9696 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
9697
9698         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
9699         * stdlib/fpioconst.c: Move #endif before end of struct.
9700
9701 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
9702
9703         * Versions.def (ld.so): Add GLIBC_2.1.1.
9704         * elf/Makefile (routines): Add dl-origin.
9705         (tests): Add origtest.  Add dependencies for the program.
9706         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
9707         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
9708         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
9709         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
9710         DT_AUXILIARY, and DT_FILTER filenames.
9711         * elf/dl-load.c (expand_dynamic_string_token): Explode into
9712         two functions and three macros.
9713         (_dl_dst_count, _dl_dst_substitute): New functions.
9714         * elf/dl-dst.h: New file.
9715         * elf/dl-open.c (_dl_open): Take extra parameter with address of
9716         caller.  Pass address in args structure.
9717         (dl_open_worker): Recognize and expand DSTs in filename.
9718         * elf/ldsodefs.h (_dl_open): Adapt prototype.
9719         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
9720         (__dlopen_check): Pass caller address to dlopen_doit in args.
9721         * elf/dlopendoit.c: Likewise.
9722         * iconv/gconv_dl.c: Adapt call of _dl_open.
9723         * nss/nsswitch.c: Likewise.
9724         * elf/origtest.c: New file.
9725         * sysdeps/generic/dl-origin.h: Moved to...
9726         * sysdeps/generic/dl-origin.c: ...here.
9727         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
9728         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
9729
9730         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
9731         with specific bases and only few bits set in second word.
9732
9733         * timezone/Makefile (install-others): Create target directory
9734         before creating tzfiles.
9735
9736 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
9737
9738         * nis/nis_file.c (readColdStartFile): Allocate memory only after
9739         the file is opened successfully.
9740
9741         * nis/nis_table.c: Fix some memory leaks.
9742
9743 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
9744
9745         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
9746         variable.
9747
9748         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
9749         around DST.  Correctly ignore ORIGIN IN SUID binaries.
9750
9751 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
9752
9753         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
9754         * sysdeps/generic/strtok.c: Likewise.
9755
9756         * string/tester.c: Add test of rawmemchr.
9757
9758         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
9759         specification.  It's not necessary.
9760
9761         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
9762         * elf/gen-trusted-dirs.awk: New file.
9763         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
9764         from SYSTEM_DIRS macro.
9765         (system_dirs_len): New variable.  Contains lengths of system_dirs
9766         strings.
9767         (fillin_rpath): Rewrite for systems_dirs being a simple string.
9768         Improve string comparisons.  Change parameter trusted to be a flag.
9769         Change all callers.
9770         (_dt_init_paths): Improve using new format for system_dirs.
9771
9772         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
9773         $ORIGIN for SUID binaries.
9774
9775         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
9776
9777 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9778
9779         * sunrpc/Makefile: Generate dependencies for all flavors of
9780         librpcsvc objects.
9781         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
9782         invocations.
9783
9784 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9785
9786         * elf/dlopenold.c: Move #if down after includes to get
9787         dependencies right.
9788
9789 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9790
9791         * sysdeps/generic/bzero.c: Undefine __bzero.
9792
9793 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
9794
9795         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
9796         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
9797         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
9798         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
9799
9800         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
9801         parameter to struct gaih_servtuple *.  Adapt appropriately.
9802         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
9803         This fixes a memory leak.
9804         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
9805
9806         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
9807         and fpregset_t definition.  They are defined in ucontext.h.
9808
9809 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9810
9811         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
9812         and struct ether_header must be packed on the ARM.  The default
9813         alignment constraints add padding to the end of the structures.
9814
9815 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
9816
9817         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
9818         default alignment constraints add padding to the end of the
9819         structure and between members.
9820
9821 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
9822
9823         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
9824         _dl_cache_libcmp instead of strcmp.
9825
9826         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
9827         fails on a file.
9828         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
9829
9830 1998-03-30  Joel Klecker  <espy@debian.org>
9831
9832         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
9833         (sysdep-others,install-bin): Add lddlibc4.
9834
9835 1999-05-02  H.J. Lu  <hjl@gnu.org>
9836
9837         * timezone/zic.c (dolink): Remove the symlink destination first.
9838
9839         * catgets/open_catalog.c (__open_catalog): Set catalog->status
9840         to "nonexisting" if failed to open the file.
9841
9842 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
9843
9844         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
9845         gcc3.
9846
9847         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
9848         Prevent warnings from multiplication with 0x01010101 by another cast.
9849
9850 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9851
9852         * string/bits/string2.h (memset): Revert to previous version if
9853         unaligned writes are not available.
9854
9855 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9856
9857         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
9858         better code in presence of the asm.
9859
9860 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9861
9862         * stdlib/fmtmsg.c (keywords): Increase array size for faster
9863         indexing.
9864
9865         * locale/localeinfo.h (_nl_category_names): Increase array element
9866         size for faster indexing.
9867         * locale/setlocale.c (_nl_category_names): Adjusted.
9868
9869 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9870
9871         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
9872
9873 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9874
9875         * sysdeps/m68k/stackinfo.h: New file.
9876
9877 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9878
9879         * string/tester.c (test_strchrnul): New function.
9880         (test_memset): Test one more special case.
9881
9882         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
9883         25% of all cases.
9884
9885         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
9886         base types.
9887
9888         * string/bits/string2.h: Fix bugs I introduced in last change.
9889
9890         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
9891         register stall.
9892         Extend memset optimization.
9893         Correct i686 version of memchr.
9894
9895 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
9896
9897         * sysdeps/i386/bzero.c: Add #undef __bzero.
9898
9899         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
9900         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
9901         exec server simulated a SIGTRAP before we even started up, so gdb is
9902         already happy.
9903
9904 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
9905
9906         * nss/digits_dots.c: Always initialize not_ok.
9907
9908 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
9909
9910         * string/bits/string2.h (memset): Avoid arithmetic overflow at
9911         compile time, which produces obnoxious warnings.  If GCCv2 is
9912         in use, map __bzero to __builtin_memset to enable that
9913         optimization.
9914
9915 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
9916
9917         * string/bits/string2.h: Add more memset optimizations.
9918
9919         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
9920
9921         * resolv/inet_pton.c (inet_pton4): Little optimizations.
9922         (inet_pton6): Likewise.
9923
9924         * nss/getXXbyYY_r.c: Include assert.h.
9925         * nss/getXXbyYY.c: Likewise.
9926
9927 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9928
9929         * termios/tcgetsid.c (tcgetsid): Rename variable to
9930         tiocgsid_does_not_work.
9931
9932 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
9933
9934         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
9935
9936 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9937
9938         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
9939         This allows e.g. gethostbyname to accept "10.1234".
9940         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
9941
9942         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
9943         non quad IPv4 numbers.
9944
9945 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9946
9947         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
9948
9949 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
9950
9951         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
9952         * argp/argp-parse.c (_argp_hang): Likewise.
9953         * argp/argp-pv.c (argp_program_version): Likewise.
9954         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
9955         * inet/ether_hton.c (ether_hton, startp): Likewise.
9956         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
9957         * inet/getnetgrent_r.c (setup, startp): Likewise.
9958         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
9959         * intl/localealias.c (string_space, string_space_act, string_space_max,
9960         nmap, maxmap): Likewise.
9961         * libio/iopopen.c (proc_file_chain): Likewise.
9962         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
9963         * locale/lc-collate.c (__collate_table, __collate_extra,
9964         __collate_element_hash, __collate_element_strings,
9965         __collate_element_values): Likewise.
9966         * malloc/mcheck.c (mcheck_used): Likewise.
9967         * malloc/mtrace.c (added_atexit_handler): Likewise.
9968         * malloc/set-freeres.c (already_called): Likewise.
9969         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
9970         * misc/syslog.c (LogStat, LogTag): Likewise.
9971         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
9972         * nss/getXXbyYY_r.c (startp): Likewise.
9973         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
9974         * posix/regex.c (init_syntax_once) [done]: Likewise.
9975         (debug): Likewise.
9976         * string/strfry.c (init): Likewise.
9977         * sunrpc/svc_run.c (svc_top): Likewise.
9978         * posix/euidaccess.c (have_ids): Likewise.
9979         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
9980         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
9981         * time/getdate.c (getdate_err): Likewise.
9982         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
9983         Likewise.
9984         * time/tzset.c (old_tz, is_initialized): Likewise.
9985
9986         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
9987         of static data with zero.
9988         * signal/allocrtsig.c (init): Likewise.
9989
9990         * string/Makefile (routines): Add strchrnul.
9991         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
9992         * string/string.c: Add strchrnul prototype.
9993         * include/string.h: Add __strchrnul prototype.
9994         * sysdeps/generic/strchrnul.c: New file.
9995         * sysdeps/i386/strchrnul.S: New file.
9996         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
9997         * sysdeps/i386/i486/bits/string.c: Likewise.
9998         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
9999         * inet/ether_line.c (ether_line): Likewise.
10000         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
10001         * nss/nsswitch.c (nss_parse_file): Likewise.
10002         * posix/execvp.c (execvp): Likewise.
10003         * posix/fnmatch.c (internal_fnmatch): Likewise.
10004         * resolv/res_hconf.c (_res_hconv_init): Likewise.
10005         * resolv/res_init.c (res_init): Likewise.
10006         * stdlib/fmtmsg.c (init): Likewise.
10007         * stdlib/getsubopt.c (getsubopt): Likewise.
10008
10009         * catgets/catgets.c (catopen): Only allocate one memory block.
10010         (catclose): Only one free call necessary.
10011
10012         * catgets/open_catalog.c (__open_catalog): Simplify handling of
10013         file descriptor.
10014
10015         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
10016         of real functions.  Simplify _tolower and _toupper.
10017
10018         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
10019         variable.
10020
10021         * iconv/gconv.h (struct gconv_info): Change data element from pointer
10022         to array of size 0.
10023         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
10024         * iconv/gconv_close.c (__gconv_close): Don't free data.
10025
10026         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
10027         insert new alias.
10028
10029         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
10030         for error while inserting in tree.
10031
10032         * include/time.h: Pretty print.
10033
10034         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
10035         in table and lots of relocations.
10036         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
10037         string pointers in table and lots of relocations.
10038
10039         * intl/finddomain.c: Remove definition of strchr macro.
10040
10041         * io/ftw.c (nftw_arr, ftw_arr): Make const.
10042
10043         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
10044
10045         * locale/localeinfo.h (_nl_category_names): Change into an array with
10046         fixed width char string elements.
10047         * locale/setlocale.c (_nl_category_names): Likewise.
10048         (_nl_current): Make global.
10049         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
10050
10051         * malloc/Makefile (distribute): Add stackinfo.h.
10052         * sysdeps/generic/stackinfo.h: New file.
10053         * sysdeps/i386/stackinfo.h: New file.
10054         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
10055         * posix/execle.c: Likewise.
10056         * posix/execlp.c: Likewise.
10057
10058         * nis/nis_table.c (__create_ib_request): Always use realloc.
10059
10060         * posix/execvp.c (execute): Rename to script_execute and keep only
10061         code to execute using shell.
10062         (execvp): Call execv directly and only fall back on script_execute.
10063
10064         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
10065         and always use xdigits instead.
10066
10067         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
10068         where appropriate.
10069
10070         * stdlib/fpioconst.h (__tens): New declaration.
10071         (struct mp_power): Remove array, add arrayoff element.
10072         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
10073         __tens array and add in _fpioconst_pow10 offsets into __tens.
10074         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
10075         * stdlib/strtod.c: Likewise.
10076
10077         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
10078
10079         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
10080         of the list.
10081         * stdlib/atexit.c (__exit_funcs): Don't initialize.
10082
10083         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
10084
10085         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
10086         a single and an array with offsets.
10087
10088         * sunrpc/des_soft.c (partab): Make it const.
10089
10090         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
10091         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
10092         (__key_decryptsession_pk_LOCAL): Likewise.
10093         (__key_gendes_LOCAL): Likewise.
10094         (MESSENGER): Mark const.
10095         (key_call_private_main): Don't initialize with 0.
10096         (use_keyenvoy): Don't initialize with 0.
10097         (key_call): Rewrite to reverse logic of use_doors variable.
10098
10099         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
10100         (startp): Don't initialize with zero.
10101
10102         * sunrpc/openchild.c (_openchild): Make first argument const.
10103
10104         * sunrpc/pmap_rmt.c (timeout): Mark const.
10105         * sunrpc/xcrypt.c (hex): Likewise.
10106
10107         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
10108         initialization of global variables.
10109         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
10110         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10111         * termios/tcgetsid.c: Likewise.
10112
10113         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
10114         fxsr to osfxsr.
10115
10116         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
10117         block.  Add function to free memory if wanted.
10118         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
10119
10120         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
10121
10122         * wcsmbs/wmemset.c: Little code optimization.
10123
10124 1999-04-23  Paul Eggert  <eggert@twinsun.com>
10125
10126         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
10127         ifdef _LIBC.
10128
10129 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
10130
10131         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
10132         implementation and just always fail with ENOSYS.  This entry point is
10133         obsolete.  Add link warning to that effect.
10134
10135 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10136
10137         * hurd/get-host.c: Include <hurd/lookup.h>.
10138
10139 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10140
10141         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
10142         is != NULL.
10143
10144 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10145
10146         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
10147         ISO C9x and Unix98.
10148
10149 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10150
10151         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
10152         Patch by Peter Miller <millerp@canb.auug.org.au>.
10153
10154 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
10155
10156         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
10157         prefers loopback device.
10158
10159 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
10160
10161         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
10162         no_leading_period change.
10163
10164         * posix/testfnm.c: More test cases.
10165
10166 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
10167
10168         * include/dirent.h: Remove __getdirentries declaration, add __getdents
10169         and __getdents64.
10170         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
10171         * sysdeps/unix/readdir_r.c: Likewise.
10172         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10173         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10174         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
10175         __getdirentries.  Remove fourth argument.
10176         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
10177         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
10178         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
10179         Add getdirentries and getdirentries64.
10180         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
10181
10182         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
10183         pointer in case of an invalid [[: expression.
10184
10185         * posix/testfnm.c: Add more test cases.
10186
10187 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
10188
10189         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
10190         set, pass EXEC_SIGTRAP flag in exec RPC.
10191
10192 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
10193
10194         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
10195         extra parameter.  Fix several more bugs involving wildcard and
10196         ranges.
10197         (fnmatch): New function.  Call internal_fnmatch.
10198
10199         * posix/testfnm.c: More test cases.
10200
10201 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10202
10203         * manual/install.texi (Configuring and compiling): Explain that
10204         files are changed in the source directory.
10205         Closes PR libc/981.
10206         (Configuring and compiling): Explain situation with PARALLELMFLAGS
10207         in the source directory.
10208
10209 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10210
10211         * locale/programs/ld-ctype.c: Spelling fixes.
10212         (ctype_finish): Fix argument of error message format.
10213         * locale/programs/ld-messages.c: Spelling fixes.
10214         * locale/programs/ld-monetary.c: Spelling fixes.
10215         * locale/programs/ld-time.c (time_finish): Make sure that name and
10216         format of era_entries are adjacent.
10217         (time_output): Reduce the size of the io vector.
10218
10219 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10220
10221         * manual/filesys.texi (Attribute Meanings): Move a misplaced
10222         paragraph.
10223
10224 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10225
10226         * locale/programs/ld-collate.c (collate_output): Convert
10227         undefined_offset to an array index.  Fix computation of other
10228         endian extra table.
10229
10230 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
10231
10232         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
10233         return success with empty value.
10234
10235 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
10236
10237         * posix/fnmatch.c: Include string.h also for glibc.
10238         (fnmatch, case '?'): Optimize if cascades a bit.
10239         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
10240
10241         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
10242
10243 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
10244
10245         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
10246         * iconv/gconv_int.h: Declare UTF16 functions.
10247         * iconv/gconv_simple.c: Add UTF16 conversion functions.
10248
10249 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10250
10251         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
10252         be used correctly as parameter for parse_dollars/parse_tilde.
10253
10254 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10255
10256         * manual/conf.texi (Utility Limits): Remove duplicate description
10257         of BC_DIM_MAX.
10258
10259 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
10260
10261         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
10262         outbufend for dst==NULL.
10263
10264 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
10265
10266         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
10267         for dst==NULL.
10268         Fixes PR libc/1084.
10269
10270         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
10271         Fixes PR libc/1083.
10272
10273 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
10274
10275         * sunrpc/Makefile: Remove special handling of bootparam.x,
10276         add rpcsvc/bootparam.h to headers.
10277         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
10278         * sunrpc/rpcsvc/bootparam.x: Renamed to...
10279         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
10280
10281 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
10282
10283         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
10284         detect and handle invalid descriptors.
10285
10286 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
10287
10288         * timezone/zic.c (dolink): Append complete path not only filename
10289         to ../ list.
10290
10291 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10292
10293         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
10294
10295 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
10296
10297         * iconvdata/gconv-modules: Rename CP874 to IBM874.
10298         * iconvdata/Makefile: Likewise.
10299         * iconvdata/cp874.h: Removed.
10300         * iconvdata/cp874.c: Renamed to...
10301         * iconvdata/ibm874.c: ...this.
10302
10303 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
10304
10305         * sysdeps/unix/sysv/linux/bits/types.h: Correct
10306         signed/unsigned-ness of blkcnt and fsblkcnt.
10307         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10308         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10309
10310         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
10311         SOL_AAL, and SOL_IRDA.
10312
10313 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10314
10315         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
10316         include "linux_fsinfo.h".
10317         Based on a patch by H.J. Lu <hjl@gnu.org>.
10318
10319 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
10320
10321         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
10322
10323 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
10324
10325         * nscd/cache.c (prune_cache): Only disable file checking for
10326         future if the file does not exist.
10327         Update file_mtime if cache was flushed.
10328
10329 1999-04-15  David S. Miller  <davem@redhat.com>
10330
10331         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
10332         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
10333
10334 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
10335
10336         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
10337         compilation of file.
10338
10339 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
10340
10341         * Versions.def: Add GLIBC_2.1.1 to libpthread.
10342
10343         * iconvdata/Makefile (modules): Add KOI8-U.
10344         (distribute): Add koi8-u.c.
10345         (gen-8bit-gap-modules): Add koi8-u.
10346         * iconvdata/gconv-modules: Add KOI8-U entries.
10347         * iconvdata/koi8-u.c: New file.
10348
10349 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
10350
10351         * sunrpc/auth_des.c: 64bit fixes, security fixes.
10352         * sunrpc/auth_none.c: Pretty print.
10353         * sunrpc/auth_unix.c: Likewise.
10354         * sunrpc/authdes_prot.c: Likewise.
10355         * sunrpc/authuxprot.c: Likewise.
10356         * sunrpc/bindrsvprt.c: Likewise.
10357         * sunrpc/clnt_gen.c: Likewise.
10358         * sunrpc/rpc/xdr.h: Likewise.
10359         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
10360         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
10361         * sunrpc/rtime.c: Use new rpc_timeval.
10362         * sunrpc/svc_authux.c: Don't use *long pointers.
10363         * sunrpc/svcauth_des.c: Likewise + security fixes.
10364         * sunrpc/xdr_mem.c: Don't use *long pointers.
10365         * sunrpc/xdr_rec.c: Likewise.
10366         * sunrpc/xdr_sizeof.c: Likewise.
10367         * sunrpc/xdr_stdio.c: Likewise.
10368
10369 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
10370
10371         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
10372         so that it is redone for each sending.
10373
10374 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10375
10376         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
10377
10378 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
10379
10380         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
10381         known to not exist don't try to load shared objects.
10382         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
10383
10384         * nscd/cache.c (prune_cache): The table might not be unused.  In
10385         this case do nothing.
10386
10387         * catgets/gencat.c (read_input_file): Don't drop white spaces
10388         between number/identifier and string.
10389         Patch by Dima Barsky <dima@pwd.hp.com>.
10390         If no white space at all follows number/identifier remove existing
10391         message with the number/identifier.
10392
10393 1999-04-14  H.J. Lu  <hjl@gnu.org>
10394
10395         * sunrpc/clnt_udp.c (is_network_up): New function.
10396         (clntudp_call): Call is_network_up () to check if any network
10397         interface is up in case of timeout.
10398
10399 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10400
10401         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
10402         * wctype/Makefile (tests): Add test_wcfuncs.
10403
10404 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
10405
10406         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
10407         architectures.
10408         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10409         instead of CFLAGS.
10410         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
10411         instead of CFLAGS. For gnulib and string directories use
10412         -Wa,-Av9a gcc ASFLAGS.
10413         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
10414         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
10415         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
10416         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
10417         the same way as sparc-*.
10418
10419 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
10420
10421         * locale/programs/locfile.c (locfile_read): Fix typo.
10422         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
10423
10424 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
10425
10426         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
10427         restarted after being interrupted by a signal.  The parameters on
10428         the stack were corrupted by the signal handler.
10429
10430         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
10431         restarted after being interrupted by a signal.  The parameters on
10432         the stack were corrupted by the signal handler.
10433
10434 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10435
10436         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
10437         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
10438
10439 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
10440
10441         * posix/wordexp-test.c: In field-splitting test cases where
10442         subshells were involved, unset IFS first: some shells (ash) use
10443         IFS even when no expansion is performed.
10444
10445 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10446
10447         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
10448         the real end of the chunk, not some random point inbetween.
10449         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
10450         obstack when growing.  Use fast version of obstack_blank when
10451         shrinking.
10452         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
10453         allocating the vtable pointer.
10454         (_IO_obstack_vprintf): Adjust for above change and avoid
10455         unnecessary casts.  Use fast version of obstack_blank when
10456         shrinking.
10457         Fixes PR libc/1075.
10458
10459 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
10460
10461         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
10462         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
10463
10464 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
10465
10466         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
10467         is seen, as well as fixing semantics.  Don't reset the word count
10468         to zero when an invalid character is seen, but leave it as it was
10469         (this makes a difference with WRDE_APPEND).
10470
10471         * posix/wordexp-test.c: More test cases.
10472
10473         * posix/wordexp.c (parse_param): In words like ${var#pattern},
10474         always expand pattern when it is needed.  Also, handle quoting in
10475         pattern properly.
10476
10477 1999-04-12  Philip Blundell  <philb@gnu.org>
10478
10479         * elf/elf.h: Update ARM definitions to match current gas2.
10480
10481         * sysdeps/arm/bits/endian.h: Support big endian operation.
10482
10483         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
10484         Don't bother range checking the port number.
10485
10486         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
10487
10488         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
10489         the syscall name in assembler output for ease of debugging.
10490
10491         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
10492         compiler behaviour.
10493         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
10494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
10495         (sysdep_routines): Add sigrestorer.
10496
10497         * string/tester.c (test_strcpy): Add new tests for unaligned
10498         arguments.
10499         * sysdeps/arm/bits/string.h: Delete inline implementations of
10500         strcpy and stpcpy.
10501
10502 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
10503
10504         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
10505
10506 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
10507
10508         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
10509
10510 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
10511
10512         * iconvdata/Makefile (modules): Add TIS-620.
10513         (distribute): Add tis-620.c.
10514         (gen-8bit-gap-modules): tis-620.
10515         * iconvdata/tis-620.c: New file.
10516         * iconvdata/gconv-modules: Add TIS-620 entries.
10517
10518         * iconvdata/asmo_449.c: Correct comment.
10519
10520 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10521
10522         * manual/install.texi (Configuring and compiling): Comment out
10523         description of --disable-static since this doesn't work currently
10524         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
10525
10526 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
10527
10528         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
10529         use binary search.
10530         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
10531
10532 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10533
10534         * scripts/test-installation.pl (installation_problem): Skip
10535         libnss1_* libraries from glibc-compat add-on.
10536
10537 1999-04-07  H.J. Lu  <hjl@gnu.org>
10538
10539         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
10540         libstdc++ 2.7.2.
10541         * posix/Versions (__waitpid): Likewise.
10542
10543 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10544
10545         * manual/install.texi (Reporting Bugs): Add section about reported
10546         bugs and correct email address of glibcbug script.
10547
10548 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
10549
10550         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
10551         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
10552         xdr_u_longlong_t. Based on patch from Dan Shechter
10553         <damageboy@isdn.net.il>.
10554         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
10555         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
10556
10557         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
10558
10559 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10560
10561         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
10562         directly if getdents returns with error set.
10563
10564 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10565
10566         * locale/langinfo.h (THOUSEP): Rename second occurence of
10567         THOUSANDS_SEP to THOUSEP.
10568         Reported by Roman Belenov <roman@nstl.nnov.ru>.
10569
10570 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
10571
10572         * hurd/STATUS: File removed.  Moved items that are still relevant into
10573         TODO list in hurd source.
10574
10575 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
10576
10577         * sysdeps/mach/hurd/bits/time.h: New file.
10578         * sysdeps/mach/hurd/getrusage.c: New file.
10579         * sysdeps/mach/hurd/clk_tck.c: New file.
10580         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
10581         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
10582         (sysdep_routines): Add clk_tck.
10583         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
10584         implemented.
10585
10586 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
10587
10588         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
10589         (closelog): But instead here.
10590         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
10591
10592 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10593
10594         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
10595         the source directory.  Fixes PR libc/1059.
10596
10597 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10598
10599         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
10600         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10601
10602 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
10603
10604         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
10605         * iconvdata/testdata/ISO-8859-14: New file.
10606         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
10607         * iconvdata/testdata/ISO-8859-15: New file.
10608         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
10609
10610 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
10611
10612         * iconvdata/testdata/CP1258: New file.
10613         * iconvdata/testdata/CP1258..UTF8: New file.
10614         * iconvdata/TESTS: Add CP1258 entry.
10615
10616         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
10617
10618         * timezone/africa: Update from tzdata1999d.
10619         * timezone/europe: Likewise.
10620         * timezone/northamerica: Likewise.
10621
10622 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
10623
10624         * login/programs/pt_chown.c (main): Save effective user ID before
10625         dropping priviliges and use this to check if the program is
10626         properly installed.
10627
10628 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
10629
10630         * iconvdata/testdata/CP1254: Update for charmap changes.
10631         * iconvdata/testdata/CP1254..UTF8: Likewise.
10632         * iconvdata/testdata/CP1255: Likewise.
10633         * iconvdata/testdata/CP1255..UTF8: Likewise.
10634         * iconvdata/testdata/CP1256: Likewise.
10635         * iconvdata/testdata/CP1256..UTF8: Likewise.
10636         * iconvdata/testdata/CP1257: Likewise.
10637         * iconvdata/testdata/CP1257..UTF8: Likewise.
10638
10639         * iconvdata/Makefile (distribute): Remove cp1258.h.
10640         (gen-8bit-gap-modules): Add cp1258.
10641         * iconvdata/cp1258.h: Removed.
10642
10643 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
10644
10645         * timezone/tst-timezone.c (tests): Add more cases.
10646         (check_tzvars): Mark errors clearer.
10647         (main): Likewise.
10648
10649 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10650
10651         * login/programs/pt_chown.c: Drop privileges if invoked with
10652         arguments.  Don't close the master pty.
10653
10654 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
10655
10656         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
10657         Minor optimization.
10658
10659 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
10660
10661         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
10662         relocation for SUID binaries.
10663
10664 1999-03-29  Paul Eggert  <eggert@twinsun.com>
10665
10666         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
10667         while in child process.
10668
10669 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
10670
10671         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
10672         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
10673         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
10674         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
10675         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
10676
10677         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
10678         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
10679         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
10680         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
10681         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
10682         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
10683         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
10684         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
10685         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
10686         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
10687         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
10688         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
10689         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
10690         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
10691         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
10692         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
10693         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
10694         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
10695         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
10696         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
10697         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
10698         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
10699         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
10700         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
10701         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
10702         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
10703
10704         * sysdeps/sparc/sparc32/bcopy.c: New file.
10705         * sysdeps/sparc/sparc32/bzero.c: New file.
10706         * sysdeps/sparc/sparc32/memchr.S: New file.
10707         * sysdeps/sparc/sparc32/memcpy.S: New file.
10708         * sysdeps/sparc/sparc32/memmove.c: New file.
10709         * sysdeps/sparc/sparc32/memset.S: New file.
10710         * sysdeps/sparc/sparc32/stpcpy.S: New file.
10711         * sysdeps/sparc/sparc32/strchr.S: New file.
10712         * sysdeps/sparc/sparc32/strrchr.c: New file.
10713         * sysdeps/sparc/sparc32/strcpy.S: New file.
10714         * sysdeps/sparc/sparc32/strlen.S: New file.
10715         * sysdeps/sparc/sparc32/strcat.S: New file.
10716         * sysdeps/sparc/sparc32/strcmp.S: New file.
10717
10718         * sysdeps/sparc/sparc64/bcopy.c: New file.
10719         * sysdeps/sparc/sparc64/bzero.c: New file.
10720         * sysdeps/sparc/sparc64/memchr.S: New file.
10721         * sysdeps/sparc/sparc64/memcmp.S: New file.
10722         * sysdeps/sparc/sparc64/memcpy.S: New file.
10723         * sysdeps/sparc/sparc64/memset.S: New file.
10724         * sysdeps/sparc/sparc64/stpcpy.S: New file.
10725         * sysdeps/sparc/sparc64/strcat.S: New file.
10726         * sysdeps/sparc/sparc64/strchr.S: New file.
10727         * sysdeps/sparc/sparc64/strcmp.S: New file.
10728         * sysdeps/sparc/sparc64/strcpy.S: New file.
10729         * sysdeps/sparc/sparc64/strcspn.S: New file.
10730         * sysdeps/sparc/sparc64/strlen.S: New file.
10731         * sysdeps/sparc/sparc64/strncpy.S: New file.
10732         * sysdeps/sparc/sparc64/strpbrk.S: New file.
10733         * sysdeps/sparc/sparc64/strrchr.c: New file.
10734         * sysdeps/sparc/sparc64/strspn.S: New file.
10735         * sysdeps/sparc/sparc64/stpncpy.S: New file.
10736         * sysdeps/sparc/sparc64/strncmp.S: New file.
10737
10738         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
10739         Append -fPIC, don't replace.
10740
10741         * configure.in: Recognize sparcv8plus / sparcv9.
10742
10743 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10744
10745         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
10746         char * to avoid C++ warning.
10747         Patch by yasushi@cs.washington.edu [PR libc/1035].
10748
10749 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10750
10751         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
10752         declared in stdlib.h, correct return value of mkstemp.
10753         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
10754
10755         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
10756         from Linux 2.2.5.
10757
10758 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10759
10760         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
10761         C++ warning.
10762
10763         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
10764         inline functions.  Closes PR libc/1049.
10765
10766 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10767
10768         * timezone/README: Update from tzdata1999c and tzcode1999c.
10769
10770         * timezone/africa: Update from tzdata1999c.
10771         * timezone/antarctica: Likewise.
10772         * timezone/asia: Likewise.
10773         * timezone/australasia: Likewise.
10774         * timezone/europe: Likewise.
10775         * timezone/northamerica: Likewise.
10776         * timezone/southamerica: Likewise.
10777         * timezone/zone.tab: Likewise.
10778
10779         * timezone/zic.c: Update from tzcode1999c.
10780
10781 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10782
10783         * Makerules: Add $(common-objpfx)Versions.all to common-generated
10784         outside of ifndef avoid-generated.
10785
10786         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
10787         in iofdopen.c.
10788         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
10789         iofopen.c.
10790         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
10791         in iofclose.c.
10792         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
10793         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
10794
10795 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
10796
10797         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
10798         if we build the profiled library.
10799
10800 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10801
10802         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
10803         Jaeger <aj@arthur.rhein-neckar.de>
10804
10805 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
10806
10807         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
10808         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
10809         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
10810
10811 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
10812
10813         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
10814         works properly in subdirs.
10815
10816 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
10817
10818         * sysdeps/mach/hurd/Makefile: Undo last change.
10819         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
10820         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
10821
10822         * mach/Machrules (+preinit, +postinit, +interp,
10823         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
10824         linked just like other shared libraries.
10825         (interface.so): Fix typo in defn, so it works.
10826         ($(objpfx)$(interface.so)): Make it depend on libc.so.
10827
10828 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
10829
10830         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
10831         $(link-rpcuserlibs).
10832
10833 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10834
10835         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
10836         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
10837         targets if not building shared libraries.
10838
10839 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10840
10841         * configure.in: Also look in $PATH when searching for
10842         install-info.  Remove autoconf bug workaround and require autoconf
10843         2.13.
10844
10845 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10846
10847         * db/Makefile: Don't try to install shared library link if not
10848         building with shared libs.
10849
10850 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10851
10852         * rt/Makefile: Link against static library if no shared lib is
10853         available.
10854
10855         * localedata/Makefile: The shells scripts implementing the test
10856         require the dynamic linker which is not available with
10857         --disable-shared.  Skip the test if --disable-shared is given.
10858
10859         * linuxthreads/Makefile: Link test against static libpthread if no
10860         shared lib is available.
10861
10862         * iconvdata/Makefile (tests): Run iconv-test only if we're
10863         building shared libraries.
10864         * elf/Makefile (tests): Likewise for elf tests.
10865
10866         * posix/Makefile: The test frameworks globtest and wordexp-test
10867         require the dynamic linker which is not available with
10868         --disable-shared.  Skip the test if --disable-shared is given.
10869
10870         * grp/Makefile (otherlibs): For static nss build link against
10871         necessary libs.
10872
10873 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10874
10875         * debug/Makefile (install-bin): Install and build catchsegv only
10876         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
10877         libc/965].
10878
10879 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10880
10881         * time/tzfile.c (__tzfile_read): Handle the case where there are
10882         transitions but no DST.
10883
10884 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
10885
10886         * mach/Machrules (extra-libs-others): Add $(interface-library) here
10887         too, so it gets built in the others pass rather than the lib pass.
10888         This is necessary since the RPC libraries need to be linked against
10889         libc.
10890
10891 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
10892
10893         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
10894         _itoa_word decl.
10895
10896         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
10897         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
10898         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
10899         versions of lib{mach,hurd}user.so without reference to libc.so,
10900         then link libc.so against that to get deps and symbol versions, then
10901         finally link real lib*user.so against libc.so.
10902
10903         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
10904         Support whole-file locking (only) by using the file_lock RPC.  This
10905         has very wrong semantics, but is better than nothing for the time
10906         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
10907         protocols that will be somewhat hairy to specify.)
10908
10909 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
10910
10911         * sysdeps/mach/hurd/ptsname.c: New file.
10912
10913 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10914
10915         * timezone/asia: Fix rule in Asia/Nicosia entry.
10916
10917 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10918
10919         * manual/getopt.texi (Using Getopt): Explain "::" in option
10920         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
10921
10922 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
10923
10924         * sunrpc/clnt_unix.c: Fix creation of parameters for
10925         sendmsg/recvmsg on non intel platforms.
10926         * sunrpc/svc_unix.c: Likewise.
10927
10928 1999-03-18  Philip Blundell  <philb@gnu.org>
10929
10930         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
10931         implementation.
10932
10933 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10934
10935         * timezone/africa: Update from tzdata1999b.
10936         * timezone/asia: Likewise.
10937         * timezone/australasia: Likewise.
10938         * timezone/europe: Likewise.
10939         * timezone/northamerica: Likewise.
10940         * timezone/southamerica: Likewise.
10941         * timezone/zone.tab: Likewise.
10942
10943         * timezone/README: Mention tzdata1999b.
10944
10945 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
10946
10947         * sysdeps/generic/segfault.c (write_strsignal): New function.
10948         (catch_segfault): Use it instead of calling strsignal.
10949
10950 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10951
10952         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
10953         char to avoid warning.
10954
10955 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
10956
10957         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
10958
10959         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
10960         outbuf to unsigned char to avoid warning.
10961
10962 1999-03-11  David S. Miller  <davem@redhat.com>
10963
10964         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
10965         masks.
10966         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
10967
10968 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
10969
10970         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
10971         `unsigned char'.
10972         (gconv_step_data): Likewise.
10973         * iconv/gconv_int.h (__gconv): Likewise.
10974         (__BUILINT_TRANS): Likewise.
10975         * iconv/gconv.c (__gconv): Likewise.
10976         * iconv/iconv.c (iconv): Add casts for call of __gconv.
10977         * iconv/skeleton.c: Change local parameters and variable from `char' to
10978         `unsigned char'.  Remove casts from calls into modules.
10979         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
10980         `char' to `unsigned char'.
10981         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
10982         * wcsmbs/mbrtowc.c: Likewise.
10983         * wcsmbs/mbsnrtowcs.c: Likewise.
10984         * wcsmbs/mbsrtowcs.c: Likewise.
10985         * wcsmbs/wcrtomb.c: Likewise.
10986         * wcsmbs/wcsnrtombs.c: Likewise.
10987         * wcsmbs/wcsrtombs.c: Likewise.
10988         * wcsmbs/wctob.c: Likewise.
10989
10990 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
10991
10992         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
10993         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
10994         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
10995         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
10996         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
10997         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
10998
10999 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11000
11001         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
11002         _hurd_select if TIMEMOUT is -1.
11003
11004 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
11005
11006         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
11007
11008 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11009
11010         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
11011         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
11012
11013 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11014
11015         * manual/libc.texinfo: Undo last change for now.
11016
11017 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
11018
11019         * intl/locale.alias: Add entries for Croatian.
11020         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
11021
11022 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11023
11024         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
11025         if the opened master pty really is a pty.  `isatty' checks for
11026         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
11027         if we are out of pty's.
11028
11029 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
11030
11031         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
11032         opened file is closed on exec.
11033         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
11034         opened socket.
11035
11036 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11037
11038         * manual/llio.texi (File Position Primitive): Reformat @end
11039         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
11040
11041 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
11042
11043         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
11044         entry is found.
11045         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11046         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
11047
11048         * locale/programs/localedef.c (main): Initialize `cat' to please
11049         the compiler.
11050
11051 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
11052
11053         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
11054         check for root-owned symlinks and reject them too.
11055
11056 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11057
11058         * stdio-common/printf_fphex.c: Move to ...
11059         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
11060         extended precision number.
11061         * sysdeps/m68k/printf_fphex.c: New file.
11062
11063 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11064
11065         * manual/stdio.texi: Fix typos.
11066
11067 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
11068
11069         * version.h (VERSION): Bump to 2.1.1.
11070
11071 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
11072
11073         * nis/ypclnt.c: Try only twice to connect to NIS server.
11074
11075 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11076
11077         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
11078
11079 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11080
11081         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
11082         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
11083         * stdlib/strtold.c: Moved to ...
11084         * sysdeps/generic/strtold.c: ... here.
11085         * sysdeps/m68k/strtold.c: New file.
11086
11087 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11088
11089         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
11090         point if the precision is zero, even if the mantissa is non-zero.
11091
11092 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
11093
11094         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
11095         arguments into the request message buffer inside `send_rpc'
11096         subfunction.  We must repeat the marshalling when retrying the RPC
11097         after a SIGTTOU delivery.
11098
11099         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
11100         path when there is no ctty port.
11101         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
11102         Move sigstate check inside loop so we recheck after handling a signal.
11103
11104 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11105
11106         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
11107         O_EXLOCK are BSD extensions.
11108         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
11109
11110 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
11111
11112         * manual/signal.texi (Termination in Handler): Correct example.
11113         Install default handler before reraising the signal.
11114         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
11115
11116 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
11117
11118         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
11119         null, in which case send an empty string.
11120
11121 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
11122
11123         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
11124         backward compatibility EH functions to be linked when using
11125         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
11126
11127 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11128
11129         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
11130         /dev/pts status may change during runtime.
11131
11132 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11133
11134         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
11135         change.  /dev/pts status can change during runtime.
11136
11137 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
11138
11139         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
11140         poll reports error.
11141         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
11142         add some more sanity checks.
11143         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
11144         parser prototype.
11145
11146 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
11147
11148         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
11149         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
11150         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
11151         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
11152         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
11153         for x_getint32.
11154         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
11155         * nis/nis_print.c: Fix ctime argument for platforms where
11156         sizeof (time_t) != sizeof (int).
11157
11158 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
11159
11160         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
11161         CLOCKS_PER_SEC instead of CLK_TCK.
11162
11163 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
11164
11165         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
11166         whether /dev/pts is available.
11167         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
11168         dev_pts_available.
11169
11170         * posix/globtest.sh: Make common_objpfx path absolute and and db2
11171         and hesiod directory to library path [PR libc/1007].
11172
11173 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11174
11175         * resolv/inet_addr.c (inet_aton): Don't allow componets >
11176         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
11177
11178 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
11179
11180         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11181         DT_PLTGOT has already been relocated.
11182         (__elf_machine_fixup_plt): Likewise.
11183         Minor cleanups.
11184
11185 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
11186
11187         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
11188
11189 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
11190
11191         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
11192         and fold string to uppercase [PR libc/1005].
11193
11194 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11195
11196         * elf/dl-load.c (lose): Fix return type.
11197
11198 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
11199
11200         * sysdeps/mach/hurd/bits/fcntl.h
11201         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
11202         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
11203         set O_NOTRANS as well.
11204         (__hurd_file_name_lookup_retry): At successful end of lookup,
11205         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
11206         it is a translated node not owned by root.
11207         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
11208         on the file name passed to LOOKUP.
11209
11210 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
11211
11212         * manual/time.texi (High Resolution Timer): Correct computation in
11213         example.  Reported by jjf@devel.cemsys.com.
11214
11215 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
11216
11217         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11218         entry is already relocated.
11219
11220 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11221
11222         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
11223         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
11224
11225 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11226
11227         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
11228         uc_link which is the right name according to Unix98.
11229         Reported by Craig Metz [PR libc/1001].
11230         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
11231         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
11232         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
11233         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
11234         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
11235         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
11236
11237 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11238
11239         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
11240         @ifinfo.
11241
11242 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11243
11244         * iconvdata/Makefile: Always include iconv-rules, but disable rule
11245         to regenerate it if avoid-generated.
11246
11247         * Makeconfig: Always include sys-dirs, but disable rule to
11248         regenerate it when avoid-generated.
11249
11250         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
11251         rule to generate sysd-syscalls.
11252
11253         * elf/Makefile (generated): Remove $(objpfx) from names.
11254
11255 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
11256
11257         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
11258         actual length if the adress length is smaller than the input
11259         value.  Change type of *LEN paramater to socklen_t.
11260         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
11261         * sysdeps/mach/hurd/accept.c (accept): Likewise.
11262         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
11263         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
11264         paramater to socklen_t.
11265
11266 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
11267
11268         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
11269         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
11270         with the RPC.
11271
11272 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
11273
11274         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
11275         __get_phys_pages): Cast &HBI to silence warning.
11276
11277         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
11278         * hurd/hurdchdir.c: New file.
11279         * hurd/hurdfchdir.c: New file.
11280         * sysdeps/mach/hurd/chroot.c: Call
11281         _hurd_change_directory_port_from_name to do the work.
11282         * sysdeps/mach/hurd/chdir.c: Likewise.
11283         * sysdeps/mach/hurd/fchdir.c: Call
11284         _hurd_change_directory_port_from_fd to do the work.
11285         * hurd/fchroot.c: Likewise.
11286         * hurd/hurd.h: Declare them.
11287
11288 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
11289
11290         * elf/dl-load.c (lose): Add more comments to explain the `why'.
11291         (_dl_map_object): Remove redundant test.
11292
11293 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
11294
11295         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
11296         try to _hurd_port_free a lower-numbered descriptor that was not in any
11297         fd_set.
11298
11299 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11300
11301         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
11302         declaration for ____wcstod_l_internal.
11303
11304         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
11305         __strtod_internal prototype.
11306         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
11307         (____strtold_l_internal): Add prototype declaration.
11308         (__strtold_l): Call correct function.
11309
11310 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
11311
11312         * elf/elf.h: Add 32bit HPPA definitions.
11313
11314 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11315
11316         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
11317         non-checked heap is restored when malloc checking was requested by
11318         the user.
11319         (struct malloc_state): Add using_malloc_checking.
11320         (MALLOC_STATE_VERSION): Increment minor.
11321         (using_malloc_checking, disallow_malloc_check): New variables.
11322         (__malloc_check_init): Use them.
11323         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
11324         that it can the chunk is properly instrumented when malloc
11325         checking is enabled.  Set the new using_malloc_checking field.
11326         (malloc_hook_ini): Correct signature when _LIBC is not defined.
11327
11328 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11329
11330         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11331         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
11332         time.
11333
11334         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
11335         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
11336         if ld.so is the main program.
11337
11338 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
11339
11340         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
11341         large for work_buffer, allocate new buffer.
11342         (printf_unknown): Likewise.  [PR libc/988]
11343
11344 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
11345
11346         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
11347         instead of stat and fstat.
11348         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11349
11350 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11351
11352         * elf/dl-error.c (_dl_signal_cerror): New function.
11353         (_dl_signal_error): Don't call receiver function.
11354         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
11355         instead of _dl_signal_error when reporting references to undefined
11356         symbols or versions.
11357         (_dl_lookup_versioned_symbol): Likewise.
11358         (_dl_lookup_versioned_symbol_skip): Likewise.
11359         * elf/dl-version.c (match_symbol): Likewise.
11360
11361         * elf/ldsodefs.h: Declare _dl_signal_cerror.
11362
11363 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
11364
11365         * misc/getttyent.c (getttyent): Release lock on stream later to
11366         also protect global variable zapchar.
11367
11368         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
11369         __times [PR libc/990].
11370
11371 1999-02-21  David S. Miller  <davem@redhat.com>
11372
11373         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
11374         parentheses in Feb 2 changes.
11375         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
11376
11377 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11378
11379         * sysdeps/generic/glob.c (glob): Save previous errno.
11380
11381 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
11382
11383         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
11384         lookup functions if it is too small.
11385
11386 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
11387
11388         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
11389         for tracing to the scope lists.
11390         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
11391         DT_SYMTAB is always available according to ELF spec.
11392
11393         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
11394         call test whether there is any scope left.
11395         (_dl_lookup_versioned_symbol_skip): Likewise.
11396
11397         * elf/Makefile (distribute): Add do-lookup.h.
11398         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
11399         * elf/dl-lookup.c: Move do_lookup function in separate file and
11400         include the file twice, for handling versioning and without it.
11401
11402         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
11403         entry is already relocated.
11404         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11405         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11406         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
11407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11408         Likewise.
11409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11410         Likewise.
11411         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
11412         Likewise.
11413
11414         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
11415         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
11416         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
11417         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
11418         rel and rela relocations can both happen and skip one test if this
11419         is not possible.
11420         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
11421         appropriately.
11422         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
11423         already relocated.
11424         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
11425         relocated.
11426         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
11427         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
11428         (_dl_map_object): DT_STRTAB entry is already relocated.
11429         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
11430         already relocated.
11431         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
11432         relocated.
11433         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
11434         DT_VERSYM entries are already relocated.
11435         (profile_fixup): Likewise.
11436         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
11437         all users.
11438         (match_symbol): DT_STRTAB entry is already relocated.
11439         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
11440         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
11441         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
11442         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
11443         (find_needed): DT_STRTAB entry is already relocated.
11444         (dl_main): Pass extra argument to elf_get_dynamic_info.
11445         DT_STRTAB entry is already relocated.
11446         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
11447         DT_PLTGOT entries are already relocated.
11448         (elf_machine_rela): Likewise for DT_SYMTAB.
11449         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
11450         relocated.
11451         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11452         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11453         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11455         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
11456         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
11457         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
11458         * sysdeps/mips/mips64/dl-machine.h: Likewise.
11459
11460         * grp/initgroups.c (initgroups): If function in current module was
11461         successful don't stop but continue to process to get all the groups.
11462
11463         * elf/dl-load.c (_dl_map_object_from_fd): Use global
11464         _dl_pf_to_proot array to convert p_flags value.
11465         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11466
11467         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
11468         loop to clear `info'.
11469
11470         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
11471         do the work and don't use inline assembler.
11472
11473 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
11474
11475         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
11476         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
11477         noreturn, and prevent it from being inlined.
11478         Define LOSE appropriately.
11479         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
11480         Optimize decoding of p_flags for certain platforms.
11481
11482 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
11483
11484         * Makeconfig (link-libc): When doing a static link, make sure that
11485         libgcc.a is included both before and after libc.a.
11486
11487 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
11488
11489         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
11490         sp_warn, sp_inact, sp_expire and sp_flag.
11491
11492 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
11493
11494         * elf/link.h (link_map): Add l_dev and l_ino.
11495         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
11496         loaded shared object with all loaded objects.  Initialize l_ino
11497         and l_dev in case it's new.
11498         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
11499         object.
11500         * elf/Makefile: Compile and run new test.
11501         * elf/multiload.c: New file.
11502
11503         * nss/nsswitch.h (service_user): Change name field from const char *
11504         to char[0].
11505         (name_database_entry): Likewise.
11506         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
11507         for change of `service_user'.
11508         (nss_getline): Adjust memory allocation for change of
11509         `name_database_entry'.
11510
11511         * catgets/catgets.c: Correctly handle NLSPATH from environment
11512         [PR libc/980].
11513
11514         * io/Makefile (routines): Add lock64.
11515         * io/Versions: Add lockf64 for GLIBC_2.1.1.
11516         * sysdeps/generic/lockf64.c: New file.
11517
11518 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11519
11520         * string/bits/string2.h: Only use strncmp optimization if count
11521         argument is constant.
11522
11523 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
11524
11525         * sysdeps/mach/hurd/revoke.c: New file.
11526
11527 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11528
11529         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
11530         int to avoid warning about `ISO C restricts enumerator values to
11531         range of `int''.
11532
11533 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11534
11535         * elf/dlfcn.h: Fix typo.
11536         * sysdeps/generic/bits/dlfcn.h: Likewise.
11537         * sysdeps/mips/bits/dlfcn.h: Likewise.
11538
11539 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11540
11541         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
11542         for the case N == 0.
11543
11544         * db2/Makefile (distribute): Add LICENSE.
11545
11546 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
11547
11548         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
11549         generated files.
11550
11551         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
11552
11553 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
11554
11555         * time/mktime.c: Use ISO C form for function definitions and
11556         remove unnecessary prototypes.
11557
11558         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
11559
11560         * time/time.h: Avoid unneccesary #ifdef.
11561
11562 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
11563
11564         * stdio-common/_itoa.c (_itoa): Correct parameters to
11565         udiv_qrnnd_preinv.
11566
11567 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11568
11569         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
11570         before (e.g. in glob.h).
11571         Closes PR libc/959.
11572
11573 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11574
11575         * sysdeps/mips/fpu_control.h: Fix typo.
11576         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
11577         Remove __setfpucw.
11578
11579 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
11580
11581         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
11582         the "unused" ends of the sockets.  Let pipes be bidirectional.
11583
11584 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
11585
11586         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
11587         invalid ai_flags.
11588
11589 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11590
11591         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
11592         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
11593
11594         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
11595         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
11596
11597 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
11598
11599         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
11600
11601 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11602
11603         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
11604         check for priority mask.
11605
11606 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
11607
11608         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
11609         Reported by Craig Metz <cmetz@inner.net> .
11610
11611 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11612
11613         * stdio-common/Makefile (tests): tllformat added.
11614
11615         * stdio-common/tllformat.c: New program, based on tiformat.c with
11616         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11617
11618 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11619
11620         * posix/test-vfork.c: Fix exit status test.
11621
11622 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11623
11624         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
11625         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
11626
11627 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11628
11629         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
11630         of separare explicit comparisons.
11631
11632 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11633
11634         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
11635         defined.
11636
11637         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
11638         defined.
11639
11640 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
11641
11642         * po/el.po: Update from translation team.
11643
11644 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11645
11646         * intl/locale.alias: Fix slovenian entry [PR libc/948].
11647
11648 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11649
11650         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
11651         * inet/ruserpass.c: Likewise.
11652         * locale/programs/stringtrans.c: Likewise.
11653         * locale/programs/localedef.c: Likewise.
11654         * nscd/grpcache.c: Likewise.
11655         * nss/nss_files/files-XXX.c: Likewise.
11656         * stdlib/canonicalize.c: Likewise.
11657         * sysdeps/posix/sigwait.c: Likewise.
11658
11659 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11660
11661         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
11662         even on 64 bit platforms.
11663
11664         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11665         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
11666
11667 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
11668
11669         * intl/dcgettext.c: Include locale.h is available.
11670
11671 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
11672
11673         * po/nl.po: Update from translation team.
11674
11675         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
11676
11677         * Makefile: Allow calling goals for po subdir.
11678
11679         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
11680         signal definitions.
11681
11682         * po/el.po: New file.
11683
11684 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11685
11686         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
11687         when processing DT_SYMBOLIC objects.
11688
11689 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11690
11691         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
11692         program headers without PT_PHDR only require that they are
11693         contained within one of the loaded segments.  Don't use assert,
11694         since that would be a bug in the object, not the dynamic linker.
11695
11696 1999-02-08  Richard Henderson  <rth@cygnus.com>
11697
11698         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
11699         restore all call-clobbered fp regs.
11700
11701 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
11702
11703         * po/cs.po: New file.
11704
11705         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
11706         SUID binaries.
11707
11708 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
11709
11710         * signal/signal.h: Don't declare __libc_allocate_rtsig.
11711         * include/signal.h: Declare __libc_allocate_rtsig here.
11712
11713         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
11714         point functions, not do_lookup since the later can be called more
11715         than once.
11716
11717 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
11718
11719         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
11720         macro, so that architectures which need to add some special
11721         offset to stack pointer can share this file.
11722
11723         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
11724         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
11725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
11726         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
11727
11728         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
11729         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
11730         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
11731         between sparc32 and sparc64.
11732
11733         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
11734         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
11735         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
11736         between sparc32 and sparc64.
11737
11738         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
11739         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
11740         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
11741         between sparc32 and sparc64.
11742
11743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
11744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
11745         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
11746         between sparc32 and sparc64.
11747
11748 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
11749
11750         * Versions.def: New version GLIBC_2.1.1 for libc.
11751         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
11752         * stdlib/labs.c: Moved to...
11753         * sysdeps/generic/labs.c: ...here.
11754         * stdlib/llabs.c: Moved to...
11755         * sysdeps/generic/llabs.c: ...here.
11756         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
11757         header.  Declare _Exit.
11758         * sysdeps/generic/_exit.c: Add alias _Exit.
11759         * sysdeps/mach/hurd/_exit.c: Likewise.
11760         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
11761         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
11762         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
11763         * sysdeps/unix/_exit.c: Likewise.
11764         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
11765         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
11766         * sysdeps/wordsize-64/inttypes.h: Likewise.
11767         * sysdeps/wordsize-32/llabs.c: New file.
11768         * sysdeps/wordsize-32/lldiv.c: New file.
11769         * sysdeps/wordsize-64/labs.c: New file.
11770         * sysdeps/wordsize-64/ldiv.c: New file.
11771         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
11772         * manual/startup.texi: Document _Exit.
11773
11774 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11775
11776         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
11777
11778 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
11779
11780         * Versions.def: Add versions for ld.so.
11781         * csu/Versions: Remove __libc_stack_end here.
11782         * elf/Versions: Split libc definitions in libc and ld.so definitions.
11783         * elf/Makefile (ld-map): Change to ld.so.map.
11784         * scripts/versions.awk: Recognize dot in library names.
11785
11786         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
11787         Don't use __tolower and __toupper in inline functions.
11788         Add optimizing macros for tolower and toupper.
11789         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
11790         (_toupper): Don't use __toupper.
11791         * ctype/ctype.c (tolower): Don't use __tolower.
11792         (toupper): Don't use toupper.
11793
11794         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
11795
11796         * resolv/Versions (libresolv): Export __ns_name_unpack and
11797         __ns_name_ntop.
11798         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
11799         make it global.  Change all users.  Similar for ns_name_ntop.
11800         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
11801         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
11802         directly to detect too small buffer.
11803         * resolv/nss_dns/dns-network.c: Likewise.
11804
11805         * stdio-common/Makefile (tests): Add scanf12.
11806         * stdio-common/scanf12.c: New file.
11807         * stdio-common/scanf12.input: New file.
11808         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
11809         floating-point correctly if the number is invalid.
11810
11811         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
11812         functions.
11813         * stdio-common/printf_fp.c: Likewise.
11814         * stdio-common/printf_fphex.c: Likewise.
11815         * stdio-common/vfprintf.c: Likewise.
11816
11817
11818 See ChangeLog.9 for earlier changes.