9e88e6436b34fbe002b3cad6f61e6b6804abadfc
[platform/upstream/glibc.git] / ChangeLog
1 2000-02-25  Andreas Jaeger  <aj@suse.de>
2
3         * malloc/Versions: Change version of __libc_freeres to 2.1 in
4         accordance with usage in glibc 2.1.3.
5
6 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
7
8         * stdlib/msort.c (qsort): Limit the amount of memory spend on a
9         temporary array for the mergesort.
10
11 2000-02-28  Andreas Jaeger  <aj@suse.de>
12
13         * stdlib/canonicalize.c: Include <stddef.h> for ptrdiff_t.
14
15 2000-02-27  Ulrich Drepper  <drepper@redhat.com>
16
17         * conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h,
18         varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h,
19         termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h,
20         sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h,
21         sys/sem.h, and sys/resource.h.
22         Implement handling of allow-header.
23         * conform/data/fcntl.h-data: Correct various bugs.
24         * conform/data/fnmatch.h-data: Likewise.
25         * conform/data/math.h-data: Likewise.
26         * conform/data/ndbm.h-data: Likewise.
27         * conform/data/nl_types.h-data: Likewise.
28         * conform/data/poll.h-data: Likewise.
29         * conform/data/pthread.h-data: Likewise.
30         * conform/data/semaphore.h-data: Likewise.
31         * conform/data/setjmp.h-data: Likewise.
32         * conform/data/signal.h-data: Likewise.
33         * conform/data/stdarg.h-data: Likewise.
34         * conform/data/stddef.h-data: Likewise.
35         * conform/data/stdio.h-data: Likewise.
36         * conform/data/stdlib.h-data: Likewise.
37         * conform/data/string.h-data: Likewise.
38         * conform/data/strings.h-data: Likewise.
39         * conform/data/stropts.h-data: Likewise.
40         * conform/data/syslog.h-data: Likewise.
41         * conform/data/sys/ipc.h-data: Likewise.
42         * conform/data/sys/mman.h-data: Likewise.
43         * conform/data/sys/msg.h-data: Likewise.
44         * conform/data/tar.h-data: New file.
45         * conform/data/termios.h-data: New file.
46         * conform/data/time.h-data: New file.
47         * conform/data/ucontext.h-data: New file.
48         * conform/data/ulimit.h-data: New file.
49         * conform/data/unistd.h-data: New file.
50         * conform/data/utime.h-data: New file.
51         * conform/data/utmpx.h-data: New file.
52         * conform/data/varargs.h-data: New file.
53         * conform/data/wchar.h-data: New file.
54         * conform/data/wctype.h-data: New file.
55         * conform/data/wordexp.h-data: New file.
56         * conform/data/sys/resource.h-data: New file.
57         * conform/data/sys/sem.h-data: New file.
58         * conform/data/sys/shm.h-data: New file.
59         * conform/data/sys/stat.h-data: New file.
60         * conform/data/sys/statvfs.h-data: New file.
61         * conform/data/sys/time.h-data: New file.
62         * conform/data/sys/timeb.h-data: New file.
63         * conform/data/sys/times.h-data: New file.
64         * conform/data/sys/types.h-data: New file.
65         * conform/data/sys/uio.h-data: New file.
66         * conform/data/sys/wait.h-data: New file.
67
68         * grp/grp.h (getgrent_r): Declare only if __USE_GNU.
69
70         * include/sys/time.h (__itimes): Fix type of second parameter.
71
72         * io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN.
73         (S_ISVTX): Likewise.
74
75         * io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t.
76
77         * locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL,
78         MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN,
79         NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES,
80         P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN,
81         N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR,
82         NOEXPR, YESSTR, and NOSTR only available if __USE_GNU.
83
84         * math/bits/mathcalls.h: Don't declare tgamma and scalbn if only
85         __USE_XOPEN.
86
87         * posix/unistd.h: Don't define ptrdiff_t.
88         (sbrk): Correct type of parameter.
89         * sysdeps/generic/sbrk.c: Likewise.
90         * sysdeps/mach/hurd/sbrk.c: Likewise.
91
92         * posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and
93         fsfilcnt_t being defined elsewhere.
94
95         * resource/sys/resource.h: Define id_t.
96         If __USE_XOPEN use int for type of first parameter if getrlimit,
97         getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and
98         setpriority.
99         * sysdeps/generic/getpriority.c: Fix type of second parameter.
100         * sysdeps/generic/setpriority.c: Likewise.
101         * sysdeps/mach/hurd/getpriority.c: Likewise.
102         * sysdeps/mach/hurd/setpriority.c: Likewise.
103         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
104         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
105         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
106
107         * sysdeps/generic/utimes.c: Fix parameter of third parameter.
108         * sysdeps/mach/hurd/utimes.c: Likewise.
109         * sysdeps/posix/utimes.c: Likewise.
110
111         * sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in
112         struct shmid_ds definition.
113         * sysdeps/gnu/bits/shm.h: Likewise.
114         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
115         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
116         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
117
118         * sysvipc/sys/shm.h: Define time_t.
119
120         * sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned.
121
122         * sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and
123         struct sem_undo to struct __sem_queue and struct __sem_undo resp.
124
125         * time/time.h: Define suseconds_t if not already done.
126
127         * sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare.
128         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
129         * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
130         * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
131
132         * intl/bindtextdom.c: Use rwlock to avoid surprising results in
133         multithreaded applications.
134         * intl/dcigettext.c: Likewise.
135         * intl/textdomain.c: Likewise.
136         * intl/*.c: Update copyright.
137         * sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs.
138
139 2000-02-27  Andreas Jaeger  <aj@suse.de>
140
141         * sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as
142         prefix especially.
143
144 2000-02-27  Ulrich Drepper  <drepper@redhat.com>
145
146         * po/de.po: Update from translation team.
147         * po/ko.po: Likewise.
148
149 2000-02-25  Andreas Jaeger  <aj@suse.de>
150
151         * math/Versions: Move fe* function to GLIBC_2.2.  The patches have
152         not been added to glibc 2.1.3.
153         * Versions.def: Remove 2.1.3 entry for math.
154         * sysdeps/alpha/fpu/fclrexcpt.c: Change default version to GLIBC_2.2.
155         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
156         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
157         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
158         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
159         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
160         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
161         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
162         * sysdeps/arm/fpu/fegetenv.c: Likewise.
163         * sysdeps/arm/fpu/fesetenv.c: Likewise.
164         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
165         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
166         * sysdeps/generic/fclrexcpt.c: Likewise.
167         * sysdeps/generic/fegetenv.c: Likewise.
168         * sysdeps/generic/fesetenv.c: Likewise.
169         * sysdeps/generic/feupdateenv.c: Likewise.
170         * sysdeps/generic/fgetexcptflg.c: Likewise.
171         * sysdeps/generic/fraiseexcpt.c: Likewise.
172         * sysdeps/generic/fsetexcptflg.c: Likewise.
173         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
174         * sysdeps/i386/fpu/fegetenv.c: Likewise.
175         * sysdeps/i386/fpu/fesetenv.c: Likewise.
176         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
177         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
178         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
179         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
180         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
181         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
182         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
183         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
184         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
185         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
186         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
187         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
188         * sysdeps/mips/fpu/fegetenv.c: Likewise.
189         * sysdeps/mips/fpu/fesetenv.c: Likewise.
190         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
191         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
192         * sysdeps/powerpc/fclrexcpt.c: Likewise.
193         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
194         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
195         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
196         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
197         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
198         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
199         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
200         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
201         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
202         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
203         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
204         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
205         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
206
207 2000-02-25  Andreas Jaeger  <aj@suse.de>
208
209         * sysdeps/alpha/fpu/fraiseexcpt.c (__feraiseexcept): Correct
210         declaration to return value.
211
212         * sysdeps/ieee754/Makefile (CFLAGS-k_standard.c): Added.
213
214         * math/Makefile: Remove -Wno-write-strings since it's only needed
215         by one file.
216
217         * intl/Makefile (CFLAGS-bindtextdom.c): The code has been fixed,
218         we don't need to disable the warnings anymore, remove them.
219         (CFLAGS-finddomain.c): Likewise.
220         (CFLAGS-localealias.c): Likewise.
221
222 2000-02-25  Andreas Jaeger  <aj@suse.de>
223
224         * configure.in: Allow sed 3.02 or newer versions.
225
226         * manual/install.texi (Tools for Compilation): Document sed
227         requirement.
228
229 2000-02-25  Ulrich Drepper  <drepper@cygnus.com>
230
231         * sysdeps/powerpc/bzero.S: Moved to...
232         * sysdeps/powerpc/elf/bzero.S: ...here.  New file.
233
234         * posix/environ.c: Moved to...
235         * sysdeps/generic/environ.c: ...here.  New file.
236
237 2000-02-25  Andreas Jaeger  <aj@suse.de>
238
239         * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been
240         fixed, we don't need to disable the warnings anymore, remove them.
241         * elf/Makefile (CFLAGS-dl-load.c): Likewise.
242
243         * posix/Makefile (CFLAGS-regex.c): Remove not needed warning
244         flag.
245
246         * posix/regex.c (regex_compile): Remove unused variables.
247
248 2000-02-25  Andreas Jaeger  <aj@suse.de>
249
250         * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use
251         __pid_t.
252         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
253         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
254
255 2000-02-25  Andreas Jaeger  <aj@suse.de>
256
257         * locale/programs/ld-ctype.c (allocate_arrays): Add missing
258         variable declaration.
259
260 2000-02-25  Ulrich Drepper  <drepper@redhat.com>
261
262         * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h",
263         "sys/ipc.h", "syslog.h", and "stropts.h".
264         Handle / in header names correctly.
265         * conform/data/stropts.h-data: New file.
266         * conform/data/syslog.h-data: New file.
267         * conform/data/sys/ipc.h-data: New file.
268         * conform/data/sys/mman.h-data: New file.
269         * conform/data/sys/msg.h-data: New file.
270
271         * misc/sys/mman.h: Define off_t and mode_t if not already done.
272
273         * streams/stropts.h: Define gid_t and uid_t if not already done.
274
275         * sysdeps/gnu/bits/ipc.h (IPC_INFO): Only define if __USE_GNU.
276         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
277         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
278         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
279         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
280         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
281
282         * sysvipc/sys/msg.h: Don't include sys/types.h.
283         Define time_t, pid_t, and ssize_t if not already done.
284         (struct msgbuf): Define only if __USE_GNU.
285
286         * sysdeps/generic/bits/msq.h: Include bits/types.h, not sys/types.h.
287         (MSG_EXCEPT): Only define if __USE_GNU.
288         Define msgqnum_t and msglen_t and use them in struct msqid_ds
289         definition.
290         * sysdeps/gnu/bits/msq.h: Likewise.
291         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
292         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
293         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
294
295         * sysdeps/generic/bits/stropts.h (I_GWROPT): Renamed from I_GWRSET.
296         (FLUSHBAND): Only define is __USE_GNU.
297         (RPROTMASK): Likewise.
298         (SNDPIPE): Likewise.
299         (MUXID_ALL): Likewise.
300         (struct strrecvfd): Rename fill to __fill.
301
302 2000-02-24  Ulrich Drepper  <drepper@redhat.com>
303
304         * stdlib/stdlib.h: Move definition X/Open compatibility stuff
305         inside the main #ifdef.
306
307 2000-02-24  Geoff Clare  <gwc@unisoft.com>
308
309         * posix/wordexp-test.c: Updated to include tests for all the
310         problems fixed by the last changes to wordexp.c.
311
312 2000-02-24  Ulrich Drepper  <drepper@redhat.com>
313
314         * posix/sys/wait.h: Handle definitions duplicated in stdlib.h
315         correctly.
316         * stdlib/stdlib.h: Handle definition of wait macros correctly.
317
318         * posix/sys/wait.h: Add missing #endif.
319
320         * stdlib/stdlib.h (setstate): Don't mark argument as const (yet).
321         * stdlib/random_r.c: Change parameter types for initstate_t and
322         setstate_r.
323         * include/stdlib.h: Change parameter types for __initstate_t and
324         __setstate_r.
325
326 2000-02-24  Andreas Jaeger  <aj@suse.de>
327
328         * include/stdlib.h: Fix prototypes of __initstate and __setstate.
329
330         * manual/time.texi (Precision Time): Fix typo.
331         Patch by John Tobey <jtobey@ne.mediaone.net>, PR libc/1576.
332
333 2000-02-24  Ulrich Drepper  <drepper@redhat.com>
334
335         * conform/conformtest.pl (@headers): Add string.h and strings.h.
336         * conform/data/string.h-data: New file.
337         * conform/data/strings.h-data: New file.
338
339         * string/string.h [__USE_XOPEN]: Don't declare functions from
340         <strings.h> here as well.
341
342 2000-02-23  Ulrich Drepper  <drepper@redhat.com>
343
344         * posix/sys/wait.h: Pretty printing.  Allow WEXITSTATUS etc be
345         defined elsewhere.
346         * stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc.
347         * sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h.
348         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
349         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
350         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
351         * sysdeps/generic/bits/waitstatus.h: Likewise.
352
353         * posix/wordexp.c: Use $HOME to expand ~ (if set); fix off-by-one
354         error in expansion of ~user; correct handling of WRDE_APPEND and
355         WRDE_DOOFFS; return WRDE_SYNTAX for syntax errors in command
356         substitutions; limit removal of newlines to those that are
357         really `trailing'; allow for current word to continue after
358         a command substitution (e.g. "a$(echo b)c"); restore pwordexp
359         members properly on error returns.
360         Patch by Geoff Clare <gwc@unisoft.com>.
361
362         * locale/programs/ld-ctype.c (allocate_arrays): Make sure the end
363         of width table is 4-byte aligned.
364         (ctype_output): Write out the entire width array.
365
366         * sysdeps/unix/sysv/linux/bits/waitflags.h: Add __WALL.
367
368 2000-02-23  Andreas Jaeger  <aj@suse.de>
369
370         * dlfcn/dlopen.c: Include <stddef.h> for NULL.
371         * dlfcn/dlopenold.c: Likewise.
372         * dlfcn/dlsym.c: Likewise.
373         * dlfcn/dlvsym.c: Likewise.
374         * iconv/gconv.c: Likewise.
375
376 2000-02-23  Ulrich Drepper  <drepper@redhat.com>
377
378         * conform/conformtest.pl (@headers): Add stdlib.h.
379         * conform/data/stdlib.h-data: New file.
380
381 2000-02-22  Ulrich Drepper  <drepper@redhat.com>
382
383         * dlfcn/dlfcn.h (RTLD_DEFAULT): Don't use NULL.
384
385         * iconv/iconv.h (iconv): Fix prototype.
386
387         * misc/libgen.h: When using gcc using renaming feature to get XPG
388         definition of basename.
389
390         * misc/search.h (struct entry): Fix type of element data.
391
392         * posix/unistd.h (getpagesize): Declare as const function.
393
394         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define SA_NOCLDWAIT.
395         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
396         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
397         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
398
399         * signal/signal.h [__USE_XOPEN]: Define uid_t.
400         (sigstack): Correct type of first parameter.
401         * sysdeps/generic/sigstack.c (sigstack): Likewise.
402         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
403
404         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: New file.  Copy of
405         old sysdeps/unix/sysv/linux/bits/siginfo.h.
406         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
407         * sysdeps/unix/sysv/linux/bits/siginfo.h [struct siginfo] (si_band):
408         Change type to `long int'.
409
410         * signal/signal.h [__USE_XOPEN]: Declare sigpause to redirect to
411         __xpg_sigpause.
412         * sysdeps/generic/sigpause.c: Define __xpg_sigpause.
413         * sysdeps/posix/sigpause.c: Likewise.
414
415         * conform/conformtest.pl: Correct bugs.  Add more functionality.
416         * conform/data/dlfcn.h-data: Correct typos.
417         * conform/data/ftw.h-data: Likewise.
418         * conform/data/iconv.h-data: Likewise.
419         * conform/data/nl_types.h-data: Likewise.
420         * conform/data/search.h-data: Likewise.
421         * conform/data/semaphore.h-data: New file.
422         * conform/data/setjmp.h-data: New file.
423         * conform/data/signal.h-data: New file.
424         * conform/data/stdarg.h-data: New file.
425         * conform/data/stddef.h-data: New file.
426         * conform/data/stdio.h-data: New file.
427
428         * po/de.po: Update from translation team.
429
430 1999-12-31  Martin Buchholz  <martin@xemacs.org>
431
432         * argp/argp-help.c: Fix typos.
433         * argp/argp.h: Likewise.
434         * elf/dl-object.c: Likewise.
435         * elf/dl-open.c: Likewise.
436         * elf/elf.h: Likewise.
437         * elf/rtld.c: Likewise.
438         * iconv/gconv_open.c: Likewise.
439         * localedata/tst-fmon.data: Likewise.
440         * localedata/tst-rpmatch.sh: Likewise.
441         * login/programs/xtmp.h: Likewise.
442         * manual/arith.texi: Likewise.
443         * manual/charset.texi: Likewise.
444         * manual/creature.texi: Likewise.
445         * manual/llio.texi: Likewise.
446         * manual/search.texi: Likewise.
447         * manual/signal.texi: Likewise.
448         * manual/stdio.texi: Likewise.
449         * manual/string.texi: Likewise.
450         * manual/sysinfo.texi: Likewise.
451         * manual/users.texi: Likewise.
452         * manual/examples/argp-ex2.c: Likewise.
453         * manual/examples/argp-ex3.c: Likewise.
454         * manual/examples/argp-ex4.c: Likewise.
455         * manual/examples/mkfsock.c: Likewise.
456         * math/test-fenv.c: Likewise.
457         * nscd/nscd_gethst_r.c: Likewise.
458         * nss/test-netdb.c: Likewise.
459         * posix/regex.c: Likewise.
460         * scripts/test-installation.pl: Likewise.
461         * stdlib/canonicalize.c: Likewise.
462         * stdlib/fmtmsg.c: Likewise.
463         * string/argz-replace.c: Likewise.
464         * string/argz.h: Likewise.
465         * string/bits/string2.h: Likewise.
466         * sysdeps/generic/glob.c: Likewise.
467         * sysdeps/generic/setenv.c: Likewise.
468         * sysdeps/i386/memcmp.S: Likewise.
469         * sysdeps/posix/waitid.c: Likewise.
470         * time/tzset.c: Likewise.
471
472 2000-02-21  Ulrich Drepper  <drepper@redhat.com>
473
474         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add
475         getrlimit@GLIBC_2.0.
476         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
477
478         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: Removed.
479         Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
480
481         * elf/elf.h (ELF32_ST_OTHER): Removed.
482         (ELF64_ST_OTHER): Likewise.
483
484         * sysdeps/alpha/fpu/fpu_control.h: Update comment.
485
486         * malloc/Makefile (tests): Add tst-valloc.
487         * malloc/tst-valloc.c: New file.
488
489 2000-02-21  Andreas Jaeger  <aj@suse.de>
490
491         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_RXSRCRT): Renamed to
492         IPV6_RTHDR; added IPV6_RTHDR_LOOSE, IPV6_RTHDR_STRICT and
493         IPV6_RTHDR_TYPE_0 to synch with RFC 2292.
494         * sysdeps/generic/bits/in.h: Likewise.
495
496 2000-02-21  Ulrich Drepper  <drepper@redhat.com>
497
498         * po/gl.po: Update from translation team.
499
500         * timezone/antarctica: Update from tzdata2000b.
501         * timezone/asia: Likewise.
502         * timezone/australasia: Likewise.
503         * timezone/europe: Likewise.
504
505         * malloc/malloc.c (vALLOc): Call ptmalloc_init before mEMALIGn
506         call to initialize malloc_getpagesize.
507         (pvALLOc): Likewise.
508
509 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
510
511         * po/it.po: Update from translation team.
512
513 2000-02-20  Philip Blundell  <philb@gnu.org>
514
515         * sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
516
517 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
518
519         * sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
520
521         * po/de.po: Update from translation team.
522
523 2000-02-19  Ulrich Drepper  <drepper@redhat.com>
524
525         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Add definition of
526         _libc_fpreg and _libc_fpstate and use it to define fpregset_t.
527         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prgregset_t): Define
528         using elf_gregset_t.
529         (prfpregset_t): Define using elf_fpregset_t.
530
531         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
532         definition compatible with definition in 2.1.2 and before.
533         (struct ucontext): Use fpregset_t.
534         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
535         as pointer to fpregset_t.
536
537 2000-02-18  Ulrich Drepper  <drepper@redhat.com>
538
539         * string/bits/string2.h (strnlen): Add cast to prevent warning.
540
541         * nscd/connections.c (handle_request): Don't abort() if unknown
542         command is sent.
543
544 2000-02-17  Ulrich Drepper  <drepper@redhat.com>
545
546         * nscd/hstcache.c (cache_addhst): Don't cache name->record entries
547         if more than one IP address is available.
548
549 2000-02-17  Jakub Jelinek  <jakub@redhat.com>
550
551         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel.
552
553 2000-02-16  Ulrich Drepper  <drepper@redhat.com>
554
555         * locale/programs/charmap.c (charmap_read): Find charmap also in
556         the standard directory.
557
558         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
559         __syscall_mmap2.
560
561         * sysdeps/unix/sysv/linux/execve.c: Pretty print.
562
563         * po/it.po: New file.
564         * po/pl.po: Update from translation team.
565
566 2000-02-16  Andreas Jaeger  <aj@suse.de>
567
568         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
569         value.
570
571 2000-02-16  Andreas Jaeger  <aj@suse.de>
572
573         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
574         typo.
575
576 2000-02-15  Andreas Jaeger  <aj@suse.de>
577
578         * sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
579
580 2000-02-15  Andreas Jaeger  <aj@suse.de>
581
582         * math/libm-test.inc (nearbyint_test): Add some tests.
583         (rint_test): Likewise.
584
585 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
586
587         * locale/programs/repertoire.c (repertoire_new_char): NUL
588         terminated names of character in range.
589
590         * stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
591         Define and initialize use_outdigits in the inner loops.
592
593         * sysdeps/posix/sigwait.c: Don't look for signal 0 since it does
594         not exist.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1601).
595
596         * sysdeps/i386/fpu/s_nearbyint.S: Disable raising exception, not
597         enable it.  Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1600).
598         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
599         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
600
601 2000-02-14  Andreas Jaeger  <aj@suse.de>
602
603         * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
604
605 2000-02-14  Ulrich Drepper  <drepper@redhat.com>
606
607         * manual/job.texi: Fix typos.
608         * manual/process.texi: Likewise.
609         * manual/signal.texi: Likewise.
610
611         * sysdeps/powerpc/atomicity.h: Remove white space to avoid
612         compiler warning.
613
614 2000-02-14  Scott Bambrough  <scottb@netwinder.org>
615
616         * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm):  Add
617         Rebel-NetWinder to platform table so _ioperm platform lookup via
618         /proc/cpuinfo works on later version NetWinders.
619
620 2000-02-13  Ulrich Drepper  <drepper@redhat.com>
621
622         * locale/programs/charmap.c (charmap_read): Remove erronous free
623         call.
624
625         * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
626         so test for overflow and handle it.
627         * sysdeps/i386/fpu/s_sinf.S: Likewise.
628         * sysdeps/i386/fpu/s_tanf.S: Likewise.
629         Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
630
631         * iconvdata/Makefile (modules): Add UTF-16.
632         (distribute): Add utf-16.c.
633         * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
634         UTF-16LE.
635         * iconvdata/utf-16.c: New file.
636         * iconv/gconv_builtin.h: Remove UTF-16 entries here.
637         * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
638         PR libc/1580 and libc/1581.
639
640         * iconv/skeleton.c: Increment __invocation_counter after every call
641         to the loops.
642
643 2000-02-12  Andreas Jaeger  <aj@suse.de>
644
645         * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
646         declaration to place where it's needed to avoid compiler warning.
647         * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
648
649 2000-02-12  Ulrich Drepper  <drepper@redhat.com>
650
651         * locale/weightwc.h (findidx): Correct find index value.
652
653         * locale/nl_langinfo.h: Add casts to prevent warnings.
654
655         * wctype/iswctype_l.c: Use correct types for mapped data.
656         * wctype/wcfuncs.c: Add one more comment for clarification.
657         * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
658         * wctype/wctrans.c: Likewise.
659
660 2000-02-12  Andreas Jaeger  <aj@suse.de>
661
662         * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
663         conventions.
664         (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
665         (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
666         file and make dependend on RESOLVE.
667         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
668         (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
669
670 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
671
672         * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
673
674         * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
675         alias for CURRENCY_SYMBOL.
676         * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
677         information.  [PR libc/1583].
678
679 2000-02-08  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
680
681         * locale/weightwc.h: Fix problem with collating-element.
682
683         * locale/programs/ld-collate.c (collate_finish): Output wide
684         character collating-symbol, which has no wide strings.
685
686         * locale/programs/ld-collate.c (collate_output): Fix problem with
687         wide character collating-element.
688
689 2000-02-09  Andreas Jaeger  <aj@suse.de>
690
691         * time/strptime.c (strptime_internal): Fix pointer dereference.
692         Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
693         libc/1591.
694
695 2000-02-08  Jakub Jelinek  <jakub@redhat.com>
696
697         * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
698         * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
699         * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
700         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
701         shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
702         * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
703         and oldshmctl to sysdep-routines.
704
705 2000-02-08  Andreas Jaeger  <aj@suse.de>
706
707         * locale/programs/locale.c (write_locales): Fix handling of
708         whitespace lines.
709         Fixes PR libc/1588, reported by Miroslav Holcak
710         <miroslav.holcak@vitkovice.cz>.
711
712 2000-02-07  Thorsten Kukuk  <kukuk@suse.de>
713
714         * config.make.in: Add infodir.
715         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
716         header files.
717
718 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
719
720         * posix/getopt.c: Suppress messages if first character of
721         optstring is a colon (PR libc/1584).
722
723         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
724         and elf_* types to interpret values passed up from the kernel.
725         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
726
727         * locale/nl_langinfo.c: Correct return value in error case.  Don't
728         set errno (PR libc/1582).
729         * manual/locale.texi: Update to reflect change.
730
731 2000-02-02  Andreas Schwab  <schwab@suse.de>
732
733         * malloc/Makefile (distribute): Add memprof.h.
734         * malloc/memprof.c: Move definition of GETSP and GETTIME to new
735         header memprof.h.
736         * sysdeps/generic/memprof.h: New file.
737         * sysdeps/alpha/memprof.h: New file.
738         * sysdeps/i386/memprof.h: New file.
739         * sysdeps/m68k/memprof.h: New file.
740         * sysdeps/mips/memprof.h: New file.
741         * sysdeps/powerpc/memprof.h: New file.
742         * sysdeps/sparc/memprof.h: New file.
743
744 2000-02-01  Jakub Jelinek  <jakub@redhat.com>
745
746         * sysdeps/unix/sysv/linux/getresgid.c: Move...
747         * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
748         (getresgid): Use getresgid32 if __libc_missing_32bit_uids
749         is -1 or 0.
750         * sysdeps/unix/sysv/linux/getresuid.c: Move...
751         * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
752         (getresuid): Use getresuid32 if __libc_missing_32bit_uids
753         is -1 or 0.
754         * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
755         __libc_missing_32bit_uids.
756         (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
757         -1 or 0.
758         * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
759         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
760         * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
761         * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
762         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
763         * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
764         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
765         * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
766         * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
767         * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
768         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
769         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
770         * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
771         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
772         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
773         * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
774         * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
775         * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
776         * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
777         * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
778         * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
779         * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
780         * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
781         * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
782         * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
783         * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
784         * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
785         * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
786         * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
787         * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
788         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
789         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
790         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
791         * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
792         Make syscall directly, no stubs needed.
793         (getresgid): Likewise.
794         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
795         Likewise.
796         (getresgid): Likewise.
797
798 2000-02-11  Ulrich Drepper  <drepper@redhat.com>
799
800         * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
801         Reported by Bruno Haible <haible@ilog.fr>.
802
803         * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
804
805         * stdio-common/printf_fp.c: Truely support wide characater output.
806         Finally handle decimal points and thousands separator characters
807         correctly for multibyte output.
808         * stdio-common/printf_size.c: Likewise.
809         * sysdeps/generic/printf_fphex.c: Likewise.
810         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
811
812         * stdio-common/vfscanf.c: Implement I modifier for numbers to read
813         locale dependent digits.
814
815         * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
816         decimal point and thousands separator values to wide characters from
817         wide character strings.
818         * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
819
820         * locale/indigitswc.h: Dereference wcdigits array elements.
821
822 2000-02-03  Jakub Jelinek  <jakub@redhat.com>
823
824         * stdlib/canonicalize.c (canonicalize): Zero terminate
825         path to copy on error.
826
827 2000-02-01  Cristian Gafton  <gafton@redhat.com>
828
829         * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
830
831 2000-01-31  Philip Blundell  <philb@gnu.org>
832
833         * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
834
835 2000-01-31  Andreas Jaeger  <aj@suse.de>
836
837         * intl/Makefile (generated): msgs.h is generated.
838
839         * localedata/Makefile (generated-dirs): Add de_DE.437.
840
841 2000-01-31  Jakub Jelinek  <jakub@redhat.com>
842
843         * config.make.in: Allow default localedir to come from configure.
844         * configure.in: Export libc_cv_localedir.
845         * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
846         stuff into $exec_prefix/lib/locale because it can be shared between
847         32bit and 64bit libraries.
848         * configure: Rebuilt.
849         * sysdeps/unix/sysv/linux/configure: Rebuilt.
850
851 2000-01-31  Andreas Jaeger  <aj@suse.de>
852
853         * inet/tst-network.c: New file.
854         * inet/Makefile (tests): Add tst-network.
855
856         * inet/inet_net.c (inet_network): Don't overwrite memory or allow
857         to great last digits.
858
859 2000-02-10  Andreas Jaeger  <aj@suse.de>
860
861         * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
862         Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
863
864 2000-02-09  Andreas Jaeger  <aj@suse.de>
865
866         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
867
868         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
869
870 2000-02-08  Andreas Jaeger  <aj@suse.de>
871
872         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
873
874         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
875         Make it compile.
876
877         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
878         c_ispeed and c_ospeed which are not implemented.
879
880         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
881         for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
882         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
883         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
884         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
885
886 2000-02-05  Andreas Jaeger  <aj@suse.de>
887
888         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
889         work - set to 4 in accordance with changes made in the Linux/MIPS
890         kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
891         actually work.
892
893 2000-02-04  Andreas Jaeger  <aj@suse.de>
894
895         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
896         the defines.
897
898 2000-02-03  Andreas Jaeger  <aj@suse.de>
899
900         * sysdeps/mips/abort-instr.h: New file.
901
902         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
903
904         * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
905
906         * sysdeps/mips/stackinfo.h: New file.
907
908 2000-02-01  Andreas Jaeger  <aj@suse.de>
909
910         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
911
912         * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
913         generic function.
914         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
915
916         * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
917         Baechle <ralf@gnu.org>.
918
919         * sysdeps/unix/sysv/linux/mips/brk.c: New file.
920
921         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
922
923         * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
924
925 2000-01-31  Andreas Jaeger  <aj@suse.de>
926
927         * inet/inet_net.c (inet_network): Synch with bind 8.2.2.  Fixes PR
928         libc/1567.
929
930 2000-01-30  Ulrich Drepper  <drepper@redhat.com>
931
932         * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
933         the standard.
934         * sysdeps/alpha/fpu/fesetround.c: Likewise.
935         * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
936         * sysdeps/arm/fpu/fesetround.c: Likewise.
937         * sysdeps/generic/feholdexcpt.c: Likewise.
938         * sysdeps/generic/fesetround.c: Likewise.
939         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
940         * sysdeps/i386/fpu/fesetround.c: Likewise.
941         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
942         * sysdeps/m68k/fpu/fesetround.c: Likewise.
943         * sysdeps/mips/fpu/fesetround.c: Likewise.
944         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
945         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
946         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
947         * sysdeps/sparc/fpu/fesetround.c: Likewise.
948         Patch by Miloslav Trmac <mitr@volny.cz>.
949
950         * locale/programs/ld-collate.c (struct locale_collate_t): Change
951         type of plane_size and plane_cnt to uint32_t.
952         Reported by Jakub Jelinek.
953
954 2000-01-29  Jakub Jelinek  <jakub@redhat.com>
955
956         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
957         (SYSCALL_ERROR_HANDLER): Optimize.
958         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
959         Include linux/sparc/sysdep.h.
960         Use a different guard define than linux/sparc/sysdep.h.
961         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
962         stubs for inlined syscalls.
963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
964         (SYSCALL_ERROR_HANDLER): Optimize.
965         (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
966         Include linux/sparc/sysdep.h.
967         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
968         stubs for inlined syscalls.
969         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
970         Use INLINE_SYSCALL.
971         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
972         * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
973
974 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
975
976         * locale/loadlocale.c (_nl_load_locale): Optimize a bit.  Pretty
977         print.  Add checks for _POSIX_MMAPPED_FILES where necessary.
978         (_nl_unload_locale): If locale data was mmapped use munmap.
979
980 2000-01-29  Andreas Jaeger  <aj@suse.de>
981
982         * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
983         _EXTERN_INLINE, compile inline assembler functions only with gcc.
984
985 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
986
987         * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
988         * catgets/gencat.c (read_input_file): Remove messages correctly.
989         * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
990         adjacent colons correctly.  Correct loops to read territory and
991         and codeset part.
992         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
993
994         * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
995         pool entry.
996         Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
997
998 2000-01-28  Jakub Jelinek  <jakub@redhat.com>
999
1000         * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
1001         interface with symbol version GLIBC_2.2.
1002         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
1003         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1004         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1005         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1006
1007 2000-01-27  Scott Bambrough  <scottb@netwinder.org>
1008
1009         * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
1010         resource directory.
1011         * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
1012         versioning setrlimit and getrlimit.
1013
1014 2000-01-27  Andreas Jaeger  <aj@suse.de>
1015
1016         * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
1017         * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
1018
1019 2000-01-27  Ruediger Oertel  <ro@suse.de>
1020
1021         * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
1022
1023 2000-01-29  Ulrich Drepper  <drepper@redhat.com>
1024
1025         * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
1026         correct place to avoid uninitialized memory passed to writev.
1027
1028         * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
1029         long string in definition.Only enable returning wide character
1030         strings if really needed.
1031         * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
1032
1033         * configure.in: Add check for recent enough sed version.
1034
1035 2000-01-28  Ulrich Drepper  <drepper@redhat.com>
1036
1037         * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
1038         _i18n_itoa): Fix parameter lists.
1039
1040         * locale/C-monetary.c: Add initializers for new fields.
1041         * locale/C-numeric.c: Likewise.
1042         * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
1043         outdigits.h, and outdigitswc.h.
1044         * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
1045         _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
1046         and _NL_NUMERIC_THOUSANDS_SEP_WC.
1047         * locale/indigits.h: New file.
1048         * locale/indigitswc.h: New file.
1049         * locale/outdigits.h: New file.
1050         * locale/outdigitswc.h: New file.
1051         * locale/programs/ld-monetary.c: Write out decimal point and
1052         thousands separator info in wide character form.
1053         * locale/programs/ld-numeric.c: Likewise.
1054         * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
1055         (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
1056         * stdio-common/_i18n_itoa.c: New file.
1057         * stdio-common/_i18n_itoa.h: New file.
1058         * stdio-common/_i18n_itowa.c: New file.
1059         * stdio-common/_i18n_itowa.h: New file.
1060         * stdio-common/printf-parse.h: Parse 'I' flag.
1061         * stdio-common/printf.h (struct printf_info): Add i18n field.
1062         * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
1063         outdigits.
1064
1065 2000-01-27  Geoff Keating  <geoffk@cygnus.com>
1066
1067         * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
1068         unnecessarily.
1069
1070         * sysdeps/unix/sysv/linux/kernel-features.h
1071         (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
1072         __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
1073         2.3.35.
1074
1075         * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
1076         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
1077         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
1078         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
1079         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
1080         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
1081         * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
1082         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
1083         s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
1084         s_truncate64.
1085         * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
1086         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
1087
1088         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
1089         __curbrk off the small data area register.  Reported by
1090         Andrew Haley <aph@pasanda.cygnus.co.uk>.
1091
1092 2000-01-26  Andreas Jaeger  <aj@suse.de>
1093
1094         * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
1095
1096 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
1097
1098         * locale/Makefile (distribute): Remove nonexisting files.
1099         * sysdeps/powerpc/Dist: Move FPU specific files to...
1100         * sysdeps/powerpc/fpu/Dist: ...here.  New file.
1101         * nss/Makefile: Distribute files for new libdb interface.
1102         * math/Makefile (distribute): Add README.libm-test.
1103         Patch by Andreas Jaeger.
1104
1105 2000-01-26  David McCann  <david.mccann@alcatel.at>
1106
1107         * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
1108
1109 2000-01-25  Andreas Jaeger  <aj@suse.de>
1110
1111         * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
1112         version check since we're using cpp.
1113
1114 2000-01-26  Jakub Jelinek  <jakub@redhat.com>
1115
1116         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
1117         Fix a typo.
1118
1119 2000-01-26  Andreas Jaeger  <aj@suse.de>
1120
1121         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
1122         about unitialised variable kbuf.
1123         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1124         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1125
1126 2000-01-26  Ulrich Drepper  <drepper@cygnus.com>
1127
1128         * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
1129         messages.
1130         (collate_read): Remove unnecessary `if'.
1131
1132 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
1133
1134         * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
1135         and load appropriate conversions.
1136         * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
1137         made global.
1138         * libio/libioP.h: Declare __libio_codecvt.
1139         * manual/stdio.texi: Document ,ccs= option for fopen.
1140         * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
1141         * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
1142
1143         * libio/iofclose.c: Free conversion data if stream was wide-oriented.
1144
1145         * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
1146
1147         * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
1148
1149         * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
1150         * posix/testfnm.c: Add a few more tests.  Rearrange test output.
1151
1152 2000-01-25  Andreas Schwab  <schwab@suse.de>
1153
1154         * posix/testfnm.c: Add new test case.  Use FNM_PATHNAME instead of
1155         FNM_FILE_NAME consistently.
1156
1157 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
1158
1159         * posix/fnmatch.c: Define STRCOLL appropriately for the loop
1160         definition.
1161         * posix/fnmatch_loop.c: Undefine STRCOLL.
1162
1163         * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
1164         kernels with stat64 support.
1165         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
1166         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1167         Patch by SL Baur <steve@xemacs.org>.
1168
1169         * string/strxfrm.c: Don't count in the terminating NUL byte/word.
1170
1171 2000-01-24  Paul Eggert  <eggert@twinsun.com>
1172
1173         * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
1174         deciding whether a character falls within a character range.
1175
1176 2000-01-24  Paul Eggert  <eggert@twinsun.com>
1177
1178         * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
1179         lower-case A too.
1180
1181 2000-01-24  Thorsten Kukuk  <kukuk@suse.de>
1182
1183         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
1184
1185 2000-01-23  Paul Eggert  <eggert@twinsun.com>
1186
1187         * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
1188
1189 2000-01-23  Paul Eggert  <eggert@twinsun.com>
1190
1191         * posix/regex.c (compile_range): When matching a character
1192         range, use the current collating sequence, as POSIX requires.
1193
1194 2000-01-25  Ulrich Drepper  <drepper@cygnus.com>
1195
1196         * string/argz-stringify.c: Handle case of missing \0 at the end of
1197         the given argz.
1198
1199 2000-01-24  Ulrich Drepper  <drepper@cygnus.com>
1200
1201         * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
1202         size anymore.
1203
1204         * locale/programs/ld-collate.c (collate_output): Also handle
1205         IGNOREd characters in the simple way when generating the multibyte
1206         table.
1207
1208         * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
1209         handling to ...
1210         (ctype_finish): ...here.  Check for missing codeset name.
1211
1212         * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
1213         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1214
1215 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
1216
1217         * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
1218         * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
1219         * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
1220         * sysdeps/unix/sysv/linux/msgctl.c: ...here.  Include ipc_priv.h.
1221         * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
1222         * sysdeps/unix/sysv/linux/semctl.c: ...here.  Include ipc_priv.h.
1223         * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
1224         * sysdeps/unix/sysv/linux/shmctl.c: ...here.  Include ipc_priv.h.
1225         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
1226         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
1227         * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
1228         * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
1229         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
1230         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1231         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1232         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1233         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1234         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
1235         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1236         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1237         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
1238         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1239         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1240         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1241         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1242         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1243         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1244         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1245
1246 2000-01-24  Jakub Jelinek  <jakub@redhat.com>
1247
1248         * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
1249         * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
1250         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1251         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1252         * sysdeps/unix/sysv/linux/arm/Versions: Remove
1253         setrlimit64@GLIBC_2.1.3.
1254         * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
1255         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
1256         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
1257         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1258         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
1259         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
1260         so that setrlimit64@GLIBC_2.1 can report limits above 2G.
1261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
1262         setrlimit): Remove syscall stubs, add normal syscalls.
1263         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
1264         Remove syscall stub.
1265
1266 2000-01-22  Andreas Jaeger  <aj@suse.de>
1267
1268         * localedata/tst-locale.sh: Enable test for de_DE.437.
1269
1270 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
1271
1272         * string/Versions: Export __strndup.
1273
1274 2000-01-23  Philip Blundell  <philb@gnu.org>
1275
1276         Add basic support for RPC over IPv6:
1277         * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
1278         for remote address.
1279         (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
1280         prototypes.
1281         * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
1282         clntudp6_bufcreate): New prototypes.
1283         * inet/netinet/in.h (bindresport6): Likewise.
1284         * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
1285         * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
1286         svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
1287         bindresvport6 for GLIBC_2.2.
1288         * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
1289         * sunrpc/rpc_svcout.c: Likewise.
1290         * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
1291         simple assignment when copying addresses.
1292         * sunrpc/svc_udp.c (cache_get): Likewise.
1293         * sunrpc/svc_unix.c (rendezvous_request): Likewise.
1294         * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
1295         sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
1296
1297 2000-01-05  Philip Blundell  <philb@gnu.org>
1298
1299         * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
1300
1301 2000-01-23  Andreas Jaeger  <aj@suse.de>
1302
1303         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
1304         parameter to fstat calls.
1305
1306 2000-01-18  Roland McGrath  <roland@baalperazim.frob.com>
1307
1308         * sysdeps/generic/bits/socket.h
1309         (__ss_aligntype, struct sockaddr_storage): Make these like Linux
1310         version, replacing old type name `__ss_align'.
1311
1312 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
1313
1314         * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
1315         (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
1316         * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
1317         (__lseek, lseek): Make these weak aliases for __libc_lseek.
1318         * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
1319         (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
1320         * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
1321         (__open, open): Make these weak aliases for __libc_open.
1322
1323         * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
1324         trailing comma.
1325         (anonymous enum for MSG_*): Likewise.
1326         (anonymous enum for SO_*): Likewise.
1327
1328 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
1329
1330         * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
1331         (PR libc/1553).
1332
1333 2000-01-08  Mark Kettenis  <kettenis@gnu.org>
1334
1335         * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
1336         (setitimer_locked): Use it to quantize the timer values.  Use
1337         quantized timer values to check if the timeout changed.
1338
1339 2000-01-22  Andreas Jaeger  <aj@suse.de>
1340
1341         * sunrpc/rpc/svc.h: Fix description for svc_register.
1342
1343 2000-01-23  Mark Kettenis  <kettenis@gnu.org>
1344
1345         * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
1346
1347 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
1348
1349         * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
1350         fixes part 2 of bug 1549.
1351         * sunrpc/rpc_des.h: Remove unused defines.
1352
1353 2000-01-22  Mark Kettenis  <kettenis@gnu.org>
1354
1355         * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
1356
1357 2000-01-22  Thorsten Kukuk  <kukuk@suse.de>
1358
1359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
1360         * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
1361         * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
1362         * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1363         * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
1364         * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
1365         and other inline functions for port access.
1366         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
1367         access functions.
1368
1369 2000-01-23  Ulrich Drepper  <drepper@cygnus.com>
1370
1371         * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
1372         Patch by Bruno Haible <haible@ilog.fr>.
1373
1374 2000-01-05  Roland McGrath  <roland@baalperazim.frob.com>
1375
1376         * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
1377         them all at the end, eliding the final comma.
1378         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1379
1380 2000-01-21  Ulrich Drepper  <drepper@cygnus.com>
1381
1382         * intl/libintl.h: Add format_arg attributes to declarations of new
1383         functions.
1384
1385         * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
1386         ngettext, and plural.
1387         (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
1388         (test-srcs): Add tst-gettext.
1389         (before-compile): Add $(objpfx)msgs.h.
1390         Add rules for plural.c and msgs.h generation and running tst-gettext.\
1391         * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
1392         and ngettext.
1393         * intl/dcgettext.c: Move most code into dcigettext.c.  Add call
1394         dcigettext with appropriate parameters.
1395         * intl/dcigettext.c: New file.
1396         * intl/dcngettext.c: New file.
1397         * intl/dngettext.c: New file.
1398         * intl/ngettext.c: New file.
1399         * intl/gettextP.h (struct expression): Define.
1400         (struct loaded_domain): Add plural and nplurals members.
1401         Add prototypes for new internal functions.
1402         * intl/libintl.h: Declare new functions.  Add optimizations for them.
1403         * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
1404         * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
1405         header entry and parse and store the expression.
1406         * intl/plural.y: New file.
1407         * intl/po2test.sed: New file.
1408         * intl/tst-gettext.c: New file.
1409         * intl/tst-gettext.sh: New file.
1410         * manual/message.texi: Document new interfaces.
1411
1412         * intl/gettext.c: Call __dcgettext directly.
1413
1414 2000-01-20  Ulrich Drepper  <drepper@cygnus.com>
1415
1416         * manual/getopt.texi (Using the getopt function): Fix description of
1417         return value for format string starting with '-' (PR libc/1551).
1418         Patch by Raúl Núñez de Arenas Coronado <dervishd@jazzfree.com>
1419
1420         * sunrpc/clnt_perr.c (rpc_errlist): Fix index for RPC_PROGVERSMISMATCH.
1421         Patch by jens.moeller@westgeo.com (PR libc/1550).
1422
1423         * locale/programs/ld-collate.c (struct element_t): Add wclast
1424         and compute it where necessary.
1425         (collate_output): Insert indirect references in the right order.
1426
1427         * math/Makefile (tests): Add test-misc.
1428         * math/test-misc.c: New file.
1429
1430 2000-01-19  Ulrich Drepper  <drepper@cygnus.com>
1431
1432         * sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments
1433         with exponent >31 and < 63 (PR libc/1548).
1434
1435         * locale/programs/ld-collate.c (output_weightwc): Return index
1436         measured in words, not bytes.  Don't write out words for ignored
1437         characters.
1438         (collate_output): Correct various problems with alignment in the
1439         output file.
1440         * locale/weight.h: Adjust for last change in ld-collate.c of adding
1441         alignment padding.
1442
1443         * stdlib/strfmon.c: Don't report an error if final NUL is at the
1444         end of the buffer.  Set errno correctly if floating-point number
1445         would overflow buffer.
1446
1447         * posix/regex.h: Update comment of RE_SYNTAX_POSIX_MINIMAL_EXTENDED.
1448
1449         * locale/weight.h (findidx): Little optimization.  Correctly return
1450         offset in indirect table.
1451         * locale/programs/ld-collate.c (struct element_t): Add mblast
1452         and compute it where necessary.
1453         (insert_weights): Correctly handle missing weights in ellipsis
1454         expression.
1455         (handle_ellipsis): Correctly enqueue new element.
1456         (collate_output): Insert indirect references in the right order.
1457
1458 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1459
1460         * wcsmbs/mbrtowc.c: Create temporary state object if no output is
1461         written.
1462         * wcsmbs/mbsrtowcs.c: Likewise.
1463         * wcsmbs/wcrtomb.c: Likewise.
1464         * wcsmbs/wcsrtombs.c: Likewise.
1465
1466         * wcsmbs/wcrtomb.c: Compute result correctly for successful call
1467         with s == NULL.
1468
1469         * wcsmbs/mbsrtowcs.c: Compute return value correctly after change
1470         in gconv function.
1471
1472         * wcsmbs/mbrtowc.c: Don't set errno if byte sequence is only
1473         incomplete but correct.
1474
1475         * locale/programs/charmap.c: NUL-terminate names of generated
1476         entries for ellipsis.
1477
1478 2000-01-18  Andreas Jaeger  <aj@suse.de>
1479
1480         * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.
1481         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1482         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Move
1483         _STAT_VER_KERNEL handling up; don't save errno.
1484         * sysdeps/unix/sysv/linux/arm/fxstat.c: New file.
1485         * sysdeps/unix/sysv/linux/arm/lxstat.c: Likewise.
1486         * sysdeps/unix/sysv/linux/arm/xstat.c: Likewise.
1487         * sysdeps/unix/sysv/linux/m68k/fxstat.c: Likewise.
1488         * sysdeps/unix/sysv/linux/m68k/lxstat.c: Likewise.
1489         * sysdeps/unix/sysv/linux/m68k/xstat.c: Likewise.
1490         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstat.c: Likewise.
1491         * sysdeps/unix/sysv/linux/sparc/sparc32/lxstat.c: Likewise.
1492         * sysdeps/unix/sysv/linux/sparc/sparc32/xstat.c: Likewise.
1493
1494 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1495
1496         * iconv/loop.c (COUNT_CONVERTED): Remove macro, comment, and all uses.
1497         Remove done variable and all uses.
1498         * iconv/skeleton.c: Update comment for *written modification.
1499         * iconv/gconv_int.h (__gconv): Update comment.
1500         Reported by Bruno Haible.
1501
1502 2000-01-18  Bruno Haible  <haible@ilog.fr>
1503
1504         * posix/fnmatch.c (ISWCTYPE): New macro.
1505         (__wcschrnul): New function.
1506         (BTOWC): New macro. Define it instead of __btowc.
1507         (is_char_class) [!_LIBC]: Fix 'mstate_t' typo. Fix 2nd arg to
1508         wcsrtombs. Call wctype, not __wctype.
1509         * posix/fnmatch_loop.c (FCT): Use ISWCTYPE instead of __iswctype, and
1510         BTOWC instead of __btowc.
1511
1512 2000-01-18  Andreas Jaeger  <aj@suse.de>
1513
1514         * inet/Versions: Add new functions added on 2000-01-17.
1515
1516 2000-01-18  Jakub Jelinek  <jakub@redhat.com>
1517
1518         * dirent/dirent.h (getdentries): Correct prototype to use __off64_t.
1519
1520 2000-01-18  Ulrich Drepper  <drepper@cygnus.com>
1521
1522         * timezone/antarctica: Update from tzdata2000a.
1523         * timezone/asia: Likewise.
1524         * timezone/australasia: Likewise.
1525         * timezone/backward: Likewise.
1526         * timezone/northamerica: Likewise.
1527         * timezone/southamerica: Likewise.
1528         * timezone/zone.tab: Likewise.
1529
1530         * nscd/connections.c (dbs): Use
1531         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP for .lock.
1532         Pretty printing.
1533
1534         * nscd/hstcache.c (cache_addhst): Don't automatically add IPv6
1535         address.  Suggested by Philip Blundell.
1536
1537         * posix/TESTS: Fix expected result for test cases with * with no
1538         leading expression.
1539
1540         * sysdeps/unix/sysv/linux/fstatvfs.c: Move actual code in...
1541         * sysdeps/unix/sysv/linux/internal_statvfs.c: ...here.  New file.
1542         * sysdeps/unix/sysv/linux/statvfs.c: Don't use fstatvfs since the
1543         open call would require read permission.
1544         Patch by James Antill <james@and.org>.
1545
1546         * sysdeps/unix/sysv/linux/Dist: Add internal_fnmatch.c.
1547
1548         * inet/getnameinfo.c: Terminate host name for NI_NOFQDN.
1549         * sysdeps/posix/getaddrinfo.c: Correct modifications done for
1550         PR1515.  Patches by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1551
1552         * posix/regex.h (RE_SYNTAX_POSIX_EXTENDED): Add RE_CONTEXT_INVALID_OPS.
1553         * posix/regex.c (regex_compile): Return appropriate errors for
1554         unterminated brace expressions.  Detect invalid characters
1555         in brace expressions.
1556         * posix/bits/posix2_lim.h: Define RE_DUP_MAX correctly.
1557         * sysdeps/posix/sysconf.c: Include regex.h.
1558         Reported by Geoff Clare <gwc@unisoft.com> (PR libc/1522).
1559
1560 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1561
1562         * sysdeps/posix/getaddrinfo.c (gaih_local): If name is given and
1563         AI_NUMERICHOST flag is set, return an error.
1564         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1565
1566         * inet/rcmd.c: Implement rcmd_af, rresvport_af, ruserok_af, and
1567         iruserok_af.
1568         * inet/rexec.c: Implement rexec_af.
1569         Patch by Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp>.
1570
1571         * resolv/netdb.h: Add declarations of rcmd_af, rexec_af, ruserok_af,
1572         and rresvport_af.
1573
1574 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1575
1576         * sysdeps/unix/sysv/linux/bits/ipc.h: New file.
1577         * sysdeps/unix/sysv/linux/bits/sem.h: New file.
1578         * sysdeps/unix/sysv/linux/bits/shm.h: New file.
1579         * sysdeps/unix/sysv/linux/bits/msg.h: New file.
1580         * sysdeps/unix/sysv/linux/bits/alpha/ipc.h: Update for new ipc.
1581         * sysdeps/unix/sysv/linux/bits/alpha/sem.h: New file.
1582         * sysdeps/unix/sysv/linux/bits/alpha/shm.h: New file.
1583         * sysdeps/unix/sysv/linux/bits/alpha/msg.h: New file.
1584         * sysdeps/unix/sysv/linux/bits/sparc/ipc.h: New file.
1585         * sysdeps/unix/sysv/linux/bits/sparc/sem.h: New file.
1586         * sysdeps/unix/sysv/linux/bits/sparc/shm.h: New file.
1587         * sysdeps/unix/sysv/linux/bits/sparc/msg.h: New file.
1588
1589         * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl):
1590         Renamed from msgctl.
1591         (__new_msgctl): New function.
1592         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl):
1593         Renamed from semctl.
1594         (__new_semctl): New function.
1595         * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl):
1596         Renamed from shmctl.
1597         (__new_shmctl): New function.
1598
1599         * sysdeps/unix/sysv/linux/msgget.c: Define __LIBC_IPC_INTERNAL.
1600         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1601         * sysdeps/unix/sysv/linux/semget.c: Likewise.
1602         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1603         * sysdeps/unix/sysv/linux/semop.c: Likewise.
1604         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1605         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1606         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
1607
1608         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: New file.
1609         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: New file.
1610         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: New file.
1611
1612         * sysdeps/unix/sysv/linux/Versions: Add msgctl, semctl, shmctl.
1613
1614 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1615
1616         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1617         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1618         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove setres[ug]id.
1619         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Kill warnings.
1620         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Define needed
1621         syscalls.
1622
1623         * sysdeps/unix/sysv/linux/pwrite64.c: Use proper prototype.
1624         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1625
1626         * sysdeps/unix/sysv/linux/kernel-features.h: [gs]etres[ug]id are
1627         available on sparc since 2.3.39.
1628
1629         * sysdeps/unix/sysv/linux/execve.c: Kill warnings.
1630
1631 2000-01-17  Jakub Jelinek  <jakub@redhat.com>
1632
1633         * sysdeps/unix/sysv/linux/i386/chown.c (__syscall_chown): Use proper
1634         prototype.
1635         (__real_chown): Return EINVAL if owner or group are out of the range
1636         -1U .. 65534.
1637         * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
1638         * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
1639         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Return
1640         EINVAL if ruid, euid or suid are out of the range -1U .. 65534.
1641         * sysdeps/unix/sysv/linux/i386/setresgid.c (__setresgid): Similarly.
1642         * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Simplify.
1643         * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
1644         * sysdeps/unix/sysv/linux/m68k/chown.c (__syscall_chown): Use proper
1645         prototype.
1646         Don't include non-existant header.
1647         (__chown): Return EINVAL if owner or group are out of the range
1648         -1U .. 65534.
1649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setresuid,
1650         setresgid): Inherit standard linux/syscalls.list definitions.
1651         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Remove.
1652         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Remove.
1653         * sysdeps/unix/sysv/linux/syscalls.list (setresgid): Provide
1654         __setresgid symbol.
1655
1656 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1657
1658         * locale/iso-639.def: Update Hebrew, Yiddish, and Indonesian entry
1659         from 1989 change in ISO 639.
1660
1661 2000-01-12  Andreas Jaeger  <aj@suse.de>
1662
1663         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): New
1664         function; needed for 32bit uid support.
1665
1666         * sysdeps/unix/sysv/linux/i386/xstat.c: New file, handles 32bit
1667         uids correctly.
1668
1669 2000-01-17  Ulrich Drepper  <drepper@cygnus.com>
1670
1671         * intl/locale.alias: Add entries for galician.
1672
1673         * locale/programs/ld-ctype.c (get_character): If tok_ucs4 found, first
1674         try to get sequence from charmap with Uxxxxxxxx name.
1675         (charclass_ucs4_ellipsis): Likewise.
1676         (charclass_charcode_ellipsis): Allow byte sequence missing.
1677         (read_writestring): Free allocated memory in case of an error.
1678         (set_class_defaults): Don't search repertoire map for wide character
1679         default values; we know it's UCS4.
1680
1681         * locale/programs/repertoire.c (repertoire_find_value): Just return an
1682         error if no repertoire map was loaded.
1683         (repertoire_find_symbol): Likewise.
1684         (repertoire_find_seq): Likewise.
1685
1686         * posix/fnmatch.c: Put internal_fnmatch in separate file.  Include
1687         twice, to define singlebyte and multibyte version.
1688         (fnmatch): Differentiate between singlebyte and multibyte locale and
1689         call appropriate internal function.
1690         * posix/fnmatch_loop.c: New file.
1691         * posix/Makefile (distribute): Add fnmatch_loop.c.
1692
1693         * locale/programs/repertoire.c (repertoire_read): Don't print
1694         error message when repertoire map is missing.
1695         (repertoire_complain): Print error message for missing map, but only
1696         once.
1697         * locale/programs/repertoire.h (repertoire_complain): Add prototype.
1698
1699         * locale/programs/linereader.c (get_string): Prefer getting names
1700         from charseq entries.  Try finding Uxxxxxxxx names in charmap
1701         before trying to map from repertoire.
1702
1703 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1704
1705         * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix missing brace
1706         error in last change.
1707         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1708
1709         * stdlib/longlong.h: Fix typo in last patch.
1710
1711 2000-01-12  Andreas Jaeger  <aj@suse.de>
1712
1713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1714         Added for Linux 2.3.39+.
1715
1716         * sysdeps/unix/sysv/linux/getresgid.c: Support 32bit UIDs and
1717         32bit GIDs.
1718         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1719         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1720         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1721         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1722         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1723         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1724         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1725         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1726         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1727         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1728         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1729         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1730         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1731         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1732         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1733
1734         * sysdeps/unix/sysv/linux/arm/chown.c: New file.
1735         * sysdeps/unix/sysv/linux/arm/fchown.c: New file.
1736         * sysdeps/unix/sysv/linux/arm/geteuid.c: New file.
1737         * sysdeps/unix/sysv/linux/arm/getegid.c: New file.
1738         * sysdeps/unix/sysv/linux/arm/getuid.c: New file.
1739         * sysdeps/unix/sysv/linux/arm/getgid.c: New file.
1740         * sysdeps/unix/sysv/linux/arm/lchown.c: New file.
1741         * sysdeps/unix/sysv/linux/i386/fchown.c: New file.
1742         * sysdeps/unix/sysv/linux/i386/getegid.c: New file.
1743         * sysdeps/unix/sysv/linux/i386/geteuid.c: New file.
1744         * sysdeps/unix/sysv/linux/i386/getgid.c: New file.
1745         * sysdeps/unix/sysv/linux/i386/getuid.c: New file.
1746         * sysdeps/unix/sysv/linux/i386/lchown.c: New file.
1747         * sysdeps/unix/sysv/linux/m68k/chown.c: New file.
1748         * sysdeps/unix/sysv/linux/m68k/fchown.c: New file.
1749         * sysdeps/unix/sysv/linux/m68k/getegid.c: New file.
1750         * sysdeps/unix/sysv/linux/m68k/geteuid.c: New file.
1751         * sysdeps/unix/sysv/linux/m68k/getgid.c: New file.
1752         * sysdeps/unix/sysv/linux/m68k/getuid.c: New file.
1753         * sysdeps/unix/sysv/linux/m68k/lchown.c: New file.
1754         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: New file.
1755         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: New file.
1756         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: New file.
1757         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: New file.
1758         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: New file.
1759         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: New file.
1760         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: New file.
1761         Based on a patch by Chris Wing <wingc@engin.umich.edu>.
1762
1763 2000-01-14  Jakub Jelinek  <jakub@redhat.com>
1764
1765         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: New file.
1766
1767 2000-01-13  Jakub Jelinek  <jakub@redhat.com>
1768
1769         * sysdeps/generic/backtrace.c: Include signal.h which
1770         sigcontextinfo.h headers are used to expect.
1771         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h
1772         (register_dump): Fix a typo in the printout.
1773         Avoid using reg_window, so that asm/ptrace.h is not necessary.
1774         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1775         (ADVANCE_STACK_FRAME): Likewise.
1776
1777         * stdlib/longlong.h: Avoid using __sparc_v9__ ifdefs.
1778         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1779         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1780
1781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Include bits/wordsize.h
1782         to make it clear this file depends on __WORDSIZE.
1783         * sysdeps/unix/sysv/linux/ftruncate64.c (__have_no_truncate64):
1784         Renamed from have_no_truncate64.
1785         * sysdeps/unix/sysv/linux/truncate64.c (__have_no_truncate64):
1786         Likewise.
1787
1788 2000-01-16  Ulrich Drepper  <drepper@cygnus.com>
1789
1790         * Makeconfig (rpath-dirs): Remove db2.
1791         (dbojdir): Remove variable.
1792
1793         * locale/programs/locfile.h (handle_copy): Take repertoire map
1794         name as parameter, not pointer to repertoire structure.
1795         * locale/programs/ld-address.c: Change caller.
1796         * locale/programs/ld-ctype.c: Likewise.
1797         * locale/programs/ld-identification.c: Likewise.
1798         * locale/programs/ld-measurement.c: Likewise.
1799         * locale/programs/ld-messages.c: Likewise.
1800         * locale/programs/ld-monetary.c: Likewise.
1801         * locale/programs/ld-name.c: Likewise.
1802         * locale/programs/ld-numeric.c: Likewise.
1803         * locale/programs/ld-paper.c: Likewise.
1804         * locale/programs/ld-telephone.c: Likewise.
1805         * locale/programs/ld-time.c: Likewise.
1806
1807 2000-01-13  Ulrich Drepper  <drepper@cygnus.com>
1808
1809         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code generated if
1810         mmap2 is available when compiling but no at runtime.
1811
1812 2000-01-12  Ulrich Drepper  <drepper@cygnus.com>
1813
1814         * iconvdata/iso-ir-165.c: New file.
1815         * iconvdata/iso-ir-165.h: New file.
1816         * iconvdata/Makefile: Add rules to build libISOIR165.
1817
1818         * Makefile (install): Correct passing -r parameter to ldconfig.
1819
1820         * iconvdata/gconv-modules: Add aliases ISO-IR-199 and ISO-IR-203.
1821         Reported by Bruno Haible <haible@ilog.fr>.
1822
1823 2000-01-11  Andreas Schwab  <schwab@suse.de>
1824
1825         * sysdeps/i386/fpu/libm-test-ulps: Adjust some epsilons.
1826
1827 2000-01-10  Thorsten Kukuk  <kukuk@suse.de>
1828
1829         * nss/getent.c: Add ipv6 support for hosts.
1830
1831 2000-01-05  Philip Blundell  <pb@futuretv.com>
1832
1833         * sysdeps/unix/sysv/linux/arm/Versions: Add getrlimit, setrlimit,
1834         getrlimit64, setrlimit64 for GLIBC_2.1.3.
1835         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1836         oldsetrlimit.
1837         * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: New file.
1838         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1839         * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
1840         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Likewise.
1841         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Likewise.
1842         * sysdeps/unix/sysv/linux/arm/getrlimit.c: Likewise.
1843
1844         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1845         (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
1846         [subdir=misc] (sysdep_headers): Add sys/elf.h.
1847
1848 2000-01-09  Andreas Jaeger  <aj@suse.de>
1849
1850         * manual/install.texi (Tools for Compilation): Update required
1851         compiler version.
1852         (Configuring and compiling): Restore old comments about
1853         configparms; modify to reflect current usage.
1854
1855 2000-01-09  Philip Blundell  <philb@gnu.org>
1856
1857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't attempt name
1858         resolution if the hints included AI_NUMERICHOST.
1859
1860 2000-01-11  Andreas Schwab  <schwab@suse.de>
1861
1862         * sysdeps/mips/__longjmp.c (__longjmp): Change call to abort into
1863         infinite loop to avoid pulling in stdio in the dynamic linker.
1864         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1865
1866 2000-01-10  Andreas Jaeger  <aj@suse.de>
1867
1868         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Follow
1869         change from 1999-10-07 to elf/elf.h and rename EM_MIPS_RS4_BE to
1870         EM_MIPS_RS3_LE.
1871         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1872
1873         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
1874         gregset_t, fpregset_t, and NGREG definitions.
1875
1876         * sysdeps/mips/Implies: Add wordsize-32.
1877
1878         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
1879         int's.
1880
1881         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
1882         missing int's.
1883
1884         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
1885         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1886         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1887         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1888         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1889         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1890         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1891
1892 2000-01-09  Philip Blundell  <philb@gnu.org>
1893
1894         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): System calls clobber R0.
1895         (dl_platform_init): Allow _dl_platform to be NULL.
1896
1897         * sysdeps/unix/sysv/linux/arm/sysdep.h (UNDOARGS_5): Fix error in
1898         last change.
1899
1900 2000-01-08  Ulrich Drepper  <drepper@cygnus.com>
1901
1902         * nscd/connections.c (handle_request): Handle systems without
1903         SO_PEERCRED.
1904         (nscd_run): Likewise.
1905
1906 2000-01-07  Andreas Jaeger  <aj@suse.de>
1907
1908         Add support for Berkeley db 3.0.x and merge db support:
1909         * nss/nss_db/dummy-db.h (struct db30): New.
1910         (struct dbc30): New.
1911         Added DB30* flags.
1912
1913         * nss/makedb.c: Move all database routines to db-open.c.
1914         (main): Adjust to interface changes.
1915         Load database early to initialize version dependend variables.
1916
1917         * nss/db-open.c: Merge database routines from makedb.c.
1918         Define version dependend constansts as variables.
1919         (load_db): Check also for db 3.
1920         (internal_setent): Call dbopen.
1921         (db_cursor): New function from makedb; handles db 3 now.
1922         (dbopen): New function from makedb; handles db 3.
1923
1924         * nss/nss_db/db-XXX.c: Use db_notfound since the value is
1925         different in different DB versions.
1926
1927         * nss/nss_db/nss_db.h: Add version dependend constants as
1928         variables, add exportet interfaces from db-open.c.
1929
1930         * nss/Makefile ($(objpfx)makedb): Link against db-open.
1931
1932 2000-01-07  Ulrich Drepper  <drepper@cygnus.com>
1933
1934         * misc/error.c: Don't use `defined _LIBC', only `_LIBC'.
1935         Reported by Jim Meyering.
1936
1937         * time/strftime.c: Pretty printing.
1938
1939 2000-01-07  Andreas Jaeger  <aj@suse.de>
1940
1941         * manual/socket.texi (Host Names): Fix example.
1942         Reported by Marco Budde <budde@telos.de>.
1943
1944 2000-01-06  Ulrich Drepper  <drepper@cygnus.com>
1945
1946         * localedata/Makefile (install-locales): Create locale directory
1947         if it does not exist.
1948
1949         * locale/programs/charmap.c (charmap_read): Call lr_open here and
1950         not in parse_charmap.  Try also the directories on the I18NPATH.
1951         (parse_charmap): Change accordingly.
1952
1953 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1954
1955         * sysdeps/unix/sysv/linux/i386/Dist: Distribute oldgetrlimit64.c
1956         and oldsetrlimit64.c.
1957
1958         * sysdeps/unix/sysv/linux/arm/Dist: Distribute sys/elf.h and
1959         sys/procfs.h.
1960
1961         * manual/texinfo.tex: Updated from latest official version.
1962
1963         * debug/Makefile (distribute): Add frame.h.
1964
1965 2000-01-05  Philip Blundell  <philb@gnu.org>
1966
1967         * sysdeps/arm/frame.h: New file.
1968         * sysdeps/generic/frame.h: Likewise.
1969         * sysdeps/generic/segfault.c (struct layout): Delete definition;
1970         include the above file instead.
1971         * sysdeps/generic/backtrace.c (struct layout): Likewise.
1972         (__backtrace): Use ADVANCE_STACK_FRAME.
1973         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1974         (ADVANCE_STACK_FRAME): New macro.
1975         (GET_FRAME): Apply above to returned value.
1976
1977         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.
1978
1979 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1980
1981         * sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
1982         Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.
1983
1984         * io/ftw.c (process_entry): Cache object dev/inode only for
1985         directories (PR libc/1514).
1986
1987 2000-01-05  Andreas Schwab  <schwab@suse.de>
1988
1989         * locale/programs/charmap.c (charmap_read): Fix typo.
1990
1991 2000-01-05  Ulrich Drepper  <drepper@cygnus.com>
1992
1993         * locale/programs/charset.c: Removed.
1994
1995         * iconvdata/Makefile: Add rules for ISO-8859-16 module.
1996         * iconvdata/gconv-modules: Likewise.
1997         * iconvdata/iso8859-16.c: New file.
1998
1999 2000-01-05  Andreas Schwab  <schwab@suse.de>
2000
2001         * iconv/iconv_prog.c (process_block): Add cast to avoid warning.
2002
2003 2000-01-05  Andreas Jaeger  <aj@suse.de>
2004
2005         * intl/locale.alias: Add lithunian entry.
2006         Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.
2007
2008 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
2009
2010         * locale/programs/stringtrans.c: Removed.
2011         * locale/programs/stringtrans.h: Removed.
2012         * locale/programs/linereader.c: Remove #include of stringtrans.h.
2013
2014         * locale/findlocale.c (_nl_find_locale): Don't try using mmap is
2015         _POSIX_MAPPED_FILES is not defined.
2016
2017         * locale/findlocale.c (_nl_find_locale): Correct memory allocation
2018         for loc_name copy.
2019
2020         * locale/setlocale.c (new_composite_name): Use _nl_C_name and
2021         _nl_POSIX_name instead of "C" and "POSIX" strings.
2022
2023         * ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
2024         (__ctype32_toupper): Use _nl_C_CTYPE_toupper.
2025         * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
2026         reuse the _nl_C_LC_CTYPE_tolower table.
2027         (_nl_C_LC_CTYPE_toupper32): Likewise.
2028         (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
2029         toupper32 entries.
2030
2031         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
2032         characters >= 0x80.
2033         (_nl_C_LC_CTYPE_class32): Likewise.
2034
2035         * rt/aio.h (struct aioinit): Replace one aio_reserved value with
2036         aio_idle_time.
2037         * rt/aio_misc.c: Rewrite to not automatically terminate worker threads
2038         after the operation is done.  Let them linger for a user-definable
2039         time.
2040         * rt/aio_cancel.c: Likewise.
2041         Patch by Willian M Shubert <william.m.shubert@intel.com>.
2042
2043         * sysdeps/i386/i686/add_n.S: New file.
2044
2045 2000-01-02  Philip Blundell  <philb@gnu.org>
2046
2047         * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
2048         to obtain port mapping information.  Avoid use of mprotect.
2049
2050 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
2051
2052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
2053         definition from 2.3.36.
2054
2055 2000-01-04  Andreas Jaeger  <aj@suse.de>
2056
2057         * nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
2058         (struct db27): Add missing fields byteswapped, join and flags;
2059         remove wrong member handleq.
2060         (struct dbc27): Correct lock field.
2061
2062         * nss/makedb.c: Remove __P.
2063
2064 2000-01-04  Andreas Jaeger  <aj@suse.de>
2065
2066         * nss/nss_db/db-open.c (internal_setent): Check for db_open for
2067         success, fix a memory leak and clean up function.
2068
2069 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
2070
2071         * Makefile (install): Pass $(install_root) to ldconfig.
2072         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
2073
2074 2000-01-03  Jakub Jelinek  <jakub@redhat.com>
2075
2076         * soft-fp/op-1.h: Fix division for machines using not normalizing
2077         version of udiv_qrnnd in longlong.h.
2078         * soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
2079         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
2080         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
2081         Patch by Eddie C. Dost <ecd@skynet.be>.
2082
2083         * soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.
2084
2085 2000-01-03  Andreas Schwab  <schwab@suse.de>
2086
2087         * sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
2088         needed for change in common symbol handing in newer binutils.
2089
2090 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
2091
2092         * sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
2093         kernel without mmap2 syscall.
2094
2095 2000-01-03  Philip Blundell  <philb@gnu.org>
2096
2097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
2098         __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
2099         ARM for kernels >= 2.3.35.
2100
2101 2000-01-03  Philip Blundell  <philb@gnu.org>
2102
2103         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
2104         Optimise error handling a little.
2105         * sysdeps/unix/sysv/linux/arm/mmap64.S: New file.
2106
2107 2000-01-03  Andreas Jaeger  <aj@suse.de>
2108
2109         * include/resolv.h: Remove declarations for __ns_name_ntop and
2110         __ns_name_unpack since those are available in resolv/arpa/nameser.h.
2111
2112 2000-01-03  Andreas Jaeger  <aj@suse.de>
2113
2114         * time/tst-strptime.c (test_tm): Add tests for all fields of
2115         struct tm.
2116
2117 2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
2118
2119         * string/bits/string2.h (__strsep_g): Don't handle empty __S special.
2120
2121 2000-01-03  Andreas Jaeger  <aj@suse.de>
2122
2123         * string/tester.c (test_strsep): Add one more test.
2124
2125 2000-01-03  Philip Blundell  <philb@gnu.org>
2126
2127         * string/tester.c (test_mempcpy): New function.
2128         (main): Call it.
2129         (test_memcpy): Test unaligned cases too.
2130
2131         * sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.
2132
2133         * sysdeps/arm/fpu/bits/mathdef.h: New file.
2134
2135 2000-01-02  Ulrich Drepper  <drepper@cygnus.com>
2136
2137         * posix/Makefile (tests): Add tst-mmap.
2138         * posix/tst-mmap.c: New file.
2139
2140         * sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
2141         call before handling error.
2142
2143         * sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
2144         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2145
2146         * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
2147         0xa2e6 and 0xa2e7.
2148         (__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
2149         * iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
2150         mappings.
2151         * iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
2152         * iconvdata/testdata/ISO-2022-KR: Likewise.
2153
2154         * sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.
2155
2156         * iconvdata/gconv-modules: Remove BALTIC.  It's the same as
2157         ISO-8859-13.
2158         * iconvdata/Makefile (distribute): Remove baltic.c.
2159         (modules): Remove BALTIC.
2160         (gen-8bit-gap-modules): Remove baltic.
2161         * iconvdata/baltic.c: Removed.
2162
2163         * sysdeps/posix/system.c: Correct return value for LINE == NULL.
2164
2165         * signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.
2166
2167         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
2168         typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
2169         Reported by Philip Blundell <Philip.Blundell@pobox.com>.
2170
2171         * nss/Makefile: Add rules to build makedb.
2172         * nss/nss_db/nss_db.h: Add definitions needed for makedb.
2173         * nss/nss_db/dummy-db.h: Likewise.
2174         * nss/makedb.c: New file.  Copied from file in db2, modified to not
2175         depend on being linked against libdb.
2176
2177 2000-01-01  Ulrich Drepper  <drepper@cygnus.com>
2178
2179         * Makeconfig (all-subdirs): Remove db and db2.
2180         * db/*: Removed.
2181         * db2/*: Removed.
2182
2183         * nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
2184         functions from here...
2185         * nss/db-alias.c: ...and here...
2186         * nss/db-netgrp.c: ...and here...
2187         * nss/nss_db/db-open.c: ...to here.  New file.
2188         * nss/nss_db/dummy-db.h: New file.
2189         * nss/nss_db/nss_db.h: New file.
2190         * nss/Depend: Depend in dlfcn, not db2.
2191         * nss/Makefile (libnss_db-routines): Add db-open.
2192         (distribute): Add nss_db.h dummy-db.h.
2193         (libnss_db.so): Replace libdb dependency by $(libdl).
2194         Based on a patch by Zack Weinberg.
2195
2196         * locale/programs/ld-ctype.c: Implement rest of transliteration
2197         definition parsing.
2198         * locale/programs/locfile-kw.gperf: New keyword translit_ignore.
2199         * locale/programs/locfile-token.h: Add tok_translit_ignore.
2200
2201 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
2202
2203         * locale/programs/ld-collate.c (collate_output): Emit correct
2204         information for collation elements.
2205         Don't write over end of array idx.
2206         * posix/regex.c: Handle also collation elements at end of range.
2207
2208         * posix/PTESTS: Fix a few typos.
2209
2210         * posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
2211         no idea where this came from.
2212         * sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.
2213
2214 1999-12-31  Andreas Jaeger  <aj@suse.de>
2215
2216         * libio/strfile.h: Remove K&R compatibility.
2217         * locale/langinfo.h: Likewise.
2218         * locale/localeconv.c (localeconv): Likewise.
2219         * locale/programs/simple-hash.h: Likewise.
2220         * nis/nis_xdr.h: Likewise.
2221         * nis/rpcsvc/nislib.h: Likewise.
2222         * nis/rpcsvc/nis_callback.h: Likewise.
2223         * nis/rpcsvc/nis.h: Likewise.
2224         * nis/ypclnt.c: Likewise.
2225         * nscd/nscd_proto.h: Likewise.
2226         * nscd/nscd.c: Likewise.
2227         * sysdeps/generic/inttypes.h: Likewise.
2228         * sysdeps/gnu/utmpx.h: Likewise.
2229
2230         * nis/nis_intern.h: Remove K&R compatibility; add missing ints.
2231         * sunrpc/rpcsvc/rusers.x: Likewise.
2232
2233         * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.
2234
2235         * elf/dl-misc.c: Remove __libc_write prototype since it's already
2236         in include/unistd.h.
2237         * elf/dl-profile.c: Likewise.
2238         * elf/dl-load.c: Likewise for __libc_read.
2239
2240         * elf/dl-profile.c: Remove __P.
2241         * elf/sprof.c: Likewise.
2242         * elf/sln.c: Likewise.
2243
2244 1999-12-31  Ulrich Drepper  <drepper@cygnus.com>
2245
2246         * locale/langinfo.h: Add constants for wide character collation
2247         symbol table.
2248         * locale/categories.def: Add appropriate entries for collate symbol
2249         table entries.
2250         * locale/C-collate.c: Add initializers for new entries.
2251         Remove commented out code.
2252         * locale/elem-hash.h: New file.
2253         * locale/Makefile (distribute): Add elem-hash.h.
2254         * locale/programs/ld-collate.c: Implement output of collate symbol
2255         table.
2256
2257         * posix/regex.c: Implement collation class handling.
2258
2259 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
2260
2261         * posix/regex.c (regex_compile): Implement equivalence class handling.
2262
2263 1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>
2264
2265         * sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
2266         (OPCODE_LWZU): New macro.
2267         (OPCODE_ADDIS_HI): New macro.
2268         (OPCODE_LIS_HI): New macro.
2269         (__elf_machine_runtime_setup): Change PLT code-generation scheme
2270         for thread safety even with very large PLTs, better efficiency,
2271         and to fix a cache-flushing bug.  Also support the Motorola
2272         8xx processors which have a different cache line size than all
2273         the others.
2274         (__elf_machine_fixup_plt): Likewise.
2275         (__process_machine_rela): Don't use elf_machine_fixup_plt.
2276
2277 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
2278
2279         * wcsmbs/wcscoll.c: Use multibyte character version.
2280         * wcsmbs/wcsxfrm.c: Likewise.
2281         * string/strcoll.c: Prepare to be used for the wide character version.
2282         * string/strxfrm.c: Likewise.
2283         * locale/weightwc.h: New file.
2284
2285 1999-12-30  Geoff Keating  <geoffk@cygnus.com>
2286
2287         * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
2288         the (void) casts as now feraiseexcept returns a value.
2289         (feclearexcept): Likewise.
2290
2291         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
2292         it interferes with the macros for AIX.
2293
2294 1999-12-30  Ulrich Drepper  <drepper@cygnus.com>
2295
2296         * locale/programs/ld-collate.c (collate_finish): Always define
2297         weight for UNDEFINED if not defined by the user but don't complain
2298         unless it is needed in the multibyte character table.
2299         (collate_output): Add extra dummy elements in wide char tables in the
2300         same way done for multibyte.  Always output undefined entry in
2301         wide character table.
2302
2303         * locale/Makefile (categories): Remove commented-out old definition.
2304
2305         * locale/programs/ld-collate.c (insert_value): Don't pass wide string
2306         to new_element if the wide char is not valid.
2307         (handle_ellipsis): Likewise.
2308         (collate_read): It's no problem if the string in the collating element
2309         definition cannot be represented as multibyte or wide char string.
2310
2311 1999-12-13  Andreas Jaeger  <aj@suse.de>
2312
2313         * resolv/resolv.h: Remove K&R compatibility.
2314
2315         * resolv/res_libc.c: Move definition of _res after res_init,
2316         res_init should use the threaded specific context.
2317
2318         * resolv/Makefile (+cflags): Remove -Wno-comment since it's not
2319         needed anymore.
2320
2321 1999-12-29  Ulrich Drepper  <drepper@cygnus.com>
2322
2323         * locale/langinfo.h: Add constants for wide character collation data.
2324         * locale/categories.def: Add appropriate entries for collate entries.
2325         * locale/C-collate.c: Add initializers for new entries.
2326         * locale/programs/ld-collate.c: Implement output of wide character
2327         tables.
2328
2329         * locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
2330         compute wide character table size a bit: it now gives up a bit of
2331         total table size for fewer levels.
2332
2333         * soft-fp/*: Tons of new files to implement floating-point arithmetic
2334         in software.
2335         Contributed by Richard Henderson, Jakub Jelinek and others.
2336
2337 1999-12-29  Andreas Jaeger  <aj@suse.de>
2338
2339         * sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
2340         <asm/io.h>; remove K&R compatibility; add missing ints.
2341
2342         * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
2343         add missing ints.
2344
2345         * sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.
2346
2347 1999-12-29  Andreas Jaeger  <aj@suse.de>
2348
2349         * manual/getopt.texi (Using Getopt): Document ordering of options.
2350
2351 1999-12-29  Andreas Jaeger  <aj@suse.de>
2352
2353         * sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
2354         Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2355
2356 1999-12-14  Andreas Jaeger  <aj@suse.de>
2357
2358         * sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2359         2.3.32.
2360
2361 1999-12-28  Jakub Jelinek  <jakub@redhat.com>
2362
2363         * elf/sprof.c (load_shobj): Fix error message.
2364         (generate_call_graph): Cast %*s length argument to int.
2365         * locale/programs/localedef.c (construct_output_path): Likewise.
2366         * locale/programs/ld-ctype.c (ctype_finish): Use proper format
2367         specifier.
2368         (ctype_class_new): Likewise.
2369         * locale/programs/ld-time.c (time_finish): Likewise.
2370         * sunrpc/svc_simple.c (register_rpc): Likewise.
2371         * nscd/connections.c (nscd_run, start_threads): Use long instead of
2372         int to avoid cast warnings.
2373         * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
2374         warning.
2375         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
2376         variable se.
2377
2378         * time/strftime.c (my_strftime): Provide wide era string when
2379         requested.
2380
2381         * sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
2382         Separate into 32bit and 64bit versions.
2383
2384 1999-12-28  Ulrich Drepper  <drepper@cygnus.com>
2385
2386         * iconvdata/Makefile (modules): Add ISO-2022-CN.
2387         Add link rules for this module.
2388         (distribute): Add iso-2022-cn.c and cns11643l2.h.
2389         * iconvdata/cns11643l2.h: New file.
2390         * iconvdata/iso-2022-cn.c: New file.
2391         * iconvdata/gconv-modules: Add entries for ISO-2022-CN module.
2392
2393         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
2394         unsigned.
2395         (ucs4_to_cns11643l1): Likewise.
2396         * iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.
2397
2398         * iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
2399         loop to UCS4.
2400         Optimize recognition of escape sequences a bit.
2401
2402         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
2403         and oldsetrlimit definitions.
2404
2405 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
2406
2407         * iconvdata/run-iconv-test.sh: Improve test output a bit to allow
2408         identifying errors more easily.
2409
2410         * iconvdata/testdata/EUC-CN..UTF8: New file.
2411         * iconvdata/testdata/GBK..UTF8: New file.
2412
2413         * iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
2414         mappings.  Fix last patch.
2415         * iconvdata/TESTS: Add GBK.
2416         * iconvdata/testdata/GBK: New file.
2417
2418         * iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
2419         0x2312, and 0x2500..0x254b.
2420         * iconvdata/TESTS: Add EUC-CN.
2421         * iconvdata/testdata/EUC-CN: New file.
2422
2423         * iconvdata/gbgbk.c: New file.
2424         * iconvdata/Makefile (modules): Add GBGBK.
2425         (distribute): Add gbgbk.c.
2426         * iconvdata/gconv-modules: Add entries for GBGBK modules.
2427
2428         * iconvdata/euc-cn.c: Fix comment.
2429
2430         * iconvdata/gbk.c: Optimize the switch statement in the conversion
2431         to GBK a bit.
2432
2433         * locale/programs/charmap.c (charmap_new_char): Recognize special
2434         character names Uxxxx and Pxxxx and initialize the UCS4 value from
2435         the value of xxxx.
2436
2437 1999-12-17  Andreas Jaeger  <aj@suse.de>
2438
2439         * stdlib/Versions: Export __cxa_atexit and __cxa_finalize.
2440
2441 1999-12-16  Mark Mitchell  <mark@codesourcery.com>
2442
2443         * stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
2444         * stdlib/exit.h (flavor): Add ef_cxa.
2445         (exit_function): Add cxa variant.
2446         * stdlib/exit.c (exit): Handle ef_cxa exit functions.
2447         * stdlib/cxa_atexit.c: New file.
2448         * stdlib/cxa_finalize.c: New file.
2449
2450 1999-12-27  Ulrich Drepper  <drepper@cygnus.com>
2451
2452         * iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
2453         Unicode tables.
2454
2455 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
2456
2457         * sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
2458         __have_no_stat64.
2459         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2460         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2461
2462         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
2463         of <asm/resource.h>.
2464
2465 1999-12-26  Philip Blundell  <philb@gnu.org>
2466
2467         * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
2468         argument count for `syscall' to 7.
2469         * sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
2470         with more than five arguments.
2471         (DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
2472
2473 1999-12-26  Ulrich Drepper  <drepper@cygnus.com>
2474
2475         * locale/programs/ld-collate.c (collate_output): Don't start with empty
2476         extrapool and indirectpool obstacks since we need the offsets to be
2477         nonzero.
2478         (collate_read): Call load_locale, not find_locale.
2479         * locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
2480         wasn't defined in the file also initialize repertoire if possible.
2481         * locale/programs/ld-time.c (time_finish): Fix message string.
2482         * locale/programs/linereader.c: Cast parameters of lr_error to
2483         correct type to prevnet warning.
2484         * locale/programs/localedef.c (load_locale): New file.
2485         * locale/programs/localedef.h: Add its prototype.
2486         * locale/programs/repertoire.c (repertoire_new_char): Add missing
2487         parameters to lr_error call.
2488
2489         * localedata/Makefile: Enable running tests again.
2490         * localedata/tests/test2.def: Adjust syntax to new specification.
2491         * localedata/tests/test3.def: Likewise.
2492         * localedata/tst-trans.sh: Redirect output of program into file.
2493
2494         * string/strcoll.c: Fix many error in new implementation to make it
2495         pass (at least) the test suite.
2496
2497         * locale/Makefile: Don't link localedef statically anymore.
2498
2499         * locale/ld-collate.c (struct element_t): Add field is_character and
2500         use it to distinguish real character from collating elements and
2501         symbols.
2502         (new_element): Take new parameter to initialize is_character.  Change
2503         all callers.
2504         (handle_ellipsis): Use is_character field to make sure ellipsis is
2505         only used with characters.
2506         (collate_read): Fix reading of collating elements.
2507
2508         * string/strxfrm.c: Correct loop end detection and memory access
2509         in the little optimization at the end.
2510
2511         * locale/programs/ld-monetary.c (monetary_finish): Correct code to
2512         emit warnings.  Provide default value for mon_decimal_point.
2513
2514         * locale/programs/ld-collate.c (collate_finish): Don't crash if this
2515         category wasn't defined.
2516         (collate_output): Likewise.
2517
2518         * locale/programs/ld-address.c: Don't emit message about not defined
2519         category if be_quiet.
2520         * locale/programs/ld-ctype.c: Likewise.
2521         * locale/programs/ld-identification.c: Likewise.
2522         * locale/programs/ld-measurement.c: Likewise.
2523         * locale/programs/ld-messages.c: Likewise.
2524         * locale/programs/ld-monetary.c: Likewise.
2525         * locale/programs/ld-name.c: Likewise.
2526         * locale/programs/ld-numeric.c: Likewise.
2527         * locale/programs/ld-paper.c: Likewise.
2528         * locale/programs/ld-telephone.c: Likewise.
2529         * locale/programs/ld-time.c: Likewise.
2530
2531         * locale/programs/locfile.c (write_locale_data): Correct memory
2532         allocation for fname.
2533
2534 1999-12-25  Ulrich Drepper  <drepper@cygnus.com>
2535
2536         * locale/programs/ld-collate.c (read_directions): Fix a few messages.
2537         (collate_finish): Test that position is used in all sections for
2538         a level or in none.
2539
2540         * string/strxfrm.c: Optimize a bit.  We don't need the highest bit
2541         of the index returned by findidx.
2542
2543         * string/strcoll.c: Complete rewrite for new collate implementation.
2544         * wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
2545         locally.
2546
2547         * locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
2548         indirect table.
2549         * locale/langinfo.h: Likewise.
2550         * locale/categories.def: Likewise.  Remove reference to postload
2551         functions.
2552         * locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
2553         __collate_tablemb, __collate_weightmb, and __collate_extramb.
2554         * locale/localeinfo.h: Remove declaration for removed variables above.
2555         Remove prototype for _nl_get_era_entry.
2556         * locale/weight.h: Complete rewrite for new collate implementation.
2557         * locale/programs/ld-collate.c: Many changes to make output file
2558         usable in strxfrm/strcoll.
2559         * string/strxfrm.c: Complete rewrite for new collate implementation.
2560         * wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
2561         locally.
2562
2563 1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2564
2565         * locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
2566         transformation values for chars >255.
2567         * wctype/wctrans.c: Return pointer unmodified.
2568
2569 1999-12-24  Ulrich Drepper  <drepper@cygnus.com>
2570
2571         * sysdeps/posix/system.c (__libc_system): Check whether command
2572         processor is available if LINE is NULL.  Don't return immediately
2573         if wait call returned with EINTR.
2574         Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).
2575
2576 1999-12-23  Ulrich Drepper  <drepper@cygnus.com>
2577
2578         * locale/programs/ld-monetary.c (monetary_finish): Add cast to
2579         prevent warning.
2580
2581         * locale/programs/ld-collate.c: Implement writing out multibyte
2582         collation data.
2583
2584         * locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
2585         * locale/localeinfo.h: Declare variables only for currently implemented
2586         collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
2587         * locale/lc-collate.c: Define variables only for currently implemented
2588         functionality.
2589         * locale/langinfo.h: Define symbols only for currently implemented
2590         functionality.
2591         * locale/categories.def: Define elements for currently implemented
2592         functionality.
2593         * locale/C-collate.c: Comment out definitions of arrays with symbol
2594         name definitions etc.
2595         (_nl_C_LC_COLLATE): Update for currently defined information.
2596
2597         * intl/libintl.h: Remove dcgettext macro definition.
2598         * intl/gettextP.h: Declare _nl_msg_cat_cntr.
2599
2600         * locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.
2601
2602         * sysdeps/generic/glob.c (glob): Pass alternate file access functions
2603         also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.
2604
2605 1999-12-22  Jakub Jelinek  <jakub@redhat.com>
2606
2607         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
2608         for __fenv_stfsr argument.
2609         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
2610         truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
2611         Remove ugetrlimit.
2612         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
2613         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2614         (XSTAT_IS_XSTAT64): Define.
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
2616         __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
2617         and __libc_pwrite64.
2618         Remove oldgetrlimit and oldsetrlimit.
2619         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
2620         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.
2622
2623         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
2624         pointer to the syscall, not address of that pointer.
2625         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2626         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2627         (__syscall_stat64): Provide proper prototype.
2628
2629         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
2630         has_no_truncate64 between truncate64 and ftruncate64.
2631         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2632
2633         * sysdeps/unix/sysv/linux/kernel-features.h
2634         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
2635         __ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.
2636
2637 1999-12-22  Andreas Jaeger  <aj@suse.de>
2638
2639         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
2640         __libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.
2641
2642 1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
2643
2644         * locale/lc-time.c: Extend structure era_entry.
2645         * locale/localeinfo.h: Likewise.
2646         * locale/lc-time.c: Handle '-' direction used in locale's era part
2647         properly.
2648         * time/strptime.c: Likewise.
2649         * time/strftime.c: Likewise.
2650         * locale/programs/ld-time.c: Consider negative values in era part
2651         of locale as B.C..
2652         * time/strptime.c (strptime_internal): Merged Yoshiyama's
2653         %E[CyY] implementation.
2654
2655 1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>
2656
2657         * time/strptime.c (strptime_internal): Fix segV bugs of a couple
2658         of recursive() call.
2659         * time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
2660         parsing.
2661
2662 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2663
2664         * sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
2665         Patch by Scott Bambrough <scottb@netwinder.org>.
2666
2667 1999-12-21  Andreas Schwab  <schwab@suse.de>
2668
2669         * sysdeps/unix/sysv/linux/pread.c: Fix typo.
2670
2671         * include/unistd.h: Declare __libc_lseek.
2672
2673 1999-12-21  Andreas Jaeger  <aj@suse.de>
2674
2675         * stdlib/longlong.h: Remove __P.
2676
2677 1999-12-21  Andreas Jaeger  <aj@suse.de>
2678
2679         * sysdeps/powerpc/fpu/libm-ulps: New file.
2680
2681 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2682
2683         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
2684         and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.
2685
2686 1999-12-21  Andreas Jaeger  <aj@suse.de>
2687
2688         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
2689         * sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
2690         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
2691         * sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
2692         * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2693         * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2694         * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2695         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2696         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2697         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
2698         * sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
2699         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.
2700
2701 1999-12-21  Ulrich Drepper  <drepper@cygnus.com>
2702
2703         * sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
2704         * sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
2705         * sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
2706         * sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
2707         * sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
2708         * sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
2709         * sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
2710         * sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
2711         * sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
2712         * sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
2713         * sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
2714         * sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
2715         * sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
2716         * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
2717         * sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
2718         * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
2719         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
2720         putpmsg.
2721
2722 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2723
2724         * sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
2725         before testing for __ASSUME_STAT64_SYSCALL.
2726         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2727         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2728
2729 1999-12-20  Andreas Schwab  <schwab@suse.de>
2730
2731         * manual/install.texi (Running make install): Clearify that
2732         install_root should be an absolute file name.
2733
2734 1999-12-20  Ulrich Drepper  <drepper@cygnus.com>
2735
2736         * iconv/gconv.c (__gconv): Deal with outbuf being NULL.
2737
2738         * iconv/iconv.c (iconv): Allow omitting output buffer if no input
2739         buffer is given to place conversion descriptor in initial state.
2740         * iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
2741         CSPC862LATINHEBREW.
2742         * iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
2743         (according to IANA registry).
2744         Reported by Bruno Haible <haible@ilog.fr>.
2745
2746         * iconvdata/johab.c: Correct completely broken conversion to JOHAB.
2747
2748         * locale/categories.def: Remove most of the collate definitions.
2749         * locale/langinfo.h: Comment out corresponding definitions.
2750         * locale/programs/locale-spec.c (locale_special): Don't recognize the
2751         collate names yet.
2752         * locale/programs/ld-collate.c: Correct and optimize computation of
2753         weights.  Set up list of all definitions correctly.  Start writing
2754         function to generate output file.
2755
2756         * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
2757         loop to compute default mapping.
2758
2759 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2760
2761         * sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
2762         cancelation wrapper.
2763         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
2764         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
2765         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
2766
2767 1999-12-19  Andreas Jaeger  <aj@suse.de>
2768
2769         * sysdeps/generic/libc-start.c: Remove declaration of
2770         __libc_open.  Move declaration of __libc_fcntl to ...
2771         * include/fcntl.h: ...here.
2772
2773         * include/unistd.h: Move __libc_open and __libc_open64 to ...
2774         * include/fcntl.h: ...here.
2775
2776         * malloc/malloc.h (__attribute_malloc__): Only define if hasn't
2777         happened yet.
2778
2779         * malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
2780         rename label.
2781
2782 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2783
2784         * sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
2785         inclusion.
2786
2787 1999-12-19  Andreas Jaeger  <aj@suse.de>
2788
2789         * include/string.h: Mark __strndup with __attribute_malloc__.
2790
2791 1999-12-19  Ulrich Drepper  <drepper@cygnus.com>
2792
2793         * locale/langinfo.h: Always define CODESET.
2794         (CODESET): Define also as macro.
2795
2796         * stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
2797         generate mantissa output in using malloc if it is larger than
2798         20000 characters.
2799         Reported by Jim Meyering <meyering@ascend.com>.
2800
2801 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2802
2803         * misc/sys/cdefs.h: Define __attribute_malloc__ according to
2804         available gcc version.
2805         * string/string.h: Mark strdup, __strdup, and strndup with
2806         __attribute_malloc__.
2807         * stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
2808         __attribute_malloc__.
2809         * malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
2810         and __default_morecore with __attribute_malloc__.
2811         Provide default definition for __attribute_malloc__.
2812         * libio/stdio.h: Make tempnam with __attribute_malloc__.
2813
2814         * include/unistd.h: Declare __libc_open64, __libc_lseek64,
2815         __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
2816         * io/Versions: Export __libc_open64 and __libc_lseek64.
2817         * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
2818         and __libc_pwrite64.
2819         * sysdeps/generic/open64.c: Define __libc_* variant for cancelation
2820         wrapper.
2821         * sysdeps/generic/pread.c: Likewise.
2822         * sysdeps/generic/pread64.c: Likewise.
2823         * sysdeps/generic/pwrite.c: Likewise.
2824         * sysdeps/generic/pwrite64.c: Likewise.
2825         * sysdeps/posix/open64.c: Likewise.
2826         * sysdeps/posix/pread.c: Likewise.
2827         * sysdeps/posix/pread64.c: Likewise.
2828         * sysdeps/posix/pwrite.c: Likewise.
2829         * sysdeps/posix/pwrite64.c: Likewise.
2830         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2831         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2832         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2833         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2834         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2835         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
2836         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
2837         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2838         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2839
2840         * sysdeps/posix/open64.c: Help gcc generating better code.
2841
2842         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
2843         instead of __open.
2844
2845 1999-12-11  H.J. Lu  <hjl@gnu.org>
2846
2847         * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
2848         instead of __fcntl.
2849
2850 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2851
2852         * iconvdata/isiri-3342.c: New file.
2853         * iconvdata/Makefile (modules): Add ISIRI-3342.
2854         (distribute): Add isiri-3342.c.
2855         (gen-8bit-gap-modules): Add isiri-3342.
2856         * iconvdata/gconv-modules: Add entries for ISIRI-3342.
2857
2858         * malloc/Versions: Export __libc_freeres for GLIBC_2.1.
2859
2860         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
2861         result if necessary.
2862
2863         * sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
2864         unreliable kernel headers.
2865         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2866         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2867         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
2868         * sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.
2869
2870 1999-12-18  Andreas Jaeger  <aj@suse.de>
2871
2872         * config.make.in (datadir): Added.
2873         Closes PR libc/1491. Patch by dervishd@jazzfree.com.
2874
2875 1999-12-18  Andreas Jaeger  <aj@suse.de>
2876
2877         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
2878         set errno.
2879         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.
2880
2881 1999-12-18  Andreas Jaeger  <aj@suse.de>
2882
2883         * sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
2884         syscall if available.
2885         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
2886         * sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.
2887
2888         * sysdeps/unix/sysv/linux/kernel-features.h
2889         (__ASSUME_STAT64_SYSCALL): New.
2890
2891 1999-12-17  Scott Bambrough  <scottb@netwinder.org>
2892
2893         * sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
2894         cache flush.
2895         * elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
2896         after .text segment fixups.
2897
2898 1999-12-16  Andreas Jaeger  <aj@suse.de>
2899
2900         * rt/aio.h: Remove erroneous __restrict declarations.
2901
2902 1999-12-18  Ulrich Drepper  <drepper@cygnus.com>
2903
2904         * scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
2905         do the job if it is there neither.
2906         Patch by David R. Conrad <drc@adni.net> (PR libc/1485).
2907
2908 1999-12-16  Andreas Jaeger  <aj@suse.de>
2909
2910         * sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
2911         duplicate definition with function __nan.
2912         Closes PR libc/1487 reported by <diana@kai.com>.
2913
2914 1999-12-17  Ulrich Drepper  <drepper@cygnus.com>
2915
2916         * string/bits/string2.h (__strsep): Help gcc optimizing string access.
2917
2918         * locale/programs/ld-collate.c: Implement handling of absolute
2919         ellipsis.  Parsing of file and constructing the internal data
2920         structures should now be complete.
2921         (collate_finish): Start adding support to generate the data
2922         structures which are written out to the file.
2923
2924         * intl/dcgettext.c: Rewrite to handle caching of previous results here
2925         instead of in the dcgettext macro.
2926         * intl/libintl.h (dcgettext): Don't define for systems using this
2927         glibc or systems with tsearch.
2928
2929         * sysdeps/generic/mathdef.h: Protect definitions for math.h
2930         against double inclusion.
2931         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
2932         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
2933         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
2934         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2935
2936         * sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
2937         that different?).
2938
2939 1999-12-17  Andreas Jaeger  <aj@suse.de>
2940
2941         * rt/aio.h (struct aiocb64): Add member __next_prio to sync the
2942         struct with aiocb.
2943
2944         * rt/Makefile (tests): Added tst-aio64.
2945         Added dependency rules for tst-aio64.
2946
2947         * rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
2948         64bit tests.
2949
2950 1999-12-15  Thorsten Kukuk  <kukuk@suse.de>
2951
2952         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
2953         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
2954         * sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
2955         old value (signed long).
2956         * sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
2957         long RLIM_INFINITY.
2958         * sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
2959         * sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
2960         * sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
2961         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
2962         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
2963         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
2964         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
2965         * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
2966         * sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
2967         * sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
2968         * sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
2969         * sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
2970         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
2971         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
2972         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.
2973
2974 1999-12-17  Andreas Jaeger  <aj@suse.de>
2975
2976         * elf/ldconfig.c: Add new option -l to manualy link shared
2977         libraries.
2978         (options): Added option.
2979         (parse_opt): Set option.
2980         (main): Handle option.
2981         (manual_link): New function.
2982
2983 1999-12-17  Thorsten Kukuk  <kukuk@suse.de>
2984
2985         * string/bits/string2.h: Fix patch from 1999-12-07.
2986
2987 1999-12-16  Ulrich Drepper  <drepper@cygnus.com>
2988
2989         * sysdeps/generic/strsep.c: If delim string has only one character
2990         don't run over end of string.
2991
2992         * locale/programs/ld-collate.c (insert_weights): Also update next
2993         pointer of last cursor element.
2994         (insert_value): Return nonzero value if nothing got inserted.
2995         (handle_ellipsis): Don't do anything if to-value cannot be inserted.
2996
2997 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
2998
2999         * stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
3000         where appropriate.
3001
3002 1999-12-10  Jakub Jelinek  <jakub@redhat.com>
3003
3004         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
3005         Copy sa_flags into kernel sigaction structure.
3006
3007 1999-12-14  Andreas Jaeger  <aj@suse.de>
3008
3009         * string/tester.c (test_strsep): More tests for access beyond
3010         the final NUL.  The first two tests come from PR libc/1486 by
3011         martinea@iro.umontreal.ca.
3012
3013 1999-12-14  Thorsten Kukuk  <kukuk@suse.de>
3014
3015         * nis/ypclnt.c: Correct handling of cached client handles.
3016         (__xdr_ypresp_all): Call callback function for errors, too,
3017         like Solaris does.
3018         * nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
3019         * nis/nss_compat/compat-initgroups.c: Likewise.
3020         * nis/nss_compat/compat-spwd.c: Likewise.
3021         * nis/nss_nis/nis-alias.c: Likewise.
3022         * nis/nss_nis/nis-ethers.c: Likewise.
3023         * nis/nss_nis/nis-grp.c: Likewise.
3024         * nis/nss_nis/nis-hosts.c: Likewise.
3025         * nis/nss_nis/nis-netgrp.c: Likewise.
3026         * nis/nss_nis/nis-publickey.c: Likewise.
3027         * nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
3028         Map if available, optimize query if name/port and protocol is known.
3029
3030 1999-12-12  Ulrich Drepper  <drepper@cygnus.com>
3031
3032         * locale/programs/ld-collate.c (collate_read): Make symbolic
3033         ellipsis work.  Remove old and unused code.
3034
3035 1999-12-11  Ulrich Drepper  <drepper@cygnus.com>
3036
3037         * locale/programs/ld-collate.c (collate_read): Implement
3038         reorder-section handling.
3039
3040 1999-12-10  Ulrich Drepper  <drepper@cygnus.com>
3041
3042         * locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.
3043
3044         * locale/programs/ld-collate.c (collate_read): Add handling of
3045         reorder-after.
3046
3047         * locale/programs/ld-collate.c: Many changes to implement parsing
3048         of collation definition (still not complete).
3049
3050 1999-12-09  Andreas Jaeger  <aj@suse.de>
3051
3052         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
3053         errno to ENOENT when returning NSS_STATUS_NOTFOUND.
3054         Reported by Christian Starkjohann <cs@obdev.at>.
3055
3056 1999-12-09  Andreas Jaeger  <aj@suse.de>
3057
3058         * sysdeps/i386/fpu/libm-test-ulps: Added some ulps.
3059
3060 1999-12-09  Jakub Jelinek  <jakub@redhat.com>
3061
3062         * stdlib/longlong.h: Update from latest egcs version.
3063
3064         * sysdeps/sparc/fpu/fegetenv.c: Add semicolons.
3065
3066         * sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
3067         has to preceede __attribute__, otherwise g++ barfs.
3068
3069         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
3070         on sparc64-*-linux.
3071
3072         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
3073         use sigcontext.
3074         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3075
3076 1999-12-05  Wolfram Gloger  <wg@malloc.de>
3077
3078         * malloc/malloc.c (arena_get2): If generating a new arena fails,
3079         try to generate a minimal one and hope for mmap_chunk() to succeed
3080         later.
3081
3082 1999-11-07  Wolfram Gloger  <wg@malloc.de>
3083
3084         * malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
3085         mutex_t work as an `in-use' flag even without threads.
3086         * malloc/malloc.c (USE_ARENAS): New feature flag, controls support
3087         for multiple arenas separately from NO_THREADS.
3088         (mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
3089         fall back to an mmap()ed arena when sbrk() has failed.
3090
3091 1999-12-09  Ulrich Drepper  <drepper@cygnus.com>
3092
3093         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3094         getrlimit64, setrlimit64 for GLIBC_2.1.3.
3095         * sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
3096         getrlimit64, setrlimit64 for GLIBC_2.1.3.
3097         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
3098         oldgetrlimit and oldsetrlimit.
3099         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
3100         oldsetrlimit.
3101         * sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
3102         oldsetrlimit rules into 32-bit arch subdirs.
3103         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3104
3105         * locale/programs/ld-collate.c (insert_value): If this is the
3106         first symbol the cursor can be the same as the next pointer.
3107
3108 1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
3109
3110         * locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
3111         arrays.
3112         (allocate_arrays): Allocate memory for map32.  Correctly install
3113         default values in it and install defined mappings.
3114
3115         * locale/programs/ld-monetary.c (monetary_finish): Provide default
3116         value for mon_grouping.
3117
3118         * elf/readlib.c: Include a.out.h last since the Linux/Alpha
3119         headers are not clean enough.
3120
3121         * sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.
3122
3123         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3124         __ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
3125         on x86.
3126         * sysdeps/unix/sysv/linux/ftruncate64.c: New file.
3127         * sysdeps/unix/sysv/linux/truncate64.c: New file.
3128         * sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
3129         * sysdeps/unix/sysv/linux/i386/mmap64.S: New file.
3130
3131         * ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
3132         * ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
3133         * locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
3134         _nl_C_LC_CTYPE_tolower32 tables.
3135         Don't compile it names of 14652 classes and maps.
3136         * locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
3137         _NL_CTYPE_TOLOWER32.
3138         * locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
3139         and __ctype32_tolower.
3140         * locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
3141         (ctype_output): Write out map32 values.
3142         (allocate_arrays): Compute mapping tables correctly.
3143         * wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
3144         (towupper): Use __ctype32_toupper.
3145         * wctype/wctype.h: Optimize towupper and towlower for values < 256.
3146
3147         * locale/programs/ld-ctype.c (set_class_defaults): Correctly
3148         determine tolower mapping for 8bit table if the tolower keyword is
3149         not given.
3150
3151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
3152         only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
3153
3154 1999-12-07  Jakub Jelinek  <jakub@redhat.com>
3155
3156         * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
3157         __stpcpy_small): Cast switch expressions to int to shut up compiler
3158         warnings.
3159
3160 1999-12-07  Scott Bambrough <scottb@netwinder.org>
3161
3162         * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
3163         relocs if possible.
3164
3165 1999-12-06  Andreas Schwab  <schwab@suse.de>
3166
3167         * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
3168         ugetrlimit syscall exists.
3169
3170         * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
3171         exported symbols.
3172         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3173
3174 1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
3175
3176         * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
3177         pointers if character is illegal.
3178         Reported by Bruno Haible <haible@ilog.fr>.
3179
3180         * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
3181         (increment_counter): New function.  Broken out of find_derivation.
3182         (find_derivation): No need for a lock.  Increment counter only when
3183         the derivation was already available.
3184         * iconv/gconv_dl.c: Add debugging functions.
3185         (known_compare): We have to use strcmp.
3186         Reported by Bruno Haible <haible@ilog.fr>.
3187
3188 1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
3189
3190         * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
3191         * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
3192         * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
3193         * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
3194         SHIFT_JIS alias.
3195         Reported by Bruno Haible <haible@ilog.fr>.
3196
3197         * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
3198
3199 1999-12-03  Andreas Jaeger  <aj@suse.de>
3200
3201         * nss/getXXbyYY.c: Include <resolv.h>
3202         (FUNCTION_NAME): Use res_ninit instead of res_init.
3203
3204         * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
3205         declaration and prototypes.
3206         Remove extra _res declaration.
3207         (INTERNAL): Use thread aware res_ninit function.
3208
3209         * inet/gethstbyad_r.c: Include <resolv.h>.
3210
3211         * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
3212         res_libc.c.  Disabled unneeded functions.
3213
3214         * resolv/res_libc.c: New file.
3215
3216         * Versions.def: Add version GLIBC_2.2 for libpthread.
3217         Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
3218
3219         * include/resolv.h: Add internal interfaces.
3220
3221         * resolv/Makefile (routines): Add new files.
3222         (libresolv-routines): Likewise.
3223         (distribute): Likewise.
3224
3225         * resolv/gethnamaddr.c: Use thread safe resolver functions.
3226         * resolv/nss_dns/dns-host.c: Likewise.
3227         * resolv/nss_dns/dns-network.c: Likewise.
3228
3229         * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
3230         * resolv/nsap_addr.c: Likewise.
3231         * resolv/res_comp.c: Likewise.
3232         * resolv/res_debug.c: Likewise.
3233         * resolv/res_init.c: Likewise.
3234         * resolv/res_mkquery.c: Likewise.
3235         * resolv/res_query.c: Likewise.
3236         * resolv/res_send.c: Likewise.
3237         * resolv/resolv.h: Likewise.
3238
3239         * resolv/Versions: Add __res_state and __res_ninit with version
3240         GLIBC_2.2 to libc.
3241         Add new interfaces with version GLIBC_2.2 to libresolv.
3242
3243         * resolv/Banner: Update.
3244
3245         * include/arpa/nameser_compat.h: New file.
3246
3247         * resolv/ns_name.c: New file from Bind 8.2.2-P5.
3248         * resolv/ns_netint.c: Likewise.
3249         * resolv/ns_parse.c: Likewise.
3250         * resolv/ns_print.c: Likewise.
3251         * resolv/ns_samedomain.c: Likewise.
3252         * resolv/ns_ttl.c: Likewise.
3253         * resolv/arpa/nameser_compat.h: Likewise.
3254         * resolv/res_debug.h: Likewise.
3255
3256         Some patches are based on work done by Adam D. Bradley
3257         <artdodge@cs.bu.edu>.
3258
3259 1999-11-30  Andreas Jaeger  <aj@suse.de>
3260
3261         Add ldconfig:
3262         * elf/Makefile (extra-objs): Added ldconfig-modules.
3263         (ldconfig-modules): New.
3264         Added vpath for xstrdup and xmalloc.
3265         Check for use-ldconfig instead of has-ldconfig.
3266         ($(objpfx)ldconfig): New rule with dependencies.
3267         (distribute): Add new files.
3268
3269         * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
3270         developed together with Jakub Jelinek <jakub@redhat.com>.
3271         * sysdeps/generic/readelflib.c: Likewise.
3272
3273         * elf/cache.c: New file.
3274         * elf/ldconfig.c: New file.
3275         * elf/ldconfig.h: New file.
3276         * elf/readlib.c: New file.
3277
3278         * Makefile (install): Remove flag -d in ldconfig call.
3279
3280         * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
3281         by default.
3282
3283         * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
3284         comment.
3285
3286         * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
3287         set always use_ldconfig instead.
3288
3289 1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
3290
3291         * sysdeps/generic/bits/stropts.h: Update with LiS types and
3292         values.  Patch by David Grothe <dave@gcom.com>.
3293
3294         * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
3295         Make long types.
3296         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3297         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3298         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3299
3300 1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
3301
3302         * locale/lc-time.c (_nl_get_era_entry): Separate eras
3303         initialization as _nl_init_era_entry().
3304         * locale/lc-time.c (_nl_get_era_nf_entry): New function.
3305         * locale/lc-time.c (_nl_get_era_year_offset): New function.
3306         * locale/lc-time.c (_nl_get_era_year_start): New function.
3307         * locale/localeinfo.h: Declare new functions.
3308         Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
3309         and ERA_W_FORMAT.
3310
3311 1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
3312
3313         * posix/regex.c (SYNTAX): Make more portable.
3314         Patch by Aharon Robbins <arnold@skeeve.com>.
3315
3316 1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
3317
3318         * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
3319         nonzero, use cthread_fork to create the signal thread.
3320         * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
3321         _hurd_msgport_thread here (to self).
3322         * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
3323         is zero, instead compute child signal thread's starting SP from parent
3324         signal thread's current SP and the threadvar_stack variables.
3325         * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
3326         These are now referenced weakly by _hurdsig_init.
3327
3328         * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
3329         &_hurd_itimer_thread not &_hurd_msgport_thread.
3330
3331 1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
3332
3333         * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
3334         without HURD_DPORT_USE to clean up warnings.
3335         * hurd/dtable.c (get_dtable_port): Likewise.
3336
3337         * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
3338         (install_ctty): Do the changing of the cttyid port cell here, inside
3339         the critical section while we holding the dtable lock.
3340         (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
3341         the port cell and calling rectty_dtable.
3342         (_hurd_locked_install_cttyid): New function, split out of install_ctty.
3343         (install_ctty): Use it inside a critical section, with the lock held.
3344         * sysdeps/mach/hurd/setsid.c (__setsid): Use
3345         _hurd_locked_install_cttyid to effect the cttyid and dtable changes
3346         after proc_setsid, having held the dtable lock throughout.
3347         * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
3348         cttyid port for null and bail out early if so.  The dtable lock
3349         serializes us after any cttyid change and its associated dtable update.
3350
3351 1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
3352
3353         * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
3354         Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
3355         We don't install this file for users.
3356         * sysdeps/mach/hurd/Dist: Add it.
3357         * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
3358         Append nfs/nfs.h here.
3359
3360 1999-12-01  Andreas Jaeger  <aj@suse.de>
3361
3362         * sysdeps/generic/if_index.c (__protocol_available): Add missing
3363         int for parameter.
3364
3365         * stdio/stdio.h: Fix typo.
3366         Patches by Marcus G. Daniels <mgd@santafe.edu>.
3367
3368 1999-12-01  Andreas Jaeger  <aj@suse.de>
3369
3370         * scripts/test-installation.pl (installation_problem): Filter out
3371         libpthread_db.
3372
3373 1999-12-01  Andreas Schwab  <schwab@suse.de>
3374
3375         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
3376         __rlim_t and __rlim64_t.
3377         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3378         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3379
3380 1999-12-01  Andreas Schwab  <schwab@suse.de>
3381
3382         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3383         oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
3384         * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
3385         getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
3386         * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
3387         new kernel version.  Add symbol versions.
3388         * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
3389         oldgetrlimit.
3390         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
3391         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
3393         and s_ugetrlimit.
3394         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3395         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3396         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3397         * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
3398         * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
3399         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3400         * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
3401         * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
3402         * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
3403         file.
3404         * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
3405         file.
3406
3407 1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
3408
3409         * sysdeps/generic/usleep.c: Fix typo.
3410
3411         * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
3412
3413         * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
3414         itself.
3415
3416         * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
3417         _UTSNAME_H.
3418
3419         * malloc/set-freeres.c: Really use already_called variable.
3420
3421         * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
3422         function call directly.
3423         * libio/iosetvbuf.c: Likewise.
3424
3425 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
3426
3427         * configure.in: Add AIX 4.3 support.
3428
3429         * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
3430         standard was issued in 1992.
3431         Reported by Bruno Haible <haible@ilog.fr>.
3432
3433 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
3434
3435         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
3436         SIGCLD als SIGCHLD.
3437
3438 1999-11-29  Andreas Jaeger  <aj@suse.de>
3439
3440         * manual/time.texi (Basic CPU Time): Better describe wrap around.
3441         Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3442
3443 1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
3444
3445         * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
3446         Patch by Bruno Haible <haible@ilog.fr>.
3447
3448 1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
3449
3450         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
3451
3452 1999-11-29  Andreas Schwab  <schwab@suse.de>
3453
3454         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
3455         __v to __bswap_32_v.
3456         (__bswap_64): Rename local variables __v and __r to __bswap_64_v
3457         and __bswap_64_r to avoid clash with __bswap_32 macro.
3458
3459 1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
3460
3461         * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
3462         gconv-modules.
3463
3464 1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
3465
3466         * locale/programs/ld-ctype.c (allocate_arrays): Complete last
3467         patch.  Use wch instead of idx to compute index.
3468         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3469
3470         * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
3471
3472         * locale/iso-3166.def: Update from latest official list.
3473
3474 1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
3475
3476         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
3477         asm/ptrace.h, since this will not be done with 2.3.xx automatically
3478         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3479
3480 1999-11-26  Andreas Jaeger  <aj@suse.de>
3481
3482         * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
3483
3484 1999-11-26  Andreas Jaeger  <aj@suse.de>
3485
3486         * inet/rcmd.c: Include stdlib for declaration of free.
3487         Declare iruserok.
3488
3489 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3490
3491         * iconv/gconv.c (__gconv): Always initialize
3492         cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
3493
3494         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
3495         written bytes.
3496         * iconvdata/iso-2022-jp.c: Likewise.
3497
3498 1999-11-25  H.J. Lu  <hjl@gnu.org>
3499
3500         * stdlib/exit.c (exit): Run funtions only if
3501         __exit_funcs->idx > 0.
3502
3503 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3504
3505         * manual/charset.texi (iconv Examples): Add iconv call to flush
3506         state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
3507
3508 1999-11-25  Andreas Jaeger  <aj@suse.de>
3509
3510         * manual/install.texi (Running make install): Better describe
3511         update from libc5.
3512         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3513
3514 1999-11-25  Andreas Jaeger  <aj@suse.de>
3515
3516         * include/sys/mman.h: Remove K&R compatibility.
3517
3518 1999-11-15  Andreas Jaeger  <aj@suse.de>
3519
3520         * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
3521         use __off64_t.
3522
3523 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
3524
3525         * iconv/iconv_prog.c (process_block): For stateful charsets write
3526         out byte sequence to get to initial state at the end of the file.
3527
3528 1999-11-25  Andreas Schwab  <schwab@suse.de>
3529
3530         * Makeconfig: Include sys-dirs and sys-sorted earlier.
3531         ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
3532         ($(common-objpfx)sysd-sorted): Emit marker when this file is
3533         complete.
3534
3535 1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
3536
3537         * manual/setjmp.texi: Many changes to correct bad English introduced
3538         mainly by me.
3539         * manual/time.texi: Likewise.
3540         Patches by Neil Booth <neil@rosenet.ne.jp>.
3541
3542         * include/string.h: Remove K&R compatibility.
3543
3544 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3545
3546         * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
3547
3548         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
3549
3550         * string/stratcliff.c: Add one more strchr test for something
3551         which was reported to not work (which proofed to be wrong).
3552
3553         * iconv/skeleton.c: It's __is_last, not is_last.
3554
3555         * locale/programs/ld-ctype.c (ctype_finish): Correct method to find
3556         the UCS value.
3557         (allocate_arrays): Likewise.
3558         (find_idx): Correctly increase array size.
3559         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3560
3561 1999-11-23  Thorsten Kukuk  <kukuk@suse.de>
3562
3563         * iconv/skeleton.c: Don't access next_step->fct if data->is_last
3564         is true.
3565
3566 1999-11-23  Andreas Jaeger  <aj@suse.de>
3567
3568         * include/sys/select.h: Remove K&R compatibility.
3569         * include/sys/statfs.h: Likewise.
3570         * include/gnu/libc-version.h: Likewise.
3571         * include/db_185.h: Likewise.
3572         * include/dlfcn.h: Likewise.
3573         * include/search.h: Likewise.
3574         * include/setjmp.h: Likewise.
3575         * include/signal.h: Likewise.
3576         * include/stdio.h: Likewise.
3577         * include/unistd.h: Likewise.
3578
3579 1999-11-23  Andreas Jaeger  <aj@suse.de>
3580
3581         * include/aio.h: Remove __THROW from internal interfaces.  __THROW
3582         is only need in external header files that might be compiled by a
3583         C++ compiler.
3584         * include/alloca.h: Likewise.
3585         * include/db.h: Likewise.
3586         * include/dirent.h: Likewise.
3587         * include/execinfo.h: Likewise.
3588         * include/fpu_control.h: Likewise.
3589         * include/glob.h: Likewise.
3590         * include/grp.h: Likewise.
3591         * include/libintl.h: Likewise.
3592         * include/math.h: Likewise.
3593         * include/math.h: Likewise.
3594         * include/mntent.h: Likewise.
3595         * include/mntent.h: Likewise.
3596         * include/netdb.h: Likewise.
3597         * include/pwd.h: Likewise.
3598         * include/sched.h: Likewise.
3599         * include/shadow.h: Likewise.
3600         * include/stdlib.h: Likewise.
3601         * include/sys/file.h: Likewise.
3602         * include/sys/gmon.h: Likewise.
3603         * include/sys/ioctl.h: Likewise.
3604         * include/sys/socket.h: Likewise.
3605         * include/sys/stat.h: Likewise.
3606         * include/sys/sysinfo.h: Likewise.
3607         * include/sys/time.h: Likewise.
3608         * include/sys/times.h: Likewise.
3609         * include/sys/uio.h: Likewise.
3610         * include/sys/wait.h: Likewise.
3611         * include/termios.h: Likewise.
3612         * include/time.h: Likewise.
3613         * include/ulimit.h: Likewise.
3614         * include/utmp.h: Likewise.
3615         * include/wchar.h: Likewise.
3616
3617 1999-11-22  Andreas Jaeger  <aj@suse.de>
3618
3619         * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
3620         Patch by Jerry Perkins  <jrperkins@iname.com>, closes PR
3621         libc/1456+1457.
3622
3623 1999-11-22  Jakub Jelinek  <jakub@redhat.com>
3624
3625         * sysdeps/generic/siglist.h: Avoid declaring the same field
3626         twice if SIGPWR is defined to SIGLOST.
3627         * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument,
3628         not signed, so we should not special case it for negative args.
3629         * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic
3630         memmove, use the one provided in memcpy.S.
3631         * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping
3632         copies like memmove, while the previous version worked like memcpy.
3633         Implement optimized assembly memmove.
3634         * sysdeps/sparc/sparc64/memmove.c: New file.
3635
3636 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
3637
3638         * po/cs.po: Update from translators.
3639
3640 1999-11-23  Andreas Jaeger  <aj@suse.de>
3641
3642         * sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
3643         (elf_machine_got): Removed, not needed anymore.
3644         (ELF_MACHINE_RELOC_NOPLT): Removed.
3645         (ELF_MACHINE_JMP_SLOT): Added.
3646         (_RTLD_PROLOGUE): We use gcc, no need to check for __STDC__.
3647         (_RTLD_EPILOGUE): Likewise.
3648         (RESOLVE_GOTSYM): Use R_MIPS_REL32.
3649         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3650         Based on patches from Maciej W. Rozycki <macro@ds2.pg.gda.pl> and
3651         Ralf Baechle <baechle@uni-koblenz.de>.
3652
3653         * sysdeps/mips/mips64/dl-machine.h: Apply same patches.
3654
3655 1999-11-22  Ulrich Drepper  <drepper@cygnus.com>
3656
3657         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
3658         name from the locale name.  Only use the value in the LC_CTYPE
3659         locale data file.
3660
3661         * locale/loadlocale.c (_nl_load_locale): Allow index of entry in
3662         file be equal to file size.
3663
3664         * stdlib/longlong.h: Add count_trailing_zeros back.
3665
3666         * stdlib/longlong.h: Update from latest egcs version.
3667
3668 1999-11-22  Andreas Jaeger  <aj@suse.de>
3669
3670         * locale/programs/ld-collate.c (insert_value): Correct order of
3671         arguments for lr_error call.
3672
3673         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add
3674         __syscall_setrlimit.
3675
3676         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Include <sys/types.h>
3677         for key_t.
3678         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3679
3680 1999-11-21  Ulrich Drepper  <drepper@cygnus.com>
3681
3682         * sysdeps/i386/fpu/libm-test-ulps: Increase error value for latest
3683         gcc version.
3684
3685         * locale/programs/ld-ctype.c (ctype_read): Correctly implement
3686         14652-style definition of new maps and classes.
3687
3688 1999-11-20  Ulrich Drepper  <drepper@cygnus.com>
3689
3690         * locale/programs/ld-monetary.c (monetary_finish): Don't print
3691         individual error message if nothing is defined.
3692
3693         * locale/programs/ld-time.c (time_startup): Test for lr being
3694         nonzero, not time.
3695
3696         * locale/programs/ld-numeric.c (numeric_finish): Don't crash if
3697         decimal_point is not defined.
3698
3699         * wctype/wctrans.c (wctrans): Use correct base index to access
3700         extra mapping tables.
3701
3702         * locale/loadlocale.c (_nl_load_locale): Use actual number of
3703         entries from file and not the fixed (minimal number from the
3704         langinfo.h list.
3705
3706         * locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
3707         values in charmaps.
3708
3709 1999-11-18  Paul Eggert  <eggert@twinsun.com>
3710
3711         * time/strftime.c (my_strftime): Some old compilers object to
3712         '\a', so don't bother optimizing for it.
3713
3714 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3715
3716         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
3717         the rlimits structure passed in.
3718
3719 1999-11-19  Andreas Jaeger  <aj@suse.de>
3720
3721         * include/sys/resource.h (__setrlimit): Add prototype.
3722
3723 1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
3724
3725         * elf/dl-load.c (_dl_init_paths): Allocate correct number of
3726         entries for rtld_search_dirs[0].
3727         Patch by David Mosberger <davidm@hpl.hp.com>.
3728
3729 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3730
3731         * locale/programs/ld-ctype.c: Don't predefine the character
3732         classes and mappings of ISO 14652.
3733
3734         * locale/programs/ld-ctype.c: Punt if character class definitions
3735         to not consists of tok_bsymbol (for now).
3736
3737         * time/strptime.c (day_of_the_week): Make sure result is never
3738         negative.
3739         (strptime_internal): Allow %C without %y.
3740
3741 1999-11-18  Andreas Jaeger  <aj@suse.de>
3742
3743         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
3744         comments.
3745
3746         * sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
3747         of defining *_SUPER_MAGIC.
3748         * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
3749
3750 1999-11-18  Ulrich Drepper  <drepper@cygnus.com>
3751
3752         * locale/programs/locale.c: Don't handle LC_ALL together with the
3753         other categories when printing the value.
3754         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
3755
3756         * locale/locale.h: Correct comment about LC_ALL.
3757
3758 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3759
3760         * locale/programs/ld-ctype.c (ctype_output): Correct computation of
3761         nelems.  Correctly compute index for additional character classes.
3762         (ctype_read): Handle charclass and charconv definitions.  Also
3763         recognize arbitrary strings as mapping names.
3764         * locale/programs/ld-time.c (time_finish): Correctly skip over wide
3765         character era strings.
3766         * locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
3767         and format for wide characters.
3768         * time/strftime.c: Correctly determine era information for wide
3769         wcsftime.
3770         * wctype/wctrans.c: Fix after removal of second endianess table.
3771         * wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
3772         Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3773
3774         * wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
3775         * wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
3776
3777         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
3778         gregset_t, fpregset_t, and NGREG definitions.
3779
3780         * locale/programs/ld-ctype.c: Implement character width information
3781         handling.
3782
3783 1999-11-09  Andreas Jaeger  <aj@suse.de>
3784
3785         * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.
3786
3787         * sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
3788         Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.
3789
3790         * sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
3791
3792 1999-11-17  Ulrich Drepper  <drepper@cygnus.com>
3793
3794         * sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
3795
3796 1999-11-07  Andreas Jaeger  <aj@suse.de>
3797
3798         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
3799         defines from Linux scsi_ioctl.h header.
3800
3801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
3802         scsi_ioctl.h.
3803         * sysdeps/unix/sysv/linux/Dist: Likewise.
3804
3805         * sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
3806         pretty printed.
3807
3808         * sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
3809         sync with Linux 2.3.26.
3810
3811 1999-11-17  Andreas Jaeger  <aj@suse.de>
3812
3813         * shlib-versions: Allow mipsel for libm.
3814         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3815
3816 1999-11-16  Andreas Jaeger  <aj@suse.de>
3817
3818         * math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
3819
3820 1999-11-16  Ulrich Drepper  <drepper@cygnus.com>
3821
3822         * locale/programs/ld-ctype.c (set_class_defaults): Set default
3823         value for alpha and alnum correctly.
3824
3825         * locale/programs/ld-address.c (address_output): Fix output of
3826         country_num.
3827
3828 1999-11-15  Ulrich Drepper  <drepper@cygnus.com>
3829
3830         * timezone/asia: Update from tzdata1999j.
3831         * timezone/australasia: Likewise.
3832         * timezone/europe: Likewise.
3833         * timezone/northamerica: Likewise.
3834         * timezone/southamerica: Likewise.
3835         * timezone/zone.tab: Likewise.
3836
3837 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3838
3839         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
3840         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3841         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3842         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
3843         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3844
3845 1999-11-15  Andreas Jaeger  <aj@suse.de>
3846
3847         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3848         __syscall_setrlimit.
3849         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3850
3851 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3852
3853         * scripts/versions.awk: Don't expect to read predecessor versions,
3854         compute them.
3855         * Versions.def: Remove predecessors.  They now get computed.
3856
3857 1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
3858
3859         * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
3860         * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
3861         prototype.
3862         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
3863         * sysdeps/powerpc/stackinfo.h: New file.
3864         Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
3865
3866 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3867
3868         * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
3869         GLIBC_2.1.3.
3870
3871 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
3872
3873         * hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
3874         hurd_directory_name_split.
3875         * Versions.def (libc): Add GLIBC_2.1.3.
3876
3877 1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>
3878
3879         * hurd/report-wait.c (describe_port): Return char * and use __stpcpy
3880         to return the location of the null byte written into the string.
3881         (describe_number): Likewise.
3882         (describe_number): Remove assert, not always used with #.
3883         If FLAVOR is null, don't use it.
3884         (describe_number): Take signed argument and print a - if negative.
3885         (_S_msg_report_wait): Report system call number for system calls that
3886         aren't mach_msg.  Soup up reporting for mach_msg: If destination port
3887         matches SS->intr_port, bracket port description with [...] to indicate
3888         a Hurd interruptible RPC; if destination port is null, examine the
3889         receive port and report that state; if receive port is also null,
3890         check for timeout and report its value.
3891         * sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
3892         zero iff we managed to examine the stack; take new args RCV_NAME,
3893         SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.
3894
3895         * hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
3896         MACH_PORT_DEAD specially.
3897
3898 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
3899
3900         * hurd/hurdlookup.c (__hurd_directory_name_split): New function.
3901         (__directory_name_split): New function.
3902         * hurd/hurd.h: Declare them.
3903         * sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
3904         __file_name_split, so we ignore trailing slashes properly.
3905         * sysdeps/mach/hurd/rename.c: Likewise.
3906
3907 1999-11-13  Thorsten Kukuk  <kukuk@suse.de>
3908
3909         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
3910         from current kernel headers.
3911
3912         * sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
3913         SO_PASSCRED defined.
3914
3915 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3916
3917         * locale/C-ctype.c: Fix typo in char class name.
3918
3919         * configure.in: Allow user so specify --enable-kernel=current.
3920
3921 1999-11-12  Thorsten Kukuk  <kukuk@suse.de>
3922
3923         * nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.
3924
3925         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
3926         i386 version.
3927         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
3928         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3929         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3930         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
3931
3932 1999-11-12  Ulrich Drepper  <drepper@cygnus.com>
3933
3934         * intl/locale.alias: Add Estonian entries.
3935         Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
3936
3937 1999-11-02  Andreas Jaeger  <aj@suse.de>
3938
3939         * Versions.def: Add version GLIBC_2.2 for libm.
3940         * math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
3941         fedisableexcept.
3942         * sysdeps/generic/feenablxcpt.c: Stub file.
3943         * sysdeps/generic/fedisblxcpt.c: Stub file.
3944         * sysdeps/generic/fegetexcept.c: Stub file.
3945         * sysdeps/i386/fpu/fedisblxcpt.c: New file.
3946         * sysdeps/i386/fpu/feenablxcpt.c: New file.
3947         * sysdeps/i386/fpu/fegetexcept.c: New file.
3948         * math/Makefile (libm-support): Add new files.
3949         * math/Versions: Add new functions with version GLIBC_2.2.
3950         * manual/arith.texi (Control Functions): Document fegetexcept,
3951         feenableexcept and fedisableexcept.
3952
3953 1999-11-01  Wolfram Gloger  <wg@malloc.de>
3954
3955         * malloc/malloc.h: Describe __malloc_initialize_hook.
3956         * manual/memory.texi: Document __malloc_initialize_hook.
3957
3958 1999-11-11  Ulrich Drepper  <drepper@cygnus.com>
3959
3960         * sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
3961
3962 1999-11-09  Andreas Jaeger  <aj@suse.de>
3963
3964         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
3965         implementation for ttyname_r call; fix inverted condition; return
3966         ut_user.
3967         Closes PR libc/1438.
3968
3969 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3970
3971         * math/fenv.h: Include bits/fenvinline.h if optimizing.
3972         * sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
3973         * sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
3974         * sysdeps/generic/bits/fenv.h: New file.
3975
3976 1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
3977
3978         * misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
3979         printf call.
3980
3981 1999-11-10  Andreas Jaeger  <aj@suse.de>
3982
3983         * misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.
3984
3985 1999-11-10  Andreas Jaeger  <aj@suse.de>
3986
3987         * string/strsignal.c (strsignal): Correct check for snprintf
3988         return value.
3989         * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
3990
3991         * misc/efgcvt_r.c (APPEND): Correct check for too small buffer
3992         according to changed snprintf return value.
3993         Reported by Lawrence K. Chen <lchen@opentext.com>.
3994
3995         * misc/tst-efgcvt.c (special): Add tests for a too small buffer
3996         for ecvt_r and fcvt_r.
3997
3998 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
3999
4000         * elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
4001         directory with the reference since this is as secure as using the
4002         object with the dependency.
4003         (_dl_dst_substitute): Likewise.
4004
4005         * elf/dl-load.c (_dl_dst_count): Change strings in first two
4006         strncmp calls to allow reuse.
4007         (_dl_dst_substitute): Likewise.
4008
4009 1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>
4010
4011         * posix/regex.c (init_syntax_once): move below definition of
4012         ISALNUM etc., then use ISALNUM to init the table, so that
4013         the word ops will work if i18n'ed.
4014         (SYNTAX): And subscript with 0xFF for 8bit character sets.
4015
4016 1999-11-09  Andreas Jaeger  <aj@suse.de>
4017
4018         * sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
4019         implementation for ttyname_r call; fix inverted condition; return
4020         ut_user.  Closes PR libc/1438.
4021
4022 1999-11-09  Ulrich Drepper  <drepper@cygnus.com>
4023
4024         * timezone/checktab.awk: Update from tzcode1999h.
4025         * timezone/africa: Update from tzdata1999i.
4026         * timezone/asia: Likewise.
4027         * timezone/australasia: Likewise.
4028         * timezone/backward: Likewise.
4029         * timezone/europe: Likewise.
4030         * timezone/northamerica: Likewise.
4031         * timezone/southamerica: Likewise.
4032         * timezone/iso3166.tab: Likewise.
4033         * timezone/zone.tab: Likewise.
4034
4035         * sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
4036         macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].
4037
4038 1999-11-09  Andreas Jaeger  <aj@suse.de>
4039
4040         * posix/Makefile (tests): Added tst-getlogin.
4041
4042         * posix/tst-getlogin.c: New file, contains simple tests for
4043         getlogin and getlogin_r.
4044
4045 1999-11-09  Andreas Schwab  <schwab@suse.de>
4046
4047         * misc/syslog.c: For LOG_PERROR only append a newline if
4048         necessary.
4049
4050 1999-11-08  Ulrich Drepper  <drepper@cygnus.com>
4051
4052         * elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
4053         definitions.
4054
4055 1999-11-08  Andreas Jaeger  <aj@suse.de>
4056
4057         * locale/findlocale.c (_nl_find_locale): Free normalized_codeset;
4058         this fixes a memory leak (closes PR libc/1435).
4059
4060         * intl/l10nflist.c (_nl_normalize_codeset): Update comment to
4061         reflect memory allocation.
4062
4063         * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory
4064         allocation in _nl_explode_name.
4065
4066 1999-11-06  Andreas Jaeger  <aj@suse.de>
4067
4068         * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock
4069         to initialize it.
4070         Reported by wes@surety.com, closes PR libc/1432.
4071
4072 1999-11-05  Geoff Keating  <geoffk@cygnus.com>
4073
4074         * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of
4075         enumerator lists (-pedantic complains).
4076         (feraiseexcept): Use i#*X as the constraint.  Fix a bug in the
4077         test for 'one bit set'.
4078         (feclearexcept): Likewise.
4079
4080 1999-11-05  Ulrich Drepper  <drepper@cygnus.com>
4081
4082         * sysdeps/unix/sysv/linux/setrlimit.c: New file.
4083
4084         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Adjust
4085         for kernel changes.
4086         * sysdeps/unix/sysv/linux/bits/types.h (__rlim_t, __rlim64_t): Make
4087         unsigned.
4088
4089 1999-10-04  Tim Waugh  <twaugh@redhat.com>
4090
4091         * posix/wordexp-test.c: More tests.
4092
4093         * posix/wordexp.c (wordexp): Explicit null words should be kept.
4094
4095 1999-11-04  Shinya Hanataka  <hanataka@abyss.rim.or.jp>
4096
4097         * locale/programs/linereader.c (get_string): Correct type of buf2
4098         variable.
4099         * locale/programs/ld-ctype.c (ctype_output): Store index correctly
4100         for _NL_CTYPE_INDIGITS_MB_LEN, _NL_CTYPE_INDIGITS_WC_LEN,
4101         _NL_CTYPE_INDIGITS*_MB, _NL_CTYPE_OUTDIGIT*_MB, and
4102         _NL_CTYPE_OUTDIGIT*_WC.
4103         (allocate_arrays): Completely initialize mapping tables.
4104         * locale/programs/ld-time.c (time_startup): We need the wide car
4105         string.
4106         (time_finish): Correct handling of era.
4107         (time_output): Fix a few array indeces.
4108         (time_read): Pass the repertoire map to lr_token.
4109
4110 1999-11-03  Ulrich Drepper  <drepper@cygnus.com>
4111
4112         * Versions.def: Add version for libthread_db.
4113
4114 1999-11-02  Andreas Jaeger  <aj@suse.de>
4115
4116         * manual/header.texi (Library Summary): The command @indexfonts
4117         doesn't exist anymore, use @smallfonts instead.
4118
4119 1999-11-02  Ulrich Drepper  <drepper@cygnus.com>
4120
4121         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Include sys/ucontext.h
4122         instead of duplicating definitions.
4123
4124 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
4125
4126         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used
4127         by the debugger.
4128         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
4129         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise.
4130         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4131         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4132         * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.
4133
4134 1999-11-01  Ulrich Drepper  <drepper@cygnus.com>
4135
4136         * sysdeps/unix/sysv/linux/net/if_arp.h: Add ARPHDR_HWX25.
4137
4138         * sysdeps/unix/sysv/linux/kernel-features.h
4139         (__ASSUME_NEW_GETRLIMIT_SYSCALL): New definition.
4140         * sysdeps/unix/sysv/linux/i386/getrlimit.c: New file.
4141
4142         * manual/texinfo.tex: Updated.
4143
4144 1999-11-01  Andreas Jaeger  <aj@suse.de>
4145
4146         * sysdeps/unix/sysv/linux/sys/reboot.h: Remove K&R compatibility.
4147
4148         * inet/gethstbynm2_r.c: Reorder addresses.
4149
4150 1999-09-11  Paul Eggert  <eggert@twinsun.com>
4151
4152         * posix/glob.h (glob): If #defining to glob64, do this before
4153         declaring it, so that all declarations and uses match, and do not
4154         declare glob64, to avoid a declaration clash.
4155         (globfree): Likewise with globfree64.
4156
4157 1999-09-08  Eli Zaretskii  <eliz@is.elta.co.il>
4158
4159         * sysdeps/generic/glob.c (prefix_array) [__MSDOS__,WINDOWS32]:
4160         Keep the trailing slash unless DIRNAME is just "x:/".
4161
4162 1999-10-11  Andreas Jaeger  <aj@suse.de>
4163
4164         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_KERNEL): Added.
4165         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4166         Closes PR libc/1384.
4167
4168 1999-10-20  Andreas Schwab  <schwab@suse.de>
4169
4170         * math/Makefile (libm-tests-generated): Remove libm-test.stmp.
4171         (generated): Add it here.
4172         (before-compile): Add libm-test.c.
4173         ($(addprefix $(objpfx), $(libm-tests-generated))): Depend on
4174         libm-test.stmp.
4175         ($(objpfx)libm-test.stmp): Use $(objpfx) instead of
4176         $(objdir)/math/.
4177
4178 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
4179
4180         * Makefile (pdf): New goal.
4181         * manual/Makefile: Add definitions and rules for PDF generation.
4182
4183         * Versions.def (libm): Add GLIBC_2.1.3.
4184
4185         ISO C99 TR1 changes various fe* functions to return an error value.
4186         * math/Versions [GLIBC_2.1.3]: Add feclearexcept, fegetexceptflag,
4187         feraiseexcept, fesetexceptflag, fegetenv, fesetenv, and feupdateenv.
4188         * sysdeps/alpha/fpu/fclrexcpt.c: Return value and add alias.
4189         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
4190         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
4191         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
4192         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
4193         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
4194         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
4195         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
4196         * sysdeps/arm/fpu/fegetenv.c: Likewise.
4197         * sysdeps/arm/fpu/fesetenv.c: Likewise.
4198         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
4199         * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
4200         * sysdeps/generic/fclrexcpt.c: Likewise.
4201         * sysdeps/generic/fegetenv.c: Likewise.
4202         * sysdeps/generic/fesetenv.c: Likewise.
4203         * sysdeps/generic/feupdateenv.c: Likewise.
4204         * sysdeps/generic/fgetexcptflg.c: Likewise.
4205         * sysdeps/generic/fraiseexcpt.c: Likewise.
4206         * sysdeps/generic/fsetexcptflg.c: Likewise.
4207         * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
4208         * sysdeps/i386/fpu/fegetenv.c: Likewise.
4209         * sysdeps/i386/fpu/fesetenv.c: Likewise.
4210         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
4211         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
4212         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4213         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4214         * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
4215         * sysdeps/m68k/fpu/fegetenv.c: Likewise.
4216         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
4217         * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
4218         * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
4219         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4220         * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
4221         * sysdeps/mips/fclrexcpt.c: Likewise.
4222         * sysdeps/mips/fegetenv.c: Likewise.
4223         * sysdeps/mips/fesetenv.c: Likewise.
4224         * sysdeps/mips/feupdateenv.c: Likewise.
4225         * sysdeps/mips/fgetexcptflg.c: Likewise.
4226         * sysdeps/powerpc/fclrexcpt.c: Likewise.
4227         * sysdeps/powerpc/fegetenv.c: Likewise.
4228         * sysdeps/powerpc/fesetenv.c: Likewise.
4229         * sysdeps/powerpc/feupdateenv.c: Likewise.
4230         * sysdeps/powerpc/fgetexcptflg.c: Likewise.
4231         * sysdeps/powerpc/fraiseexcpt.c: Likewise.
4232         * sysdeps/powerpc/fsetexcptflg.c: Likewise.
4233         * sysdeps/sparc/fpu/fclrexcpt.c: Likewise.
4234         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4235         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4236         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4237         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4238         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4239         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4240         * math/fenv.h: Adjust prototypes.: Likewise.
4241         * manual/arith.texi: Adjust documentation for these changes.
4242
4243         * manual/arith.texi: Document feraiseexcept.
4244
4245         * sysdeps/powerpc/fegetenv.c: Moved to...
4246         * sysdeps/powerpc/fpu/fegetenv.c: ...here.
4247         * sysdeps/powerpc/fegetround.c: Moved to...
4248         * sysdeps/powerpc/fpu/fegetround.c: ...here.
4249         * sysdeps/powerpc/feholdexcpt.c: Moved to...
4250         * sysdeps/powerpc/fpu/feholdexcpt.c: ...here.
4251         * sysdeps/powerpc/fesetenv.c: Moved to...
4252         * sysdeps/powerpc/fpu/fesetenv.c: ...here.
4253         * sysdeps/powerpc/fenv_libc.h: Moved to...
4254         * sysdeps/powerpc/fpu/fenv_libc.h: ...here.
4255         * sysdeps/powerpc/feupdateenv.c: Moved to...
4256         * sysdeps/powerpc/fpu/feupdateenv.c: ...here.
4257         * sysdeps/powerpc/fgetexcptflg.c: Moved to...
4258         * sysdeps/powerpc/fpu/fgetexcptflg.c: ...here.
4259         * sysdeps/powerpc/fraiseexcpt.c: Moved to...
4260         * sysdeps/powerpc/fpu/fraiseexcpt.c: ...here.
4261         * sysdeps/powerpc/fsetexcptflg.c: Moved to...
4262         * sysdeps/powerpc/fpu/fsetexcptflg.c: ...here.
4263         * sysdeps/powerpc/ftestexcept.c: Moved to...
4264         * sysdeps/powerpc/fpu/ftestexcept.c: ...here.
4265         * sysdeps/powerpc/fesetround.c: Moved to...
4266         * sysdeps/powerpc/fpu/fesetround.c: ...here
4267         * sysdeps/powerpc/fenv_const.c: Moved to...
4268         * sysdeps/powerpc/fpu/fenv_const.c: ...here.
4269
4270         * sysdeps/mips/fclrexcpt.c: Moved to...
4271         * sysdeps/mips/fpu/fclrexcpt.c: ...here.
4272         * sysdeps/mips/fegetenv.c: Moved to...
4273         * sysdeps/mips/fpu/fegetenv.c: ...here.
4274         * sysdeps/mips/fegetround.c: Moved to...
4275         * sysdeps/mips/fpu/fegetround.c: ...here.
4276         * sysdeps/mips/fesetenv.c: Moved to...
4277         * sysdeps/mips/fpu/fesetenv.c: ...here.
4278         * sysdeps/mips/fesetround.c: Moved to...
4279         * sysdeps/mips/fpu/fesetround.c: ...here.
4280         * sysdeps/mips/feupdateenv.c: Moved to...
4281         * sysdeps/mips/fpu/feupdateenv.c: ...here.
4282         * sysdeps/mips/fgetexcptflg.c: Moved to...
4283         * sysdeps/mips/fpu/fgetexcptflg.c: ...here.
4284         * sysdeps/mips/ftestexcept.c: Moved to...
4285         * sysdeps/mips/fpu/ftestexcept.c: ...here.
4286
4287 1999-10-29  Jakub Jelinek  <jakub@redhat.com>
4288
4289         * stdlib/longlong.h: Avoid UDIV_TIME redefinition.
4290         * sysdeps/sparc/sparc32/dl-machine.h: Fix loading of SPARC v8plus
4291         libraries from statically linked programs.
4292         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: POSIX 199309
4293         fix for sigaction on SPARC.
4294         Patches by David S. Miller <davem@redhat.com>.
4295
4296         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Declare
4297         gregset_t and other required structures and defines for SPARC 64bit
4298         ABI as well, not only 32bit ABI.
4299
4300 1999-10-31  Andreas Jaeger  <aj@suse.de>
4301
4302         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Replace __USE_ISOC9X
4303         by __USE_ISOC99 and update comments.
4304
4305         * math/complex.h: Update comments for ISO C99.
4306         * math/fenv.h: Likewise.
4307         * math/test-fenv.c: Likewise.
4308         * math/tgmath.h: Likewise.
4309         * libio/stdio.h: Likewise.
4310         * posix/sys/types.h: Likewise.
4311         * sysdeps/generic/inttypes.h: Likewise.
4312         * sysdeps/generic/stdint.h: Likewise.
4313
4314 1999-10-31  Ulrich Drepper  <drepper@cygnus.com>
4315
4316         * manual/creature.texi (Feature Test Macros): Mention _ISOC99_SOURCE.
4317
4318         * includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
4319         recognize _ISOC99_SOURCE.
4320         * libio/stdio.h: Likewise.
4321         * math/math.h: Likewise.
4322         * math/bits/mathcalls.h: Likewise.
4323         * math/stdio.h: Likewise.
4324         * stdlib/stdlib.h: Likewise.
4325         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
4326         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
4327         * sysdeps/arm/bits/huge_val.h: Likewise.
4328         * sysdeps/generic/bits/mathdef.h: Likewise.
4329         * sysdeps/i386/bits/huge_val.h: Likewise.
4330         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
4331         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4332         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4333         * sysdeps/m68k/bits/huge_val.h: Likewise.
4334         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
4335         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4336         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4337         * sysdeps/powerpc/bits/mathinline.h: Likewise.
4338         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
4339         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4340         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
4341         * wcsmbs/wchar.h: Likewise.
4342
4343         * sysdeps/powerpc/bits/mathdef.h: Moved to...
4344         * sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
4345         * sysdeps/powerpc/bits/mathinline.h: Moved to...
4346         * sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
4347         * sysdeps/powerpc/bits/fenv.h: Moved to...
4348         * sysdeps/powerpc/fpu/bits/fenv.h: ...here.
4349
4350 1999-10-31  Andreas Jaeger  <aj@suse.de>
4351
4352         * manual/math.texi (Errors in Math Functions): Correct TeX code.
4353
4354 1999-10-31  Andreas Jaeger  <aj@suse.de>
4355
4356         * math/libm-test.inc:  Change comments to use ISO C99 instead of
4357         ISO C9x.
4358         * math/w_lgamma.c: Likewise.
4359         * math/w_lgammaf.c: Likewise.
4360         * math/w_lgammal.c: Likewise.
4361         * math/test-fenv.c: Likewise.
4362         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4364         * sysdeps/generic/printf_fphex.c: Likewise.
4365
4366 1999-10-31  Andreas Jaeger  <aj@suse.de>
4367
4368         * manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
4369
4370         * manual/math.texi: Change ISO C9x to ISO C99.
4371         * manual/startup.texi: Likewise.
4372         * manual/stdio.texi: Likewise.
4373
4374 1999-10-31  Andreas Jaeger  <aj@suse.de>
4375
4376         * manual/arith.texi: Change ISO C9x to ISO C99.
4377         * manual/time.texi (Low-Level Time String Parsing): Likewise.
4378
4379 1999-10-30  Ulrich Drepper  <drepper@cygnus.com>
4380
4381         * socket/Makefile (distribute): Add ifreq.h.
4382
4383         * manual/time.texi (Formatting Date and Time): Revise comments about
4384         origins of the formats with ISO C99 references.
4385
4386 1999-10-30  Andreas Jaeger  <aj@suse.de>
4387
4388         * sysdeps/unix/sysv/linux/ifreq.h: New file.
4389
4390 1999-10-29  Andreas Jaeger  <aj@suse.de>
4391
4392         * manual/arith.texi (Parsing of Floats): Document the hexadecimal
4393         input format; mention that strtof and strtold are part of ISO C99.
4394
4395 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
4396
4397         * manual/math.texi (Errors in Math Functions): New section.
4398         * math/libm-err-tab.pl: Moved to...
4399         * manual/libm-err-tab.pl: ...here.
4400         * manual/Makefile: Add rules for math function error table generation.
4401
4402         * stdlib/tst-strtod.c: Add more hexadecimal tests.
4403
4404         * stdlib/strtod.c: Handle hexadecimal numbers with leading digit
4405         != 1 correctly and more than one digit before decimal point..
4406
4407 1999-10-27  Andreas Jaeger  <aj@suse.de>
4408
4409         * sysdeps/generic/ifreq.h: New file.
4410
4411         * resolv/res_hconf.c: Add missing includes to get all prototypes.
4412         (_res_hconf_reorder_addrs): Rewrite.  This never worked before.
4413         Reported by John DiMarco <jdd@cs.toronto.edu>.
4414
4415         (_res_hconf_reorder_addrs): Made thread safe.
4416         (free_mem): New function, needed for malloc debugging.
4417
4418 1999-10-29  Andreas Jaeger  <aj@suse.de>
4419
4420         * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ...
4421         * sysdeps/generic/opensock.c (__opensock): ...here in a new file.
4422         * sysdeps/unix/sysv/linux/if_index.c: Change all callers of
4423         opensock to use __opensock.
4424
4425         * socket/Makefile (routines): Add opensock.
4426
4427         * include/sys/socket.h (__opensock): Add prototype declaration.
4428
4429 1999-10-29  Andreas Jaeger  <aj@suse.de>
4430
4431         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Added missing
4432         N_* constants.
4433         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4434
4435         * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_SYNC_PPP): Added
4436         new constant from Linux 2.3.25pre1.
4437
4438         * sysdeps/unix/sysv/linux/linux_fsinfo.h (BFS_MAGIC): Added.
4439
4440 1999-10-29  Andreas Jaeger  <aj@suse.de>
4441
4442         * math/libm-err-tab.pl: New file to generate a table of
4443         libm-test-ulps values.
4444
4445 1999-10-29  Ulrich Drepper  <drepper@cygnus.com>
4446
4447         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: New file.
4448         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Expect
4449         struct sigcontext* object as second parameter for profil_counter.
4450         Patches by Jakub Jelinek <jakub@redhat.com>.
4451
4452 1999-10-29  Andreas Jaeger  <aj@suse.de>
4453
4454         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Handle reiserfs.
4455         * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
4456
4457         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add values for devpts,
4458         efs, qnx4 and reiser file systems.
4459
4460 1999-10-29  Andreas Jaeger  <aj@suse.de>
4461
4462         * locale/Makefile (others): Set to localedef and locale for make
4463         clean.
4464
4465         * debug/Makefile (generated): Add xtrace for make clean to work.
4466
4467 1999-10-29  Andreas Jaeger  <aj@suse.de>
4468
4469         * stdlib/tst-strtod.c: Add two testcases for hexadecimal input.
4470
4471 1999-10-25  Andreas Jaeger  <aj@suse.de>
4472
4473         * math/libm-test.inc: Added code to ignore the given max ulps.
4474         (print_max_error): Check for ignore_max_ulp.
4475         (check_float_internal): Likewise.
4476         (parse_opt): Parse --ignore-max-ulp.
4477         (main): Initialize ignore_max_ulp.
4478
4479 1999-10-26  Andreas Jaeger  <aj@suse.de>
4480
4481         * stdlib/msort.c: Include <alloca.h> for prototype.
4482         Remove K&R compatibility and _quicksort prototype.
4483
4484         * stdlib/qsort.c: Make code and comments 64 bit clean; clarify
4485         some comments.
4486         Reported by Bernd Loechner <loechner@informatik.uni-kl.de>.
4487         Remove K&R compatibility.
4488         Move prototype declaration to include/stdlib.h.
4489         Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.
4490
4491         * include/stdlib.h: Prototype declaration for _quicksort.
4492
4493 1999-10-27  Andreas Jaeger  <aj@suse.de>
4494
4495         * stdlib/rand_r.c (rand_r): Really use 31 bits, the result was
4496         shifted a bit too much.
4497         Reported by Eugen Dedu <dedu@ese-metz.fr>.
4498
4499 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
4500
4501         * resolv/gethnamaddr.c: Account bytes needed for alignment in
4502         buflen.  Patch by Olaf Kirch <okir@lst.de>.
4503
4504         * md5-crypt/md5test.c: Correct names of MD5 functions after
4505         removing of public names.
4506
4507         * configure.in: Don't allow --enable-kernel without parameter.
4508
4509 1999-10-25  Ulrich Drepper  <drepper@cygnus.com>
4510
4511         * sysdeps/i386/fpu/libm-test-ulps: Remove entries caused by +-0
4512         problems.
4513
4514 1999-10-25  Thorsten Kukuk  <kukuk@suse.de>
4515
4516         * md5-crypt/md5.h: Remove prototypes for public interface.  md5 is
4517         only used internally.
4518         * md5-crypt/md5-crypt.c: Use internal names for md5 functions,
4519         remove weak alias for public names.
4520         * md5-crypt/md5.c: Remove weak aliase.
4521
4522 1999-10-25  Andreas Jaeger  <aj@suse.de>
4523
4524         * math/README.libm-test: New file, documents libm-test.inc.
4525
4526 1999-10-25  Andreas Jaeger  <aj@suse.de>
4527
4528         * math/gen-libm-test.pl: Only generate a new ulps file when -n is
4529         given.
4530         (print_ulps_file): Fix loops to not read @tests and @functions
4531         since those are not initialized with -n now.
4532         (parse_ulps): Set $results{..}{"kind"}.
4533
4534 1999-10-25  Andreas Jaeger  <aj@suse.de>
4535
4536         * math/gen-libm-test.pl (parse_ulps): Ignore 0 has ulp.
4537
4538         * math/libm-test.inc (check_float_internal): Don't print ulps for
4539         wrong sign of zero.
4540
4541 1999-10-20  Andreas Jaeger  <aj@suse.de>
4542
4543         * manual/socket.texi (Address Formats): Describe usage of AF_UNIX
4544         versus AF_LOCAL.
4545         Patch by Robert Bihlmeyer <robbe@orcus.priv.at>.
4546
4547 1999-10-24  Ulrich Drepper  <drepper@cygnus.com>
4548
4549         * math/libm-test.inc: Disable some boundary case tests for inline
4550         function testing.
4551
4552         * math/math.h: Pretty printing.
4553
4554         * sysdeps/i386/fpu/e_atanh.S: Correct handling of NaN.
4555         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4556         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4557         * sysdeps/i386/fpu/e_log10.S: Likewise.
4558         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4559         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4560         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4561         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4562         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4563         * sysdeps/i386/fpu/s_log2.S: Likewise.
4564         * sysdeps/i386/fpu/s_log2f.S: Likewise.
4565         * sysdeps/i386/fpu/s_log2l.S: Likewise.
4566
4567         * sysdeps/i386/fpu/libm-test-ulps: New file.
4568
4569         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Correct return
4570         value for x == 0.
4571         (pow): Correct case x == 0.
4572         (__sgn1l): Correct handling of -0.0.
4573
4574 1999-10-22  Andreas Jaeger  <aj@suse.de>
4575
4576         * math/libm-test.inc (asinh_test): Add test for NaN as input parameter.
4577         (atan_test): Likewise.
4578         (atanh_test): Likewise.
4579         (atan2_test): Likewise.
4580         (carg_test): Likewise.
4581         (ceil_test): Likewise.
4582         (cos_test): Likewise.
4583         (cosh_test): Likewise.
4584         (cpow_test): Likewise.
4585         (erf_test): Likewise.
4586         (erfc_test): Likewise.
4587         (exp_test): Likewise.
4588         (exp10_test): Likewise.
4589         (exp2_test): Likewise.
4590         (expm1_test): Likewise.
4591         (fabs_test): Likewise.
4592         (floor_test): Likewise.
4593         (fmod_test): Likewise.
4594         (gamma_test): Likewise.
4595         (lgamma_test): Likewise.
4596         (log10_test): Likewise.
4597         (log1p_test): Likewise.
4598         (log2_test): Likewise.
4599         (logb_test): Likewise.
4600         (nearbyint_test): Likewise.
4601         (remainder_test): Likewise.
4602         (remquo_test): Likewise.
4603         (sin_test): Likewise.
4604         (sincos_test): Likewise.
4605         (sinh_test): Likewise.
4606         (sqrt_test): Likewise.
4607         (tan_test): Likewise.
4608         (tanh_test): Likewise.
4609         (tgamma_test): Likewise.
4610
4611 1999-10-21  Ulrich Drepper  <drepper@cygnus.com>
4612
4613         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: If x == y, return y.
4614
4615         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't handle -Inf special.
4616
4617         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Check
4618         for -Inf and return NaN.
4619
4620         * configure.in: Correct test for Cygnus gcc versions.
4621
4622 1999-10-21  Andreas Jaeger  <aj@suse.de>
4623
4624         * math/libm-test.inc (cimag_test): New function, tests cimag.
4625         (creal_test): New function, tests creal.
4626         (conj_test): New function, tests conj.
4627         (main): Add new functions.
4628
4629 1999-10-20  Andreas Jaeger  <aj@suse.de>
4630
4631         * math/libm-test.inc: Rewrite to allow different deltas for real
4632         and imaginary part of complex functions.
4633         * math/gen-libm-test.pl: Likewise.
4634
4635 1999-10-19  Ulrich Drepper  <drepper@cygnus.com>
4636
4637         * sysdeps/i386/fpu/s_nextafterl.c: Add __nextafterl and nextafterl
4638         aliases.
4639
4640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Don't handle -Inf special.
4641
4642         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Check
4643         for -Inf and return NaN.
4644
4645         * math/gen-libm-test.pl: Fix program name in help message.
4646
4647         * math/libm-test.inc (check_complex): It's Imaginary, not Complex.
4648
4649         * math/libm-test.inc (gamma_test): Result of gamma(-inf) is +inf.
4650
4651         * sysdeps/i386/Implies: Correct order of libm directories.
4652
4653 1999-10-19  Andreas Jaeger  <aj@suse.de>
4654
4655         * include/bits/ipc.h: Remove K&R compatibility.
4656         * include/libintl.h: Likewise.
4657         * include/math.h: Likewise.
4658         * include/mntent.h: Likewise
4659         * include/netdb.h: Likewise.
4660         * include/pwd.h: Likewise.
4661         * include/sched.h: Likewise.
4662         * include/shadow.h: Likewise
4663         * include/stdlib.h: Likewise.
4664         * include/sys/file.h: Likewise.
4665         * include/sys/gmon.h: Likewise.
4666         * include/sys/ioctl.h: Likewise.
4667         * include/sys/mman.h: Likewise.
4668         * include/sys/resource.h: Likewise.
4669         * include/sys/socket.h: Likewise.
4670         * include/sys/stat.h: Likewise.
4671         * include/sys/sysinfo.h: Likewise.
4672         * include/sys/time.h: Likewise.
4673         * include/sys/times.h: Likewise.
4674         * include/sys/uio.h: Likewise.
4675         * include/sys/wait.h: Likewise.
4676         * include/termios.h: Likewise.
4677         * include/time.h: Likewise.
4678         * include/ulimit.h: Likewise.
4679         * include/utmp.h: Likewise.
4680         * include/wchar.h: Likewise.
4681         * include/wctype.h: Likewise.
4682
4683 1999-10-19  Andreas Jaeger  <aj@suse.de>
4684
4685         * math/libm-test.inc: Remove one K&R compatibility.
4686         (main): Enable nexttoward_test.
4687
4688         * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to
4689         libm-test-ulps.h; pretty print output a bit.
4690
4691 1999-10-19  Andreas Jaeger  <aj@suse.de>
4692
4693         * iconv/iconv_prog.c (main): Set exit value in case that reading
4694         from stdin failed [PR libc/1404].
4695
4696 1999-10-18  Andreas Jaeger  <aj@suse.de>
4697
4698         Added improved math testsuite:
4699         * math/libm-test.inc: New file, contains all tests from
4700         libm-test.c but in a different form.
4701         * math/libm-test.c: Removed.
4702         * sysdeps/generic/libm-test-ulps: New file: Fallback ulps file.
4703         * math/gen-libm-test.pl: New file: Preprocessor.
4704         * math/test-double.c: Adopted to new testsuite.
4705         * math/test-idouble.c: Likewise.
4706         * math/test-float.c: Likewise.
4707         * math/test-ifloat.c: Likewise.
4708         * math/test-ldouble.c: Likewise.
4709         * math/test-ildoubl.c: Likewise.
4710         * math/Makefile: Added rules to generate new suite.
4711
4712 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4713
4714         * inet/rcmd.c (iruserok2): Initialize isbad to -1 [PR libc/1405].
4715         Patch by J. Richard Sladkey <jrs@world.std.com>.
4716
4717         * scripts/config.sub: Update from latest autoconf version.
4718         * scripts/config.guess: Likewise.
4719
4720 1999-10-18  Andreas Jaeger  <aj@suse.de>
4721
4722         * inet/arpa/inet.h: Remove K&R compatibility.
4723         * math/fenv.h: Likewise.
4724
4725 1999-10-18  Andreas Jaeger  <aj@suse.de>
4726
4727         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4728         kernel_sigaction): Remove K&R compatibility.
4729         * sysdeps/unix/sysv/linux/net/if.h: Likewise.
4730         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4731         * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise.
4732         * sysdeps/unix/sysv/linux/sys/io.h: Likewise.
4733         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise.
4734         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
4735         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4736         * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise.
4737         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
4738         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
4739         * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise.
4740         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4741         * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise.
4742         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4743         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4744         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4745         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise.
4746
4747 1999-10-18  Andreas Jaeger  <aj@suse.de>
4748
4749         * iconv/iconv_prog.c (process_block): Save errno value from iconv call.
4750         Patch by Bruno Haible <haible@ilog.fr> [libc/1402].
4751
4752 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4753
4754         * po/gl.po: New file.
4755
4756 1999-10-18  Andreas Schwab  <schwab@suse.de>
4757
4758         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct
4759         namespace selection.
4760
4761 1999-10-18  Andreas Schwab  <schwab@suse.de>
4762
4763         * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid
4764         clash with the TERM environment variable.
4765
4766 1999-10-18  Andreas Jaeger  <aj@suse.de>
4767
4768         * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN
4769         returns now NaN + i NaN.
4770         * sysdeps/generic/s_cprojf.c (__cprojf): Likewise
4771         * sysdeps/generic/s_cprojl.c (__cprojl): Likewise.
4772
4773 1999-10-18  Andreas Jaeger  <aj@suse.de>
4774
4775         * include/aio.h: Remove K&R compatiblity.
4776         * include/alloca.h: Likewise.
4777         * include/db.h: Likewise.
4778         * include/dirent.h: Likewise.
4779         * include/fcntl.h: Likewise.
4780         * include/fpu_control.h: Likewise.
4781         * include/glob.h: Likewise.
4782         * include/grp.h: Likewise.
4783         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
4784         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4785         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4786         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4787
4788         * include/execinfo.h: Add __THROW.
4789
4790 1999-10-18  Ulrich Drepper  <drepper@cygnus.com>
4791
4792         * sysdeps/mips/Implies: Remove wordsize-32 reference.
4793         * sysdeps/mips/mips3/Implies: Add it here.
4794
4795 1999-10-17  Ulrich Drepper  <drepper@cygnus.com>
4796
4797         * elf/elf.h: Add various platform and architecture extensions.
4798
4799         * locale/lc-collate.c (_nl_postload_collate): Disable code for now.
4800         * locale/setlocale.c (setlocale): Don't call _nl_find_locale for
4801         LC_ALL.
4802
4803         * socket/sys/socket.h: Remove K&R compatibility.
4804
4805 1999-10-16  Andreas Jaeger  <aj@suse.de>
4806
4807         * sysdeps/unix/sysv/linux/bits/in.h: Added struct in_pktinfo.
4808
4809 1999-10-15  Andreas Jaeger  <aj@suse.de>
4810
4811         * stdlib/Makefile (tests): Added tst-xpg-basename.
4812
4813         * stdlib/tst-xpg-basename.c: New test file.
4814
4815 1999-10-14  Cristian Gafton  <gafton@redhat.com>
4816
4817         * string/bits/string2.h (__stpcpy_small): Make -pedantic shut up.
4818
4819 1999-10-14  Andreas Jaeger  <aj@suse.de>
4820
4821         * resolv/inet_addr.c (inet_aton): Fix last patch.  The little
4822         endian version works for both endiannesses.
4823
4824         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Optimize for zero
4825         seconds.
4826
4827 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4828
4829         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Don't define
4830         register names unconditionally, only if __USE_GNU.
4831
4832         * debug/Makefile: Fix rules to generate pcprofiledump.
4833
4834         * include/ucontext.h: New file.
4835
4836         * locale/setlocale.c: Fix gcc warning about uninitialized variable.
4837
4838 1999-10-12  Andreas Jaeger  <aj@suse.de>
4839
4840         * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
4841
4842         * math/basic-test.c: Fix typo.
4843
4844         * locale/programs/xstrdup.c: Include string.h for glibc
4845         compilation to get string prototypes.
4846
4847         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Add definition of
4848         gregset_t and fpregset_t.
4849
4850         * sysdeps/generic/s_nexttowardf.c: Add parenthesis to shut up gcc
4851         warnings.  Correct value for x == 0.
4852
4853         * argp/argp-help.c: Remove broken definition of flockfile and
4854         funlockfile.
4855
4856 1999-10-12  Andreas Schwab  <schwab@suse.de>
4857
4858         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Update to match
4859         generic Linux version.
4860
4861 1999-10-12  Ulrich Drepper  <drepper@cygnus.com>
4862
4863         * sysdeps/unix/sysv/linux/bits/sigaction.h: Remove K&R compatibility.
4864
4865 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4866
4867         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Add gregset_t
4868         and fpregset_t definitions.
4869
4870         * malloc/memprof.c (GETSP): Define for PowerPC.
4871         (GETTIME): Fix generic version.
4872
4873 1999-10-10  Philip Blundell  <philb@gnu.org>
4874
4875         * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
4876         __BYTE_ORDER.
4877
4878 1999-10-11  Ulrich Drepper  <drepper@cygnus.com>
4879
4880         * sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
4881         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4882         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
4883         * sysdeps/unix/sysv/linux/powerpc/brk.S: Likewise.
4884
4885         * sysdeps/powerpc/Makefile [math] (libm-support): Remove t_sqrt.
4886
4887         * sysdeps/powerpc/e_sqrt.c: Moved to...
4888         * sysdeps/powerpc/fpu/e_sqrt.c: ...here.
4889         * sysdeps/powerpc/e_sqrtf.c: Moved to...
4890         * sysdeps/powerpc/fpu/e_sqrtf.c: ...here.
4891
4892         * sysdeps/powerpc/submul_1.S: Adjust asm syntax.
4893         * sysdeps/powerpc/sub_n.S: Likewise.
4894         * sysdeps/powerpc/strlen.S: Likewise.
4895         * sysdeps/powerpc/strcpy.S: Likewise.
4896         * sysdeps/powerpc/strcmp.S: Likewise.
4897         * sysdeps/powerpc/strchr.S: Likewise.
4898         * sysdeps/powerpc/stpcpy.S: Likewise.
4899         * sysdeps/powerpc/setjmp.S: Likewise.
4900         * sysdeps/powerpc/rshift.S: Likewise.
4901         * sysdeps/powerpc/ppc-mcount.S: Likewise.
4902         * sysdeps/powerpc/mul_1.S: Likewise.
4903         * sysdeps/powerpc/memset.S: Likewise.
4904         * sysdeps/powerpc/lshift.S: Likewise.
4905         * sysdeps/powerpc/dl-start.S: Likewise.
4906         * sysdeps/powerpc/bzero.S: Likewise.
4907         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4908         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4909         * sysdeps/powerpc/addmul_1.S: Likewise.
4910         * sysdeps/powerpc/add_n.S: Likewise.
4911         * sysdeps/powerpc/__longjmp.S: Likewise.
4912         * sysdeps/powerpc/elf/start.S: Likewise.
4913
4914 1999-10-11  Cristian Gafton  <gafton@redhat.com>
4915
4916         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Declare
4917         SA_SIGINFO.
4918
4919 1999-10-10  Ulrich Drepper  <drepper@cygnus.com>
4920
4921         * stdlib/atexit.c (initial): New variable.  Use to initialize
4922         __exit_funcs.
4923         * stdlib/exit.c (exit): Beware to not free statically allocated
4924         list element [PR libc/1305].
4925
4926         * stdlib/xpg_basename.c (__xpg_basename): Don't return pointer to
4927         slash before the basename [PR libc/1383].
4928
4929         * argp/argp.h: Fix typo in last patch.
4930
4931         * sysdeps/powerpc/sysdep.h: New file.
4932         * sysdeps/unix/powerpc/sysdep.h: New file.
4933         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Include
4934         sysdeps/unix/powerpc/sysdep.h, not sysdeps/unix/sysdep.h.
4935         * sysdeps/powerpc/fpu/s_copysign.S: Use symbolic names for registers
4936         instead of bare numbers.
4937         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
4938         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4939         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4940
4941         * sysdeps/hppa/sysdep.h: New file.
4942
4943 1999-10-10  Andreas Jaeger  <aj@suse.de>
4944
4945         * misc/sgtty.h: Fix typo in last patch.
4946
4947 1999-10-09  Ulrich Drepper  <drepper@cygnus.com>
4948
4949         * nss/getXXbyYY_r.c (do_weak_alias): Remove unnecessary parenthesis.
4950         * sysdeps/powerpc/s_copysign.S: Move to...
4951         * sysdeps/powerpc/fpu/s_copysign.S: ...here.  Use portable asm syntax.
4952         * sysdeps/powerpc/s_copysignf.S: Move to...
4953         * sysdeps/powerpc/fpu/s_copysignf.S: ...here.
4954         * sysdeps/powerpc/s_fabs.S: Move to...
4955         * sysdeps/powerpc/fpu/s_fabs.S: ...here.  Use portable asm syntax.
4956         * sysdeps/powerpc/s_fabsf.S: Move to...
4957         * sysdeps/powerpc/fpu/s_fabsf.S: ...here.
4958         * sysdeps/powerpc/s_fdim.c: Move to...
4959         * sysdeps/powerpc/fpu/s_fdim.c: ...here.
4960         * sysdeps/powerpc/s_fdimf.c: Move to...
4961         * sysdeps/powerpc/fpu/s_fdimf.c: ...here.
4962         * sysdeps/powerpc/s_fmax.S: Move to...
4963         * sysdeps/powerpc/fpu/s_fmax.S: ...here.  Use portable asm syntax.
4964         * sysdeps/powerpc/s_fmaxf.S: Move to...
4965         * sysdeps/powerpc/fpu/s_fmaxf.S: ...here.
4966         * sysdeps/powerpc/s_fmin.S: Move to...
4967         * sysdeps/powerpc/fpu/s_fmin.S: ...here.  Use portable asm syntax.
4968         * sysdeps/powerpc/s_fminf.S: Move to...
4969         * sysdeps/powerpc/fpu/s_fminf.S: ...here.
4970         * sysdeps/powerpc/s_isnan.S: Move to...
4971         * sysdeps/powerpc/fpu/s_isnan.c: ...here.
4972         * sysdeps/powerpc/s_isnanf.S: Move to...
4973         * sysdeps/powerpc/fpu/s_isnanf.S: ...here.
4974         * sysdeps/powerpc/s_llrint.c: Move to...
4975         * sysdeps/powerpc/fpu/s_llrint.c: ...here.
4976         * sysdeps/powerpc/s_llrintf.c: Move to...
4977         * sysdeps/powerpc/fpu/s_llrintf.c: ...here.
4978         * sysdeps/powerpc/s_llround.c: Move to...
4979         * sysdeps/powerpc/fpu/s_llround.c: ...here.
4980         * sysdeps/powerpc/s_llroundf.c: Move to...
4981         * sysdeps/powerpc/fpu/s_llroundf.c: ...here.
4982         * sysdeps/powerpc/s_lrint.c: Move to...
4983         * sysdeps/powerpc/fpu/s_lrint.c: ...here.
4984         * sysdeps/powerpc/s_lrintf.S: Move to...
4985         * sysdeps/powerpc/fpu/s_lrintf.S: ...here.
4986         * sysdeps/powerpc/s_lround.c: Move to...
4987         * sysdeps/powerpc/fpu/s_lround.c: ...here.
4988         * sysdeps/powerpc/s_lroundf.c: Move to...
4989         * sysdeps/powerpc/fpu/s_lroundf.c: ...here.
4990         * sysdeps/powerpc/s_rint.c: Move to...
4991         * sysdeps/powerpc/fpu/s_rint.c: ...here.
4992         * sysdeps/powerpc/s_rintf.c: Move to...
4993         * sysdeps/powerpc/fpu/s_rintf.c: ...here.
4994         * sysdeps/powerpc/t_sqrt.c: Move to...
4995         * sysdeps/powerpc/fpu/t_sqrt: ...here.
4996         * sysdeps/powerpc/w_sqrt.c: Move to...
4997         * sysdeps/powerpc/fpu/w_sqrt.c: ...here.
4998         * sysdeps/powerpc/w_sqrtf.c: Move to...
4999         * sysdeps/powerpc/fpu/w_sqrtf.c: ...here.
5000         * configure.in: Support platforms which have no .text pseudo-op.
5001         Patches partly by Jimi X <jimix@pobox.com>.
5002
5003         * Makeconfig: Look also in all subdirs for shlib-versions files.
5004
5005         * malloc/memprof.sh: Fix --help string a bit.
5006
5007         * argp/argp.h: Remove K&R compatiblity.
5008         * assert/assert.h: Likewise.
5009         * catgets/nl_types.h: Likewise.
5010         * ctype/ctype.h: Likewise.
5011         * db/db.h: Likewise.
5012         * db/ndbm.h: Likewise.
5013         * db2/db.h: Likewise.
5014         * db2/db_185.h: Likewise.
5015         * debug/execinfo.h: Likewise.
5016         * dirent/dirent.h: Likewise.
5017         * dlfcn/dlfcn.h: Likewise.
5018         * gmon/sys/gmon.h: Likewise.
5019         * grp/grp.h: Likewise.
5020         * iconv/gconv.h: Likewise.
5021         * iconv/iconv.h: Likewise.
5022         * include/execinfo.h: Likewise.
5023         * inet/aliases.h: Likewise.
5024         * inet/netinet/ether.h: Likewise.
5025         * inet/netinet/in.h: Likewise.
5026         * intl/libintl.h: Likewise.
5027         * io/fcntl.h: Likewise.
5028         * io/fts.h: Likewise.
5029         * io/ftw.h: Likewise.
5030         * io/utime.h: Likewise.
5031         * io/sys/poll.h: Likewise.
5032         * io/sys/stat.h: Likewise.
5033         * io/sys/statfs.h: Likewise.
5034         * io/sys/statvfs.h: Likewise.
5035         * libio/libio.h: Likewise.
5036         * libio/stdio.h: Likewise.
5037         * linuxthreads/sysdeps/pthread/pthread.h: Likewise.
5038         * locale/locale.h: Likewise.
5039         * login/pty.h: Likewise.
5040         * login/utmp.h: Likewise.
5041         * malloc/mcheck.h: Likewise.
5042         * math/complex.h: Likewise.
5043         * math/math.h: Likewise.
5044         * math/math_private.h: Likewise.
5045         * misc/err.h: Likewise.
5046         * misc/fstab.h: Likewise.
5047         * misc/libgen.h: Likewise.
5048         * misc/mntent.h: Likewise.
5049         * misc/regexp.h: Likewise.
5050         * misc/search.h: Likewise.
5051         * misc/sgtty.h: Likewise.
5052         * misc/ttyent.h: Likewise.
5053         * misc/sys/cdefs.h: Likewise.
5054         * misc/sys/file.h: Likewise.
5055         * misc/sys/ioctl.h: Likewise.
5056         * misc/sys/mman.h: Likewise.
5057         * misc/sys/select.h: Likewise.
5058         * misc/sys/syslog.h: Likewise.
5059         * misc/sys/uio.h: Likewise.
5060         * misc/sys/ustat.h: Likewise.
5061         * nss/nss.h: Likewise.
5062         * posix/sched.h: Likewise.
5063         * posix/unistd.h: Likewise.
5064         * posix/wordexp.h: Likewise.
5065         * posix/sys/times.h: Likewise.
5066         * posix/sys/utsname.h: Likewise.
5067         * posix/sys/wait.h: Likewise.
5068         * pwd/pwd.h: Likewise.
5069         * resolv/netdb.h: Likewise.
5070         * resolv/resolv.h: Likewise.
5071         * resource/ulimit.h: Likewise.
5072         * resource/sys/resource.h: Likewise.
5073         * resource/sys/vlimit.h: Likewise.
5074         * resource/sys/vtimes.h: Likewise.
5075         * rt/aio.h: Likewise.
5076         * setjmp/setjmp.h: Likewise.
5077         * shadow/shadow.h: Likewise.
5078         * signal/signal.h: Likewise.
5079         * socket/socket.h: Likewise.
5080         * stdio/stdio.h: Likewise.
5081         * stdio-common/_itoa.h: Likewise.
5082         * stdio-common/_itowa.h: Likewise.
5083         * stdio-common/printf.h: Likewise.
5084         * stdlib/alloca.h: Likewise.
5085         * stdlib/fmtmsg.h: Likewise.
5086         * stdlib/monetary.h: Likewise.
5087         * stdlib/stdlib.h: Likewise.
5088         * stdlib/ucontext.h: Likewise.
5089         * streams/stropts.h: Likewise.
5090         * string/argz.h: Likewise.
5091         * string/envz.h: Likewise.
5092         * string/string.h: Likewise.
5093         * string/strings.h: Likewise.
5094         * string/bits/string2.h: Likewise.
5095         * sunrpc/rpc/auth.h: Likewise.
5096         * sunrpc/rpc/auth_des.h: Likewise.
5097         * sunrpc/rpc/auth_unix.h: Likewise.
5098         * sunrpc/rpc/clnt.h: Likewise.
5099         * sunrpc/rpc/des_crypt.h: Likewise.
5100         * sunrpc/rpc/netdb.h: Likewise.
5101         * sunrpc/rpc/pmap_clnt.h: Likewise.
5102         * sunrpc/rpc/pmap_prot.h: Likewise.
5103         * sunrpc/rpc/pmap_rmt.h: Likewise.
5104         * sunrpc/rpc/rpc_msg.h: Likewise.
5105         * sunrpc/rpc/svc.h: Likewise.
5106         * sunrpc/rpc/svc_auth.h: Likewise.
5107         * sunrpc/rpc/xdr.h: Likewise.
5108         * sysdeps/unix/sysv/linux/bits/sigstack.h: Likewise.
5109         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5110         * sysvipc/sys/ipc.h: Likewise.
5111         * sysvipc/sys/msg.h: Likewise.
5112         * sysvipc/sys/sem.h: Likewise.
5113         * sysvipc/sys/shm.h: Likewise.
5114         * termios/termios.h: Likewise.
5115         * time/time.h: Likewise.
5116         * time/sys/time.h: Likewise.
5117         * time/sys/timeb.h: Likewise.
5118         * wcsmbs/wchar.h: Likewise.
5119         * wctype/wctype.h: Likewise.
5120
5121 1999-10-05  Roland McGrath  <roland@baalperazim.frob.com>
5122
5123         * mach/mach/mig_support.h [! __USE_GNU]: Use #error to insist that
5124         _GNU_SOURCE be defined.
5125
5126 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
5127
5128         * ctype/ctype.h: Pretty print.
5129
5130         * po/cs.po: Fix typos.
5131
5132         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_spent): Fix
5133         handling of empty entries.  [PR libc/1345]
5134         Patch by Thorsten Kukuk <kukuk@suse.de>.
5135
5136 1999-10-08  Andreas Schwab  <schwab@suse.de>
5137
5138         * debug/xtrace.sh: Fix quoting bugs.  Implement --help and --version.
5139
5140 1999-10-08  Andreas Schwab  <schwab@suse.de>
5141
5142         * debug/pcprofiledump.c: Fix typos.
5143
5144 1999-10-07  Andreas Jaeger  <aj@suse.de>
5145
5146         * math/Makefile (tests): Added basic-tests.
5147
5148         * math/basic-test.c: New file.  Contains function basic_tests from
5149         libm-test.
5150
5151 1999-10-07  Andreas Schwab  <schwab@suse.de>
5152
5153         * malloc/memprof.sh: Fix quoting bugs.
5154
5155 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
5156
5157         * timezone/europe: Update from tzdata1999h.
5158
5159 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
5160
5161         * elf/elf.h: Update from last gABI draft.
5162
5163         * elf/elf.h: Remove EM_486 entry.
5164         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Remove
5165         test for EM_486.
5166
5167 1999-10-07  Ulrich Drepper  <drepper@cygnus.com>
5168
5169         * debug/Makefile (install-bin): Add pcprofiledump and xtrace.
5170         Add rules for both programs.
5171         * debug/pcprofiledump.c: New file.
5172         * debug/xtrace.sh: New file.
5173         * debug/pcprofile.c: Allow creating output file.  Add magic signature
5174         to let reader recognize file format.
5175
5176 1999-10-06  Ulrich Drepper  <drepper@cygnus.com>
5177
5178         * locale/programs/ld-ctype.c (ctype_read): Fix typos in last patch.
5179
5180 1999-10-05  Andreas Jaeger  <aj@suse.de>
5181
5182         * locale/programs/ld-identification.c: Fix typo in comment.
5183         * locale/programs/ld-messages.c: Likewise.
5184         * locale/programs/ld-monetary.c: Likewise.
5185         * locale/programs/ld-name.c: Likewise.
5186
5187         * locale/programs/ld-collate.c (read_lc_collate): Fix typo in comment.
5188         (collate_read): Remove unnecessary comparisons with ignore_content.
5189
5190         * locale/programs/ld-ctype.c (ctype_finish): Loop only over actual
5191         assigned elements.
5192         (ctype_read): Remove unnecessary comparisons with ignore_content.
5193         Fix typos in comments.
5194
5195         * locale/programs/ld-address.c (STR_ELEM): Remove unnecessary
5196         comparisons with ignore_content.
5197
5198 1999-10-05  Ulrich Drepper  <drepper@cygnus.com>
5199
5200         * po/cs.po: Update.
5201
5202         * time/time.h: Move __gmtime_r declaration to ...
5203         * include/time.h: ...here.
5204
5205 1999-10-05  Andreas Jaeger  <aj@suse.de>
5206
5207         * manual/message.texi (The message catalog files): Fix description
5208         to match gencat implementation and Unix98: Message fields are
5209         separated by a single blank space.
5210
5211 1999-10-05  Andreas Jaeger  <aj@suse.de>
5212
5213         * manual/string.texi (Search Functions): Add missing end for
5214         memrchr description.
5215
5216 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
5217
5218         * malloc/memprof.sh: Various small cleanups.  Add short options.
5219         Write error messages to stderr.
5220
5221         * malloc/Makefile ($(objpfx)memprof): Fix typo in rule.
5222
5223         * malloc/memprof.sh: Take options to control memprofstat.
5224
5225         * malloc/Makefile: Add rule to generate memprof script.
5226         * malloc/memprof.sh: New file.
5227
5228         * elf/ldd.bash.in: Add "Usage: " in help message to comply with
5229         GNU standard.
5230
5231 1999-10-04  Andreas Jaeger  <aj@suse.de>
5232
5233         * configure.in: Allow makeinfo 4.*.
5234
5235 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
5236
5237         * stdio-common/vfprintf.c: Correct last patch and use outchar
5238         instead of PUTC to output single characters.
5239         * stdio-common/Makefile (tests): Add bug13.
5240         * stdio-common/bug13.c: New file.
5241
5242         * configure.in: Add additional options --with-gd-include and
5243         --with-gd-lib to help people with strange installations.
5244
5245         * malloc/Makefile: Add libdl dependency to libmemprof.so.
5246         * malloc/Depend: New file.
5247
5248 1999-10-04  Andreas Jaeger  <aj@suse.de>
5249
5250         * timezone/README: Change wording to not mention the current
5251         version.  This way we can't forget to update the file.
5252
5253 1999-10-04  Andreas Jaeger  <aj@suse.de>
5254
5255         * manual/time.texi (Basic CPU Time): Fix typo.
5256         Reported by Ben Pfaff <pfaffben@msu.edu>.
5257
5258 1999-10-04  Ulrich Drepper  <drepper@cygnus.com>
5259
5260         * string/string.h: Move __memrchr declaration to ...
5261         * include/string.h: ...here.
5262
5263 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
5264
5265         * string/Makefile (routines): Add memrchr.
5266
5267         * sysdeps/generic/memrchr.c: Don't undef memchr, undef memrchr.
5268         Correct order of tests for matching bytes.
5269
5270         * string/tester.c: Add tests for memrchr.
5271
5272         * sysdeps/i386/i486/bits/string.h (__memrchr): Correct implementation.
5273         Start from the last character and take decrement not increment
5274         into account for correction in return line.  Add memrchr alias.
5275         * sysdeps/i386/bits/string.h: Likewise.
5276
5277 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
5278
5279         * stdlib/stdlib.h [__USE_BSD]: Declare getloadavg.
5280
5281 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
5282
5283         * sysdeps/i386/i486/bits/string.h (__memrchr): New function.
5284
5285         * sysdeps/i386/bits/string.h (__memrchr): Add cld to comply to
5286         conventions.
5287
5288         * string/Versions: Export memrchr.
5289
5290 1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>
5291
5292         * misc/Versions (GLIBC_2.2): Add getloadavg.
5293         * misc/Makefile (routines): Add getloadavg.
5294         * sysdeps/generic/getloadavg.c: New file.
5295         * sysdeps/mach/getloadavg.c: New file.
5296         * sysdeps/unix/sysv/linux/getloadavg.c: New file.
5297
5298         * sysdeps/generic/memrchr.c: New file, adapted from memchr.c.
5299         * sysdeps/i386/bits/string.h (__memrchr): New function.
5300         * string/string.h: Declare memrchr, __memrchr.
5301         * manual/string.texi (Search Functions): Document memrchr.
5302
5303 1999-10-03  Ulrich Drepper  <drepper@cygnus.com>
5304
5305         * configure.in: Accept --with-gd option and set all libgd-LDFLAGS,
5306         CFLAGS-memprofstat.c, and LIBGD variables.
5307         * config.make.in: Add LIBGD.
5308         * malloc/Makefile: Add rules to generate libmemprof.so and
5309         memprofstat.
5310         * malloc/memprof.c: New file.
5311         * malloc/memprofstat.c: New file.
5312
5313 1999-10-02  Ulrich Drepper  <drepper@cygnus.com>
5314
5315         * resolv/nsap_addr.c (inet_nsap_addr): Little optimization.
5316
5317         * resolv/inet_ntop.c (inet_ntop4): Little optimization.
5318         (inet_ntop6): Likewise.
5319
5320         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Prevent buffer
5321         overruns.
5322
5323         * resolv/tst-aton.c (main): Add more tests.
5324
5325         * resolv/inet_addr.c (inet_aton): Correct some problems with to
5326         large numbers.  Optimize a bit.
5327
5328 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
5329
5330         * resolv/inet_net_ntop.c (inet_net_ntop_ipv4): If BITS is zero
5331         account for added '0'.
5332
5333         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Align
5334         handling of IPv6 tunnel address handling with bind 8.2.1.  Allow
5335         len argument to be greater than needed address size.
5336
5337 1999-10-01  Andreas Jaeger  <aj@suse.de>
5338
5339         * locale/programs/ld-collate.c (insert_value): Add cast to avoid
5340         warning.
5341         * intl/finddomain.c (_nl_find_domain): Likewise.
5342
5343 1999-09-30  Andreas Schwab  <schwab@suse.de>
5344
5345         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Disable debug messages.
5346
5347 1999-09-30  Andreas Jaeger  <aj@suse.de>
5348
5349         * sysdeps/i386/lshift.S: Correct assembler commands to fix warnings.
5350         * sysdeps/i386/rshift.S: Likewise.
5351         * sysdeps/i386/strchrnul.S: Likewise.
5352         * sysdeps/i386/strchr.S: Likewise.
5353         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>,
5354         PR libc/1339.
5355
5356 1999-09-30  Andreas Jaeger  <aj@suse.de>
5357
5358         * manual/examples/pipe.c: Close other end of pipe to make example work.
5359
5360 1999-10-01  Ulrich Drepper  <drepper@cygnus.com>
5361
5362         * timezone/checktab.awk: Update from tzcode1999g.
5363         * timezone/tzselect.ksh: Likewise.
5364         * timezone/africa: Update from tzdata1999g.
5365         * timezone/asia: Likewise.
5366         * timezone/australasia: Likewise.
5367         * timezone/europe: Likewise.
5368         * timezone/northamerica: Likewise.
5369         * timezone/southamerica: Likewise.
5370         * timezone/iso3166.tab: Likewise.
5371         * timezone/zone.tab: Likewise.
5372
5373 1999-09-27  Andreas Jaeger  <aj@suse.de>
5374
5375         * resolv/netdb.h: Remove declaration of getnodebyname.  It has
5376         been renamed to getipnodebyname.  Move flags around.
5377
5378 1999-09-27  Andreas Schwab  <schwab@suse.de>
5379
5380         * manual/message.texi (Locating gettext catalog): Fix typos.
5381
5382 1999-09-27  Andreas Jaeger  <aj@suse.de>
5383
5384         * manual/socket.texi (Out-of-Band Data): Correct example program,
5385         rename some variables for clarity.
5386         Reported by James Antill <james@and.org>, close PR libc/1329.
5387
5388 1999-09-27  Ulrich Drepper  <drepper@cygnus.com>
5389
5390         * locale/programs/ld-collate.c (insert_value): Add hack to not
5391         crash in incomplete collate implementation.
5392
5393         * locale/programs/ld-collate.c (read_directions): Read new token
5394         after accepting sorting rule.
5395
5396 1999-09-26  Ulrich Drepper  <drepper@cygnus.com>
5397
5398         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5399         error message printing.  Correctly test whether all characters of
5400         current token are used.
5401         (ctype_read): NUL terminate last_str.
5402
5403 1999-09-26  Thorsten Kukuk  <kukuk@suse.de>
5404
5405         * nscd/connections.c: Invalidate caches on request.
5406         * nscd/nscd-client.h: Add INVALIDATE to request_type.
5407         * nscd/nscd.c: Add invalidate cache option.
5408         * nscd/nscd.conf: Change log directory to /var/log (FHS).
5409
5410 1999-09-24  Ulrich Drepper  <drepper@cygnus.com>
5411
5412         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_grent): Do
5413         not ovverwrite last group member with NULL pointer.
5414         Reported by Thomas Winder <thomas.winder@newlogic.at>.
5415
5416 1999-09-24  Andreas Jaeger  <aj@suse.de>
5417
5418         * stdio-common/tst-printf.c (main): Add a testcase for large
5419         precision.  Reported by Tymm Twillman <tymm@coe.missouri.edu>.
5420
5421 1999-09-24  Andreas Schwab  <schwab@suse.de>
5422
5423         * math/bits/mathcalls.h: Fix last change.  Also declare __finite.
5424
5425 1999-09-24  Andreas Jaeger  <aj@suse.de>
5426
5427         * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free
5428         normalized_codeset.  Reported by Belicky Zsolt <zsolt@prolan.hu>.
5429
5430 1999-09-23  Mark Kettenis  <kettenis@gnu.org>
5431
5432         * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New
5433         variable.  Define MORECORE_CLEARS to 2.
5434
5435         * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk
5436         doesn't clear the contents of memory that is reallocated after
5437         decrementing the break value first.  Update comment about
5438         MORECORE_CLEARS, explaining the meaning of the values it can be
5439         set to.
5440
5441 1999-09-23  Ulrich Drepper  <drepper@cygnus.com>
5442
5443         * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Set errno in
5444         one more case.
5445
5446         * sysdeps/i386/fpu/bits/mathinline.h (atan): Add st(1) to clobbers.
5447         (log): Likewise.
5448         (log10): Likewise.
5449         (log1p): Likewise.
5450         (log2): Likewise.
5451
5452 1999-09-22  Andreas Jaeger  <aj@suse.de>
5453
5454         * stdio-common/tstscanf.c (main): Add test case from PR libc/1313
5455         reported by Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>.
5456
5457 1999-09-22  Andreas Schwab  <schwab@suse.de>
5458
5459         * stdio-common/vfscanf.c: Fix width handling when scanning floats.
5460
5461 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5462
5463         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5464         the source directory.  Fixes PR libc/1059.
5465
5466 1999-09-21  Ulrich Drepper  <drepper@cygnus.com>
5467
5468         * locale/programs/repertoire.c (repertoire_find_value): Abort if
5469         rep parameter is NULL.
5470         (repertoire_find_symbol): Likewise.
5471         (repertoire_find_seq): Likewise.
5472
5473 1999-09-20  Jean-Louis Martineau  <martinea@IRO.UMontreal.CA>
5474
5475         * nis/nss_compat/compat-pwd.c (getpwuid_plusgroup): Correct
5476         returned errno value in some cases.
5477
5478 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
5479
5480         * iconvdata/Makefile (modules): Add GBK.
5481         (distribute): Add gbk.c.
5482         * iconvdata/gbk.c: New file.
5483         * iconvdata/gconv-modules: Add GBK entry.
5484         Contributed by Sean Chen <sean.chen@turbolinux.com>.
5485
5486         * locale/programs/ld-monetary.c (monetary_output): Remove
5487         byte-order code.
5488
5489         * locale/programs/ld-time.c (time_output): Correct expected number
5490         of iov entries.
5491
5492         * manual/filesys.texi (Testing File Access): Correct description of
5493         SUID.
5494
5495 1999-080-25  H.J. Lu  <hjl@gnu.org>
5496
5497         * csu/defs.awk (.end): Only match with leading white spaces.
5498         (.align): Likewise.
5499
5500 1999-09-19  Ulrich Drepper  <drepper@cygnus.com>
5501
5502         * stdlib/isomac.c: Add va_copy to allowed macros.
5503
5504         * po/pl.po: Updated.
5505
5506 1999-09-17  Andreas Schwab  <schwab@suse.de>
5507
5508         * Makefile (clean): Also remove $(postclean) files.
5509
5510 1999-09-15  Andreas Jaeger  <aj@suse.de>
5511
5512         * pwd/Makefile (otherlibs): Add for building with static-nss.
5513         * inet/Makefile (otherlibs): Likewise.
5514
5515 1999-09-15  Andreas Jaeger  <aj@suse.de>
5516
5517         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
5518         function definition to avoid a compilation failure.
5519
5520 1999-09-15  Andreas Jaeger  <aj@suse.de>
5521
5522         * stdlib/tst-environ.c (main): Add getenv regression test for
5523         environment variable that's one character long.
5524
5525 1999-09-15  Andreas Jaeger  <aj@suse.de>
5526
5527         * sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
5528         signal definitions to let glibc compile with older Linux versions
5529         (2.0.10 to 2.1.100 or so).
5530
5531 1999-09-18  Roland McGrath  <roland@baalperazim.frob.com>
5532
5533         * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,
5534         return zero to indicate no children died yet (assuming WNOHANG).
5535
5536         * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>.
5537
5538 1999-09-17  Roland McGrath  <roland@baalperazim.frob.com>
5539
5540         * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
5541
5542         * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t.
5543         Return _hurd_pgrp instead of 0.
5544
5545 1999-09-19  Roland McGrath  <roland@baalperazim.frob.com>
5546
5547         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): Deallocate and reallocate
5548         pages rather than just reprotecting them.  This way we don't hold on
5549         to the backing space.
5550
5551         * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit.
5552         Use __munmap instead of __vm_deallocate.
5553
5554 1999-09-18  Ulrich Drepper  <drepper@cygnus.com>
5555
5556         * nis/nss_compat/compat-grp.c (getgrgid_plusgroup): Correct
5557         returned errno value in some cases.
5558
5559 1999-09-17  Andreas Jaeger  <aj@suse.de>
5560
5561         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Add also -mcpu=i386
5562         to override user settings.
5563
5564 1999-09-17  Andreas Schwab  <schwab@suse.de>
5565
5566         * sysdeps/unix/sysv/linux/semctl.c: Copy the argument instead of
5567         using a pointer to it.
5568
5569 1999-09-16  Ulrich Drepper  <drepper@cygnus.com>
5570
5571         * time/getdate.c (__getdate_r): Pass correct year to check_mday.
5572         Reported by Vern Staats <staatsvr@asc.hpc.mil>.
5573
5574 1999-09-14  Ulrich Drepper  <drepper@cygnus.com>
5575
5576         * db2/mutex/sparc.gcc (TSL_UNSET): Dereference pointer.
5577
5578         * elf/elf.h (PF_MASKOS): New definition.
5579         (EM_VAX): New definition.
5580
5581 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
5582
5583         * sysdeps/unix/sysv/linux/arm/sys/user.h: Added members
5584         'unsigned char ftype[8]', and 'unsigned int init_flag' to
5585         struct user_fp.  These were added in version 2.2.12 of the
5586         ARM Linux kernel.
5587         * sysdeps/unix/sysv/linux/arm/sys/elf.h: New file.
5588         * sysdeps/unix/sysv/linux/arm/sys/procfs.h: New file.
5589         The generic procfs.h included <asm/elf.h>.  This causes
5590         structure redefinition errors when <sys/user.h> and <sys/procfs.h>
5591         are included in the same source file.  Found when building GDB.
5592
5593 1999-09-13  Ulrich Drepper  <drepper@cygnus.com>
5594
5595         * locale/langinfo.h: Remove byte-order dependent names.
5596         * locale/categories.def: Update after removal of byte-order dependent
5597         names.
5598         * locale/loadlocale.c (_nl_load_locale): Don't allow locale files
5599         with magic number in other byte order.
5600         * locale/newlocale.c (__newlocale): Remove byte-order dependent code.
5601         * locale/C-collate.c: Remove initializers for other byte-order.
5602         * locale/C-ctype.c: Likewise.
5603         * locale/C-monetary.c: Likewise.
5604         * locale/C-paper.c: Likewise.
5605         * locale/C-time.c: Likewise.
5606         * locale/lc-collate.c: Remove byte-order oriented initialization.
5607         * locale/lc-ctype.c: Likewise.
5608         * locale/lc-monetary.c: Likewise.
5609         * locale/lc-time.c: Likewise.
5610         * locale/programs/ld-address.c: Don't generate output in both
5611         byte-orders.
5612         * locale/programs/ld-ctype.c: Likewise.
5613         * locale/programs/ld-paper.c: Likewise.
5614         * locale/programs/ld-time.c: Likewise.
5615         * time/strftime.c (NLW): Don't use different byte-orders.
5616         * wctype/cname-lookup.h (cname_lookup): Likewise.
5617
5618         * Makeconfig (localedir): Define using libdir, not datadir.
5619         (msgcatdir): New variable.
5620         * catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
5621         * elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
5622         msgcatdir.
5623         * intl/Makefile (install-others): Install locale.alias in msgcatdir.
5624         (CPPFLAGS): Define paths using msgcatdir.
5625         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
5626         * po/Makefile (mo-installed): Define using msgcatdir.
5627
5628         * sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
5629
5630 1999-09-12  Ulrich Drepper  <drepper@cygnus.com>
5631
5632         * stdio-common/vfprintf.c: Remove limitation on size of precision
5633         for integers.
5634
5635         * posix/fnmatch.c (internal_fnmatch): Make it compilable outside
5636         glibc by defining internal_function if it isn't already.
5637
5638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
5639         fails don't rely on errno value.
5640         (getanswer_r): Set *ERRNOP in error cases.
5641
5642         * sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
5643         (gaih_inet_serv): Return EIA_NODATA if name is known but has no
5644         associated data.  Test for matching numeric address and family.
5645         (getaddrinfo): Remember EAI_NODATA result and return this in case
5646         everything fails.
5647         Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
5648
5649         * locale/programs/ld-address.c: Fix handling of non-existing
5650         definitions for this category.  Correctly ignore content of this
5651         category is this is necessary.
5652         * locale/programs/ld-collate.c: Likewise.
5653         * locale/programs/ld-ctype.c: Likewise.
5654         * locale/programs/ld-identification.c: Likewise.
5655         * locale/programs/ld-measurement.c: Likewise.
5656         * locale/programs/ld-messages.c: Likewise.
5657         * locale/programs/ld-monetary.c: Likewise.
5658         * locale/programs/ld-name.c: Likewise.
5659         * locale/programs/ld-numeric.c: Likewise.
5660         * locale/programs/ld-paper.c: Likewise.
5661         * locale/programs/ld-telephone.c: Likewise.
5662         * locale/programs/ld-time.c: Likewise.
5663         * locale/programs/locfile.h (handle_copy): Take extra parameter
5664         with result pointer.  Fill in name of locale from which to copy.
5665         Correctly read token after `END'.
5666
5667         * locale/programs/localedef.c (main): Correct handling copy.
5668         (add_to_readlist): Take extra parameter which says whether we
5669         are supposed to read the file or not.
5670         (find_locale): Call add_to_readlist with extra parameter set to 0.
5671
5672         * locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
5673         instead of wrong number in array definitions.
5674         (add_to_readlist): Update prototype.
5675
5676         * locale/programs/locfile.c (locfile_read): Mark categories not
5677         available in source file as read.
5678         (write_all_categories): Fix typo.
5679
5680         * locale/programs/locales.h: Removed.
5681
5682 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5683
5684         * elf/elf.h (SHF_MASKOS): Added.
5685
5686         * sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
5687
5688 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5689
5690         * manual/install.texi (Configuring and compiling): Mention GCC 2.95.
5691
5692 1999-09-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5693
5694         * configure.in: Fix make version test for make 3.77.95 and later
5695         versions.
5696         Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
5697
5698 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5699
5700         * wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
5701
5702         * sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
5703         WINT_MAX values.
5704
5705         * wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
5706
5707 1999-09-09  Andreas Schwab  <schwab@suse.de>
5708
5709         * elf/link.h: Fix comment.
5710
5711 1999-09-10  Ulrich Drepper  <drepper@cygnus.com>
5712
5713         * math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
5714
5715         * math/math.h: Pretty print.
5716
5717 1999-09-10  Andreas Schwab  <schwab@suse.de>
5718
5719         * sysdeps/generic/getenv.c (getenv): Fix lookup for single
5720         character variable on bigendian platforms without unaligned memory
5721         access.
5722
5723 1999-09-07  Cristian Gafton  <gafton@redhat.com>
5724
5725         * sysdeps/unix/sysv/linux/sys/raw.h: New file
5726         * sysdeps/unix/sysv/linux/Dist: Add raw.h.
5727         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
5728
5729 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5730
5731         * sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
5732
5733         * time/ap.c: Removed.  It was not used.
5734         * time/date.c: Likewise.
5735         * sysdeps/unix/nlist.c: Likewise.
5736         * sysdeps/generic/nlist.c: Likewise.
5737         * sysdeps/generic/varargs.h: Likewise.
5738         * stdio-common/scanf11.c: Likewise.
5739         * stdio-common/scanf6.c: Likewise.
5740         * scripts/=__ify: Likewise.
5741         * scripts/printsources: Likewise.
5742         * resolv/getnetnamadr.c: Likewise.
5743         * posix/id.c: Likewise.
5744         * misc/ioctltst.c: Likewise.
5745         * misc/nlist.h: Likewise.
5746         * math/test-math.h: Likewise.
5747         * include/nlist.h: Likewise.
5748
5749 1999-09-06  Andreas Schwab  <schwab@suse.de>
5750
5751         * time/tzset.c (compute_change): Replace slow loop to compute T by
5752         simple algorithm.
5753
5754 1999-09-06  Ulrich Drepper  <drepper@cygnus.com>
5755
5756         * iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
5757         escape sequences out even if the character itself does not fit
5758         into the buffer.
5759
5760         * iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
5761
5762 1999-08-31  H.J. Lu  <hjl@gnu.org>
5763
5764         * nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
5765
5766 1999-09-05  Roland McGrath  <roland@baalperazim.frob.com>
5767
5768         * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
5769         it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
5770         (_hurd_priority_which_map):
5771
5772 1999-09-04  Ulrich Drepper  <drepper@cygnus.com>
5773
5774         * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
5775
5776 1999-09-03  Andreas Schwab  <schwab@suse.de>
5777
5778         * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
5779         fork from __syscall_fork to __libc_fork.
5780         * posix/Versions: Add __libc_fork and __vfork to version
5781         GLIBC_2.1.2.
5782
5783 1999-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5784
5785         * io/ftwtest-sh: Set LC_ALL and LANG to fix locale
5786         dependencies in sort.
5787
5788 1999-09-01  H.J. Lu  <hjl@gnu.org>
5789
5790         * sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
5791
5792         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
5793         <sys/user.h> instead of <asm/user.h>.
5794
5795 1999-09-02  Ulrich Drepper  <drepper@cygnus.com>
5796
5797         * elf/elf.h: Update PARISC-specific flags and symbolic names.
5798
5799 1999-09-01  Ulrich Drepper  <drepper@cygnus.com>
5800
5801         * elf/elf.h: Update PARISC relocations.
5802
5803 1999-08-31  Scott Bambrough  <scottb@netwinder.org>
5804
5805         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
5806         #ifdef statement to prevent it from being included twice.
5807         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
5808         #include <bits/armsigctx.h>.
5809
5810 1999-08-31  Andreas Schwab  <schwab@suse.de>
5811
5812         * locale/C-collate.c: Add missing initialisations.
5813         * locale/C-ctype.c: Likewise.
5814
5815 1999-08-31  Ulrich Drepper  <drepper@cygnus.com>
5816
5817         * time/strftime.c (my_strftime): Remove unneeded variable len.
5818
5819         * time/strptime.c: Undo last change.
5820
5821 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
5822
5823         * locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
5824         Change charset.h to charmap.h.
5825         (categories): Add new categories.  Leave out collate for now.
5826         Update build rules.
5827         * locale/categories.def: Add definitions for new categories.
5828         * locale/langinfo.h: Likewise.
5829         * locale/locale.h: Likewise.
5830         * locale/C-address.c: New file.
5831         * locale/C-identification.c: New file.
5832         * locale/C-measurement.c: New file.
5833         * locale/C-name.c: New file.
5834         * locale/C-paper.c: New file.
5835         * locale/C-telephone.c: New file.
5836         * locale/lc-address.c: Likewise.
5837         * locale/lc-identification.c: Likewise.
5838         * locale/lc-measurement.c: Likewise.
5839         * locale/lc-name.c: Likewise.
5840         * locale/lc-paper.c: Likewise.
5841         * locale/lc-telephone.c: Likewise.
5842         * locale/C-ctype.c: Update for locale rewrite.
5843         * locale/C-messages.c: Likewise.
5844         * locale/C-monetary.c: Likewise.
5845         * locale/C-time.c: Likewise.
5846         * locale/lc-collate.c: Likewise.
5847         * locale/lc-ctype.c: Likewise.
5848         * locale/lc-monetary.c: Likewise.
5849         * locale/lc-time.c: Likewise.
5850         * locale/localeinfo.h: Likewise.
5851         * locale/newlocale.c: Likewise.
5852         * locale/setlocale.c: Likewise.
5853         * locale/weight.h: Likewise.
5854         * locale/findlocale.c: Unconditionally use mmap.
5855         Handle new categories.
5856         * locale/loadlocale.c: Likewise.
5857         * locale/iso-3166.def: New file.
5858         * locale/iso-639.def: New file.
5859         * locale/programs/charmap-kw.gperf: Add new keywords.
5860         * locale/programs/locfile-kw.gperf: Likewise.
5861         * locale/programs/locfile-token.h: Define new tokens.
5862         * locale/programs/charmap.c: Rewrite to handle multibyte charsets.
5863         * locale/programs/charmap.h: New file.
5864         * locale/programs/charset.h: Removed.
5865         * locale/programs/config.h: Add __LC_LAST.
5866         * locale/programs/lc-address.c: New file.
5867         * locale/programs/lc-identification.c: New file.
5868         * locale/programs/lc-measurement.c: New file.
5869         * locale/programs/lc-name.c: New file.
5870         * locale/programs/lc-paper.c: New file.
5871         * locale/programs/lc-telephone.c: New file.
5872         * locale/programs/lc-collate.c: Update for locale rewrite.
5873         * locale/programs/lc-ctype.c: Likewise.
5874         * locale/programs/lc-messages.c: Likewise.
5875         * locale/programs/lc-monetary.c: Likewise.
5876         * locale/programs/lc-numeric.c: Likewise.
5877         * locale/programs/lc-time.c: Likewise.
5878         * locale/programs/locale.c: Likewise.
5879         * locale/programs/localedef.c: Likewise.
5880         * locale/programs/locfile.c: Likewise.
5881         * locale/programs/repertoire.c: Likewise.
5882         * locale/programs/repertoire.h: Likewise.
5883         * locale/programs/locfile.c: Update prototypes.
5884         Update handle_copy definition.
5885         * locale/programs/linereader.c: Add handling of wide char strings and
5886         new definition file syntax.
5887         * locale/programs/linereader.h (struct token): Add elements for wide
5888         character strings.
5889         * locale/programs/locale-spec.c: Disable handling of collation
5890         elements for now.
5891         * locale/programs/simple-hash.h: Cleanup.
5892         * locale/programs/stringtrans.h: Handle quite of end of line.
5893         * string/strcoll.c: Fall back on strcmp for now.
5894         * string/strxfrm.c: Fall back on strncpy/strlen for now.
5895         * time/strftime.c: Use new wide character data for wcsftime.
5896         * time/strptime.c: Remove _nl_C_LC_TIME declaration.
5897         * wctype/cname-lookup.h: Update for new LC_CTYPE data.
5898
5899         * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
5900         compiling for i386 to avoid i686-like GOT pointer computation.
5901
5902         * db2/db_int.h: Change tsl_t type to u_int32_t.
5903         * db2/mutex/mutex.c: Allow Alpha mutex definitions.
5904         * db2/mutex/alpha.h: New file.
5905         * db2/mutex/sparc.gcc: Fix store code for v9.  Simplify clear code.
5906         * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
5907         known.
5908         Patches by Richard Henderson.
5909
5910         * stdlib/tst-environ.c: Add cast to avoid warning.
5911         * timezone/test-tz.c: Use setenv instead of putenv.
5912
5913 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5914
5915         * manual/libc.texinfo: Update version and date.
5916
5917         * manual/locale.texi (Formatting Numbers): Fix @node pointers.
5918
5919         * manual/filesys.texi (Working with Directory Trees): Add missing @code.
5920         (File System Interface): Correct entry.
5921         (Permission Bits): Add missing commata after @xref.
5922
5923 1999-08-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5924
5925         * timezone/tst-timezone.c (main): Don't pass const strings to
5926         putenv to avoid warnings.
5927
5928         * posix/regexbug1.c: Include <stdio.h> for puts prototype.
5929
5930 1999-08-29  Thorsten Kukuk  <kukuk@suse.de>
5931
5932         * nis/Versions: Add _nss_*_getipnodebyname_r.
5933         * nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
5934         * nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
5935         * nss/Versions: Add _nss_files_getipnodebyname_r.
5936
5937 1999-08-28  H.J. Lu  <hjl@gnu.org>
5938
5939         * nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
5940         memory for buffer.
5941
5942 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5943
5944         * sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
5945         kernel.
5946         * inet/netinet/in.h: Likewise.
5947         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5948         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5949
5950 1999-08-28  Ulrich Drepper  <drepper@cygnus.com>
5951
5952         * malloc/malloc.c (ptmalloc_init): Don't use variables to set
5953         thresholds for SUID binaries.  [PR libc/1277]
5954
5955         * posix/regexbug1.c: Add one more similar case.
5956
5957 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5958
5959         * manual/install.texi (Running make install): Give examples for
5960         timezone and locale installation.
5961
5962 1999-08-28  Zack Weinberg  <zack@bitmover.com>
5963
5964         * glibcbug.in: Get CCVERSION from autoconf substitution.
5965         * configure.in: Calculate and substitute CCVERSION.
5966
5967 1999-08-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5968
5969         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
5970         partially reverting a patch from 1998-12-29.  We just can't change
5971         the flags, kernels with different flags lead to
5972         incompatibilities.
5973
5974 1999-08-26  Andreas Schwab  <schwab@suse.de>
5975
5976         * locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
5977
5978 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5979
5980         * inet/rexec.c (rexec): Free memory if strings were allocated in
5981         ruserpass.  Reported by Andrew Morton <morton@nortelnetworks.com>.
5982
5983 1999-08-27  Ulrich Drepper  <drepper@cygnus.com>
5984
5985         * locale/categories.def: Use __YESSTR amd __NOSTR in definition.
5986
5987         * manual/argp.texi: Fixing language and typos.
5988         * manual/conf.texi: Likewise.
5989         * manual/contrib.texi: Likewise.
5990         * manual/ctype.texi: Likewise.
5991         * manual/filesys.texi: Likewise.
5992         * manual/install.texi: Likewise.
5993         * manual/job.texi: Likewise.
5994         * manual/lang.texi: Likewise.
5995         * manual/llio.texi: Likewise.
5996         * manual/locale.texi: Likewise.
5997         * manual/math.texi: Likewise.
5998         * manual/nss.texi: Likewise.
5999         * manual/pipe.texi: Likewise.
6000         * manual/signal.texi: Likewise.
6001         * manual/socket.texi: Likewise.
6002         * manual/stdio.texi: Likewise.
6003         * manual/sysinfo.texi: Likewise.
6004         * manual/users.texi: Likewise.
6005         Patches by Neil Booth <NeilB@earthling.net>.
6006
6007 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
6008
6009         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
6010         unsigned to avoid warning.  [PR libc/1271].
6011
6012         * conform/conformtest.pl: Allow testing regex.h which requires
6013         sys/types.h being included.
6014
6015         * conform/data/regex.h-data: Allow *_t types.
6016         * conform/data/pwd.h-data: Likewise.
6017         * conform/data/sched.h-data: Likewise.
6018         * conform/data/pthread.h-data: Likewise.
6019         * conform/data/search.h-data: Likewise.
6020
6021         * misc/search.h: Avoid namespace pollution.
6022
6023         * conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
6024         pwd.h, and pthread.h.
6025         * conform/data/pthread.h-data: New file.
6026         * conform/data/pwd.h-data: New file.
6027         * conform/data/regex.h-data: New file.
6028         * conform/data/sched.h-data: New file.
6029         * conform/data/search.h-data: New file.
6030
6031         * NAMESPACE: Add REG_ for regex.h.
6032
6033         * locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
6034         they are removed.
6035
6036         * configure.in (libc_cv_asm_global_directive): Indent .text in
6037         test code so that the lame HPUX compiler recognizes it.
6038         * sysdeps/hppa/bits/endian.h: New file.
6039         * sysdeps/unix/sysv/hpux/bits/errno.h: New file.
6040         * sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
6041         * sysdeps/unix/sysv/hpux/bits/stat.h: New file.
6042         * sysdeps/unix/sysv/hpux/bits/types.h: New file.
6043
6044         * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
6045         Patch by John Tobey <jtobey@banta-im.com>.
6046
6047         * sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
6048
6049         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
6050         old_siocfifconf definition to toplevel.
6051         (__protocol_available): Remove old_siocfifconf definition.
6052
6053 1999-08-25  Mark Kettenis  <kettenis@gnu.org>
6054
6055         * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
6056         really dealing with a master pseudo terminal, and really returning
6057         the name of the associated slave pseudo terminal by checking the
6058         device number.
6059         * sysdeps/unix/sysv/linux/pty-private.h: Removed.
6060         * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
6061
6062 1999-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6063
6064         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
6065         underscore in _llseek entry.
6066
6067         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
6068         entry.
6069
6070         * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
6071         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
6072
6073         * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
6074         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6075
6076 1999-08-25  Ulrich Drepper  <drepper@cygnus.com>
6077
6078         * inet/Makefile (routines): Add getipnodebynm.
6079         * inet/getipnodebynm.c: New file.
6080         * nss/digits_dots.c: If HAVE_TYPE is define type contains the
6081         interface type.
6082         * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
6083         EXTRA_ARGS_VALUE is not already done.
6084         (internal_getent): Allow extra parameters and pass them to parse_line.
6085         (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
6086         (_nss_files_get##name##_r): Likewise.
6087         * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
6088         and EXTRA_ARGS_VALUE to pass flags and type to parser.
6089         Add getipnodebyname function.
6090         * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
6091         EXTRA_ARGS_VALUE is not already done.
6092         (parse_line): Add EXTRA_ARGS_DECL to parameter list.
6093         * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
6094         to parse_line.
6095         (_nss_db_get##name##_r): Pass extra parameters to lookup.
6096         (_nss_db_get,ENTNAME_r): Likewise.
6097         * sysdeps/generic/if_index.c (__protocol_available): New function.
6098         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6099
6100 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
6101
6102         * login/pty-private.h: Move to...
6103         * sysdeps/generic/pty-private.h: ...here.
6104         * sysdeps/unix/sysv/linux/pty-private.h: New file.  Linux specific
6105         version.
6106         * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
6107         available.
6108
6109         * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
6110         of __overflow.
6111
6112         * conform/conformtest.pl (@headers): Add monetary.h-data,
6113         mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
6114         * conform/data/monetary.h-data: New file.
6115         * conform/data/mqueue.h-data: New file.
6116         * conform/data/ndbm.h-data: New file.
6117         * conform/data/nl_types.h.h-data: New file.
6118         * conform/data/poll.h-data: New file.
6119
6120         * stdio-common/Makefile (test): Add tst-cookie.
6121         * stdio-common/tst-cookie.c: New file.
6122
6123         * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
6124         changed in last patch.  Reported by Ralf Baechle.
6125
6126 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6127
6128         * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
6129
6130         * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
6131         Patches by Ralf Baechle <ralf@uni-koblenz.de>
6132
6133 1999-08-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6134
6135         * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
6136         Linux 2.3.15.
6137
6138 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
6139
6140         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
6141         syscall.
6142         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6143
6144         * misc/libgen.h: Don't take basename macro as taking arguments.
6145
6146         * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
6147         for gcc >= 2.95.
6148         * sysdeps/i386/bits/huge_val.h: Likewise.
6149         * sysdeps/i386/bits/huge_val.h: Likewise.
6150         * sysdeps/ieee754/bits/huge_val.h: Likewise.
6151         * sysdeps/m68k/bits/huge_val.h: Likewise.
6152         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
6153         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
6154
6155         * conform/Makefile: New file.
6156         * conform/conformtest.pl: New file.
6157         * conform/data/aio.h-data: New file.
6158         * conform/data/assert.h-data: New file.
6159         * conform/data/cpio.h-data: New file.
6160         * conform/data/ctype.h-data: New file.
6161         * conform/data/dirent.h-data: New file.
6162         * conform/data/dlfcn.h-data: New file.
6163         * conform/data/errno.h-data: New file.
6164         * conform/data/fcntl.h-data: New file.
6165         * conform/data/float.h-data: New file.
6166         * conform/data/fmtmsg.h-data: New file.
6167         * conform/data/fnmatch.h-data: New file.
6168         * conform/data/ftw.h-data: New file.
6169         * conform/data/glob.h-data: New file.
6170         * conform/data/grp.h-data: New file.
6171         * conform/data/iconv.h-data: New file.
6172         * conform/data/inttypes.h-data: New file.
6173         * conform/data/iso646.h-data: New file.
6174         * conform/data/langinfo.h-data: New file.
6175         * conform/data/libgen.h-data: New file.
6176         * conform/data/locale.h-data: New file.
6177         * conform/data/math.h-data: New file.
6178
6179 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
6180
6181         * posix/execvp.c (execvp): Correct copying of file name.
6182
6183 1999-08-23  Mark Kettenis  <kettenis@gnu.org>
6184
6185         * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
6186
6187 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
6188
6189         * stdio-common/Makefile: Move addition to routines to the right place.
6190
6191 1999-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6192
6193         * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file.  Neccessary
6194         since mips*-linux has ECANCELED.
6195
6196 1999-08-23  Andreas Schwab  <schwab@suse.de>
6197
6198         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
6199         SIGCONTEXT_EXTRA_ARGS.
6200         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
6201         * sysdeps/generic/sigcontextinfo.h: Likewise.
6202         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
6203         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
6204         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6205         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
6206         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
6208
6209 1999-08-23  Ulrich Drepper  <drepper@cygnus.com>
6210
6211         * posix/regexbug1.c: Make it an error if the test fails.
6212
6213 1999-08-23  Andreas Schwab  <schwab@suse.de>
6214
6215         * posix/regex.c (re_match_2_internal): Correct check for charset
6216         after exactn in loop.
6217
6218 1999-08-22  Ulrich Drepper  <drepper@cygnus.com>
6219
6220         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
6221         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6222         Patch by Joel Klecker.
6223
6224         * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
6225         (__gconv_find_transform): Update prototype.
6226         (__gconv_open): Likewise.
6227         * iconv/gconv_open.c: Take extra parameter and pass it to
6228         __gconv_find_transform.
6229         * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
6230         flags.  If GCONV_AVOID_NOCONV flag is set don't return copying
6231         transformation.
6232         * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
6233         * wcsmbs/wcsmbsload.c: Likewise.
6234         * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
6235         iconv for glibc.
6236         * intl/gettextP.h: Likewise.
6237         * intl/loadmsgcat.c: Likewise.
6238
6239         * posix/regexbug1.c: New file.
6240         * posix/Makefile (tests): Add regexbug1.
6241
6242 1999-08-22  Mark Kettenis  <kettenis@gnu.org>
6243
6244         * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
6245         * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
6246         installing PORT in the descriptor cell.
6247
6248 1999-08-19  Roland McGrath  <roland@baalperazim.frob.com>
6249
6250         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
6251         TIMEOUT as outputs of the asm to indicate that the signal thread
6252         might mutate them.
6253         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
6254         mach_msg if only sending or only receiving (i.e., not an RPC).  When
6255         making an RPC that might get interrupted, save OPTION and the portion
6256         of the message buffer that gets clobbered by an EINTR reply message,
6257         and properly restore them before attempting to retry the request
6258         message send.
6259
6260 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
6261
6262         * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
6263         definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
6264         CHAR_T, UCHAR_T and WIN_T to make the code compile again when
6265         stdio is used instead of libio.
6266         * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
6267         definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
6268         to make the code compile again when stdio is used instead of
6269         libio.
6270         (vfprintf): Only check for correct orientation if ORIENT is
6271         defined.
6272         * stdio-common/Makefile (routines): Only add vfwprintf and
6273         vfwscanf if we're using libio.
6274
6275 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
6276
6277         * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
6278         any additional prototype just as we do for libio.
6279
6280 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
6281
6282         * include/bits/xopen_lim.h: Do not define STREAM_MAX and
6283         TZNAME_MAX.  These limits are not X/Open specific.
6284         * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
6285         is defined.
6286
6287 1999-08-21  Mark Kettenis  <kettenis@gnu.org>
6288
6289         * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
6290         UIO_MAXIOV is left undefined in sys/uio.h.
6291         * stdio-common/stdio_lim.h.in: Adapt for change above.
6292
6293 1999-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6294
6295         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
6296         * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
6297         Patches by Ralf Baechle <ralf@uni-koblenz.de>
6298
6299 1999-08-21  Ulrich Drepper  <drepper@cygnus.com>
6300
6301         * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
6302
6303 1999-08-20  Ulrich Drepper  <drepper@cygnus.com>
6304
6305         * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
6306
6307         * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
6308         call.  It should not be necessary andis harmful for Alpha.
6309
6310         * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
6311         type.  [PR libc/1269]
6312
6313         * posix/execvp.c (execvp): Allocate array name of correct size.
6314         Optimize inner loop.  Use execve directly, not execv.
6315
6316         * elf/elf.h: Corrected SHT_ values from new draft.
6317
6318         * intl/gettextP.h (struct loaded_domain): Add conv element.
6319         * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
6320         Instead of returning found message directly convert it using iconv
6321         if a conversion was found when opening the file.
6322         * intl/loadinfo.h: Protect against multiple inclusion.
6323         Declare _nl_find_msg.
6324         * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
6325         in the message file and if necessary find approrpiate
6326         conversion to match currently selected charset.
6327         * include/libintl.h: Declare __dgettext and __dcgettext.
6328         * include/iconv.h: New file.
6329
6330 1999-08-20  Andreas Schwab  <schwab@suse.de>
6331
6332         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6333
6334 1999-08-19  Ulrich Drepper  <drepper@cygnus.com>
6335
6336         * sysdeps/unix/sysv/linux/execve.c: New file.  This version terminates
6337         all threads [PR libc/1223].
6338
6339         * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
6340         [PR libc/1165].
6341
6342         * configure.in: Search for programs with prefix gnu* and g* first.
6343         [PR libc/1104].
6344
6345         * dirent/Makefile (routines): Add getdents64.
6346         * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
6347         Remove getdents64.
6348         * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
6349         compiled with _FILE_OFFSET_BITS=64.
6350         * sysdeps/generic/getdents64.c: New file.
6351         * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
6352         __lseek for getdirentries64 definition.
6353
6354         * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
6355
6356         * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
6357         _FILE_OFFSET_BITS=64.
6358
6359         * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
6360         parameter.
6361
6362         * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
6363         after we have the lock.
6364
6365         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
6366         Patch by Richard Henderson.
6367
6368 1999-08-19  Andreas Schwab  <schwab@suse.de>
6369
6370         * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
6371         and call _IO_fwide, to get the wide stream state initialized
6372         correctly.  Don't set _IO_JUMPS.
6373         * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
6374         * libio/vswprintf.c (_IO_vswprintf): Likewise.  Pass
6375         _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
6376         directly.
6377
6378 1999-08-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6379
6380         * math/libm-test.c (jn_test): Fix typo in description.
6381         (erfc_test): Add some more tests.
6382         (erf_test): Add some more tests.
6383
6384 1999-08-19  Andreas Schwab  <schwab@suse.de>
6385
6386         * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
6387         expression using $(exceptions).
6388
6389 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
6390
6391         * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
6392
6393         * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
6394         allocated so far.  [PR libc/1261].
6395
6396         * math/libm-test.c (j0_test): Adjust deltas for m68k.
6397         (jn_test): Likewise.
6398
6399         * dirent/dirent.h: Only define ino64_t if not already done.
6400         * posix/sys/types.h: Likewise.
6401
6402         * ctype/ctype.h: Avoid useless #endif #if pairs.
6403
6404         * dirent/dirent.h: Define ino_t and ino64_t if not done already.
6405         (seekdir): Fix type of second parameter.
6406         * sysdeps/generic/seekdir.c: Likewise.
6407         * sysdeps/mach/hurd/seekdir.c: Likewise.
6408         * sysdeps/unix/seekdir.c: Likewise.
6409
6410         * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
6411
6412 1999-08-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6413
6414         * manual/install.texi (Configuring and compiling): Clarify ix86
6415         situation.
6416
6417 1999-08-18  Ulrich Drepper  <drepper@cygnus.com>
6418
6419         * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
6420         * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
6421         * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
6422         stdio_lim.h.  Define LONG_BIT and WORD_BIT.
6423
6424         * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
6425
6426         * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
6427
6428         * misc/search.h: Don't define NULL.
6429
6430         * posix/sys/types.h: Define blksize_t if it hasn't happened.
6431         Only define key_t and blkcnt_t if it hasn't happened before.
6432         Define blksize_t if not happened before.
6433         * io/sys/stat.h: Don't define pid_t.  Define blkcnt_t and blksize_t.
6434         * sysdeps/generic/bits/types.h: Define __blksize_t.
6435         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6436         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6437         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6438         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6439         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6440         * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
6441         st_blksize member.
6442         (struct stat64): Likewise.
6443         * sysdeps/unix/bsd/bits/stat.h: Likewise.
6444         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6445         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6446         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6447         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6448         * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
6449         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6450
6451         * stdlib/getsubopt.c: Correct type of second argument.
6452         * stdlib/stdlib.h: Likewise.
6453
6454         * stdlib/monetary.h: Don't include sys/types.h.  Define only size_t
6455         and ssize_t.
6456
6457         * sysdeps/generic/putenv.c: Correct type of parameter.
6458         * stdlib/stdlib.h: Likewise.
6459
6460         * sysdeps/generic/msgsnd.c: Correct type of second parameter.
6461         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
6462         * sysvips/sys/msg.h: Likewise.
6463
6464         * sysdeps/generic/semop.c: Correct type of third parameter.
6465         * sysdeps/unix/sysv/linux/semop.c: Likewise.
6466         * sysvipc/sys/sem.h: Likewise.  Don't include sys/types.h, define
6467         size_t.
6468
6469         * sysdeps/generic/shmget.c: Correct type of second parameter.
6470         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
6471         * sysvips/sys/shm.h: Likewise.  Don't include unistd.h and sys/types.h.
6472         Declare __getpagesize here.
6473
6474         * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
6475         sys/types.h.
6476         * sysdeps/gnu/bits/ipc.h: Likewise.
6477         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6478         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6479         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6480         * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
6481         already done.
6482
6483         * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
6484
6485         * debug/versions: Export __cyg_profile_func_enter and
6486         __cyg_profile_func_exit.
6487
6488         * math/bits/mathcalls.h: Pretty print.
6489
6490 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6491
6492         * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
6493         case for new tzdata.
6494
6495         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
6496         unsigned.
6497         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6498         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6499         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6500         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6501
6502         * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
6503
6504         * sysdeps/generic/ualarm.c (ualarm): Change return value and
6505         parameter type to useconds_t.
6506         * sysdeps/unix/bsd/ualarm.c: Likewise.
6507
6508         * sysdeps/generic/usleep.c (usleep): Change parameter type to
6509         useconds_t.
6510         * sysdeps/unix/sysv/linux/usleep.c: Likewise.
6511         * sysdeps/mach/usleep.c: Likewise.
6512
6513         * locale/weight.h: Include <errno.h>.
6514
6515         * posix/sys/types.h: Define type useconds_t if not done already.
6516         * posix/unistd.h: Likewise.  Use this in ualarm and usleep
6517         declarations.
6518         * sysdeps/generic/bits/types.h: Define type __useconds_t.
6519         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6520         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6521         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6522         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6523         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6524
6525         * dirent/dirent.h (telldir): Change return type to long int.
6526         * sysdeps/generic/telldir.c: Likewise.
6527         * sysdeps/mach/hurd/telldir.c: Likewise.
6528         * sysdeps/unix/telldir.c: Likewise.
6529         * sysdeps/unix/bsd/telldir.c: Likewise.  Fix locking problem.
6530
6531         * locale/weight.h: Set errno if an invalid character is found.
6532
6533 1999-08-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6534
6535         * math/libm-test.c (erfc_test): Add test for example from PR
6536         libc/1259.
6537         (erf_test): Likewise.
6538
6539 1999-08-17  Ulrich Drepper  <drepper@cygnus.com>
6540
6541         * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
6542         rewrite.  Patch by Alan Stern <stern@kitsilano.rowland.org>.
6543
6544         * timezone/private.h: Update from tzcode1999e.
6545         * timezone/zic.c: Likewise.
6546
6547         * timezone/africa: Update from tzdata1999e.
6548         * timezone/antarctica: Likewise.
6549         * timezone/asia: Likewise.
6550         * timezone/australasia: Likewise.
6551         * timezone/europe: Likewise.
6552         * timezone/leapseconds: Likewise.
6553         * timezone/northamerica: Likewise.
6554         * timezone/southamerica: Likewise.
6555
6556         * stdio-common/vfprintf.c (process_string_arg): Correct last patch
6557         and write correct number of bytes in case of %ls with precision.
6558         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6559
6560 1999-08-16  Ulrich Drepper  <drepper@cygnus.com>
6561
6562         * nscd/nscd.init: Test for kernel version and make LSB compliant.
6563         Patch by Christian Gafton.
6564
6565         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
6566         O_RSYNC.  Patch by Christian Gafton.
6567
6568         * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
6569         possibly unterminated strings for %ls when a precision is
6570         specified.
6571         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6572
6573         * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
6574         update_conversion_ptrs.
6575         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6576
6577 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6578
6579         * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
6580         Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6581
6582         * wcsmbs/Makefile (tests): Add tst-wcsnlen.
6583         * wcsmbs/tst-wcsnlen.c: New file.
6584
6585 1999-08-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6586
6587         * libio/ioputs.c (_IO_puts): Add missing brace.
6588
6589 1999-07-20  Geoff Keating  <geoffk@cygnus.com>
6590
6591         * math/libm-test.c: Tweak deltas for a clean run on ppc.
6592
6593 1999-08-10  H.J. Lu  <hjl@gnu.org>
6594
6595         * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
6596         (vfprintf): Likewise.
6597         * stdio-common/vfscanf.c (ORIENT): Likewise.
6598         * libio/genops.c (__underflow): Likewise.
6599         (__uflow): Likewise.
6600         * libio/iofputs.c (_IO_fputs): Likewise.
6601         * libio/ioftell.c (_IO_ftell): Likewise.
6602         * libio/iofwrite.c (_IO_fwrite): Likewise.
6603         * libio/ioputs.c (_IO_puts): Likewise.
6604         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6605         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6606
6607 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6608
6609         * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
6610
6611 1999-08-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6612
6613         * manual/job.texi (Process Group Functions): Document getpgid,
6614         getsid.
6615
6616 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6617
6618         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
6619         initialize si_pid from it.
6620         * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
6621         parameter.
6622         * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
6623         * rt/aio_misc.h (struct waitlist): Add caller_pid element.
6624         (struct requestlist): Likewise.
6625         Adjust prototypes of __aio_notify_only and __aio_sigqueue.
6626         * rt/aio_notify.c (__aio_notify_only): Take extra parameter.  Pass it
6627         to __aio_sigqueue.
6628         (__aio_notify): Pass caller PID to __aio_notify_only.
6629         * rt/aio_suspend.c: Initialize caller_pid.
6630         * rt/lio_listio.c: Likewise.
6631         * rt/lio_listio64.c: Likewise.
6632
6633         * rt/lio_listio.c: If nothing has to be done free mutex before
6634         signalling.
6635         * rt/lio_listio64.c: Likewise.
6636
6637 1999-08-10  H.J. Lu  <hjl@gnu.org>
6638
6639         * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
6640         handling.
6641
6642 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6643
6644         * elf/elf.h: Define ElfXX_Versym.
6645         * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
6646         definition.
6647
6648         * stdio-common/vfprintf.c (process_string_arg): Handle precisions
6649         for string output correctly in the wide character case.
6650         Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
6651
6652         * intl/locale.alias: Add catalan.
6653
6654 1999-08-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6655
6656         * manual/install.texi (Configuring and compiling): Mention CFLAGS.
6657
6658 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6659
6660         * po/pt_BR.po: New file.
6661
6662 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6663
6664         * math/libm-test.c (yn_test): Adjust deltas for i386.
6665         (ccosh_test): Likewise.
6666         (jn_test): Likewise.
6667
6668 1999-08-15  Ulrich Drepper  <drepper@cygnus.com>
6669
6670         * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
6671
6672 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6673
6674         * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
6675         problem.
6676
6677 1999-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6678
6679         * configure.in: install-sh lives now in scripts subdir.
6680         PR libc/1255 (bug 4).
6681
6682 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6683
6684         * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
6685         version.
6686
6687         * po/fr.po: Update.
6688
6689 1999-08-11  Thorsten Kukuk  <kukuk@suse.de>
6690
6691         * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
6692
6693 1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
6694
6695         * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
6696         exponent.
6697
6698 1999-08-10  Andreas Schwab  <schwab@suse.de>
6699
6700         * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
6701         header.
6702
6703 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
6704
6705         * elf/elf.h: Added definition of ELFOSABI_ARM.
6706         * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
6707         VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
6708         object's header and ABI values are acceptable.
6709         (VALID_ELF_HEADER): New macro; provide default definition.
6710         (VALID_ELF_OSABI): New macro; provide default definition.
6711         (VALID_ELF_ABIVERSION): New macro; provide default definition.
6712         * sysdeps/arm/dl-machine.h Define ARM specific versions of
6713         VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
6714
6715 1999-08-09  Andreas Schwab  <schwab@suse.de>
6716
6717         * inet/tst-ipnode.c (main): Don't compare integer with NULL.
6718
6719 1999-08-09  Thorsten Kukuk  <kukuk@suse.de>
6720
6721         * sunrpc/svc_run.c (svc_run): Free my_pollfd.
6722
6723 1999-08-09  Andreas Schwab  <schwab@suse.de>
6724
6725         * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
6726
6727 1999-08-08  Ulrich Drepper  <drepper@cygnus.com>
6728
6729         * sysdeps/ieee754/ieee754.h: Handle platforms with special
6730         __FLOAT_WORD_ORDER.  Patch by Joel Klecker <jk@espy.org>.
6731
6732         * string/bits/string2.h: Mark void* operations as extensions.
6733         * sysdeps/i386/i486/bits/string.h: Likewise.
6734
6735         * debug/Makefile (routines): Add noophooks.
6736         (extra-libs): Add libpcprofile.  Add rules to build libpcprofile.
6737         * debug/noophooks.c: New file.
6738         * debug/pcprofile.c: New file.
6739
6740 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6741
6742         * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
6743         systems which allow using the functions also on non-seekable
6744         devices.
6745
6746         * resolv/res_send.c (res_send): Recompute timeout for poll for
6747         each jump to `wait'.
6748
6749         * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
6750         braces to avoid warnings.
6751         (IN6ADDR_LOOPBACK_INIT): Likewise.
6752
6753         * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
6754         MSG_DONTWAIT).
6755
6756 1999-08-06  H.J. Lu  <hjl@gnu.org>
6757
6758         * malloc/malloc.c: Initialize __libc_pagesize early.
6759
6760 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6761
6762         * string/string-inlines.c: Undefined __USE_STRING_INLINES before
6763         defining it.
6764
6765         * inet/Makefile (tests): Add tst-ipnode.
6766         * inet/tst-ipnode.c: New file.
6767
6768 1999-08-06  Andreas Schwab  <schwab@suse.de>
6769
6770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
6771         New definitions.
6772         (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
6773         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6774         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
6775         New definitions.
6776         (O_LARGEFILE): Define only if __USE_LARGEFILE64.
6777         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
6778
6779 1999-08-06  Jakub Jelinek  <jj@ultra.linux.cz>
6780
6781         * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
6782         * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
6783         * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
6784
6785 1999-08-06  Ulrich Drepper  <drepper@cygnus.com>
6786
6787         * resolv/res_send.c (res_send): Don't test file descriptor for
6788         range, we use poll now.  [PR libc/1240]
6789
6790 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
6791
6792         * libio/genops.c (_IO_flush_all): Don't access elements beyond what
6793         2.0 defined if they are not available.
6794
6795 1999-08-05  Thorsten Kukuk  <kukuk@suse.de>
6796
6797         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
6798         Define.
6799
6800 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
6801
6802         * rt/aio_read.c: Fix return value.
6803         * rt/aio_read64.c: Likewise.
6804         Reported by Christian Gafton.
6805
6806         * rt/aio_write.c: Fix return value.
6807         * rt/aio_write64.c: Likewise.
6808         * rt/aio_fsync.c: Likewise.
6809
6810         * rt/aio_misc.c: Set errno at correct place.
6811
6812         * rt/aio_fsync.c: Test OP parameter for correct values.
6813
6814         * hesiod/hesiod.c: Avoid emitting rcsid in object file.
6815
6816 1999-08-04  Andreas Schwab  <schwab@suse.de>
6817
6818         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
6819         Initialize result to one.
6820         (GET_NPROCS_CONF_PARSER): Likewise.
6821
6822 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
6823
6824         * inet/ether_hton.c: Pass errno pointer to NSS function.
6825         * inet/getnetgrent_r.c: Likewise.
6826         Reported by Marty Leisner <leisner@rochester.rr.com>.
6827
6828 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6829
6830         * nis/nis_callback.c: Fix port problem on big-endian machines
6831         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
6832         fields are always 32 bit.
6833         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
6834
6835         * nis/nss_nis/nis-service.c: Remove htons, port is always in
6836         network-byte-order.
6837         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
6838
6839 1999-08-03  Andreas Schwab  <schwab@suse.de>
6840
6841         * sysdeps/posix/sigset.c: Unblock the signal after setting its
6842         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
6843         avoid two calls to sigprocmask.
6844
6845 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6846
6847         * sysdeps/generic/s_nexttowardf.c: Fix typo.
6848
6849 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
6850
6851         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
6852         Only allow rt signal frames. No SA_SIGINFO signals will have the
6853         siginfo_t just not filled out with SI_NOINFO code.
6854         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
6855         (register_dump): Take the above change into account.
6856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
6857         (rt_signal_frame): Likewise.
6858
6859         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
6860
6861 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6862
6863         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
6864         instead of select().
6865
6866 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6867
6868         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
6869         nexttoward so something else so that aliasing works.
6870
6871 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
6872
6873         * sysdeps/generic/math_ldbl.h: Fix typo.
6874         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
6875         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
6876
6877 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
6878
6879         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
6880
6881 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
6882
6883         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
6884         program.
6885         * elf/resolvfail.c: New file.
6886
6887         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
6888         pass it to _dl_lookup_symbol.
6889
6890         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
6891         bit.  Reword message.
6892
6893         * dlfcn/dlerror.c: Make code thread-safe.
6894
6895 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
6896
6897         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
6898         initializer in CHECK: a bit size, not the type code repeated!
6899
6900 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6901
6902         * string/tester.c: Add tests with constant arguments for strcpy
6903         and stpcpy.
6904
6905 1999-07-31  H.J. Lu  <hjl@gnu.org>
6906
6907         * string/bits/string2.h (__strcpy_small): Fix a typo.
6908
6909 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
6910
6911         * Makeconfig (link-libc): Always define it, not only for shared
6912         builds.
6913
6914         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
6915         * sysdeps/i386/fpu/e_powf.S: Likewise.
6916         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
6917
6918         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
6919         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
6920
6921 1999-07-30  Andreas Schwab  <schwab@suse.de>
6922
6923         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
6924         definition.
6925         (__get_nprocs): Use it.
6926         (__get_nprocs_conf): Define as separate function if
6927         GET_NPROCS_CONF_PARSER is defined.
6928         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
6929
6930         * include/sys/sysinfo.h: New file.
6931         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
6932         interface.
6933         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
6934
6935 1999-07-30  H.J. Lu  <hjl@gnu.org>
6936
6937         * libio/iofflush.c (fflush_unlocked): Weak aliase if
6938         _IO_MTSAFE_IO is not defined.
6939         * libio/clearerr.c (clearerr_unlocked): Likewise.
6940         * libio/feof.c (feof_unlocked): Likewise.
6941         * libio/ferror.c (ferror_unlocked): Likewise.
6942         * libio/fputc.c (fputc_unlocked): Likewise.
6943         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
6944         * libio/getchar.c (getchar_unlocked): Likewise.
6945         * libio/putc.c (putc_unlocked): Likewise.
6946         * libio/putchar.c (putchar_unlocked): Likewise.
6947
6948 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
6949
6950         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
6951           svc_max_pollfd and svc_pollfd to GLIBC_2.2
6952         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
6953           for svc_run/poll interface.
6954         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
6955         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
6956           global variable.
6957         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
6958           rewrite other svc_getreq* functions to use svc_getreq_common.
6959         * sunrpc/svc_run.c: Use poll().
6960
6961 1999-07-30  Andreas Schwab  <schwab@suse.de>
6962
6963         * Makerules: Put sysd-versions and Versions.all on
6964         postclean-generated instead of common-generated.
6965
6966 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6967
6968         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
6969         around and CLOCKS_PER_SEC is 1e6.
6970
6971 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
6972
6973         * configure.in: Add test for local label subtraction.
6974         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
6975         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
6976         labels to reduce number of runtime relocations and move jump
6977         tables in read-only seciton.
6978
6979         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
6980         assignment cannot be moved.
6981
6982 1999-07-29  H.J. Lu  <hjl@gnu.org>
6983
6984         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
6985         if no threads are used.
6986
6987         * libio/iofwrite.c: Add weak alias for _unlocked function if not
6988         _IO_MTSAFE_IO.
6989         * libio/iofread.c: Likewise.
6990         * libio/iofgets.c: Likewise.
6991         * libio/iofputs.c: Likewise.
6992
6993         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
6994         definition.
6995
6996         * stdlib/mbtowc.c: Include <string.h>.
6997         * stdlib/wctomb.c: Likewise.
6998         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6999         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7000
7001         * misc/mntent_r.c: Include <alloca.h>.
7002         * elf/dl-runtime.c: Likewise.
7003
7004 1999-07-29  Andreas Schwab  <schwab@suse.de>
7005
7006         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
7007         all floating point formats supported by gcc.  Error out for
7008         unhandled precisions.
7009         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
7010         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
7011         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
7012
7013 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
7014
7015         * sysdeps/generic/setenv.c: Move setenv code in new function
7016         __add_to_environ.  Add new parameter specifying already
7017         constructed string for the environment.
7018         (setenv): Call __add_to_environ with new parameter set to NULL.
7019         (unsetenv): Really test all elements for duplicated name.  Missed those
7020         cases where the two are following each other.
7021         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
7022         * include/stdlib.h: Add prototype of __add_to_environ.
7023         * stdlib/tst-environ.c: New file.
7024         * stdlib/Makefile (tests): Add tst-environ.
7025
7026         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
7027
7028         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
7029         argument in realloc call.
7030         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
7031         Likewise.
7032         Reported by Danny Braniss <danny@cs.huji.ac.il>.
7033
7034 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
7035
7036         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
7037         to print.
7038         * misc/efgcvt_r.c: Likewise.
7039         * misc/qefgcvt.c: Likewise.
7040         * misc/qefgcvt_r.c: Likewise.
7041         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
7042         anymore.
7043
7044 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7045
7046         * manual/math.texi (FP Function Optimization): Mention drawbacks.
7047
7048 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
7049
7050         * stdlib/mblen.c: Use static state.
7051         Reported by Bruno Haible <haible@ilog.fr>.
7052
7053         * stdlib/mbtowc.c: Reset state for s == NULL.
7054         * stdlib/wctomb.c: Likewise.
7055         Reported by Bruno Haible <haible@ilog.fr>.
7056
7057         * stdlib/mbstowcs.c: Do not use global state.
7058         Reported by Bruno Haible <haible@ilog.fr>.
7059
7060 1999-07-28  Andeas Schwab  <schwab@suse.de>
7061
7062         * iconvdata/Makefile: Don't try to run iconv tests when cross
7063         compiling.
7064
7065 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
7066
7067         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
7068         assembler code to switch stacks and call init1 outside this
7069         function.  Inside `init' the code was optimized away by gcc
7070         2.95 since it was "clearly" unreachable.
7071         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
7072         Do something similar for the trampoline code.
7073
7074 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
7075
7076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
7077         for the hinted protocol.
7078
7079 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7080
7081         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
7082
7083 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
7084
7085         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
7086         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
7087         * elf/dl-load.c (_dl_map_object): Likewise.
7088         * elf/do-lookup.h (do_lookup*): Likewise.
7089         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
7090         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
7091         as uint64_t.
7092         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
7093
7094 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
7095
7096         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
7097         * sysdeps/generic/getpgrp.c: Likewise.
7098         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
7099         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
7100         Patch by John Tobey <jtobey@banta-im.com>.
7101
7102         * sysdeps/posix/wait3.c: Help compiling in presence of
7103         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
7104
7105 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
7106
7107         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
7108         as much as possible. Declare them using .register pseudo-op if they
7109         are still used.
7110         * sysdeps/sparc/sparc64/lshift.S: Likewise.
7111         * sysdeps/sparc/sparc64/memchr.S: Likewise.
7112         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7113         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7114         * sysdeps/sparc/sparc64/memset.S: Likewise.
7115         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7116         * sysdeps/sparc/sparc64/rshift.S: Likewise.
7117         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
7118         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7119         * sysdeps/sparc/sparc64/strcat.S: Likewise.
7120         * sysdeps/sparc/sparc64/strchr.S: Likewise.
7121         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
7122         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
7123         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
7124         * sysdeps/sparc/sparc64/strlen.S: Likewise.
7125         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7126         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7127         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
7128         * sysdeps/sparc/sparc64/strspn.S: Likewise.
7129         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
7130         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7131         Optimize trampoline code for .plt4-.plt32767.
7132         Fix trampolines for .plt32768+.
7133
7134 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
7135
7136         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
7137         -mcpu=v8.
7138         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
7139         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
7140         libc's private use (as assembly routine clobber it anyway).
7141
7142 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7143
7144         * README.template (configurations): The crypt add-on has a new
7145         ftp site.
7146         * manual/install.texi (Installation): Likewise.
7147
7148 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
7149
7150         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
7151         requires to have a full definition but we wait for a bug report
7152         based on the test suite.
7153
7154         * sysdeps/generic/clock_getres.c: New file.
7155         * sysdeps/generic/clock_gettime.c: New file.
7156         * sysdeps/generic/clock_settime.c: New file.
7157         * sysdeps/generic/timer_create.c: New file.
7158         * sysdeps/generic/timer_delete.c: New file.
7159         * sysdeps/generic/timer_getoverr.c: New file.
7160         * sysdeps/generic/timer_gettime.c: New file.
7161         * sysdeps/generic/timer_settime.c: New file.
7162
7163         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
7164         CLOCK_REALTIME, and TIMER_ABSTIME.
7165         * sysdeps/mach/hurd/bits/time.h: Likewise.
7166         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7167         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7168
7169         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
7170
7171         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
7172         si_timer2.
7173
7174         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
7175
7176         * time/Makefile (routines): Add clock_getres, clock_gettime,
7177         clock_setres, timer_create, timer_delete, timer_getoverr,
7178         timer_gettime, and timer_settime.
7179
7180         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
7181         POSIX.1b.  Add prototypes for clock and timer functions.
7182
7183 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
7184
7185         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
7186         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
7187
7188 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
7189
7190         * stdlib/wcstombs.c: Do not use global state.
7191         Reported by Bruno Haible <haible@ilog.fr>.
7192
7193         * wcsmbs/wctob.c: Avoid sign extension when returning character.
7194         Reported by Bruno Haible <haible@ilog.fr>.
7195
7196         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
7197         of wide characters to convert do it right and don't overestimate
7198         by multiplying with MB_CUR_MAX.
7199         Reported by Bruno Haible <haible@ilog.fr>.
7200
7201 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
7202
7203         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
7204         (__stpcpy_small): Likewise.
7205         Union has no __uc member but __c.
7206
7207 1999-07-26  Andreas Schwab  <schwab@suse.de>
7208
7209         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
7210
7211 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
7212
7213         * libio/iofclose.c (_IO_new_fclose): Only fall back on
7214         _IO_old_fclose if doing versioning.
7215
7216         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
7217         them appropriately.
7218         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7219
7220         * misc/mntent_r.c: Allow spaces and tabs in entry names by
7221         encoding these characters.
7222         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
7223
7224         * string/bits/string2.h: Fix aliasing problems.
7225         * sysdeps/i386/i486/bits/string.h: Likewise.
7226         * sysdeps/i386/bits/string.h: Likewise.
7227
7228 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
7229
7230         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
7231         * elf/rtld.c (dl_main): Don't call malloc() between
7232         re-relocating the dynamic linker and running the application's crt0.
7233
7234 1999-07-21  Paul D. Smith  <psmith@gnu.org>
7235
7236         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
7237         glob.h to get __P() macro.
7238
7239         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
7240         not ANSI.
7241         (__strchrnul): This won't exist outside GLIBC, so create one.
7242
7243 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
7244
7245         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
7246         __ino64_t should be 32bit unsigned type on sparc32.
7247         Define __off64_t to __quad_t instead of __int64_t.
7248         Make __pic_pid_t unsigned on sparc32.
7249
7250 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7251
7252         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
7253         in bash 2.03.
7254
7255 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
7256
7257         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
7258         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
7259
7260 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
7261
7262         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
7263         accesses.
7264
7265         * resolv/res_send.c: Add locks for res_send and res_close use.
7266
7267         * elf/Makefile (dl-routines): Add preinit.
7268         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
7269         * elf/link.h (struct link_map): Add new field l_preinitcount.
7270         * elf/dl-preinit.c: New file.
7271         * elf/dynamic-link.h: Initialize l_preinitcount.
7272         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
7273
7274         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
7275         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
7276         and l_initcount.
7277         * elf/dl-init.c: Handle DT_INIT_ARRAY.
7278         * elf/dynamic-link.h: Change parameters.  Now only get link_map
7279         pointer.  Calculate l_initcount.
7280
7281         * elf/link.h (struct link_map): Add l_runpath_dirs.
7282         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
7283         * elf/dl-load.c: Pretty print.
7284         (decompose_rpath): Take new parameter with info from where the path
7285         comes.  Pass it the fillin_rpath.
7286         (_dl_init_paths): Initialize l_runpath_dirs.
7287         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
7288         Search using RUNPATH after LD_LIBRARY_PATH.
7289         * elf/dl-support.c: Adjust comment.
7290         * elf/rtld.c: Adjust help message.
7291
7292 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7293
7294         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
7295         interface.
7296
7297 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
7298
7299         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
7300         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
7301         ever used this, so I'm not going to worry about compatibility.
7302         [__USE_GNU] (IUCLC, OLCUC): New macros.
7303
7304 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
7305
7306         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
7307
7308         * elf/elf.h: Add ET_LOOS and ET_HIOS.
7309         Add various EM_* constants.
7310         Add SHN_LOOS and SHN_HIOS.
7311         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
7312         Add SHF_MERGE and SHF_STRINGS.
7313         (ElfXX_Sym): Update description of st_other field.
7314         Add STT_COMMON.
7315         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
7316         Add STV_* macros.
7317         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
7318         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
7319         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
7320
7321         * posix/unistd.h: Move declaration of __libc_enable_secure to...
7322         * include/unistd.h: ...here.
7323
7324         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
7325         * elf/dl-deps.c (expand_dst): Likewise.
7326
7327         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
7328         based on DT_FLAGS value.
7329
7330         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
7331         Add test for symbols marked STV_HIDDEN.
7332         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
7333         add undef_map.  Compute reference_name locally.  Update call to
7334         do_lookup.
7335         (_dl_lookup_symbol_skip): Likewise.
7336         (_dl_lookup_versioned_symbol): Likewise.
7337         (_dl_lookup_versioned_symbol_skip): Likewise.
7338         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
7339         * elf/dl-runtime.c: Likewise.
7340         * elf/dl-sym.c: Likewise.
7341         * elf/dl-symbol.c: Likewise.
7342         * elf/ldsodefs.h: Adjust prototypes.
7343
7344         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
7345         handle appropriately.  Add comment about DT_TEXTREL.
7346         * elf/dl-runtime.c: Likewise.
7347
7348 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
7349
7350         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
7351         * elf/ldsodefs.h: Declare it.
7352         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
7353         instead of assert.
7354         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
7355         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7356         (elf_machine_lazy_rel): Likewise.
7357         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
7358         (elf_machine_lazy_rel): Likewise.
7359         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
7360         (elf_machine_lazy_rel): Likewise.
7361         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
7362         (elf_machine_lazy_rel): Likewise.
7363         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7364         (elf_machine_lazy_rel): Likewise.
7365         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
7366         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
7367         (elf_machine_lazy_rel): Likewise.
7368         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
7369         (elf_machine_lazy_rel): Likewise.
7370         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
7371         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
7372         _dl_reloc_bad_type instead of _dl_signal_error.
7373         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
7374
7375 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
7376
7377         * sysdeps/mach/_strerror.c: Include <libintl.h>.
7378
7379 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
7380
7381         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
7382         hurd_signal_preemptor matches but its `preemptor' field is null, use
7383         its `handler' field directly.  This is to comply with behavior
7384         documented in <hurd/sigpreempt.h>.
7385
7386 1999-07-21  Andreas Schwab  <schwab@suse.de>
7387
7388         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
7389         when reading from write-only stream.
7390         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
7391         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7392
7393 1999-07-21  Andreas Schwab  <schwab@suse.de>
7394
7395         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
7396         NULL.
7397
7398 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
7399
7400         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
7401         <hurd/fd.h>.
7402         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
7403         <hurd/fd.h>.
7404         (__libc_write): Call __pwrite instead of __pread.
7405
7406 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
7407
7408         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
7409         __vm_allocate calls.
7410
7411         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
7412         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
7413
7414         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
7415         _hurd_fd_read with new OFFSET argument set to -1.
7416         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
7417         to -1.
7418
7419 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
7420
7421         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
7422         descriptor table sent in the RPC.
7423
7424 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7425
7426         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
7427         bill@taniwha.org [PR libc/1211].
7428
7429 1999-07-19  Andreas Schwab  <schwab@suse.de>
7430
7431         * libio/Makefile (routines): Add fwprintf.
7432
7433         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
7434         * math/w_sqrt.c: Moved to ...
7435         * sysdeps/generic/w_sqrt.c: ... here.
7436         * math/w_sqrtf.c: Moved to ...
7437         * sysdeps/generic/w_sqrtf.c: ... here.
7438
7439         * Make-dist (generic-dirs): New variable.
7440         (try-sysdeps, +sysdep-names): Use it.
7441         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
7442         instead of $(lib)-routines.
7443         * elf/Makefile (distribute): Add dl-cache.h.
7444         * db2/Makefile (distribute): Add all new files.
7445         * iconvdata/Makefile (distribute): Don't distribute CVS
7446         directory.
7447         * math/Makefile (distribute): Remove machine/endian.h, add
7448         math_ldbl.h.
7449         * stdio-common/Makefile (distribute): Add _itowa.h.
7450         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
7451         * sysdeps/gnu/Dist: Add eval.c
7452         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
7453         dlfcn]: Add to this instead of libdl-routines.
7454         * sysdeps/ieee754/ldbl-128/Dist: New file.
7455         * sysdeps/mach/hurd/Dist: Add siglist.h
7456         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
7457
7458 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
7459
7460         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
7461
7462         * inet/Makefile (routines): Add getipnodebyad and freehostent.
7463         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
7464         * inet/freehostent.c: New file.
7465         * inet/getipnodebyad.c: New file.
7466         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
7467         and getipnodebyname.  The latter comes soon.
7468         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
7469         Add support for getipnode* functions.
7470
7471         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
7472         Set h_aliases to NULL and not to a pointer to an array with a NULL
7473         pointer following XNS 5.2.
7474
7475         * posix/sched.h: Remove internal interfaces.
7476         * include/sched.h: Add internal interfaces.
7477
7478         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
7479
7480         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
7481
7482         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
7483         and return an error in this case.
7484         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
7485         available.
7486
7487 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7488
7489         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
7490         1999-07-17 and adjust len parameter.
7491         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7492         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
7493         * manual/socket.texi (Host Names): Likewise.
7494         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7495         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7496         Likewise.
7497         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7498         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7499         (ht_gethostbyaddr): Likewise.
7500         (_gethtbyaddr): Likewise.
7501
7502 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
7503
7504         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
7505         gethostbyaddr_r.
7506         * include/netdb.h: Likewise.
7507         * inet/gethstbyad.c: Correct type of len parameter.
7508         * inet/gethstbyad_r.c: Likewise.
7509
7510         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
7511
7512 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
7513
7514         * include/libc-symbol.h: Clean up definitions of weak_alias,
7515         strong_alias, symbol_version, etc. etc.
7516         * posix/getopt.h: Use ctype.h to get features.h included, and don't
7517         include it at all if __GNU_LIBRARY__ is already defined.
7518
7519 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
7520
7521         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
7522
7523         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
7524
7525         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
7526         type for tv_usec element.
7527         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7528         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
7529         * sysdeps/generic/bits/time.h: Likewise.
7530         * sysdeps/mach/hurd/bits/time.h: Likewise.
7531         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7532         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7533         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7534         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7535         * sysdeps/generic/bits/types.h: Likewise.
7536         * posix/sys/types.h: Define suseconds_t for X/Open.
7537
7538 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7539
7540         * stdio-common/bug1.c: Avoid memory leak.
7541
7542         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
7543         program deterministic.
7544         * sysdeps/i386/fpu/e_powf.S: Likewise.
7545         * sysdeps/i386/fpu/e_powl.S: Likewise.
7546
7547 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
7548
7549         * math/Makefile: Add t_sincosl and k_sincosl support routines.
7550         * math/math_private.h (__kernel_sincosl): New declaration.
7551         * sysdeps/generic/t_sincosl.c: New file.
7552         * sysdeps/generic/k_sincosl.c: New file.
7553         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
7554         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
7555         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
7556         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
7557         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
7558         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
7559         __kernel_sincosl.
7560         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
7561         definition.
7562
7563 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7564
7565         * posix/unistd.h: Use __PMT for exit.
7566
7567 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
7568
7569         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
7570         _outw, _outl): Added to GLIBC_2.1.2.
7571
7572 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
7573
7574         * posix/fnmatch.h: Use __name instead of __string in prototype to
7575         allow use outside glibc.
7576
7577 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
7578
7579         * time/tst-strptime.c (main): Add one more test case.  Produce
7580         output even when result is ok.
7581
7582         * time/strptime.c (get_number): Handle number parsing more
7583         consistent with strftime.  Only parse a given number of digits.
7584         (get_alt_number):  Fix implementation.  Was broken.
7585         (strptime_internal): Add third parameter to get_number and
7586         get_alt_number calls.
7587
7588 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7589
7590         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
7591         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
7592         try both 32bit and 64bit dynamic linker.
7593         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
7594         script on all sparc targets.
7595
7596 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
7597
7598         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
7599         to int.
7600
7601 1999-07-13  Andreas Schwab  <schwab@suse.de>
7602
7603         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
7604         inlining.  Fixes PR libc/1198.
7605
7606 1999-07-14  Andreas Schwab  <schwab@suse.de>
7607
7608         * Makerules (common-generated): Don't prepend $(common-objpfx).
7609
7610 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
7611
7612         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
7613         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
7614         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
7615         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
7616         macro.
7617         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7618         instead of ieee754.
7619         * sysdeps/arm/Implies: Likewise.
7620         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7621         ieee754/ldbl-96 instead of ieee754.
7622         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
7623         * sysdeps/generic/e_atanhl.c: New file.
7624         * sysdeps/generic/e_coshl.c: New file.
7625         * sysdeps/generic/e_sinhl.c: New file.
7626         * sysdeps/generic/e_gammal_r.c: New file.
7627         * sysdeps/generic/e_hypotl.c: New file.
7628         * sysdeps/generic/s_cbrtl.c: New file.
7629         * sysdeps/generic/s_asinhl.c: New file.
7630         * sysdeps/generic/s_tanhl.c: New file.
7631         * sysdeps/generic/w_expl.c: New file.
7632         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7633         instead of ieee754.
7634         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
7635         ieee754/ldbl-96 instead of ieee754.
7636         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
7637         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
7638         printf_fphex.
7639         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
7640         instead of ieee754.
7641         * sysdeps/mips/mips64/Implies: Likewise.
7642         * sysdeps/powerpc/Implies: Likewise.
7643         * sysdeps/sparc/Implies: Remove.
7644         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
7645         ieee754/dbl-64.
7646         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
7647         and ieee754/ldbl-128.
7648
7649         * sysdeps/sparc/bits/wordsize.h: Remove.
7650         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
7651         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
7652         only for sparc32.
7653         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
7654         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
7655         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
7656         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
7657         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
7658         support.
7659
7660         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
7661         of carries. Optimize.
7662
7663         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
7664         * sysdeps/generic/e_exp10.c: ...here.
7665         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
7666         * sysdeps/generic/e_exp10f.c: ...here.
7667         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
7668         * sysdeps/generic/e_exp10l.c: ...here.
7669         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
7670         * sysdeps/generic/e_scalb.c: ...here.
7671         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
7672         * sysdeps/generic/e_scalbf.c: ...here.
7673         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
7674         * sysdeps/generic/e_scalbl.c: ...here.
7675         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
7676         * sysdeps/generic/s_cacos.c: ...here.
7677         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
7678         * sysdeps/generic/s_cacosf.c: ...here.
7679         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
7680         * sysdeps/generic/s_cacosh.c: ...here.
7681         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
7682         * sysdeps/generic/s_cacoshf.c: ...here.
7683         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
7684         * sysdeps/generic/s_cacoshl.c: ...here.
7685         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
7686         * sysdeps/generic/s_cacosl.c: ...here.
7687         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
7688         * sysdeps/generic/s_casin.c: ...here.
7689         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
7690         * sysdeps/generic/s_casinf.c: ...here.
7691         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
7692         * sysdeps/generic/s_casinh.c: ...here.
7693         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
7694         * sysdeps/generic/s_casinhf.c: ...here.
7695         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
7696         * sysdeps/generic/s_casinhl.c: ...here.
7697         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
7698         * sysdeps/generic/s_casinl.c: ...here.
7699         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
7700         * sysdeps/generic/s_catan.c: ...here.
7701         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
7702         * sysdeps/generic/s_catanf.c: ...here.
7703         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
7704         * sysdeps/generic/s_catanh.c: ...here.
7705         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
7706         * sysdeps/generic/s_catanhf.c: ...here.
7707         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
7708         * sysdeps/generic/s_catanhl.c: ...here.
7709         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
7710         * sysdeps/generic/s_catanl.c: ...here.
7711         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
7712         * sysdeps/generic/s_ccos.c: ...here.
7713         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
7714         * sysdeps/generic/s_ccosf.c: ...here.
7715         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
7716         * sysdeps/generic/s_ccosh.c: ...here.
7717         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
7718         * sysdeps/generic/s_ccoshf.c: ...here.
7719         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
7720         * sysdeps/generic/s_ccoshl.c: ...here.
7721         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
7722         * sysdeps/generic/s_ccosl.c: ...here.
7723         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
7724         * sysdeps/generic/s_cexp.c: ...here.
7725         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
7726         * sysdeps/generic/s_cexpf.c: ...here.
7727         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
7728         * sysdeps/generic/s_cexpl.c: ...here.
7729         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
7730         * sysdeps/generic/s_clog.c: ...here.
7731         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
7732         * sysdeps/generic/s_clog10.c: ...here.
7733         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
7734         * sysdeps/generic/s_clog10f.c: ...here.
7735         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
7736         * sysdeps/generic/s_clog10l.c: ...here.
7737         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
7738         * sysdeps/generic/s_clogf.c: ...here.
7739         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
7740         * sysdeps/generic/s_clogl.c: ...here.
7741         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
7742         * sysdeps/generic/s_cpow.c: ...here.
7743         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
7744         * sysdeps/generic/s_cpowf.c: ...here.
7745         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
7746         * sysdeps/generic/s_cpowl.c: ...here.
7747         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
7748         * sysdeps/generic/s_cproj.c: ...here.
7749         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
7750         * sysdeps/generic/s_cprojf.c: ...here.
7751         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
7752         * sysdeps/generic/s_cprojl.c: ...here.
7753         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
7754         * sysdeps/generic/s_csin.c: ...here.
7755         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
7756         * sysdeps/generic/s_csinf.c: ...here.
7757         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
7758         * sysdeps/generic/s_csinh.c: ...here.
7759         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
7760         * sysdeps/generic/s_csinhf.c: ...here.
7761         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
7762         * sysdeps/generic/s_csinhl.c: ...here.
7763         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
7764         * sysdeps/generic/s_csinl.c: ...here.
7765         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
7766         * sysdeps/generic/s_csqrt.c: ...here.
7767         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
7768         * sysdeps/generic/s_csqrtf.c: ...here.
7769         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
7770         * sysdeps/generic/s_csqrtl.c: ...here.
7771         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
7772         * sysdeps/generic/s_ctan.c: ...here.
7773         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
7774         * sysdeps/generic/s_ctanf.c: ...here.
7775         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
7776         * sysdeps/generic/s_ctanh.c: ...here.
7777         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
7778         * sysdeps/generic/s_ctanhf.c: ...here.
7779         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
7780         * sysdeps/generic/s_ctanhl.c: ...here.
7781         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
7782         * sysdeps/generic/s_ctanl.c: ...here.
7783         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
7784         * sysdeps/generic/s_fdim.c: ...here.
7785         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
7786         * sysdeps/generic/s_fdimf.c: ...here.
7787         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
7788         * sysdeps/generic/s_fdiml.c: ...here.
7789         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
7790         * sysdeps/generic/s_fma.c: ...here.
7791         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
7792         * sysdeps/generic/s_fmaf.c: ...here.
7793         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
7794         * sysdeps/generic/s_fmal.c: ...here.
7795         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
7796         * sysdeps/generic/s_fmax.c: ...here.
7797         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
7798         * sysdeps/generic/s_fmaxf.c: ...here.
7799         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
7800         * sysdeps/generic/s_fmaxl.c: ...here.
7801         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
7802         * sysdeps/generic/s_fmin.c: ...here.
7803         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
7804         * sysdeps/generic/s_fminf.c: ...here.
7805         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
7806         * sysdeps/generic/s_fminl.c: ...here.
7807         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
7808         * sysdeps/generic/s_ldexp.c: ...here.
7809         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
7810         * sysdeps/generic/s_ldexpf.c: ...here.
7811         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
7812         * sysdeps/generic/s_ldexpl.c: ...here.
7813         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
7814         * sysdeps/generic/s_nan.c: ...here.
7815         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
7816         * sysdeps/generic/s_nanf.c: ...here.
7817         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
7818         * sysdeps/generic/s_nanl.c: ...here.
7819         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
7820         * sysdeps/generic/s_significand.c: ...here.
7821         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
7822         * sysdeps/generic/s_significandf.c: ...here.
7823         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
7824         * sysdeps/generic/s_significandl.c: ...here.
7825         Avoid conversion from int to double and then to long double.
7826         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
7827         * math/w_acos.c: ...here.
7828         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
7829         * math/w_acosf.c: ...here.
7830         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
7831         * math/w_acosh.c: ...here.
7832         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
7833         * math/w_acoshf.c: ...here.
7834         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
7835         * math/w_acoshl.c: ...here.
7836         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
7837         * math/w_acosl.c: ...here.
7838         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
7839         * math/w_asin.c: ...here.
7840         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
7841         * math/w_asinf.c: ...here.
7842         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
7843         * math/w_asinl.c: ...here.
7844         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
7845         * math/w_atan2.c: ...here.
7846         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
7847         * math/w_atan2f.c: ...here.
7848         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
7849         * math/w_atan2l.c: ...here.
7850         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
7851         * math/w_atanh.c: ...here.
7852         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
7853         * math/w_atanhf.c: ...here.
7854         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
7855         * math/w_atanhl.c: ...here.
7856         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
7857         * math/w_cosh.c: ...here.
7858         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
7859         * math/w_coshf.c: ...here.
7860         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
7861         * math/w_coshl.c: ...here.
7862         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
7863         * math/w_drem.c: ...here.
7864         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
7865         * math/w_dremf.c: ...here.
7866         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
7867         * math/w_dreml.c: ...here.
7868         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
7869         * math/w_exp10.c: ...here.
7870         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
7871         * math/w_exp10f.c: ...here.
7872         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
7873         * math/w_exp10l.c: ...here.
7874         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
7875         * math/w_exp2.c: ...here.
7876         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
7877         * math/w_exp2f.c: ...here.
7878         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
7879         * math/w_exp2l.c: ...here.
7880         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
7881         * math/w_fmod.c: ...here.
7882         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
7883         * math/w_fmodf.c: ...here.
7884         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
7885         * math/w_fmodl.c: ...here.
7886         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
7887         * math/w_hypot.c: ...here.
7888         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
7889         * math/w_hypotf.c: ...here.
7890         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
7891         * math/w_hypotl.c: ...here.
7892         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
7893         * math/w_j0.c: ...here.
7894         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
7895         * math/w_j0f.c: ...here.
7896         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
7897         * math/w_j0l.c: ...here.
7898         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
7899         * math/w_j1.c: ...here.
7900         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
7901         * math/w_j1f.c: ...here.
7902         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
7903         * math/w_j1l.c: ...here.
7904         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
7905         * math/w_jn.c: ...here.
7906         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
7907         * math/w_jnf.c: ...here.
7908         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
7909         * math/w_jnl.c: ...here.
7910         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
7911         * math/w_lgamma.c: ...here.
7912         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
7913         * math/w_lgamma_r.c: ...here.
7914         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
7915         * math/w_lgammaf.c: ...here.
7916         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
7917         * math/w_lgammaf_r.c: ...here.
7918         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
7919         * math/w_lgammal.c: ...here.
7920         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
7921         * math/w_lgammal_r.c: ...here.
7922         * sysdeps/libm-ieee754/w_log.c: Moved to ...
7923         * math/w_log.c: ...here.
7924         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
7925         * math/w_log10.c: ...here.
7926         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
7927         * math/w_log10f.c: ...here.
7928         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
7929         * math/w_log10l.c: ...here.
7930         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
7931         * math/w_logf.c: ...here.
7932         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
7933         * math/w_logl.c: ...here.
7934         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
7935         * math/w_pow.c: ...here.
7936         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
7937         * math/w_powf.c: ...here.
7938         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
7939         * math/w_powl.c: ...here.
7940         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
7941         * math/w_remainder.c: ...here.
7942         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
7943         * math/w_remainderf.c: ...here.
7944         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
7945         * math/w_remainderl.c: ...here.
7946         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
7947         * math/w_scalb.c: ...here.
7948         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
7949         * math/w_scalbf.c: ...here.
7950         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
7951         * math/w_scalbl.c: ...here.
7952         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
7953         * math/w_sinh.c: ...here.
7954         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
7955         * math/w_sinhf.c: ...here.
7956         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
7957         * math/w_sinhl.c: ...here.
7958         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
7959         * math/w_sqrt.c: ...here.
7960         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
7961         * math/w_sqrtf.c: ...here.
7962         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
7963         * math/w_sqrtl.c: ...here.
7964         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
7965         * math/w_tgamma.c: ...here.
7966         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
7967         * math/w_tgammaf.c: ...here.
7968         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
7969         * math/w_tgammal.c: ...here.
7970         * sysdeps/libm-i387/e_acos.S: Moved to ...
7971         * sysdeps/i386/fpu/e_acos.S: ...here.
7972         * sysdeps/libm-i387/e_acosf.S: Moved to ...
7973         * sysdeps/i386/fpu/e_acosf.S: ...here.
7974         * sysdeps/libm-i387/e_acosh.S: Moved to ...
7975         * sysdeps/i386/fpu/e_acosh.S: ...here.
7976         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
7977         * sysdeps/i386/fpu/e_acoshf.S: ...here.
7978         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
7979         * sysdeps/i386/fpu/e_acoshl.S: ...here.
7980         * sysdeps/libm-i387/e_acosl.S: Moved to ...
7981         * sysdeps/i386/fpu/e_acosl.S: ...here.
7982         * sysdeps/libm-i387/e_asin.S: Moved to ...
7983         * sysdeps/i386/fpu/e_asin.S: ...here.
7984         * sysdeps/libm-i387/e_asinf.S: Moved to ...
7985         * sysdeps/i386/fpu/e_asinf.S: ...here.
7986         * sysdeps/libm-i387/e_asinl.S: Moved to ...
7987         * sysdeps/i386/fpu/e_asinl.S: ...here.
7988         * sysdeps/libm-i387/e_atan2.S: Moved to ...
7989         * sysdeps/i386/fpu/e_atan2.S: ...here.
7990         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
7991         * sysdeps/i386/fpu/e_atan2f.S: ...here.
7992         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
7993         * sysdeps/i386/fpu/e_atan2l.S: ...here.
7994         * sysdeps/libm-i387/e_atanh.S: Moved to ...
7995         * sysdeps/i386/fpu/e_atanh.S: ...here.
7996         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
7997         * sysdeps/i386/fpu/e_atanhf.S: ...here.
7998         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
7999         * sysdeps/i386/fpu/e_atanhl.S: ...here.
8000         * sysdeps/libm-i387/e_exp.S: Moved to ...
8001         * sysdeps/i386/fpu/e_exp.S: ...here.
8002         * sysdeps/libm-i387/e_exp10.S: Moved to ...
8003         * sysdeps/i386/fpu/e_exp10.S: ...here.
8004         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
8005         * sysdeps/i386/fpu/e_exp10f.S: ...here.
8006         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
8007         * sysdeps/i386/fpu/e_exp10l.S: ...here.
8008         * sysdeps/libm-i387/e_expf.S: Moved to ...
8009         * sysdeps/i386/fpu/e_expf.S: ...here.
8010         * sysdeps/libm-i387/e_expl.S: Moved to ...
8011         * sysdeps/i386/fpu/e_expl.S: ...here.
8012         * sysdeps/libm-i387/e_fmod.S: Moved to ...
8013         * sysdeps/i386/fpu/e_fmod.S: ...here.
8014         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
8015         * sysdeps/i386/fpu/e_fmodf.S: ...here.
8016         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
8017         * sysdeps/i386/fpu/e_fmodl.S: ...here.
8018         * sysdeps/libm-i387/e_hypot.S: Moved to ...
8019         * sysdeps/i386/fpu/e_hypot.S: ...here.
8020         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
8021         * sysdeps/i386/fpu/e_hypotf.S: ...here.
8022         * sysdeps/libm-i387/e_log.S: Moved to ...
8023         * sysdeps/i386/fpu/e_log.S: ...here.
8024         * sysdeps/libm-i387/e_log10.S: Moved to ...
8025         * sysdeps/i386/fpu/e_log10.S: ...here.
8026         * sysdeps/libm-i387/e_log10f.S: Moved to ...
8027         * sysdeps/i386/fpu/e_log10f.S: ...here.
8028         * sysdeps/libm-i387/e_log10l.S: Moved to ...
8029         * sysdeps/i386/fpu/e_log10l.S: ...here.
8030         * sysdeps/libm-i387/e_logf.S: Moved to ...
8031         * sysdeps/i386/fpu/e_logf.S: ...here.
8032         * sysdeps/libm-i387/e_logl.S: Moved to ...
8033         * sysdeps/i386/fpu/e_logl.S: ...here.
8034         * sysdeps/libm-i387/e_pow.S: Moved to ...
8035         * sysdeps/i386/fpu/e_pow.S: ...here.
8036         * sysdeps/libm-i387/e_powf.S: Moved to ...
8037         * sysdeps/i386/fpu/e_powf.S: ...here.
8038         * sysdeps/libm-i387/e_powl.S: Moved to ...
8039         * sysdeps/i386/fpu/e_powl.S: ...here.
8040         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
8041         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
8042         * sysdeps/libm-i387/e_remainder.S: Moved to ...
8043         * sysdeps/i386/fpu/e_remainder.S: ...here.
8044         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
8045         * sysdeps/i386/fpu/e_remainderf.S: ...here.
8046         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
8047         * sysdeps/i386/fpu/e_remainderl.S: ...here.
8048         * sysdeps/libm-i387/e_scalb.S: Moved to ...
8049         * sysdeps/i386/fpu/e_scalb.S: ...here.
8050         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
8051         * sysdeps/i386/fpu/e_scalbf.S: ...here.
8052         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
8053         * sysdeps/i386/fpu/e_scalbl.S: ...here.
8054         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
8055         * sysdeps/i386/fpu/e_sqrt.S: ...here.
8056         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
8057         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
8058         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
8059         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
8060         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
8061         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
8062         * sysdeps/libm-i387/s_asinh.S: Moved to ...
8063         * sysdeps/i386/fpu/s_asinh.S: ...here.
8064         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
8065         * sysdeps/i386/fpu/s_asinhf.S: ...here.
8066         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
8067         * sysdeps/i386/fpu/s_asinhl.S: ...here.
8068         * sysdeps/libm-i387/s_atan.S: Moved to ...
8069         * sysdeps/i386/fpu/s_atan.S: ...here.
8070         * sysdeps/libm-i387/s_atanf.S: Moved to ...
8071         * sysdeps/i386/fpu/s_atanf.S: ...here.
8072         * sysdeps/libm-i387/s_atanl.S: Moved to ...
8073         * sysdeps/i386/fpu/s_atanl.S: ...here.
8074         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
8075         * sysdeps/i386/fpu/s_cbrt.S: ...here.
8076         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
8077         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
8078         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
8079         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
8080         * sysdeps/libm-i387/s_ceil.S: Moved to ...
8081         * sysdeps/i386/fpu/s_ceil.S: ...here.
8082         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
8083         * sysdeps/i386/fpu/s_ceilf.S: ...here.
8084         * sysdeps/libm-i387/s_ceill.S: Moved to ...
8085         * sysdeps/i386/fpu/s_ceill.S: ...here.
8086         * sysdeps/libm-i387/s_cexp.S: Moved to ...
8087         * sysdeps/i386/fpu/s_cexp.S: ...here.
8088         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
8089         * sysdeps/i386/fpu/s_cexpf.S: ...here.
8090         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
8091         * sysdeps/i386/fpu/s_cexpl.S: ...here.
8092         * sysdeps/libm-i387/s_copysign.S: Moved to ...
8093         * sysdeps/i386/fpu/s_copysign.S: ...here.
8094         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
8095         * sysdeps/i386/fpu/s_copysignf.S: ...here.
8096         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
8097         * sysdeps/i386/fpu/s_copysignl.S: ...here.
8098         * sysdeps/libm-i387/s_cos.S: Moved to ...
8099         * sysdeps/i386/fpu/s_cos.S: ...here.
8100         * sysdeps/libm-i387/s_cosf.S: Moved to ...
8101         * sysdeps/i386/fpu/s_cosf.S: ...here.
8102         * sysdeps/libm-i387/s_cosl.S: Moved to ...
8103         * sysdeps/i386/fpu/s_cosl.S: ...here.
8104         * sysdeps/libm-i387/s_exp2.S: Moved to ...
8105         * sysdeps/i386/fpu/s_exp2.S: ...here.
8106         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
8107         * sysdeps/i386/fpu/s_exp2f.S: ...here.
8108         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
8109         * sysdeps/i386/fpu/s_exp2l.S: ...here.
8110         * sysdeps/libm-i387/s_expm1.S: Moved to ...
8111         * sysdeps/i386/fpu/s_expm1.S: ...here.
8112         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
8113         * sysdeps/i386/fpu/s_expm1f.S: ...here.
8114         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
8115         * sysdeps/i386/fpu/s_expm1l.S: ...here.
8116         * sysdeps/libm-i387/s_fdim.S: Moved to ...
8117         * sysdeps/i386/fpu/s_fdim.S: ...here.
8118         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
8119         * sysdeps/i386/fpu/s_fdimf.S: ...here.
8120         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
8121         * sysdeps/i386/fpu/s_fdiml.S: ...here.
8122         * sysdeps/libm-i387/s_finite.S: Moved to ...
8123         * sysdeps/i386/fpu/s_finite.S: ...here.
8124         * sysdeps/libm-i387/s_finitef.S: Moved to ...
8125         * sysdeps/i386/fpu/s_finitef.S: ...here.
8126         * sysdeps/libm-i387/s_finitel.S: Moved to ...
8127         * sysdeps/i386/fpu/s_finitel.S: ...here.
8128         * sysdeps/libm-i387/s_floor.S: Moved to ...
8129         * sysdeps/i386/fpu/s_floor.S: ...here.
8130         * sysdeps/libm-i387/s_floorf.S: Moved to ...
8131         * sysdeps/i386/fpu/s_floorf.S: ...here.
8132         * sysdeps/libm-i387/s_floorl.S: Moved to ...
8133         * sysdeps/i386/fpu/s_floorl.S: ...here.
8134         * sysdeps/libm-i387/s_fma.S: Moved to ...
8135         * sysdeps/i386/fpu/s_fma.S: ...here.
8136         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
8137         * sysdeps/i386/fpu/s_fmaf.S: ...here.
8138         * sysdeps/libm-i387/s_fmal.S: Moved to ...
8139         * sysdeps/i386/fpu/s_fmal.S: ...here.
8140         * sysdeps/libm-i387/s_fmax.S: Moved to ...
8141         * sysdeps/i386/fpu/s_fmax.S: ...here.
8142         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
8143         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
8144         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
8145         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
8146         * sysdeps/libm-i387/s_fmin.S: Moved to ...
8147         * sysdeps/i386/fpu/s_fmin.S: ...here.
8148         * sysdeps/libm-i387/s_fminf.S: Moved to ...
8149         * sysdeps/i386/fpu/s_fminf.S: ...here.
8150         * sysdeps/libm-i387/s_fminl.S: Moved to ...
8151         * sysdeps/i386/fpu/s_fminl.S: ...here.
8152         * sysdeps/libm-i387/s_frexp.S: Moved to ...
8153         * sysdeps/i386/fpu/s_frexp.S: ...here.
8154         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
8155         * sysdeps/i386/fpu/s_frexpf.S: ...here.
8156         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
8157         * sysdeps/i386/fpu/s_frexpl.S: ...here.
8158         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
8159         * sysdeps/i386/fpu/s_ilogb.S: ...here.
8160         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
8161         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
8162         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
8163         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
8164         * sysdeps/libm-i387/s_llrint.S: Moved to ...
8165         * sysdeps/i386/fpu/s_llrint.S: ...here.
8166         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
8167         * sysdeps/i386/fpu/s_llrintf.S: ...here.
8168         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
8169         * sysdeps/i386/fpu/s_llrintl.S: ...here.
8170         * sysdeps/libm-i387/s_log1p.S: Moved to ...
8171         * sysdeps/i386/fpu/s_log1p.S: ...here.
8172         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
8173         * sysdeps/i386/fpu/s_log1pf.S: ...here.
8174         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
8175         * sysdeps/i386/fpu/s_log1pl.S: ...here.
8176         * sysdeps/libm-i387/s_log2.S: Moved to ...
8177         * sysdeps/i386/fpu/s_log2.S: ...here.
8178         * sysdeps/libm-i387/s_log2f.S: Moved to ...
8179         * sysdeps/i386/fpu/s_log2f.S: ...here.
8180         * sysdeps/libm-i387/s_log2l.S: Moved to ...
8181         * sysdeps/i386/fpu/s_log2l.S: ...here.
8182         * sysdeps/libm-i387/s_logb.S: Moved to ...
8183         * sysdeps/i386/fpu/s_logb.S: ...here.
8184         * sysdeps/libm-i387/s_logbf.S: Moved to ...
8185         * sysdeps/i386/fpu/s_logbf.S: ...here.
8186         * sysdeps/libm-i387/s_logbl.S: Moved to ...
8187         * sysdeps/i386/fpu/s_logbl.S: ...here.
8188         * sysdeps/libm-i387/s_lrint.S: Moved to ...
8189         * sysdeps/i386/fpu/s_lrint.S: ...here.
8190         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
8191         * sysdeps/i386/fpu/s_lrintf.S: ...here.
8192         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
8193         * sysdeps/i386/fpu/s_lrintl.S: ...here.
8194         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
8195         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
8196         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
8197         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
8198         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
8199         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
8200         * sysdeps/libm-i387/s_remquo.S: Moved to ...
8201         * sysdeps/i386/fpu/s_remquo.S: ...here.
8202         * sysdeps/libm-i387/s_remquof.S: Moved to ...
8203         * sysdeps/i386/fpu/s_remquof.S: ...here.
8204         * sysdeps/libm-i387/s_remquol.S: Moved to ...
8205         * sysdeps/i386/fpu/s_remquol.S: ...here.
8206         * sysdeps/libm-i387/s_rint.S: Moved to ...
8207         * sysdeps/i386/fpu/s_rint.S: ...here.
8208         * sysdeps/libm-i387/s_rintf.S: Moved to ...
8209         * sysdeps/i386/fpu/s_rintf.S: ...here.
8210         * sysdeps/libm-i387/s_rintl.S: Moved to ...
8211         * sysdeps/i386/fpu/s_rintl.S: ...here.
8212         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
8213         * sysdeps/i386/fpu/s_scalbn.S: ...here.
8214         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
8215         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
8216         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
8217         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
8218         * sysdeps/libm-i387/s_significand.S: Moved to ...
8219         * sysdeps/i386/fpu/s_significand.S: ...here.
8220         * sysdeps/libm-i387/s_significandf.S: Moved to ...
8221         * sysdeps/i386/fpu/s_significandf.S: ...here.
8222         * sysdeps/libm-i387/s_significandl.S: Moved to ...
8223         * sysdeps/i386/fpu/s_significandl.S: ...here.
8224         * sysdeps/libm-i387/s_sin.S: Moved to ...
8225         * sysdeps/i386/fpu/s_sin.S: ...here.
8226         * sysdeps/libm-i387/s_sincos.S: Moved to ...
8227         * sysdeps/i386/fpu/s_sincos.S: ...here.
8228         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
8229         * sysdeps/i386/fpu/s_sincosf.S: ...here.
8230         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
8231         * sysdeps/i386/fpu/s_sincosl.S: ...here.
8232         * sysdeps/libm-i387/s_sinf.S: Moved to ...
8233         * sysdeps/i386/fpu/s_sinf.S: ...here.
8234         * sysdeps/libm-i387/s_sinl.S: Moved to ...
8235         * sysdeps/i386/fpu/s_sinl.S: ...here.
8236         * sysdeps/libm-i387/s_tan.S: Moved to ...
8237         * sysdeps/i386/fpu/s_tan.S: ...here.
8238         * sysdeps/libm-i387/s_tanf.S: Moved to ...
8239         * sysdeps/i386/fpu/s_tanf.S: ...here.
8240         * sysdeps/libm-i387/s_tanl.S: Moved to ...
8241         * sysdeps/i386/fpu/s_tanl.S: ...here.
8242         * sysdeps/libm-i387/s_trunc.S: Moved to ...
8243         * sysdeps/i386/fpu/s_trunc.S: ...here.
8244         * sysdeps/libm-i387/s_truncf.S: Moved to ...
8245         * sysdeps/i386/fpu/s_truncf.S: ...here.
8246         * sysdeps/libm-i387/s_truncl.S: Moved to ...
8247         * sysdeps/i386/fpu/s_truncl.S: ...here.
8248         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
8249         * sysdeps/ieee754/k_standard.c: ...here.
8250         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
8251         * sysdeps/ieee754/s_lib_version.c: ...here.
8252         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
8253         * sysdeps/ieee754/s_matherr.c: ...here.
8254         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
8255         * sysdeps/ieee754/s_signgam.c: ...here.
8256         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
8257         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
8258         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
8259         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
8260         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
8261         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
8262         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
8263         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
8264         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
8265         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
8266         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
8267         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
8268         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
8269         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
8270         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
8271         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
8272         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
8273         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
8274         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
8275         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
8276         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
8277         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
8278         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
8279         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
8280         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
8281         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
8282         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
8283         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
8284         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
8285         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
8286         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
8287         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
8288         * sysdeps/libm-ieee754/e_log.c: Moved to ...
8289         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
8290         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
8291         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
8292         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
8293         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
8294         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
8295         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
8296         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
8297         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
8298         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
8299         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
8300         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
8301         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
8302         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
8303         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
8304         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
8305         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
8306         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
8307         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
8308         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
8309         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
8310         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
8311         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
8312         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
8313         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
8314         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
8315         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
8316         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
8317         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
8318         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
8319         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
8320         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
8321         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
8322         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
8323         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
8324         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
8325         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
8326         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
8327         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
8328         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
8329         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
8330         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
8331         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
8332         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
8333         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
8334         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
8335         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
8336         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
8337         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
8338         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
8339         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
8340         (__isnan): Comment above function says it returns 0 or 1, but it
8341         used to return 0 or -1.
8342         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
8343         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
8344         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
8345         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
8346         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
8347         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
8348         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
8349         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
8350         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
8351         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
8352         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
8353         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
8354         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
8355         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
8356         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
8357         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
8358         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
8359         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
8360         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
8361         * sysdeps/generic/s_nextafter.c: ...here.
8362         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
8363         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
8364         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
8365         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
8366         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
8367         * sysdeps/libm-ieee754/s_round.c: Moved to ...
8368         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
8369         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
8370         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
8371         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
8372         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
8373         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
8374         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
8375         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
8376         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
8377         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
8378         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
8379         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
8380         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
8381         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
8382         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
8383         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
8384         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
8385         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
8386         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
8387         * sysdeps/ieee754/mpn2flt.c: Moved to ...
8388         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
8389         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
8390         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
8391         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
8392         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
8393         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
8394         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
8395         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
8396         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
8397         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
8398         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
8399         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
8400         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
8401         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
8402         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
8403         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
8404         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
8405         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
8406         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
8407         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
8408         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
8409         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
8410         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
8411         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
8412         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
8413         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
8414         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
8415         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
8416         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
8417         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
8418         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
8419         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
8420         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
8421         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
8422         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
8423         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
8424         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
8425         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
8426         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
8427         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
8428         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
8429         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
8430         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
8431         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
8432         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
8433         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
8434         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
8435         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
8436         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
8437         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
8438         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
8439         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
8440         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
8441         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
8442         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
8443         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
8444         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
8445         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
8446         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
8447         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
8448         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
8449         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
8450         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
8451         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
8452         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
8453         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
8454         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
8455         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
8456         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
8457         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
8458         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
8459         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
8460         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
8461         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
8462         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
8463         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
8464         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
8465         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
8466         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
8467         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
8468         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
8469         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
8470         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
8471         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
8472         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
8473         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
8474         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
8475         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
8476         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
8477         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
8478         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
8479         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
8480         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
8481         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
8482         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
8483         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
8484         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
8485         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
8486         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
8487         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
8488         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
8489         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
8490         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
8491         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
8492         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
8493         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
8494         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
8495         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
8496         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
8497         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
8498         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
8499         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
8500         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
8501         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
8502         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
8503         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
8504         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
8505         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
8506         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
8507         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
8508         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
8509         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
8510         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
8511         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
8512         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
8513         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
8514         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
8515         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
8516         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
8517         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
8518         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
8519         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
8520         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
8521         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
8522         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
8523         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
8524         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
8525         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
8526         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
8527         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
8528         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
8529         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
8530         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
8531         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
8532         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
8533         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
8534         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
8535         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
8536         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
8537         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
8538         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
8539         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
8540         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
8541         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
8542         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
8543         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
8544         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
8545         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
8546         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
8547         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
8548         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
8549         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
8550         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
8551         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
8552         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
8553         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
8554         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
8555         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
8556         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
8557         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
8558         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
8559         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
8560         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
8561         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
8562         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
8563         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
8564         INSERT_WORDS.
8565         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
8566         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
8567         (__nearbyintl): Fix for exponents 2^30.
8568         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
8569         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
8570         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
8571         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
8572         (__rintl): Fix for exponents 2^30.
8573         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
8574         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
8575         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
8576         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
8577         (__scalbnl): Fix exponent for subnormal result.
8578         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
8579         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
8580         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
8581         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
8582         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
8583         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
8584         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
8585         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
8586         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
8587         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
8588         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
8589         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
8590         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
8591         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
8592         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
8593         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
8594         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
8595         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
8596         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
8597         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
8598         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
8599         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
8600         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
8601         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
8602         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
8603         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
8604         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
8605         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
8606         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
8607         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
8608         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
8609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
8610         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
8611         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
8612         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
8613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
8614         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
8615         * sysdeps/i386/fpu/s_scalbln.c: ...here.
8616         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
8617         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
8618         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
8619         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
8620         * sysdeps/libm-i387/t_exp.c: Moved to ...
8621         * sysdeps/i386/fpu/t_exp.c: ...here.
8622         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
8623         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
8624         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
8625         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
8626         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
8627         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
8628         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
8629         * sysdeps/i386/fpu/s_isinfl.c: ...here.
8630         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
8631         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
8632         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
8633         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
8634         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
8635         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
8636         Fix exponent for subnormal result.
8637         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
8638         * sysdeps/generic/s_nexttowardl.c: ...here.
8639         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
8640         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
8641         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
8642         * sysdeps/i386/fpu/s_isnanl.c: ...here.
8643         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
8644         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
8645         Comment above function says it returns 0 or 1, but it used to return
8646         0 or -1.
8647         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
8648         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
8649         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
8650         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
8651         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
8652         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
8653         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
8654         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
8655         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
8656         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
8657         Cannot compare exponents with different biases without adjusting.
8658         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
8659         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
8660         Cannot compare exponents with different biases without adjusting.
8661         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
8662         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
8663         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
8664         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
8665         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
8666         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
8667         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8668         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
8669         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
8670         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
8671         * sysdeps/libm-ieee754/Dist: Split into ...
8672         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
8673         * sysdeps/ieee754/flt-32/Dist: ...this file.
8674
8675         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
8676         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
8677         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
8678         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
8679         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
8680         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
8681         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
8682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
8683         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
8684         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
8685         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
8686         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
8687         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
8688         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
8689         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
8690         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
8691         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
8692         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
8693         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
8694         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
8695         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
8696         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
8697         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
8698         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
8699         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
8700         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
8701         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
8702         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
8703         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
8704         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
8705         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
8706         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
8707         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
8708         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
8709         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
8710         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
8711         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
8712         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
8713         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
8714         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
8715         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
8716         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
8717         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
8718         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
8719         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
8720         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
8721         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
8722
8723         * sysdeps/generic/math_ldbl.h: New file.
8724         * sysdeps/generic/s_nexttowardf.c: New file.
8725         * sysdeps/generic/strtold.c: New file.
8726         * sysdeps/generic/ldbl2mpn.c: New file.
8727
8728         * math/machine/endian.h: Remove.
8729         * sysdeps/i386/fpu/Implies: Remove.
8730         * sysdeps/ieee754/Implies: Remove.
8731
8732         * math/math_private.h: Move long double macros to math_ldbl.h
8733         header.
8734
8735 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8736
8737         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
8738         connections without a hostname set address to localhost address.
8739
8740 1999-07-11  H.J. Lu  <hjl@gnu.org>
8741
8742         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
8743         nscd's own strong version of the get[a-z]*_r function.
8744         * nscd/hstcache.c: Likewise.
8745         * nscd/pwdcache.c: Likewise.
8746
8747 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
8748
8749         * configure.in: Recognize 2.95 as gcc version number.
8750         Patch by Joel Klecker <jk@espy.org>.
8751
8752 1999-07-12  Andreas Schwab  <schwab@suse.de>
8753
8754         * elf/rtld.c (dl_main): When putting back the interpreter object
8755         handle the case where a missing object might occur in the list of
8756         objects but not in the search list when in trace mode.
8757
8758 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
8759
8760         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
8761         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
8762         _nss_hesiod_initgroups.
8763
8764 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8765
8766         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
8767         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
8768         Initialize it from &__data_start if defined, or else &_end.
8769
8770 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
8771
8772         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
8773         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
8774
8775 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8776
8777         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
8778
8779 1999-07-09  H.J. Lu  <hjl@gnu.org>
8780
8781         * Versions.def (GLIBC_2.1.2): Added.
8782
8783         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
8784         old one as GLIBC_2.0.
8785         * nss/getXXbyYY_r.c: Likewise.
8786
8787         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
8788         GLIBC_2.1.2.
8789         * inet/Versions (getaliasbyname_r, getaliasent_r,
8790         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
8791         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
8792         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
8793         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
8794         getservbyname_r): Likewise.
8795         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
8796         * shadow/Versions (getspent_r, getspnam_r): Likewise.
8797
8798 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8799
8800         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
8801         compilers.
8802         (__memset_cc): Likewise.
8803
8804         * sysdeps/generic/libc-start.c: For SUID binaries check whether
8805         the standard file descriptors are open.
8806         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
8807
8808         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
8809         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
8810         range of mmap.  If not fail.
8811         Patches by Daniel Jacobowitz <dan@debian.org>.
8812
8813         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
8814         before the relocation happened.
8815         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
8816
8817         * Versions.def (libnsl): Add GLIBC_2.2.
8818         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
8819
8820 1999-07-08  Cristian Gafton  <gafton@redhat.com>
8821
8822         * nis/yp_xdr.c (xdr_ypall): New function.
8823
8824 1999-07-09  Andreas Schwab  <schwab@suse.de>
8825
8826         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
8827
8828         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
8829
8830 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
8831
8832         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
8833         * hesiod/hesiod-grp.c: Add initgroups support.
8834         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
8835
8836 1999-07-08  Andreas Schwab  <schwab@suse.de>
8837
8838         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
8839
8840         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
8841         negative numbers.
8842
8843         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
8844         EOF.
8845         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
8846
8847 1999-07-08  Andreas Schwab  <schwab@suse.de>
8848
8849         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
8850
8851 1999-07-08  Andreas Schwab  <schwab@suse.de>
8852
8853         * libio/fileno.c: Return -1 instead of EOF and set errno if the
8854         stream is not a real file stream.
8855
8856 1999-07-08  Andreas Schwab  <schwab@suse.de>
8857
8858         * manual/charset.texi: Fix typos.
8859
8860 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8861
8862         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
8863
8864 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
8865
8866         * dlfcn: New directory.  Move the following files from elf:
8867         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
8868         dlopenold.c, dlsym.c, dlvsym.c.
8869         * dlfcn/Makefile: New file.
8870         * dlfcn/Versions: New file.
8871         * dlfcn/dlsym.c: All ELF-specific code split out to new
8872         function _dl_sym.
8873         * dlfcn/dlvsym.c: All ELF-specific code split out to new
8874         function _dl_vsym.
8875         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
8876         implemented here.
8877
8878         * dlfcn/dladdr.c: Remove all references to ELF data structures
8879         or headers.
8880         * dlfcn/dlclose.c: Likewise.
8881         * dlfcn/dlerror.c: Likewise.
8882         * dlfcn/dlopen.c: Likewise.
8883         * dlfcn/dlopenold.c: Likewise.
8884
8885         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
8886         yes, empty otherwise.
8887         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
8888         depending on build-shared.
8889         (subdirs): Add $(dlfcn).
8890         (rpath-dirs): Add dlfcn.
8891         * elf/Makefile: Remove all references to libdl or its
8892         components, except the ones relating to the test cases.
8893         (routines): Add dl-sym.
8894         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
8895         (libdl): Delete.
8896
8897         * elf/dl-close.c (_dl_close): Change argument to void *.
8898         * elf/dl-open.c (_dl_open): Change return type to void *.
8899         * elf/eval.c: Removed.
8900         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
8901         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
8902         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
8903         _CALL_DL_FCT macro.
8904         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
8905         Include real header from dlfcn directory.
8906         * include/ldsodefs.h: Removed.
8907
8908         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
8909         * nss/getXXbyYY_r.c: Likewise.
8910         * nss/getXXent_r.c: Likewise.
8911         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
8912         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
8913         * iconv/skeleton.c: Don't include ldsodefs.h.
8914         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
8915
8916 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
8917
8918         * sysdeps/generic/setenv.c: Describe problem.
8919
8920         * malloc/malloc.c (request2size): Also set errno if failing.
8921
8922         * malloc/malloc.c (request2size): Take care of overflow in
8923         addition.
8924
8925         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
8926         (NULL, != 0) correctly.
8927
8928         * elf/dl-load.c: Use a few more __builtin_expect.
8929
8930         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
8931         is large enough.
8932
8933 1999-07-07  Andreas Schwab  <schwab@suse.de>
8934
8935         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
8936         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
8937         (_PATH_DEVPTMX): Use _PATH_DEV.
8938
8939 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8940
8941         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
8942         * malloc/Makefile (tests): Add tst-malloc.
8943
8944 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8945
8946         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
8947         convention.
8948
8949         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
8950         motherboards.
8951         Patch by Jay Estabrook.
8952
8953         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
8954         ldd for SPARC.
8955         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
8956         Patch by Cristian Gafton.
8957
8958 1999-07-02  Cristian Gafton  <gafton@redhat.com>
8959
8960         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
8961         instead of "return NULL" to make C++ happy.
8962
8963 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
8964
8965         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
8966         allowed by the file access mode of the open file.
8967
8968 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
8969
8970         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
8971         macros defined.
8972
8973 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
8974
8975         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
8976         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
8977         * sysdeps/sparc/sparc64/rshift.S: Likewise.
8978         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
8979
8980 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8981
8982         * malloc/malloc.c (request2size): Check for overflow and return
8983         NULL whenever it is encountered.
8984
8985 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
8986
8987         * sysdeps/posix/tempname.c (__gen_tempname):   Add
8988         ability to create directories.  Replace OPENIT and LARGEFILE
8989         args with a single flags parameter.
8990         * sysdeps/generic/tempname.c: Likewise.
8991         * include/stdio.h: Adjust prototype of __gen_tempname to
8992         match.  Define symbolic constants for second argument.
8993
8994         * misc/mkdtemp.c: New file, provides new function mkdtemp().
8995         * stdlib/stdlib.h: Prototype it.
8996         * misc/Versions: Export it.
8997         * misc/Makefile (routines): Add mktemp.
8998         * manual/filesys.texi: Document it.
8999
9000         * misc/mktemp.c: Adjust call of __gen_tempname to match new
9001         convention.
9002         * misc/mkstemp.c: Likewise.
9003         * stdio-common/tempnam.c: Likewise.
9004         * stdio-common/tmpfile.c: Likewise.
9005         * stdio-common/tmpfile64.c: Likewise.
9006         * stdio-common/tmpnam.c: Likewise.
9007         * stdio-common/tmpnam_r.c: Likewise.
9008
9009 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
9010
9011         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
9012         R_SPARC_OLO10 relocations.
9013         * elf/elf.h (R_SPARC_OLO10): Fix comment.
9014
9015 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
9016
9017         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
9018         doesn't belong in the tests, but in the wordexp implementation.
9019
9020         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
9021         split fields.
9022
9023 1999-07-01  Cristian Gafton  <gafton@redhat.com>
9024
9025         * time/strptime.c (strptime): Initialize the tm struct first to avoid
9026         returning bogus results on incomplete data.
9027         (strptime_internal): day_of_the_week() requres both tm_mon and
9028         tm_mday to be initialized.
9029         Compute them first if they are not given.
9030         (strptime_internal): (have_mon, have_mday): New variables.
9031
9032 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9033
9034         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
9035
9036 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9037
9038         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
9039         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9040
9041 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9042
9043         * posix/wordexp.c (parse_tilde): Handle failing call to
9044         get.*_r functions correctly for non-existing entry.
9045         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9046         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
9047
9048 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
9049
9050         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
9051         getxxbyYY_r functions correctly for non-existing entry.
9052         * sunrpc/getrpcport.c: Likewise.
9053         * sunrpc/clnt_simp.c: Likewise.
9054         * inet/rexec.c: Likewise.
9055         * sunrpc/clnt_gen.c: Likewise.
9056         * inet/rcmd.c: Likewise.
9057         * sysdeps/generic/glob.c: Likewise.
9058
9059 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9060
9061         * pwd/Makefile (tests): Add rules for tst-getpw.
9062
9063         * pwd/tst-getpw.c: New program to test getpw.
9064
9065 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9066
9067         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
9068         correctly.
9069
9070 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9071
9072         * manual/arith.texi (System V Number Conversion): Fix the
9073         description which confused pointer and value to pointer.
9074         Reported by Andries.Brouwer@cwi.nl.
9075
9076 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9077
9078         * pwd/getpw.c (__getpw): Check for NULL result pointer.
9079
9080 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9081
9082         * manual/users.texi (Lookup User): Document POSIX return
9083         semantics for getpwuid_r and getgrgid_r.
9084
9085         * manual/socket.texi (Host Names): Document that the result
9086         pointer is null in case of error or host not found and fix a
9087         typo.  Give a small example.
9088
9089 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
9090
9091         * pwd/getpw.c: Add warning since no buffer size is given and
9092         therefore no overrun tests are possible.
9093
9094 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9095
9096         * pwd/pwd.h: Add getpw prototype declaration.
9097
9098 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
9099
9100         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
9101         * wcsmbs/wcschr.c: Likewise.
9102
9103 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
9104
9105         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
9106         returns.
9107         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
9108         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
9109         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
9110
9111         * elf/dl-dst.h: Fix typo.
9112         * elf/dl-open.c: Likewise.
9113
9114 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
9115
9116         * elf/dl-libc.c: New file, provides three functions:
9117         __libc_dlopen, __libc_dlclose, __libc_dlsym.
9118         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
9119         * elf/Makefile (routines): Add dl-libc.c.
9120         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
9121         argument to void *.
9122         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
9123
9124         * iconv/gconv.c: Include dlfcn.h.
9125         * iconv/gconv_db.c: Likewise.
9126         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
9127
9128         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
9129         `handle' to a void *.
9130         (__gconv_find_func): Delete prototype.
9131
9132         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
9133         dlerror_run and related functions and structs.  Use
9134         __libc_dlopen, __libc_dlsym, __libc_dlclose.
9135         * nss/nsswitch.c: Likewise.
9136
9137 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
9138
9139         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
9140         function correctly.
9141
9142         * sunrpc/getrpcport.c: Test for gethostbyname_r function
9143         correctly.
9144
9145         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
9146
9147         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
9148         functions correctly.
9149
9150         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
9151
9152         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
9153         file reading a bit.
9154
9155         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
9156
9157 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9158
9159         * manual/string.texi (Copying and Concatenation): Mention that
9160         strndup is a GNU extension.
9161
9162 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9163
9164         * pwd/getpw.c (__getpw): Fix check for error return.
9165
9166 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9167
9168         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
9169         occurence of the aux object start with the current list entry, not
9170         the new one.  Adjust tail pointer in the unique list.  Explain how
9171         the meaning of the variables changes [PR libc/1168].
9172
9173 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9174
9175         * sysdeps/m68k/fpu/Dist: New file.
9176
9177 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9178
9179         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
9180         definitions...
9181         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
9182         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
9183         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9184         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9185         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9186         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9187         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9188         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9189         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9190         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9191         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9192         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9193         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9194         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9195         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9196         * sysdeps/m68k/fpu/s_modf.c: Likewise.
9197
9198 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
9199
9200         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
9201         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
9202         _EXTERN_INLINE, use a macro specific to each file,
9203         _HURD_FD_H_EXTERN_INLINE and the like.
9204         * hurd/Makefile (inline-headers): New variable.
9205         (routines): Remove hurdinline.  Add $(inlines).
9206         (inlines): New variable.
9207         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
9208         (generated): Append those here.
9209         * hurd/hurdinline.c: File removed.
9210
9211         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
9212
9213         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
9214
9215 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9216
9217         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
9218
9219 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
9220
9221         * string/bits/string2.h (strnlen): Remove extra prototype.
9222
9223 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9224
9225         * manual/filesys.texi (Working on Directory Trees): Fix typos.
9226         Reported by Andries.Brouwer@cwi.nl.
9227
9228 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
9229
9230         * nscd/connections.c (handle_request): Use correct type for optlen
9231         variable.
9232
9233         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
9234         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
9235
9236 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
9237
9238         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
9239         * nscd/pwdcache.c: Likewise.
9240         * nscd/hstcache.c: Likewise.
9241
9242 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
9243
9244         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
9245
9246         * posix/getopt.h: Include stdio.h.
9247
9248         * manual/arith.texi: Document restriction of ndigit parameter of
9249         ecvt and friends.
9250         * misc/efgcvt.c: Define NDIGIT_MAX.
9251         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
9252         Do not dynamically allocate the static buffers.  They are small enough.
9253         * misc/efgcvt_r.c: Define NDIGIT_MAX.
9254         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
9255         * misc/qefgcvt.c: Define NDIGIT_MAX.
9256         * misc/qefgcvt_r.c: Likewise.
9257         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
9258
9259 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
9260
9261         * libio/stdio.h: Define stdin, stdout, stderr as macros.
9262         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
9263         These are *pragmas* not macros.
9264         * wcsmbs/wchar.h: Fix comment.
9265
9266         * grp/grp.h: Use __foo_t_defined convention to typedef things
9267         only once.
9268         * io/sys/stat.h: Likewise.
9269         * libio/stdio.h: Likewise.
9270         * posix/unistd.h: Likewise.
9271         * posix/sys/types.h: Likewise.
9272         * posix/sys/wait.h: Likewise.
9273         * pwd/pwd.h: Likewise.
9274         * signal/signal.h: Likewise.
9275         * sysdeps/generic/stdint.h: Likewise.
9276         * sysdeps/gnu/utmpx.h: Likewise.
9277         * termios/termios.h: Likewise.
9278
9279 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
9280
9281         * stdio/fputc.c: Don't define alias if fputc is defined as a
9282         macro.
9283         * stdio/putc.c: Define weak alias here since it is not done
9284         anymore in fputc.c.
9285
9286 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9287
9288         * assert/assert.h: Don't produce `defined' as part of macro
9289         expansion.
9290
9291 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
9292
9293         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
9294         OFFSET argument of (off_t) -1.
9295         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
9296         OFFSET argument of (off_t) -1.
9297
9298         * sysdeps/mach/hurd/pwrite.c: New file.
9299         * sysdeps/mach/hurd/pread.c: New file.
9300
9301         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
9302         pass it in the RPC instead of always -1.
9303         * hurd/fd-write.c (_hurd_fd_write): Likewise.
9304         * hurd/hurd/fd.h: Update decls.
9305
9306 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9307
9308         * libio/wscanf.c: Include <wchar.h> for prototype.
9309
9310 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
9311
9312         * manual/io.texi. Fix typos.
9313         * manual/stdio.texi: Likewise.
9314         Patches by Brian Youmans <3diff@gnu.org>.
9315
9316 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
9317
9318         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
9319         bits of two words differ.
9320
9321 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9322
9323         * libio/Makefile (routines): Add putwchar and putwchar_u.
9324
9325         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
9326         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
9327         stdout.  Fix parameter name.
9328
9329         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
9330         * libio/getchar_u.c: Likewise.
9331
9332         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
9333
9334 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9335
9336         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
9337         macro expansion---it's undefined.  Properly parenthesize
9338         substituted parameters.
9339         (__GLIBC_PREREQ): Likewise.
9340
9341 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
9342
9343         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
9344         weird effects.
9345
9346         * stdlib/longlong.h: Provide __P definition if not already
9347         defined.
9348
9349         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
9350
9351 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
9352
9353         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
9354
9355 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9356
9357         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
9358
9359 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9360
9361         * stdio-common/vfprintf.c (group_member): Make parameters and
9362         return types pointers to CHAR_T instead of UCHAR_T.
9363         (vfprintf): Change type of work_buffer, workend and string to
9364         CHAR_T pointer/array.
9365         (process_arg, process_string_arg): Adjust/remove casts.  Add
9366         missing use of L_ macro.
9367         (printf_unknown): Add missing uses of L_ macro.
9368
9369 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9370
9371         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
9372         warning.
9373
9374 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9375
9376         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
9377         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
9378         (__wunderflow): Likewise.
9379         (_IO_switch_to_wget_mode): Likewise.
9380         (_IO_init_wmarker): Likewise.
9381
9382         * libio/wfileops.c (_IO_wfile_seekoff): Call
9383         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
9384         (_IO_wfile_jumps): Fix pbackfail entry.
9385
9386         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
9387         function if the stream is currently unoriented.
9388
9389 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
9390
9391         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
9392         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
9393         __gnuc_va_list in v*w(printf|scanf) prototypes.
9394
9395 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9396
9397         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
9398         1999-03-29 to iopopen also here.
9399         Reported by Richard Braakman <dark@xs4all.nl>.
9400
9401 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9402
9403         * include/features.h: Use __GNUC_PREREQ.
9404         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9405
9406 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9407
9408         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
9409         Change EOF to WEOF and remove cast.
9410         (UNGETC): Remove macro.
9411         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
9412         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
9413         Change ISASCII to isascii and MBRLEN to mbrlen.
9414         (parse_one_spec): Compare info.spec always against wchar_t
9415         values.
9416         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
9417         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
9418         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
9419
9420 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9421
9422         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
9423         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
9424         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
9425         oldiofsetpos64 only if doing versioning.
9426
9427 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
9428
9429         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
9430
9431 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9432
9433         * libio/libio.h: Fix last patch.
9434
9435 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
9436
9437         * libio/libio.h (_IO_putwc): Correct type of first argument.
9438         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
9439         putwc_unlocked, putwchar_unlocked): Likewise.
9440         * libio/fputwc.c: Likewise.
9441         * libio/fputwc_unlocked.c: Likewise.
9442         * libio/putwc.c: Likewise.
9443         * libio/putwc_unlocked.c: Likewise.
9444         * libio/putwchar.c: Likewise.
9445         * libio/putwchar_unlocked.c: Likewise.
9446
9447 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
9448
9449         * sysdeps/gnu/siglist.h: File moved to ...
9450         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
9451         any platform, since it just associates the SIG* macros with text names
9452         and descriptions. For any signal macros do not exist on every
9453         platform, we can use #ifdef tests here and still use this single
9454         common file for all platforms.
9455         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
9456         should be usable for all platforms after the binary compatibility
9457         stuff in the current sysdeps/gnu version is no longer required.
9458         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
9459         * sysdeps/generic/make_siglist.c: File removed.
9460         * sysdeps/mach/hurd/siglist.h: Use #include_next.
9461         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
9462
9463 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
9464
9465         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
9466         * sysdeps/gnu/siglist.c: ... here.
9467         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
9468         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
9469         * sysdeps/gnu/siglist.h: New file, contents from linux version.
9470         Add entry for SIGLOST protected by #ifdef.
9471         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
9472         and define OLD_SIGLIST_SIZE_STR.
9473         * sysdeps/mach/hurd/siglist.h: New file, likewise.
9474
9475 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
9476
9477         * include/features.h: Define new macros __GNUC_PREREQ and
9478         __GLIBC_PREREQ which can be used to test the version of gcc
9479         and glibc respectively.
9480
9481         * assert/assert.h: Use __GNUC_PREREQ.
9482         * intl/libintl.h: Likewise.
9483         * math/complex.h: Likewise.
9484         * math/tgmath.h: Likewise.
9485         * misc/sys/cdefs.h: Likewise.
9486         * posix/sys/types.h: Likewise.
9487         * socket/sys/socket.h: Likewise.
9488         * string/bits/string2.h: Likewise.
9489         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
9490         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
9491
9492 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
9493
9494         * include/libintl.h: Declare _libc_intl_domainname here.
9495         Define _ and N_ here.
9496         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
9497         define _ and N_.  Don't declare _libc_intl_domainname.
9498         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
9499
9500         * db2/config.h: Don't include sys/stat.h or define
9501         HAVE_ST_BLKSIZE here...
9502         * db2/compat.h: ...do it here.
9503
9504         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
9505         other headers.
9506         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
9507         * iconv/iconv.c: Include stddef.h for NULL.
9508         * malloc/malloc.h: Include features.h.
9509         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
9510
9511         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
9512         into the generated file.
9513         * sysdeps/gnu/errlist.awk: Likewise.
9514         * sysdeps/gnu/errlist.c: Rebuilt.
9515
9516         * assert/assert-perr.c: Include libintl.h.
9517         * assert/assert.c: Likewise.
9518         * elf/dl-open.c: Likewise.
9519         * elf/dlsym.c: Likewise.
9520         * elf/dlvsym.c: Likewise.
9521         * iconv/iconv_prog.c: Likewise.
9522         * inet/rcmd.c: Likewise.
9523         * inet/ruserpass.c: Likewise.
9524         * locale/programs/charset.c: Likewise.
9525         * locale/programs/ld-collate.c: Likewise.
9526         * locale/programs/ld-ctype.c: Likewise.
9527         * locale/programs/ld-messages.c: Likewise.
9528         * locale/programs/ld-monetary.c: Likewise.
9529         * locale/programs/ld-numeric.c: Likewise.
9530         * locale/programs/ld-time.c: Likewise.
9531         * locale/programs/locfile.c: Likewise.
9532         * locale/programs/repertoire.c: Likewise.
9533         * login/programs/database.c: Likewise.
9534         * login/programs/request.c: Likewise.
9535         * malloc/mcheck.c: Likewise.
9536         * misc/error.c: Likewise.
9537         * nis/nis_call.c: Likewise.
9538         * nis/nis_callback.c: Likewise.
9539         * nis/nis_error.c: Likewise.
9540         * nis/nis_local_names.c: Likewise.
9541         * nis/nis_print.c: Likewise.
9542         * nis/nis_print_group_entry.c: Likewise.
9543         * nis/ypclnt.c: Likewise.
9544         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9545         * nscd/cache.c: Likewise.
9546         * nscd/connections.c: Likewise.
9547         * nscd/grpcache.c: Likewise.
9548         * nscd/hstcache.c: Likewise.
9549         * nscd/nscd_conf.c: Likewise.
9550         * nscd/nscd_stat.c: Likewise.
9551         * nscd/pwdcache.c: Likewise.
9552         * posix/id.c: Likewise.
9553         * resolv/herror.c: Likewise.
9554         * stdio-common/psignal.c: Likewise.
9555         * string/strsignal.c: Likewise.
9556         * sunrpc/auth_unix.c: Likewise.
9557         * sunrpc/clnt_perr.c: Likewise.
9558         * sunrpc/clnt_raw.c: Likewise.
9559         * sunrpc/clnt_tcp.c: Likewise.
9560         * sunrpc/clnt_udp.c: Likewise.
9561         * sunrpc/clnt_unix.c: Likewise.
9562         * sunrpc/get_myaddr.c: Likewise.
9563         * sunrpc/pm_getmaps.c: Likewise.
9564         * sunrpc/pmap_clnt.c: Likewise.
9565         * sunrpc/pmap_rmt.c: Likewise.
9566         * sunrpc/rpc_main.c: Likewise.
9567         * sunrpc/rpc_scan.c: Likewise.
9568         * sunrpc/svc_run.c: Likewise.
9569         * sunrpc/svc_simple.c: Likewise.
9570         * sunrpc/svc_tcp.c: Likewise.
9571         * sunrpc/svc_udp.c: Likewise.
9572         * sunrpc/svc_unix.c: Likewise.
9573         * sunrpc/xdr_rec.c: Likewise.
9574         * sunrpc/xdr_ref.c: Likewise.
9575         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
9576         * sysdeps/posix/gai_strerror.c: Likewise.
9577         * sysdeps/unix/siglist.c: Likewise.
9578         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
9579         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9580         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
9581         * timezone/zic.c: Likewise.
9582
9583 1999-06-18  H.J. Lu  <hjl@gnu.org>
9584
9585         * localedata/Makefile (charmaps): Exclude SCCS.
9586         (locales): Likewise.
9587         (repertoiremaps): Likewise.
9588
9589 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
9590
9591         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
9592         * sysdeps/generic/bsd-setjmp.c: Likewise.
9593
9594         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
9595
9596         * iconv/gconv_open.c: Include string.h for memset prototype.
9597
9598         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
9599         definitions.
9600
9601         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
9602         assignment to avoid warning on 64bit platforms.
9603
9604 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9605
9606         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
9607
9608         * nss/getXXbyYY_r.c: Return error code not -1.
9609         * nss/getXXent_r.c: Likewise.
9610         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
9611         small.
9612         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
9613         value > 0 for error.
9614         * nscd/nscd_gethst_r.c: Likewise.
9615         * nscd/nscd_getpw_r.c: Likewise.
9616
9617 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9618
9619         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
9620         disciplines.
9621
9622 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9623
9624         * nscd/nscd_nischeck.c: Fix typos.
9625
9626 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9627
9628         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
9629         always when oact is NULL.
9630         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
9631
9632 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9633
9634         * math/libm-test.c (jn_test): Adjust delta.
9635
9636 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9637
9638         * libio/vwprintf.c: Include <wchar.h> for prototypes.
9639         * libio/wprintf.c: Likewise.
9640
9641 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9642
9643         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
9644         to not write beyond allocated memory.
9645         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
9646
9647 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
9648
9649         * malloc/mtrace.c: Keep lock while printing output lines.
9650         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
9651
9652 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
9653
9654         * configure.in: Add warnings about broken code.
9655
9656         * Versions.def: Add GLIBC_2.2 for libc.
9657
9658         * iconv/gconv.h: Make header suitable for inclusion in public header
9659         by protecting all names with __.
9660         * iconv/gconv.c: Adapt for symbol name changes.
9661         * iconv/gconv.h: Likewise.
9662         * iconv/gconv_builtin.c: Likewise.
9663         * iconv/gconv_close.c: Likewise.
9664         * iconv/gconv_db.c: Likewise.
9665         * iconv/gconv_dl.c: Likewise.
9666         * iconv/gconv_int.h: Likewise.
9667         * iconv/gconv_open.c: Likewise.
9668         * iconv/gconv_simple.c: Likewise.
9669         * iconv/iconv.c: Likewise.
9670         * iconv/iconv_close.c: Likewise.
9671         * iconv/iconv_open.c: Likewise.
9672         * iconv/loop.c: Likewise.
9673         * iconv/skeleton.c: Likewise.
9674         * iconvdata/8bit-gap.c: Likewise.
9675         * iconvdata/8bit-generic.c: Likewise.
9676         * iconvdata/ansi_x3.110.c: Likewise.
9677         * iconvdata/big5.c: Likewise.
9678         * iconvdata/cns11643.h: Likewise.
9679         * iconvdata/cns11643l1.h: Likewise.
9680         * iconvdata/euc-cn.c: Likewise.
9681         * iconvdata/euc-jp.c: Likewise.
9682         * iconvdata/euc-kr.c: Likewise.
9683         * iconvdata/euc-tw.c: Likewise.
9684         * iconvdata/gb2312.h: Likewise.
9685         * iconvdata/iso-2022-jp.c: Likewise.
9686         * iconvdata/iso-2022-kr.c: Likewise.
9687         * iconvdata/iso646.c: Likewise.
9688         * iconvdata/iso8859-1.c: Likewise.
9689         * iconvdata/iso_6937-2.c: Likewise.
9690         * iconvdata/iso_6937.c: Likewise.
9691         * iconvdata/jis0201.h: Likewise.
9692         * iconvdata/jis0208.h: Likewise.
9693         * iconvdata/jis0212.h: Likewise.
9694         * iconvdata/johab.c: Likewise.
9695         * iconvdata/ksc5601.h: Likewise.
9696         * iconvdata/sjis.c: Likewise.
9697         * iconvdata/t.61.c: Likewise.
9698         * iconvdata/uhc.c: Likewise.
9699         * stdlib/mblen.c: Likewise.
9700         * stdlib/mbtowc.c: Likewise.
9701         * stdlib/wctomb.c: Likewise.
9702         * wcsmbs/btowc.c: Likewise.
9703         * wcsmbs/mbrtowc.c: Likewise.
9704         * wcsmbs/mbsnrtowcs.c: Likewise.
9705         * wcsmbs/mbsrtowcs.c: Likewise.
9706         * wcsmbs/wchar.h: Likewise.
9707         * wcsmbs/wcrtomb.c: Likewise.
9708         * wcsmbs/wcsmbsload.c: Likewise.
9709         * wcsmbs/wcsmbsload.h: Likewise.
9710         * wcsmbs/wcsnrtombs.c: Likewise.
9711         * wcsmbs/wcsrtombs.c: Likewise.
9712         * wcsmbs/wctob.c: Likewise.
9713
9714         * include/limits.h (MB_LEN_MAX): Increase to 16.
9715
9716         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
9717         _G_iconv_t.
9718         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9719         * include/wchar.h: Change mbstate_t to __mbstate_t.
9720
9721         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
9722         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
9723         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
9724         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
9725         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
9726         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
9727         and iofwide.
9728         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
9729         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
9730         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
9731         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
9732         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
9733         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
9734         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
9735         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
9736         GLIBC_2.2 for libc.
9737         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
9738         Extend _IO_file contain pointer to codecvt, widedata and mode.
9739         (_IO_getwc_unlocked): New macro.
9740         (_IO_putwc_unlocked): New macro.
9741         (_IO_fwide): New macro.
9742         * libio/libioP.h: Add new prototypes and adjust existing declarations.
9743         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
9744         buffers based on mode.
9745         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
9746         oriented.
9747         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
9748         flag to be enough to signal unallocated buffer.  For wide oriented
9749         stream don't make it linebuffered.  Don't use _IO_do_flush, use
9750         _IO_new_do_write directly.
9751         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
9752         (_IO_file_seek): Likewise.
9753         * libio/genops.c (_IO_least_marker): Make global.
9754         (__underflow): Orient stream if not already done.
9755         (__uflow): Likewise.
9756         (_IO_default_seekpos): Change to type _IO_off64_t.
9757         (_IO_default_seekoff): Likewise.
9758         (_IO_default_seek): Likewise.
9759         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
9760         in initialization.
9761         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
9762         to use _IO_off64_t.
9763         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
9764         char stream.
9765         * libio/ftello64.c: Likewise.
9766         * libio/ioftell.c: Likewise.
9767         * libio/iofopncook.c: Likewise.
9768         * libio/ioseekoff.c: Likewise.
9769         * libio/ioseekpos.c: Likewise.
9770         * libio/oldfileops.c: Likewise.
9771         * libio/iofgetpos.c: Store state of conversion if necessary.
9772         * libio/iofgetpos64.c: Likewise.
9773         * libio/iofsetpos.c: Restore conversion state if necessary.
9774         * libio/iofsetpos64.c: Likewise.
9775         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
9776         * libio/iofopen.c: Likewise.
9777         * libio/iofopen64.c: Likewise.
9778         * libio/iopopen.c: Likewise.
9779         * libio/iovdprintf.c: Likewise.
9780         * libio/iovsprintf.c: Likewise.
9781         * libio/iovsscanf.c: Likewise.
9782         * libio/memstream.c: Likewise.
9783         * libio/obprintf.c: Likewise.
9784         * libio/iofputs.c: Orient stream if not already happened.
9785         * libio/iofputs_u.c: Likewise.
9786         * libio/iofwrite.c: Likewise.
9787         * libio/iofwrite_u.c: Likewise.
9788         * libio/ioputs.c: Likewise.
9789         * libio/iosetbuffer.c: Handle not yet oriented stream.
9790         * libio/iosetvbuf.c: Likewise.
9791         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
9792         * libio/stdfiles.c: Likewise.
9793         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
9794         failed allocation.
9795         (_IO_str_seekoff): Use _IO_off64_t.
9796         * libio/vasprintf.c: Pre-orient stream.
9797         * libio/vsnprintf.c: Likewise.
9798         * libio/fputwc.c: New file.
9799         * libio/fputwc_u.c: New file.
9800         * libio/fwprintf.c: New file.
9801         * libio/fwscanf.c: New file.
9802         * libio/getwc.c: New file.
9803         * libio/getwc_u.c: New file.
9804         * libio/getwchar.c: New file.
9805         * libio/getwchar_u.c: New file.
9806         * libio/iofgetws.c: New file.
9807         * libio/iofgetws_u.c: New file.
9808         * libio/iofputws.c: New file.
9809         * libio/iofputws_u.c: New file.
9810         * libio/iofwide.c: New file.
9811         * libio/iogetwline.c: New file.
9812         * libio/ioungetwc.c: New file.
9813         * libio/iovswscanf.c: New file.
9814         * libio/iowpadn.c: New file.
9815         * libio/oldiofgetpos.c: New file.
9816         * libio/oldiofgetpos64.c: New file.
9817         * libio/oldiofsetpos.c: New file.
9818         * libio/oldiofsetpos64.c: New file.
9819         * libio/putwc.c: New file.
9820         * libio/putwc_u.c: New file.
9821         * libio/putwchar.c: New file.
9822         * libio/putwchar_u.c: New file.
9823         * libio/swprintf.c: New file.
9824         * libio/swscanf.c: New file.
9825         * libio/tst_swprintf.c: New file.
9826         * libio/tst_swscanf.c: New file.
9827         * libio/tst_wprintf.c: New file.
9828         * libio/tst_wscanf.c: New file.
9829         * libio/tst_wscanf.input: New file.
9830         * libio/vswprintf.c: New file.
9831         * libio/vwprintf.c: New file.
9832         * libio/vwscanf.c: New file.
9833         * libio/wfiledoalloc.c: New file.
9834         * libio/wfileops.c: New file.
9835         * libio/wgenops.c: New file.
9836         * libio/wprintf.c: New file.
9837         * libio/wscanf.c: New file.
9838         * libio/wstrops.c: New file.
9839         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
9840         vfwprintf, and vfwscanf.
9841         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
9842         make global.
9843         * stdio-common/_itowa.c: New file.
9844         * stdio-common/_itowa.h: New file.
9845         * stdio-common/itoa-digits.c: Minimal optimization.
9846         * stdio-common/itowa-digits.c: New file.
9847         * stdio-common/printf-parse.h: Allow use in wide character context.
9848         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
9849         * stdio-common/printf.h (printf_info): Add wide bit.
9850         * stdio-common/printf_fp.c: Determine from wide bit whether stream
9851         is wide oriented or not.
9852         * stdio-common/printf_size.c: Likewise.
9853         * sysdeps/generic/printf_fphex.c: Likewise.
9854         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
9855         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
9856         context.
9857         * stdio-common/vfscand.c: Likewise.
9858         * stdio-common/vfwprintf.c: New file.
9859         * stdio-common/vfwscanf.c: New file.
9860
9861         * time/Makefile (routines): Add wcsftime.
9862         (tests): Add tst_wcsftime.
9863         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
9864         * time/strftime.c: Make usable as wcsftime.
9865         * time/wcsftime.c: New file.
9866         * time/tst_wcsftime.c: New file.
9867
9868         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
9869         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
9870         * wcsmbs/wcschrnul.c: New file.
9871         * wcsmbs/wmemcpy.c: New file.
9872         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
9873         * wcsmbs/wmemmove.c: Likewise for wmemmove.
9874
9875         * manual/stdio.texi: Document is_char and wide element if printf_info.
9876
9877         * manual/time.texi: Document wcsftime.
9878
9879         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
9880         __wmemmove, __wcschrnul, and __vfwscanf.
9881
9882         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
9883         * locale/C-time.c: Adapt for above change.
9884         * locale/categories.def: Likewise.
9885         * locale/localeinfo.h: Likewise.
9886         * localedata/Makefile: Don't run tests for now.
9887
9888         * manual/errno.texi: Fix typos.
9889         * manual/memory.texi: Likewise.
9890         * manual/ctype.texi: Likewise.
9891         Patches by Brian Youmans <3diff@gnu.org>.
9892
9893 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9894
9895         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
9896
9897 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9898
9899         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
9900         word order.
9901         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
9902         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
9903
9904 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9905
9906         * db2/db/db.c: Restore __nss_db_open alias.
9907         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
9908         include.
9909         * db2/os/os_rw.c (__os_write): Maintain const correctness.
9910         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
9911
9912 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9913
9914         * stdio-common/printf-parse.h (parse_one_spec): Don't set
9915         is_longlong if not necessary.
9916
9917 1999-06-15  H.J. Lu  <hjl@gnu.org>
9918
9919         * Make-dist (sysdep_dirs): Exclude SCCS.
9920         * MakeTAGS (sysdep_dirs): Likewise.
9921
9922 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
9923
9924         * posix/regex.c (re_error_msgid): Remove extra commas.
9925
9926 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
9927
9928         * stdlib/tst-strtoll.c: New file.
9929         * stdlib/Makefile (tests): Add tst-strtoll.c
9930         * stdlib/strtol.c: It is not generally true that if
9931         (unsigned)a*(unsigned)b overflows, then the result is
9932         less than 'a'.
9933
9934 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
9935
9936         * nscd/connections.c (handle_request): Only root is allowed to
9937         send GETSTAT request in non secure mode.
9938         * nscd/nscd.c: Print error message if other then root try to
9939         use getstat.
9940
9941 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9942
9943         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
9944
9945 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9946
9947         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
9948         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
9949
9950 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9951
9952         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
9953         for character to search, to help the compiler.
9954         * sysdeps/generic/strchrnul.c: Likewise.
9955         * sysdeps/generic/memchr.c: Likewise.
9956         * sysdeps/generic/memccpy.c: Likewise.
9957         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
9958
9959 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9960
9961         * sysdeps/m68k/memchr.S: New file.
9962         * sysdeps/m68k/rawmemchr.S: New file.
9963         * sysdeps/m68k/strchr.S: New file.
9964         * sysdeps/m68k/strchrnul.S: New file.
9965
9966 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
9967
9968         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
9969         add `memory' clobber; optimise for constant `val'.
9970         (atomic_add): Likewise.
9971         (test_and_set): Remove `volatile'; add `memory' clobber; be more
9972         like the original `test_and_set'.
9973         (compare_and_swap): Remove `volatile'; add `memory' clobber;
9974         optimise for constant `oldval'.
9975         (always_swap): Remove `volatile'; add `memory' clobber.
9976
9977 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9978
9979         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
9980         functions for gcc <= 2.7.x.
9981
9982 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
9983
9984         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
9985         change.
9986
9987 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
9988
9989         * db2/Makefile (distribute): Remove files which do not exist
9990         anymore.
9991
9992         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
9993         definitions to calm down gcc.
9994
9995         * db2/db.h: Update from db 2.7.5.
9996         * db2/db_185.h: Likewise.
9997         * db2/db_int.h: Likewise.
9998         * db2/btree/bt_compare.c: Likewise.
9999         * db2/btree/bt_conv.c: Likewise.
10000         * db2/btree/bt_curadj.c: Likewise.
10001         * db2/btree/bt_cursor.c: Likewise.
10002         * db2/btree/bt_delete.c: Likewise.
10003         * db2/btree/bt_open.c: Likewise.
10004         * db2/btree/bt_page.c: Likewise.
10005         * db2/btree/bt_put.c: Likewise.
10006         * db2/btree/bt_rec.c: Likewise.
10007         * db2/btree/bt_recno.c: Likewise.
10008         * db2/btree/bt_rsearch.c: Likewise.
10009         * db2/btree/bt_search.c: Likewise.
10010         * db2/btree/bt_split.c: Likewise.
10011         * db2/btree/bt_stat.c: Likewise.
10012         * db2/btree/btree_auto.c: Likewise.
10013         * db2/common/db_appinit.c: Likewise.
10014         * db2/common/db_apprec.c: Likewise.
10015         * db2/common/db_err.c: Likewise.
10016         * db2/common/db_region.c: Likewise.
10017         * db2/common/db_salloc.c: Likewise.
10018         * db2/db/db.c: Likewise.
10019         * db2/db/db.src: Likewise.
10020         * db2/db/db_am.c: Likewise.
10021         * db2/db/db_auto.c: Likewise.
10022         * db2/db/db_dispatch.c: Likewise.
10023         * db2/db/db_dup.c: Likewise.
10024         * db2/db/db_iface.c: Likewise.
10025         * db2/db/db_join.c: Likewise.
10026         * db2/db/db_overflow.c: Likewise.
10027         * db2/db/db_pr.c: Likewise.
10028         * db2/db/db_rec.c: Likewise.
10029         * db2/db/db_ret.c: Likewise.
10030         * db2/db185/db185.c: Likewise.
10031         * db2/dbm/dbm.c: Likewise.
10032         * db2/hash/hash.c: Likewise.
10033         * db2/hash/hash_auto.c: Likewise.
10034         * db2/hash/hash_dup.c: Likewise.
10035         * db2/hash/hash_page.c: Likewise.
10036         * db2/hash/hash_rec.c: Likewise.
10037         * db2/hash/hash_stat.c: Likewise.
10038         * db2/include/btree.h: Likewise.
10039         * db2/include/btree_ext.h: Likewise.
10040         * db2/include/clib_ext.h: Likewise.
10041         * db2/include/common_ext.h: Likewise.
10042         * db2/include/db_am.h: Likewise.
10043         * db2/include/db_auto.h: Likewise.
10044         * db2/include/db_cxx.h: Likewise.
10045         * db2/include/db_ext.h: Likewise.
10046         * db2/include/db_join.h: Likewise.
10047         * db2/include/db_page.h: Likewise.
10048         * db2/include/hash.h: Likewise.
10049         * db2/include/hash_ext.h: Likewise.
10050         * db2/include/lock.h: Likewise.
10051         * db2/include/lock_ext.h: Likewise.
10052         * db2/include/log.h: Likewise.
10053         * db2/include/log_ext.h: Likewise.
10054         * db2/include/mp.h: Likewise.
10055         * db2/include/mp_ext.h: Likewise.
10056         * db2/include/os.h: Likewise.
10057         * db2/include/os_ext.h: Likewise.
10058         * db2/include/os_func.h: Likewise.
10059         * db2/include/txn.h: Likewise.
10060         * db2/include/txn_auto.h: Likewise.
10061         * db2/include/txn_ext.h: Likewise.
10062         * db2/include/xa.h: Likewise.
10063         * db2/include/xa_ext.h: Likewise.
10064         * db2/lock/lock.c: Likewise.
10065         * db2/lock/lock_conflict.c: Likewise.
10066         * db2/lock/lock_deadlock.c: Likewise.
10067         * db2/lock/lock_region.c: Likewise.
10068         * db2/lock/lock_util.c: Likewise.
10069         * db2/log/log.c: Likewise.
10070         * db2/log/log_archive.c: Likewise.
10071         * db2/log/log_auto.c: Likewise.
10072         * db2/log/log_findckp.c: Likewise.
10073         * db2/log/log_get.c: Likewise.
10074         * db2/log/log_put.c: Likewise.
10075         * db2/log/log_rec.c: Likewise.
10076         * db2/log/log_register.c: Likewise.
10077         * db2/mp/mp_bh.c: Likewise.
10078         * db2/mp/mp_fget.c: Likewise.
10079         * db2/mp/mp_fopen.c: Likewise.
10080         * db2/mp/mp_fput.c: Likewise.
10081         * db2/mp/mp_fset.c: Likewise.
10082         * db2/mp/mp_open.c: Likewise.
10083         * db2/mp/mp_pr.c: Likewise.
10084         * db2/mp/mp_region.c: Likewise.
10085         * db2/mp/mp_sync.c: Likewise.
10086         * db2/mutex/mutex.c: Likewise.
10087         * db2/mutex/uts4_cc.s: Likewise.
10088         * db2/os/os_abs.c: Likewise.
10089         * db2/os/os_alloc.c: Likewise.
10090         * db2/os/os_config.c: Likewise.
10091         * db2/os/os_dir.c: Likewise.
10092         * db2/os/os_fid.c: Likewise.
10093         * db2/os/os_fsync.c: Likewise.
10094         * db2/os/os_map.c: Likewise.
10095         * db2/os/os_oflags.c: Likewise.
10096         * db2/os/os_open.c: Likewise.
10097         * db2/os/os_rw.c: Likewise.
10098         * db2/os/os_seek.c: Likewise.
10099         * db2/os/os_sleep.c: Likewise.
10100         * db2/os/os_spin.c: Likewise.
10101         * db2/os/os_stat.c: Likewise.
10102         * db2/os/os_tmpdir.c: Likewise.
10103         * db2/os/os_unlink.c: Likewise.
10104         * db2/progs/db_archive/db_archive.c: Likewise.
10105         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
10106         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
10107         * db2/progs/db_dump/db_dump.c: Likewise.
10108         * db2/progs/db_load/db_load.c: Likewise.
10109         * db2/progs/db_printlog/README: Likewise.
10110         * db2/progs/db_printlog/commit.awk: Likewise.
10111         * db2/progs/db_printlog/count.awk: Likewise.
10112         * db2/progs/db_printlog/db_printlog.c: Likewise.
10113         * db2/progs/db_printlog/pgno.awk: Likewise.
10114         * db2/progs/db_printlog/range.awk: Likewise.
10115         * db2/progs/db_printlog/status.awk: Likewise.
10116         * db2/progs/db_printlog/txn.awk: Likewise.
10117         * db2/progs/db_recover/db_recover.c: Likewise.
10118         * db2/progs/db_stat/db_stat.c: Likewise.
10119         * db2/txn/txn.c: Likewise.
10120         * db2/txn/txn.src: Likewise.
10121         * db2/txn/txn_auto.c: Likewise.
10122         * db2/txn/txn_rec.c: Likewise.
10123         * db2/xa/xa.c: Likewise.
10124         * db2/xa/xa_db.c: Likewise.
10125         * db2/xa/xa_map.c: Likewise.
10126
10127         * db2/btree/bt_close.c: Removed.
10128         * db2/db/db_thread.c: Likewise.
10129         * db2/hash/hash_debug.c: Likewise.
10130         * db2/include/db.h.src: Likewise.
10131         * db2/include/db_int.h.src: Likewise.
10132         * db2/include/os_jump.h: Likewise.
10133         * db2/mutex/alpha.dec: Likewise.
10134         * db2/mutex/alpha.gcc: Likewise.
10135         * db2/mutex/parisc.hp: Likewise.
10136         * db2/mutex/uts4.cc.s: Likewise.
10137
10138         * db2/Makefile: Add new routines, remove old for 2.7.5.
10139         * db2/Versions: Add internal function names for the helper programs.
10140         * db2/makedb.c: Update for new cursor callback.
10141         * Versions.def: Define versions for libdb.
10142
10143 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
10144
10145         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
10146         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
10147         * nscd/nscd_nischeck.c: New file.
10148         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
10149
10150 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10151
10152         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
10153         MSG_* flags from Linux 2.2.9.
10154
10155 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
10156
10157         * Makeconfig (static-start-installed-name): Set to
10158         $(start-installed-name) if not defined.
10159         (+link-static): Use $(static-start-installed-name) instead of
10160         $(start-installed-name).
10161         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
10162         Set to crt0.o.
10163
10164 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
10165
10166         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
10167         inserting a send right into the child instead of unconditionally
10168         copying the send right.
10169
10170 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
10171
10172         * locale/lc-time.c: Add free_mem function to free if necessary
10173         statically allocated memory.
10174
10175 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
10176
10177         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
10178         bias from the raw exponent.
10179
10180 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
10181
10182         * inet/arpa/tftp.h: Move attribute declaration in right position.
10183
10184 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
10185
10186         * nscd/nscd.c: Add -S options for separate caching of data for
10187         every user. So one user couldn't see the data another user
10188         has gotten with his credentials.
10189         * nscd/nscd.h: Add new prototypes.
10190         * nscd/cache.c: Compare owner of cache entry if in secure mode.
10191         * nscd/connections.c: Check on shutdown if caller really was root.
10192         In secure mode get uid of caller.
10193         * nscd/grpcache.c: Add support for new secure group mode.
10194         * nscd/hstcache.c: Add support for new secure hosts mode.
10195         * nscd/pwdcache.c: Add support for new secure passwd mode.
10196
10197 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
10198
10199         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
10200         of user-provided buffer.
10201
10202 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
10203
10204         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
10205         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
10206
10207 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
10208
10209         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
10210         and A format.
10211
10212         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
10213         returning after last entry.
10214         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
10215
10216 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
10217
10218         * misc/sysexits.h: Remove advertising clause of copyright.
10219         * resolv/getnetnamadr.c: Likewise.
10220         * sysdeps/vax/bcopy.s: Likewise.
10221         * sysdeps/vax/bzero.s: Likewise.
10222         * sysdeps/vax/ffs.s: Likewise.
10223         * sysdeps/vax/memchr.s: Likewise.
10224         * sysdeps/vax/memcmp.s: Likewise.
10225         * sysdeps/vax/memmove.s: Likewise.
10226         * sysdeps/vax/memset.s: Likewise.
10227         * sysdeps/vax/strcat.s: Likewise.
10228         * sysdeps/vax/strchr.s: Likewise.
10229         * sysdeps/vax/strcmp.s: Likewise.
10230         * sysdeps/vax/strcpy.s: Likewise.
10231         * sysdeps/vax/strcspn.s: Likewise.
10232         * sysdeps/vax/strlen.s: Likewise.
10233         * sysdeps/vax/strncat.s: Likewise.
10234         * sysdeps/vax/strncmp.s: Likewise.
10235         * sysdeps/vax/strncpy.s: Likewise.
10236         * sysdeps/vax/strpbrk.s: Likewise.
10237         * sysdeps/vax/strrchr.s: Likewise.
10238         * sysdeps/vax/strsep.s: Likewise.
10239         * sysdeps/vax/strspn.s: Likewise.
10240         * sysdeps/vax/strstr.s: Likewise.
10241
10242         * libio/iofopncook.c: Adjust for renaming of structure elements.
10243         * libio/libio.h: Define cookie functions with all the names.
10244
10245         * pwd/fgetpwent_r.c: Set errno in the correct way.
10246         * shadow/fgetspent_r.c: Likewise.
10247         * pwd/fgetpwent.c: Handle long lines correctly.  Little
10248         optimizations.  Free static buffer when debugging memory handling.
10249         * shadow/fgetspent.c: Likewise.
10250
10251         * grp/fgetgrent.c: Little optimization in loop.
10252
10253 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10254
10255         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
10256         in a different way.
10257
10258 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
10259
10260         * stdlib/longlong.h: gas changed sethi handling when without
10261         %hi(). Fix assembly.
10262         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
10263         port specific cache id checks.
10264         * sysdeps/generic/dl-cache.h: New file.
10265         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
10266
10267 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
10268
10269         * gmon/gmon.c: Remove advertising clause of copyright.
10270         * gmon/mcount.c: Likewise.
10271         * gmon/sys/gmon.h: Likewise.
10272         * inet/arpa/ftp.h: Likewise.
10273         * inet/arpa/telnet.h: Likewise.
10274         * inet/arpa/tftp.h: Likewise.
10275         * inet/inet_lnaof.c: Likewise.
10276         * inet/inet_mkadr.c: Likewise.
10277         * inet/inet_net.c: Likewise.
10278         * inet/inet_netof.c: Likewise.
10279         * inet/protocols/routed.h: Likewise.
10280         * inet/protocols/rwhod.h: Likewise.
10281         * inet/protocols/talkd.h: Likewise.
10282         * inet/protocols/timed.h: Likewise.
10283         * inet/rcmd.c: Likewise.
10284         * inet/rexec.c: Likewise.
10285         * inet/ruserpass.c: Likewise.
10286         * io/fts.c: Likewise.
10287         * io/fts.h: Likewise.
10288         * login/login_tty.c: Likewise.
10289         * misc/fstab.h: Likewise.
10290         * misc/getttyent.c: Likewise.
10291         * misc/getusershell.c: Likewise.
10292         * misc/sys/queue.h: Likewise.
10293         * misc/sys/syslog.h: Likewise.
10294         * misc/syslog.c: Likewise.
10295         * misc/ttyent.h: Likewise.
10296         * misc/ttyslot.c: Likewise.
10297         * resolv/arpa/nameser.h: Likewise.
10298         * resolv/gethnamaddr.c: Likewise.
10299         * resolv/herror.c: Likewise.
10300         * resolv/inet_addr.c: Likewise.
10301         * resolv/mapv4v6addr.h: Likewise.
10302         * resolv/mapv4v6hostent.h: Likewise.
10303         * resolv/nss_dns/dns-host.c: Likewise.
10304         * resolv/nss_dns/dns-network.c: Likewise.
10305         * resolv/res_comp.c: Likewise.
10306         * resolv/res_data.c: Likewise.
10307         * resolv/res_debug.c: Likewise.
10308         * resolv/res_init.c: Likewise.
10309         * resolv/res_mkquery.c: Likewise.
10310         * resolv/res_query.c: Likewise.
10311         * resolv/res_send.c: Likewise.
10312         * resolv/resolv.h: Likewise.
10313         * sysdeps/generic/div.c: Likewise.
10314         * sysdeps/generic/netinet/ip.h: Likewise.
10315         * sysdeps/generic/netinet/tcp.h: Likewise.
10316         * sysdeps/generic/paths.h: Likewise.
10317         * sysdeps/generic/prof-freq.c: Likewise.
10318         * sysdeps/generic/sys/ttydefaults.h: Likewise.
10319         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10320         * sysdeps/gnu/netinet/tcp.h: Likewise.
10321         * sysdeps/ieee754/support.c: Likewise.
10322         * sysdeps/mach/hurd/sys/param.h: Likewise.
10323         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
10324         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10325         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
10326         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10327         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
10328         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
10329         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
10330         * sysdeps/unix/sysv/linux/paths.h: Likewise.
10331         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
10332         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
10333         * sysdeps/vax/DEFS.h: Likewise.
10334         * termios/sys/ttychars.h: Likewise.
10335         * misc/daemon.c: Likewise.  Call fork.
10336
10337         * grp/fgetgrent.c (buffer): Make file local variable.
10338         (free_mem): New function.  Call for malloc debugging.
10339
10340         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
10341
10342 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10343
10344         * grp/Makefile: Add rules for tst_fgetgrent.
10345
10346         * grp/tst_fgetgrent.c: Rewritten to read only one file.
10347
10348         * grp/tst_fgetgrent.sh: New file.
10349
10350 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
10351
10352         * grp/Makefile (tests): Add tst_fgetgrent.
10353         * grp/tst_fgetgrent.c: New file.
10354         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
10355
10356 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
10357
10358         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
10359         be POSIX compliant.  Prior definition was broken for Hurd.
10360         Reported by Mark Kettenis <kettenis@gnu.org>.
10361
10362 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
10363
10364         * ctype/ctype.h: Protect __tobody code by __extension__.
10365
10366 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10367
10368         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
10369         reading and reset in case the buffer was too small.
10370
10371         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
10372         of EOF.
10373
10374 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10375
10376         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
10377         another SIOGIFNAME typo.
10378
10379 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10380
10381         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
10382
10383         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
10384         bit.
10385
10386 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10387
10388         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
10389         the precision if the mantissa is zero.
10390
10391 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10392
10393         * manual/lang.texi (Floating Point Parameters): GCC already
10394         supports long double for a long time.
10395
10396 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10397
10398         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
10399         yn_test): Increase some epsilons.
10400
10401 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
10402
10403         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
10404         parameters.
10405
10406 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
10407
10408         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10409         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
10410         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
10411         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
10412
10413         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
10414         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
10415         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
10416         * sysdeps/libm-ieee754/w_j1.c: Likewise.
10417         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
10418         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
10419         * sysdeps/libm-ieee754/w_jn.c: Likewise.
10420         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
10421         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
10422
10423         * stdio-common/vfprintf.c: Correct typos.
10424
10425         * math/libm-test.c (jn_test): Adjust delta.
10426         (y1_test): Likewise.
10427         (yn_test): Likewise.
10428
10429         * elf/do-lookup.h: It should never happen that if we expect a versioned
10430         symbol from a file the file has no version table.  This should have
10431         been checked in dl-version.c.
10432         * elf/dl-lookup.c: Include assert.h.
10433
10434         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
10435         function handling.
10436
10437         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
10438
10439 1999-06-06  Andi Kleen  <ak@muc.de>
10440
10441         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
10442         SA_RESTORER flag.
10443
10444 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10445
10446         * math/libm-test.c (yn_test): Change one delta.
10447         (jn_test): Likewise.
10448         (j1_test): Likewise.
10449         (y0_test): Likewise.
10450
10451 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
10452
10453         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
10454         avoid multiple calls to getpagesize() which might be a syscall.
10455
10456 1999-06-06  Philip Blundell  <philb@gnu.org>
10457
10458         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
10459
10460 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10461
10462         * manual/install.texi (Running make install): Correct typo in
10463         dynamic linker invocation.
10464
10465 1999-06-05  Philip Blundell  <philb@gnu.org>
10466
10467         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
10468         problems with GOT addressing.
10469
10470 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10471
10472         * malloc/malloc.c (check_action): Change into bitmap so that both
10473         diagnostic and abort can be requested by setting it to 3.
10474         (mALLOC_SET_STATe): Disable malloc checking if necessary.
10475
10476 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
10477
10478         * configure.in: Few changes for HPUX.
10479
10480         * scripts/config.guess: Update from latest version.
10481         * scripts/config.sub: Likewise.
10482
10483 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10484
10485         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
10486         map files.  Closes PR libc/1147.
10487
10488 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10489
10490         * math/libm-test.c (main): Add new test functions.
10491         (jn_test): New tests.
10492         (j1_test): Add some more tests.
10493         (j0_test): Add some more tests.
10494         (y0_test): Add some more tests.
10495         (y1_test): Add some more tests.
10496
10497 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10498
10499         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
10500         Patch by mhagger@dera.gov.uk [PR libc/1145].
10501
10502         * math/libm-test.c (y1_test): New tests.
10503         (y0_test): Likewise.
10504         (j1_test): Likewise.
10505         (j0_test): Likewise.
10506         (main): Added new tests.
10507
10508 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
10509
10510         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
10511         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
10512         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
10513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
10514         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
10515         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
10516
10517 1999-06-02  David S. Miller  <davem@redhat.com>
10518
10519         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
10520         pointers properly.
10521
10522 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
10523
10524         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
10525         and elide compatibility code if possible.
10526
10527 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
10528
10529         * manual/llio.texi: Remove menu entry for removed section.
10530
10531 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10532
10533         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
10534         variables.
10535
10536 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10537
10538         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
10539         (from Linux 2.3.4).
10540
10541 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
10542
10543         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
10544
10545 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10546
10547         * manual/stdio.texi: Fix some typos.
10548
10549 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10550
10551         * malloc/malloc.h: Properly handle future GCC versions.
10552
10553 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10554
10555         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
10556         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
10557         text of error message.
10558
10559         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
10560
10561 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10562
10563         * manual/filesys.texi: Extend (f)truncate documentation.
10564         * manual/llio.texi: Remove duplicate (f)truncate definition.
10565
10566 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10567
10568         * manual/stdio.texi (Formatted Output Functions): Mention
10569         semantics of snprintf in glibc 2.0.
10570         Reported by Ben Pfaff <pfaffben@msu.edu>.
10571
10572 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
10573
10574         * include/features.h (__GLIBC_MINOR__): Bump to 2.
10575
10576 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
10577
10578         * math/libm-test.c: Adjust a few more deltas for the poor ARM
10579         FPU emulator.
10580
10581 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10582
10583         * configure.in: Fix typo.
10584
10585 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10586
10587         * manual/socket.texi (Host Names): Remove statement that h_errno
10588         needs to be declared since this isn't true anymore.
10589         Closes PR libc/1138.
10590
10591 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
10592
10593         * config.h.in: Add __LINUX_KERNEL_VERSION.
10594         * configure.in: Recognize --enable-kernel.
10595         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
10596         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
10597         appropriately.
10598         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
10599         given perform runtime test.
10600
10601         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
10602         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
10603         minimal supported kernel is known to have the feature.
10604         * sysdeps/unix/sysv/linux/poll.c: Likewise.
10605         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10606         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10607         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10608         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10609         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
10610         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10611         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10612         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10613         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10614         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10615         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
10616         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10617         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
10618         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10619
10620         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
10621
10622 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10623
10624         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
10625
10626 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
10627
10628         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
10629         Optimized sparc64 routines.
10630
10631 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
10632
10633         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
10634         they are the same as ints.
10635         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10636
10637         * version.h (VERSION): Bump to 2.1.90.
10638         (RELEASE): Mark as development.
10639
10640         * stdio-common/vfprintf.c (vfprintf): Don't implement special
10641         handling for long long if it is the same as long.
10642         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
10643
10644         * stdlib/strtol.c: Moved to ...
10645         * sysdeps/generic/strtol.c: ...here.
10646         * stdlib/strtoul.c: Moved to ...
10647         * sysdeps/generic/strtoul.c: ...here.
10648         * stdlib/strtoll.c: Moved to ...
10649         * sysdeps/generic/strtoll.c: ...here.
10650         * stdlib/strtoull.c: Moved to ...
10651         * sysdeps/generic/strtoull.c: ...here.
10652         * stdlib/strtol_l.c: Moved to ...
10653         * sysdeps/generic/strtol_l.c: ...here.
10654         * stdlib/strtoul_l.c: Moved to ...
10655         * sysdeps/generic/strtoul_l.c: ...here.
10656         * stdlib/strtoll_l.c: Moved to ...
10657         * sysdeps/generic/strtoll_l.c: ...here.
10658         * stdlib/strtoull_l.c: Moved to ...
10659         * sysdeps/generic/strtoull_l.c: ...here.
10660
10661         * sysdeps/wordsize-64/strtol.c: New file.
10662         * sysdeps/wordsize-64/strtoul.c: New file.
10663         * sysdeps/wordsize-64/strtoll.c: New file.
10664         * sysdeps/wordsize-64/strtoull.c: New file.
10665         * sysdeps/wordsize-64/strtol_l.c: New file.
10666         * sysdeps/wordsize-64/strtoul_l.c: New file.
10667         * sysdeps/wordsize-64/strtoll_l.c: New file.
10668         * sysdeps/wordsize-64/strtoull_l.c: New file.
10669
10670         * wcsmbs/wcstol.c: Moved to ...
10671         * sysdeps/generic/wcstol.c: ...here.
10672         * wcsmbs/wcstoul.c: Moved to ...
10673         * sysdeps/generic/wcstoul.c: ...here.
10674         * wcsmbs/wcstoll.c: Moved to ...
10675         * sysdeps/generic/wcstoll.c: ...here.
10676         * wcsmbs/wcstoull.c: Moved to ...
10677         * sysdeps/generic/wcstoull.c: ...here.
10678         * wcsmbs/wcstol_l.c: Moved to ...
10679         * sysdeps/generic/wcstol_l.c: ...here.
10680         * wcsmbs/wcstoul_l.c: Moved to ...
10681         * sysdeps/generic/wcstoul_l.c: ...here.
10682         * wcsmbs/wcstoll_l.c: Moved to ...
10683         * sysdeps/generic/wcstoll_l.c: ...here.
10684         * wcsmbs/wcstoull_l.c: Moved to ...
10685         * sysdeps/generic/wcstoull_l.c: ...here.
10686
10687         * sysdeps/wordsize-64/wcstol.c: New file.
10688         * sysdeps/wordsize-64/wcstoul.c: New file.
10689         * sysdeps/wordsize-64/wcstoll.c: New file.
10690         * sysdeps/wordsize-64/wcstoull.c: New file.
10691         * sysdeps/wordsize-64/wcstol_l.c: New file.
10692         * sysdeps/wordsize-64/wcstoul_l.c: New file.
10693         * sysdeps/wordsize-64/wcstoll_l.c: New file.
10694         * sysdeps/wordsize-64/wcstoull_l.c: New file.
10695
10696 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
10697
10698         * sysdeps/sparc/bits/wordsize.h: New file.
10699         * sysdeps/sparc/fpu/bits/fenv.h: New file.
10700         * sysdeps/sparc/fpu/fpu_control.h: New file.
10701         * sysdeps/sparc/gmp-mparam.h: New file.
10702
10703         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
10704         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
10705         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
10706         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
10707         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
10708         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
10709
10710         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
10711         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
10712         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
10713         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
10714
10715         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
10716         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
10717         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
10718         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
10719         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
10720
10721 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
10722
10723         * login/openpty.c (openpty): Make sure pty does not because
10724         controlling TTY.
10725
10726         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
10727
10728 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
10729
10730         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
10731         Do proper error return.
10732
10733 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10734
10735         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
10736         of __P in the rest of glibc; define __MALLOC_PMT and use it.
10737         Reported by Stephan Kulow <coolo@kde.org>.
10738
10739 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
10740
10741         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
10742
10743         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
10744
10745 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10746
10747         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
10748         names to protect from user's macro namespace.
10749         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
10750         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
10751         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
10752         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
10753         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
10754         Adapted.
10755         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
10756         sysdeps/arm/fpu/fesetenv.c: Likewise.
10757         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
10758         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
10759         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
10760         * sysdeps/mips/fesetenv.c: Likewise.
10761
10762 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
10763
10764         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
10765
10766 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
10767
10768         * configure.in: Recognize and allow gcc 2.95.
10769
10770 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10771
10772         * sysdeps/generic/bits/elfclass.h: Version common to
10773         wordsize-32 and wordsize-64.
10774         * sysdeps/generic/bits/environments.h: Ditto.
10775         * sysdeps/generic/stdint.h: Ditto.
10776         * sysdeps/generic/inttypes.h: Ditto.
10777
10778         * sysdeps/generic/bits/wordsize.h: New file.
10779         * stdlib/Makefile: Add bits/wordsize.h to headers.
10780
10781         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
10782
10783         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
10784         headers to be used for 32bit and 64bit ABI compilations.
10785         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
10786         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
10787         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
10788         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
10789         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
10790
10791         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
10792         * sysdeps/wordsize-64/bits/environments.h: Remove.
10793         * sysdeps/wordsize-64/stdint.h: Remove.
10794         * sysdeps/wordsize-64/inttypes.h: Remove.
10795         * sysdeps/wordsize-64/bits/wordsize.h: New file.
10796
10797         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
10798         * sysdeps/wordsize-32/bits/environments.h: Remove.
10799         * sysdeps/wordsize-32/stdint.h: Remove.
10800         * sysdeps/wordsize-32/inttypes.h: Remove.
10801         * sysdeps/wordsize-32/bits/wordsize.h: New file.
10802
10803 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10804
10805         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
10806         __align_cpy_16): New functions.
10807         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
10808
10809         * sysdeps/sparc/sparc32/Versions: New file.
10810         * sysdeps/sparc/sparc64/Versions: New file.
10811         * sysdeps/sparc/Versions: Remove.
10812
10813 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
10814
10815         * sysdeps/unix/sysv/linux/configure.in:
10816         On sparc64-*-linux*, set slibdir to /lib64 if prefix
10817         is /usr, plus set libdir to ${exec_prefix}/lib64.
10818         * sysdeps/unix/sysv/linux/configure: Regenerated.
10819         * config.make.in: Propagate libdir settings from configure
10820         to the Makefiles.
10821         * shlib-versions: sparc64-*-linux* dynamic linker is
10822         /lib64/ld-linux.so.2.
10823
10824 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
10825
10826         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
10827         RPC connection.
10828
10829 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
10830
10831         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
10832         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
10833
10834         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
10835         contains garbage in bits 8-63.
10836         * sysdeps/sparc/sparc64/memset.S: Ditto.
10837         * sysdeps/sparc/sparc64/strchr.S: Ditto.
10838
10839 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
10840
10841         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
10842
10843 1999-05-17  David S. Miller  <davem@redhat.com>
10844
10845         * sysdeps/sparc/sparc32/atomicity.h: New file.
10846         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
10847         * sysdeps/sparc/sparc64/atomicity.h: New file.
10848         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
10849         sysdep-CFLAGS.
10850
10851 1999-05-18  Richard Henderson  <rth@twiddle.net>
10852
10853         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
10854
10855 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10856
10857         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
10858         posix/sys/types.h: Handle the case of __GNUC__=3,
10859         __GNUC_MINOR__=(anything).
10860
10861 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10862
10863         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
10864         if _FORCE_INLINES.
10865
10866 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10867
10868         * elf/Makefile (distribute): Remove dl-origin.h.
10869         Add dl-dst.h and gen-trusted-dirs.awk.
10870
10871 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10872
10873         * sysdeps/i386/i486/Versions: New file with inline functions from
10874         sysdeps/i386/i486/bits/string.h for now.
10875
10876         * sysdeps/i386/Versions: Add inline functions from
10877         sysdeps/i386/bits/string.h.
10878
10879         * string/Versions: Add inline functions from <bits/string2.h>.
10880
10881         * string/Makefile (routines): Add string-inlines.
10882         * string/string-inlines.c: New file, used for implementation of
10883         extern inline functions.
10884
10885         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
10886         non inlined versions of functions.
10887         * string/bits/string2.h: Likewise.
10888         * sysdeps/i386/bits/string.h: Likewise.
10889
10890 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
10891
10892         * inet/arpa/tftp.h: Add second packed attribute.
10893
10894 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10895
10896         * malloc/malloc.c: Cleanup to bring in line with released
10897         stand-alone version `ptmalloc'.  Update some comments.
10898         (internal_function): Move fallback definition so that the source
10899         compiles outside of libc, and use it in more places.
10900         (malloc_atfork): Fix when malloc_check is in use.
10901
10902 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10903
10904         * stdlib/tst-strtod.c: Fix typo.
10905
10906 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
10907
10908         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
10909         const incorrectness.
10910
10911 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10912
10913         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
10914
10915 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
10916
10917         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
10918         * sunrpc/key_call.c: Fix memory leak, close file handle.
10919         * nis/nis_creategroup.c: Use malloc instead of calloc,
10920         set ctime and mtime.
10921         * nis/nis_subr.c: Check for realloc result.
10922         * nis/nis_file.c: Fix memory leak.
10923         * nis/nis_table.c: Pretty print.
10924         * nis/nis_getservlist.c: Likewise.
10925         * nis/nis_ismember.c: Likewise.
10926         * nis/nis_lookup.c: Likewise.
10927         * nis/nis_ping.c: Likewise.
10928         * nis/nis_removemember.c: Likewise.
10929         * nis/nis_util.c: Likewise, check calloc result.
10930
10931 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
10932
10933         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
10934         * sysdeps/generic/sys/socketvar.h: ... here.
10935         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
10936         * sysdeps/generic/netinet/in_systm.h: ... here.
10937         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
10938         sys/socketvar.h.
10939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
10940         * inet/Makefile (headers): Add netinet/in_systm.h here.
10941         * socket/Makefile (headers): Add sys/socketvar.h here.
10942
10943 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
10944
10945         * stdlib/strtol.c: Optimize inner loop of long long versions.
10946
10947         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
10948         Unix98.  Add forward declaration of struct utmp.
10949
10950 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10951
10952         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
10953         calloc.
10954
10955         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
10956         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
10957         memory allocation results.
10958
10959 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
10960
10961         * sysdeps/generic/getutmp.c: Include <string.h>
10962         (getutmp): Rewrite to only copy those members that are really
10963         present in `struct utmp'.
10964         * sysdeps/generic/getutmpx.c: Likewise.
10965
10966 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
10967
10968         * nss/getXXbyYY.c: Add free_mem function which disposes all
10969         statically allocated memory when debugging.
10970         * nss/getXXent.c: Likewise.
10971         * nss/nsswitch.c: Likewise.
10972
10973 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
10974
10975         * sysdeps/gnu/getutmpx.c: New file.
10976         * sysdeps/gnu/getutmp.c: New file.
10977
10978 1999-05-13  H.J. Lu  <hjl@gnu.org>
10979
10980         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
10981         (getutmp): Likewise.
10982
10983         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
10984         getutmpx for login.
10985
10986         * sysdeps/gnu/utmpx.h (getutmp): Added.
10987         (getutmpx): Likewise.
10988
10989         * sysdeps/generic/getutmp.c: New file.
10990
10991         * sysdeps/generic/getutmpx.c: New file.
10992
10993 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10994
10995         * glibcbug.in (BUGGLIBC): Change address to
10996         libc-alpha@sourceware.cygnus.com.
10997
10998 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10999
11000         * resolv/arpa/nameser.h: Add C++ protectors.
11001
11002 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11003
11004         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
11005         Elad Tsur <eladts@post.tau.ac.il>.
11006
11007 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
11008
11009         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
11010         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
11011         lazily if LD_BIND_NOW is not set.
11012         * elf/dl-support.c (_dl_lazy): New variable.
11013         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
11014         * elf/rtld.c (_dl_lazy): new global variable.
11015         ( dl_main): Remove lazy, replace it by _dl_lazy.
11016
11017 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11018
11019         * locale/setlocale.c (new_composite_name): Check also whether the
11020         first category name differs.
11021
11022 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11023
11024         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
11025         the generic one.
11026
11027 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
11028
11029         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
11030         structure; storage suitable for any socket address.
11031         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
11032         Likewise.
11033         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
11034         sockaddr_storage): Likewise.
11035
11036         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
11037         platform.
11038
11039 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
11040
11041         * hesiod/Versions: Change _nss_hesiod_getpwuid and
11042         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
11043         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
11044
11045 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
11046
11047         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
11048         if the file is empty.
11049
11050 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
11051
11052         * elf/do-lookup.h: Fix typo in comment.
11053
11054         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
11055         f_bsize to help some broken programs.
11056
11057         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
11058
11059         * stdio-common/vfprintf.c: Fix typo.
11060
11061 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
11062
11063         * elf/link.h (struct link_map): New field l_phdr_allocated.
11064         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
11065         the program header being part of any loaded segment.  If it is not
11066         allocate memory and set l_phdr_allocated flag.
11067         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
11068
11069         * nss/digits_dots.c: Correct return value interpretation of
11070         inet_ntoa.  Fix PR libc/1109.
11071
11072 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
11073
11074         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
11075
11076 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
11077
11078         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
11079         * stdlib/fpioconst.c: Move #endif before end of struct.
11080
11081 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
11082
11083         * Versions.def (ld.so): Add GLIBC_2.1.1.
11084         * elf/Makefile (routines): Add dl-origin.
11085         (tests): Add origtest.  Add dependencies for the program.
11086         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
11087         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
11088         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
11089         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
11090         DT_AUXILIARY, and DT_FILTER filenames.
11091         * elf/dl-load.c (expand_dynamic_string_token): Explode into
11092         two functions and three macros.
11093         (_dl_dst_count, _dl_dst_substitute): New functions.
11094         * elf/dl-dst.h: New file.
11095         * elf/dl-open.c (_dl_open): Take extra parameter with address of
11096         caller.  Pass address in args structure.
11097         (dl_open_worker): Recognize and expand DSTs in filename.
11098         * elf/ldsodefs.h (_dl_open): Adapt prototype.
11099         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
11100         (__dlopen_check): Pass caller address to dlopen_doit in args.
11101         * elf/dlopendoit.c: Likewise.
11102         * iconv/gconv_dl.c: Adapt call of _dl_open.
11103         * nss/nsswitch.c: Likewise.
11104         * elf/origtest.c: New file.
11105         * sysdeps/generic/dl-origin.h: Moved to...
11106         * sysdeps/generic/dl-origin.c: ...here.
11107         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
11108         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
11109
11110         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
11111         with specific bases and only few bits set in second word.
11112
11113         * timezone/Makefile (install-others): Create target directory
11114         before creating tzfiles.
11115
11116 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
11117
11118         * nis/nis_file.c (readColdStartFile): Allocate memory only after
11119         the file is opened successfully.
11120
11121         * nis/nis_table.c: Fix some memory leaks.
11122
11123 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
11124
11125         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
11126         variable.
11127
11128         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
11129         around DST.  Correctly ignore ORIGIN IN SUID binaries.
11130
11131 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
11132
11133         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
11134         * sysdeps/generic/strtok.c: Likewise.
11135
11136         * string/tester.c: Add test of rawmemchr.
11137
11138         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
11139         specification.  It's not necessary.
11140
11141         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
11142         * elf/gen-trusted-dirs.awk: New file.
11143         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
11144         from SYSTEM_DIRS macro.
11145         (system_dirs_len): New variable.  Contains lengths of system_dirs
11146         strings.
11147         (fillin_rpath): Rewrite for systems_dirs being a simple string.
11148         Improve string comparisons.  Change parameter trusted to be a flag.
11149         Change all callers.
11150         (_dt_init_paths): Improve using new format for system_dirs.
11151
11152         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
11153         $ORIGIN for SUID binaries.
11154
11155         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
11156
11157 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11158
11159         * sunrpc/Makefile: Generate dependencies for all flavors of
11160         librpcsvc objects.
11161         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
11162         invocations.
11163
11164 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11165
11166         * elf/dlopenold.c: Move #if down after includes to get
11167         dependencies right.
11168
11169 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11170
11171         * sysdeps/generic/bzero.c: Undefine __bzero.
11172
11173 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
11174
11175         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
11176         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
11177         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
11178         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
11179
11180         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
11181         parameter to struct gaih_servtuple *.  Adapt appropriately.
11182         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
11183         This fixes a memory leak.
11184         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
11185
11186         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
11187         and fpregset_t definition.  They are defined in ucontext.h.
11188
11189 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11190
11191         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
11192         and struct ether_header must be packed on the ARM.  The default
11193         alignment constraints add padding to the end of the structures.
11194
11195 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11196
11197         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
11198         default alignment constraints add padding to the end of the
11199         structure and between members.
11200
11201 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
11202
11203         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
11204         _dl_cache_libcmp instead of strcmp.
11205
11206         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
11207         fails on a file.
11208         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
11209
11210 1998-03-30  Joel Klecker  <espy@debian.org>
11211
11212         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
11213         (sysdep-others,install-bin): Add lddlibc4.
11214
11215 1999-05-02  H.J. Lu  <hjl@gnu.org>
11216
11217         * timezone/zic.c (dolink): Remove the symlink destination first.
11218
11219         * catgets/open_catalog.c (__open_catalog): Set catalog->status
11220         to "nonexisting" if failed to open the file.
11221
11222 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
11223
11224         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
11225         gcc3.
11226
11227         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
11228         Prevent warnings from multiplication with 0x01010101 by another cast.
11229
11230 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11231
11232         * string/bits/string2.h (memset): Revert to previous version if
11233         unaligned writes are not available.
11234
11235 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
11236
11237         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
11238         better code in presence of the asm.
11239
11240 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11241
11242         * stdlib/fmtmsg.c (keywords): Increase array size for faster
11243         indexing.
11244
11245         * locale/localeinfo.h (_nl_category_names): Increase array element
11246         size for faster indexing.
11247         * locale/setlocale.c (_nl_category_names): Adjusted.
11248
11249 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11250
11251         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
11252
11253 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11254
11255         * sysdeps/m68k/stackinfo.h: New file.
11256
11257 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
11258
11259         * string/tester.c (test_strchrnul): New function.
11260         (test_memset): Test one more special case.
11261
11262         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
11263         25% of all cases.
11264
11265         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
11266         base types.
11267
11268         * string/bits/string2.h: Fix bugs I introduced in last change.
11269
11270         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
11271         register stall.
11272         Extend memset optimization.
11273         Correct i686 version of memchr.
11274
11275 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
11276
11277         * sysdeps/i386/bzero.c: Add #undef __bzero.
11278
11279         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
11280         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
11281         exec server simulated a SIGTRAP before we even started up, so gdb is
11282         already happy.
11283
11284 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
11285
11286         * nss/digits_dots.c: Always initialize not_ok.
11287
11288 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
11289
11290         * string/bits/string2.h (memset): Avoid arithmetic overflow at
11291         compile time, which produces obnoxious warnings.  If GCCv2 is
11292         in use, map __bzero to __builtin_memset to enable that
11293         optimization.
11294
11295 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
11296
11297         * string/bits/string2.h: Add more memset optimizations.
11298
11299         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
11300
11301         * resolv/inet_pton.c (inet_pton4): Little optimizations.
11302         (inet_pton6): Likewise.
11303
11304         * nss/getXXbyYY_r.c: Include assert.h.
11305         * nss/getXXbyYY.c: Likewise.
11306
11307 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11308
11309         * termios/tcgetsid.c (tcgetsid): Rename variable to
11310         tiocgsid_does_not_work.
11311
11312 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
11313
11314         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
11315
11316 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11317
11318         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
11319         This allows e.g. gethostbyname to accept "10.1234".
11320         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
11321
11322         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
11323         non quad IPv4 numbers.
11324
11325 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11326
11327         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
11328
11329 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11330
11331         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
11332         * argp/argp-parse.c (_argp_hang): Likewise.
11333         * argp/argp-pv.c (argp_program_version): Likewise.
11334         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
11335         * inet/ether_hton.c (ether_hton, startp): Likewise.
11336         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
11337         * inet/getnetgrent_r.c (setup, startp): Likewise.
11338         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
11339         * intl/localealias.c (string_space, string_space_act, string_space_max,
11340         nmap, maxmap): Likewise.
11341         * libio/iopopen.c (proc_file_chain): Likewise.
11342         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
11343         * locale/lc-collate.c (__collate_table, __collate_extra,
11344         __collate_element_hash, __collate_element_strings,
11345         __collate_element_values): Likewise.
11346         * malloc/mcheck.c (mcheck_used): Likewise.
11347         * malloc/mtrace.c (added_atexit_handler): Likewise.
11348         * malloc/set-freeres.c (already_called): Likewise.
11349         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
11350         * misc/syslog.c (LogStat, LogTag): Likewise.
11351         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
11352         * nss/getXXbyYY_r.c (startp): Likewise.
11353         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
11354         * posix/regex.c (init_syntax_once) [done]: Likewise.
11355         (debug): Likewise.
11356         * string/strfry.c (init): Likewise.
11357         * sunrpc/svc_run.c (svc_top): Likewise.
11358         * posix/euidaccess.c (have_ids): Likewise.
11359         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
11360         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
11361         * time/getdate.c (getdate_err): Likewise.
11362         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
11363         Likewise.
11364         * time/tzset.c (old_tz, is_initialized): Likewise.
11365
11366         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
11367         of static data with zero.
11368         * signal/allocrtsig.c (init): Likewise.
11369
11370         * string/Makefile (routines): Add strchrnul.
11371         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
11372         * string/string.c: Add strchrnul prototype.
11373         * include/string.h: Add __strchrnul prototype.
11374         * sysdeps/generic/strchrnul.c: New file.
11375         * sysdeps/i386/strchrnul.S: New file.
11376         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
11377         * sysdeps/i386/i486/bits/string.c: Likewise.
11378         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
11379         * inet/ether_line.c (ether_line): Likewise.
11380         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
11381         * nss/nsswitch.c (nss_parse_file): Likewise.
11382         * posix/execvp.c (execvp): Likewise.
11383         * posix/fnmatch.c (internal_fnmatch): Likewise.
11384         * resolv/res_hconf.c (_res_hconv_init): Likewise.
11385         * resolv/res_init.c (res_init): Likewise.
11386         * stdlib/fmtmsg.c (init): Likewise.
11387         * stdlib/getsubopt.c (getsubopt): Likewise.
11388
11389         * catgets/catgets.c (catopen): Only allocate one memory block.
11390         (catclose): Only one free call necessary.
11391
11392         * catgets/open_catalog.c (__open_catalog): Simplify handling of
11393         file descriptor.
11394
11395         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
11396         of real functions.  Simplify _tolower and _toupper.
11397
11398         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
11399         variable.
11400
11401         * iconv/gconv.h (struct gconv_info): Change data element from pointer
11402         to array of size 0.
11403         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
11404         * iconv/gconv_close.c (__gconv_close): Don't free data.
11405
11406         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
11407         insert new alias.
11408
11409         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
11410         for error while inserting in tree.
11411
11412         * include/time.h: Pretty print.
11413
11414         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
11415         in table and lots of relocations.
11416         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
11417         string pointers in table and lots of relocations.
11418
11419         * intl/finddomain.c: Remove definition of strchr macro.
11420
11421         * io/ftw.c (nftw_arr, ftw_arr): Make const.
11422
11423         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
11424
11425         * locale/localeinfo.h (_nl_category_names): Change into an array with
11426         fixed width char string elements.
11427         * locale/setlocale.c (_nl_category_names): Likewise.
11428         (_nl_current): Make global.
11429         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
11430
11431         * malloc/Makefile (distribute): Add stackinfo.h.
11432         * sysdeps/generic/stackinfo.h: New file.
11433         * sysdeps/i386/stackinfo.h: New file.
11434         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
11435         * posix/execle.c: Likewise.
11436         * posix/execlp.c: Likewise.
11437
11438         * nis/nis_table.c (__create_ib_request): Always use realloc.
11439
11440         * posix/execvp.c (execute): Rename to script_execute and keep only
11441         code to execute using shell.
11442         (execvp): Call execv directly and only fall back on script_execute.
11443
11444         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
11445         and always use xdigits instead.
11446
11447         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
11448         where appropriate.
11449
11450         * stdlib/fpioconst.h (__tens): New declaration.
11451         (struct mp_power): Remove array, add arrayoff element.
11452         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
11453         __tens array and add in _fpioconst_pow10 offsets into __tens.
11454         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
11455         * stdlib/strtod.c: Likewise.
11456
11457         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
11458
11459         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
11460         of the list.
11461         * stdlib/atexit.c (__exit_funcs): Don't initialize.
11462
11463         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
11464
11465         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
11466         a single and an array with offsets.
11467
11468         * sunrpc/des_soft.c (partab): Make it const.
11469
11470         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
11471         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
11472         (__key_decryptsession_pk_LOCAL): Likewise.
11473         (__key_gendes_LOCAL): Likewise.
11474         (MESSENGER): Mark const.
11475         (key_call_private_main): Don't initialize with 0.
11476         (use_keyenvoy): Don't initialize with 0.
11477         (key_call): Rewrite to reverse logic of use_doors variable.
11478
11479         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
11480         (startp): Don't initialize with zero.
11481
11482         * sunrpc/openchild.c (_openchild): Make first argument const.
11483
11484         * sunrpc/pmap_rmt.c (timeout): Mark const.
11485         * sunrpc/xcrypt.c (hex): Likewise.
11486
11487         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
11488         initialization of global variables.
11489         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
11490         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11491         * termios/tcgetsid.c: Likewise.
11492
11493         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
11494         fxsr to osfxsr.
11495
11496         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
11497         block.  Add function to free memory if wanted.
11498         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
11499
11500         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
11501
11502         * wcsmbs/wmemset.c: Little code optimization.
11503
11504 1999-04-23  Paul Eggert  <eggert@twinsun.com>
11505
11506         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
11507         ifdef _LIBC.
11508
11509 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
11510
11511         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
11512         implementation and just always fail with ENOSYS.  This entry point is
11513         obsolete.  Add link warning to that effect.
11514
11515 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11516
11517         * hurd/get-host.c: Include <hurd/lookup.h>.
11518
11519 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11520
11521         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
11522         is != NULL.
11523
11524 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11525
11526         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
11527         ISO C9x and Unix98.
11528
11529 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11530
11531         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
11532         Patch by Peter Miller <millerp@canb.auug.org.au>.
11533
11534 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
11535
11536         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
11537         prefers loopback device.
11538
11539 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
11540
11541         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
11542         no_leading_period change.
11543
11544         * posix/testfnm.c: More test cases.
11545
11546 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
11547
11548         * include/dirent.h: Remove __getdirentries declaration, add __getdents
11549         and __getdents64.
11550         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
11551         * sysdeps/unix/readdir_r.c: Likewise.
11552         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11553         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11554         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
11555         __getdirentries.  Remove fourth argument.
11556         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
11557         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
11558         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
11559         Add getdirentries and getdirentries64.
11560         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
11561
11562         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
11563         pointer in case of an invalid [[: expression.
11564
11565         * posix/testfnm.c: Add more test cases.
11566
11567 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
11568
11569         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
11570         set, pass EXEC_SIGTRAP flag in exec RPC.
11571
11572 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11573
11574         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
11575         extra parameter.  Fix several more bugs involving wildcard and
11576         ranges.
11577         (fnmatch): New function.  Call internal_fnmatch.
11578
11579         * posix/testfnm.c: More test cases.
11580
11581 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11582
11583         * manual/install.texi (Configuring and compiling): Explain that
11584         files are changed in the source directory.
11585         Closes PR libc/981.
11586         (Configuring and compiling): Explain situation with PARALLELMFLAGS
11587         in the source directory.
11588
11589 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11590
11591         * locale/programs/ld-ctype.c: Spelling fixes.
11592         (ctype_finish): Fix argument of error message format.
11593         * locale/programs/ld-messages.c: Spelling fixes.
11594         * locale/programs/ld-monetary.c: Spelling fixes.
11595         * locale/programs/ld-time.c (time_finish): Make sure that name and
11596         format of era_entries are adjacent.
11597         (time_output): Reduce the size of the io vector.
11598
11599 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11600
11601         * manual/filesys.texi (Attribute Meanings): Move a misplaced
11602         paragraph.
11603
11604 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11605
11606         * locale/programs/ld-collate.c (collate_output): Convert
11607         undefined_offset to an array index.  Fix computation of other
11608         endian extra table.
11609
11610 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
11611
11612         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
11613         return success with empty value.
11614
11615 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
11616
11617         * posix/fnmatch.c: Include string.h also for glibc.
11618         (fnmatch, case '?'): Optimize if cascades a bit.
11619         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
11620
11621         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
11622
11623 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
11624
11625         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
11626         * iconv/gconv_int.h: Declare UTF16 functions.
11627         * iconv/gconv_simple.c: Add UTF16 conversion functions.
11628
11629 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11630
11631         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
11632         be used correctly as parameter for parse_dollars/parse_tilde.
11633
11634 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11635
11636         * manual/conf.texi (Utility Limits): Remove duplicate description
11637         of BC_DIM_MAX.
11638
11639 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
11640
11641         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
11642         outbufend for dst==NULL.
11643
11644 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11645
11646         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
11647         for dst==NULL.
11648         Fixes PR libc/1084.
11649
11650         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
11651         Fixes PR libc/1083.
11652
11653 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
11654
11655         * sunrpc/Makefile: Remove special handling of bootparam.x,
11656         add rpcsvc/bootparam.h to headers.
11657         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
11658         * sunrpc/rpcsvc/bootparam.x: Renamed to...
11659         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
11660
11661 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
11662
11663         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
11664         detect and handle invalid descriptors.
11665
11666 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
11667
11668         * timezone/zic.c (dolink): Append complete path not only filename
11669         to ../ list.
11670
11671 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11672
11673         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
11674
11675 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
11676
11677         * iconvdata/gconv-modules: Rename CP874 to IBM874.
11678         * iconvdata/Makefile: Likewise.
11679         * iconvdata/cp874.h: Removed.
11680         * iconvdata/cp874.c: Renamed to...
11681         * iconvdata/ibm874.c: ...this.
11682
11683 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11684
11685         * sysdeps/unix/sysv/linux/bits/types.h: Correct
11686         signed/unsigned-ness of blkcnt and fsblkcnt.
11687         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11688         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11689
11690         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11691         SOL_AAL, and SOL_IRDA.
11692
11693 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11694
11695         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
11696         include "linux_fsinfo.h".
11697         Based on a patch by H.J. Lu <hjl@gnu.org>.
11698
11699 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
11700
11701         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
11702
11703 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
11704
11705         * nscd/cache.c (prune_cache): Only disable file checking for
11706         future if the file does not exist.
11707         Update file_mtime if cache was flushed.
11708
11709 1999-04-15  David S. Miller  <davem@redhat.com>
11710
11711         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
11712         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
11713
11714 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
11715
11716         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
11717         compilation of file.
11718
11719 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11720
11721         * Versions.def: Add GLIBC_2.1.1 to libpthread.
11722
11723         * iconvdata/Makefile (modules): Add KOI8-U.
11724         (distribute): Add koi8-u.c.
11725         (gen-8bit-gap-modules): Add koi8-u.
11726         * iconvdata/gconv-modules: Add KOI8-U entries.
11727         * iconvdata/koi8-u.c: New file.
11728
11729 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
11730
11731         * sunrpc/auth_des.c: 64bit fixes, security fixes.
11732         * sunrpc/auth_none.c: Pretty print.
11733         * sunrpc/auth_unix.c: Likewise.
11734         * sunrpc/authdes_prot.c: Likewise.
11735         * sunrpc/authuxprot.c: Likewise.
11736         * sunrpc/bindrsvprt.c: Likewise.
11737         * sunrpc/clnt_gen.c: Likewise.
11738         * sunrpc/rpc/xdr.h: Likewise.
11739         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
11740         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
11741         * sunrpc/rtime.c: Use new rpc_timeval.
11742         * sunrpc/svc_authux.c: Don't use *long pointers.
11743         * sunrpc/svcauth_des.c: Likewise + security fixes.
11744         * sunrpc/xdr_mem.c: Don't use *long pointers.
11745         * sunrpc/xdr_rec.c: Likewise.
11746         * sunrpc/xdr_sizeof.c: Likewise.
11747         * sunrpc/xdr_stdio.c: Likewise.
11748
11749 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11750
11751         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
11752         so that it is redone for each sending.
11753
11754 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11755
11756         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
11757
11758 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
11759
11760         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
11761         known to not exist don't try to load shared objects.
11762         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
11763
11764         * nscd/cache.c (prune_cache): The table might not be unused.  In
11765         this case do nothing.
11766
11767         * catgets/gencat.c (read_input_file): Don't drop white spaces
11768         between number/identifier and string.
11769         Patch by Dima Barsky <dima@pwd.hp.com>.
11770         If no white space at all follows number/identifier remove existing
11771         message with the number/identifier.
11772
11773 1999-04-14  H.J. Lu  <hjl@gnu.org>
11774
11775         * sunrpc/clnt_udp.c (is_network_up): New function.
11776         (clntudp_call): Call is_network_up () to check if any network
11777         interface is up in case of timeout.
11778
11779 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11780
11781         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
11782         * wctype/Makefile (tests): Add test_wcfuncs.
11783
11784 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
11785
11786         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
11787         architectures.
11788         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11789         instead of CFLAGS.
11790         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
11791         instead of CFLAGS. For gnulib and string directories use
11792         -Wa,-Av9a gcc ASFLAGS.
11793         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
11794         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
11795         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
11796         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
11797         the same way as sparc-*.
11798
11799 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
11800
11801         * locale/programs/locfile.c (locfile_read): Fix typo.
11802         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
11803
11804 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
11805
11806         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
11807         restarted after being interrupted by a signal.  The parameters on
11808         the stack were corrupted by the signal handler.
11809
11810         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
11811         restarted after being interrupted by a signal.  The parameters on
11812         the stack were corrupted by the signal handler.
11813
11814 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11815
11816         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
11817         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
11818
11819 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
11820
11821         * posix/wordexp-test.c: In field-splitting test cases where
11822         subshells were involved, unset IFS first: some shells (ash) use
11823         IFS even when no expansion is performed.
11824
11825 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
11826
11827         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
11828         the real end of the chunk, not some random point inbetween.
11829         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
11830         obstack when growing.  Use fast version of obstack_blank when
11831         shrinking.
11832         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
11833         allocating the vtable pointer.
11834         (_IO_obstack_vprintf): Adjust for above change and avoid
11835         unnecessary casts.  Use fast version of obstack_blank when
11836         shrinking.
11837         Fixes PR libc/1075.
11838
11839 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
11840
11841         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
11842         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
11843
11844 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
11845
11846         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
11847         is seen, as well as fixing semantics.  Don't reset the word count
11848         to zero when an invalid character is seen, but leave it as it was
11849         (this makes a difference with WRDE_APPEND).
11850
11851         * posix/wordexp-test.c: More test cases.
11852
11853         * posix/wordexp.c (parse_param): In words like ${var#pattern},
11854         always expand pattern when it is needed.  Also, handle quoting in
11855         pattern properly.
11856
11857 1999-04-12  Philip Blundell  <philb@gnu.org>
11858
11859         * elf/elf.h: Update ARM definitions to match current gas2.
11860
11861         * sysdeps/arm/bits/endian.h: Support big endian operation.
11862
11863         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
11864         Don't bother range checking the port number.
11865
11866         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
11867
11868         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
11869         the syscall name in assembler output for ease of debugging.
11870
11871         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
11872         compiler behaviour.
11873         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
11874         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
11875         (sysdep_routines): Add sigrestorer.
11876
11877         * string/tester.c (test_strcpy): Add new tests for unaligned
11878         arguments.
11879         * sysdeps/arm/bits/string.h: Delete inline implementations of
11880         strcpy and stpcpy.
11881
11882 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
11883
11884         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
11885
11886 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
11887
11888         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
11889
11890 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11891
11892         * iconvdata/Makefile (modules): Add TIS-620.
11893         (distribute): Add tis-620.c.
11894         (gen-8bit-gap-modules): tis-620.
11895         * iconvdata/tis-620.c: New file.
11896         * iconvdata/gconv-modules: Add TIS-620 entries.
11897
11898         * iconvdata/asmo_449.c: Correct comment.
11899
11900 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11901
11902         * manual/install.texi (Configuring and compiling): Comment out
11903         description of --disable-static since this doesn't work currently
11904         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
11905
11906 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
11907
11908         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
11909         use binary search.
11910         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
11911
11912 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11913
11914         * scripts/test-installation.pl (installation_problem): Skip
11915         libnss1_* libraries from glibc-compat add-on.
11916
11917 1999-04-07  H.J. Lu  <hjl@gnu.org>
11918
11919         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
11920         libstdc++ 2.7.2.
11921         * posix/Versions (__waitpid): Likewise.
11922
11923 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11924
11925         * manual/install.texi (Reporting Bugs): Add section about reported
11926         bugs and correct email address of glibcbug script.
11927
11928 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
11929
11930         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
11931         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
11932         xdr_u_longlong_t. Based on patch from Dan Shechter
11933         <damageboy@isdn.net.il>.
11934         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
11935         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
11936
11937         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
11938
11939 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11940
11941         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
11942         directly if getdents returns with error set.
11943
11944 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11945
11946         * locale/langinfo.h (THOUSEP): Rename second occurence of
11947         THOUSANDS_SEP to THOUSEP.
11948         Reported by Roman Belenov <roman@nstl.nnov.ru>.
11949
11950 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
11951
11952         * hurd/STATUS: File removed.  Moved items that are still relevant into
11953         TODO list in hurd source.
11954
11955 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
11956
11957         * sysdeps/mach/hurd/bits/time.h: New file.
11958         * sysdeps/mach/hurd/getrusage.c: New file.
11959         * sysdeps/mach/hurd/clk_tck.c: New file.
11960         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
11961         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
11962         (sysdep_routines): Add clk_tck.
11963         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
11964         implemented.
11965
11966 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
11967
11968         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
11969         (closelog): But instead here.
11970         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
11971
11972 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11973
11974         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
11975         the source directory.  Fixes PR libc/1059.
11976
11977 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11978
11979         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
11980         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11981
11982 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
11983
11984         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
11985         * iconvdata/testdata/ISO-8859-14: New file.
11986         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
11987         * iconvdata/testdata/ISO-8859-15: New file.
11988         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
11989
11990 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
11991
11992         * iconvdata/testdata/CP1258: New file.
11993         * iconvdata/testdata/CP1258..UTF8: New file.
11994         * iconvdata/TESTS: Add CP1258 entry.
11995
11996         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
11997
11998         * timezone/africa: Update from tzdata1999d.
11999         * timezone/europe: Likewise.
12000         * timezone/northamerica: Likewise.
12001
12002 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
12003
12004         * login/programs/pt_chown.c (main): Save effective user ID before
12005         dropping priviliges and use this to check if the program is
12006         properly installed.
12007
12008 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
12009
12010         * iconvdata/testdata/CP1254: Update for charmap changes.
12011         * iconvdata/testdata/CP1254..UTF8: Likewise.
12012         * iconvdata/testdata/CP1255: Likewise.
12013         * iconvdata/testdata/CP1255..UTF8: Likewise.
12014         * iconvdata/testdata/CP1256: Likewise.
12015         * iconvdata/testdata/CP1256..UTF8: Likewise.
12016         * iconvdata/testdata/CP1257: Likewise.
12017         * iconvdata/testdata/CP1257..UTF8: Likewise.
12018
12019         * iconvdata/Makefile (distribute): Remove cp1258.h.
12020         (gen-8bit-gap-modules): Add cp1258.
12021         * iconvdata/cp1258.h: Removed.
12022
12023 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
12024
12025         * timezone/tst-timezone.c (tests): Add more cases.
12026         (check_tzvars): Mark errors clearer.
12027         (main): Likewise.
12028
12029 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
12030
12031         * login/programs/pt_chown.c: Drop privileges if invoked with
12032         arguments.  Don't close the master pty.
12033
12034 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
12035
12036         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
12037         Minor optimization.
12038
12039 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
12040
12041         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
12042         relocation for SUID binaries.
12043
12044 1999-03-29  Paul Eggert  <eggert@twinsun.com>
12045
12046         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
12047         while in child process.
12048
12049 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
12050
12051         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
12052         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
12053         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
12054         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
12055         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
12056
12057         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
12058         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
12059         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
12060         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
12061         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
12062         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
12063         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
12064         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
12065         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
12066         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
12067         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
12068         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
12069         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
12070         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
12071         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
12072         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
12073         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
12074         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
12075         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
12076         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
12077         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
12078         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
12079         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
12080         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
12081         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
12082         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
12083
12084         * sysdeps/sparc/sparc32/bcopy.c: New file.
12085         * sysdeps/sparc/sparc32/bzero.c: New file.
12086         * sysdeps/sparc/sparc32/memchr.S: New file.
12087         * sysdeps/sparc/sparc32/memcpy.S: New file.
12088         * sysdeps/sparc/sparc32/memmove.c: New file.
12089         * sysdeps/sparc/sparc32/memset.S: New file.
12090         * sysdeps/sparc/sparc32/stpcpy.S: New file.
12091         * sysdeps/sparc/sparc32/strchr.S: New file.
12092         * sysdeps/sparc/sparc32/strrchr.c: New file.
12093         * sysdeps/sparc/sparc32/strcpy.S: New file.
12094         * sysdeps/sparc/sparc32/strlen.S: New file.
12095         * sysdeps/sparc/sparc32/strcat.S: New file.
12096         * sysdeps/sparc/sparc32/strcmp.S: New file.
12097
12098         * sysdeps/sparc/sparc64/bcopy.c: New file.
12099         * sysdeps/sparc/sparc64/bzero.c: New file.
12100         * sysdeps/sparc/sparc64/memchr.S: New file.
12101         * sysdeps/sparc/sparc64/memcmp.S: New file.
12102         * sysdeps/sparc/sparc64/memcpy.S: New file.
12103         * sysdeps/sparc/sparc64/memset.S: New file.
12104         * sysdeps/sparc/sparc64/stpcpy.S: New file.
12105         * sysdeps/sparc/sparc64/strcat.S: New file.
12106         * sysdeps/sparc/sparc64/strchr.S: New file.
12107         * sysdeps/sparc/sparc64/strcmp.S: New file.
12108         * sysdeps/sparc/sparc64/strcpy.S: New file.
12109         * sysdeps/sparc/sparc64/strcspn.S: New file.
12110         * sysdeps/sparc/sparc64/strlen.S: New file.
12111         * sysdeps/sparc/sparc64/strncpy.S: New file.
12112         * sysdeps/sparc/sparc64/strpbrk.S: New file.
12113         * sysdeps/sparc/sparc64/strrchr.c: New file.
12114         * sysdeps/sparc/sparc64/strspn.S: New file.
12115         * sysdeps/sparc/sparc64/stpncpy.S: New file.
12116         * sysdeps/sparc/sparc64/strncmp.S: New file.
12117
12118         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
12119         Append -fPIC, don't replace.
12120
12121         * configure.in: Recognize sparcv8plus / sparcv9.
12122
12123 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12124
12125         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
12126         char * to avoid C++ warning.
12127         Patch by yasushi@cs.washington.edu [PR libc/1035].
12128
12129 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12130
12131         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
12132         declared in stdlib.h, correct return value of mkstemp.
12133         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
12134
12135         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
12136         from Linux 2.2.5.
12137
12138 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12139
12140         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
12141         C++ warning.
12142
12143         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
12144         inline functions.  Closes PR libc/1049.
12145
12146 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12147
12148         * timezone/README: Update from tzdata1999c and tzcode1999c.
12149
12150         * timezone/africa: Update from tzdata1999c.
12151         * timezone/antarctica: Likewise.
12152         * timezone/asia: Likewise.
12153         * timezone/australasia: Likewise.
12154         * timezone/europe: Likewise.
12155         * timezone/northamerica: Likewise.
12156         * timezone/southamerica: Likewise.
12157         * timezone/zone.tab: Likewise.
12158
12159         * timezone/zic.c: Update from tzcode1999c.
12160
12161 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12162
12163         * Makerules: Add $(common-objpfx)Versions.all to common-generated
12164         outside of ifndef avoid-generated.
12165
12166         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
12167         in iofdopen.c.
12168         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
12169         iofopen.c.
12170         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
12171         in iofclose.c.
12172         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
12173         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
12174
12175 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
12176
12177         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
12178         if we build the profiled library.
12179
12180 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12181
12182         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
12183         Jaeger <aj@arthur.rhein-neckar.de>
12184
12185 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
12186
12187         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
12188         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
12189         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
12190
12191 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
12192
12193         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
12194         works properly in subdirs.
12195
12196 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
12197
12198         * sysdeps/mach/hurd/Makefile: Undo last change.
12199         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
12200         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
12201
12202         * mach/Machrules (+preinit, +postinit, +interp,
12203         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
12204         linked just like other shared libraries.
12205         (interface.so): Fix typo in defn, so it works.
12206         ($(objpfx)$(interface.so)): Make it depend on libc.so.
12207
12208 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
12209
12210         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
12211         $(link-rpcuserlibs).
12212
12213 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12214
12215         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
12216         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
12217         targets if not building shared libraries.
12218
12219 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12220
12221         * configure.in: Also look in $PATH when searching for
12222         install-info.  Remove autoconf bug workaround and require autoconf
12223         2.13.
12224
12225 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12226
12227         * db/Makefile: Don't try to install shared library link if not
12228         building with shared libs.
12229
12230 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12231
12232         * rt/Makefile: Link against static library if no shared lib is
12233         available.
12234
12235         * localedata/Makefile: The shells scripts implementing the test
12236         require the dynamic linker which is not available with
12237         --disable-shared.  Skip the test if --disable-shared is given.
12238
12239         * linuxthreads/Makefile: Link test against static libpthread if no
12240         shared lib is available.
12241
12242         * iconvdata/Makefile (tests): Run iconv-test only if we're
12243         building shared libraries.
12244         * elf/Makefile (tests): Likewise for elf tests.
12245
12246         * posix/Makefile: The test frameworks globtest and wordexp-test
12247         require the dynamic linker which is not available with
12248         --disable-shared.  Skip the test if --disable-shared is given.
12249
12250         * grp/Makefile (otherlibs): For static nss build link against
12251         necessary libs.
12252
12253 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12254
12255         * debug/Makefile (install-bin): Install and build catchsegv only
12256         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
12257         libc/965].
12258
12259 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12260
12261         * time/tzfile.c (__tzfile_read): Handle the case where there are
12262         transitions but no DST.
12263
12264 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
12265
12266         * mach/Machrules (extra-libs-others): Add $(interface-library) here
12267         too, so it gets built in the others pass rather than the lib pass.
12268         This is necessary since the RPC libraries need to be linked against
12269         libc.
12270
12271 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
12272
12273         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
12274         _itoa_word decl.
12275
12276         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
12277         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
12278         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
12279         versions of lib{mach,hurd}user.so without reference to libc.so,
12280         then link libc.so against that to get deps and symbol versions, then
12281         finally link real lib*user.so against libc.so.
12282
12283         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
12284         Support whole-file locking (only) by using the file_lock RPC.  This
12285         has very wrong semantics, but is better than nothing for the time
12286         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
12287         protocols that will be somewhat hairy to specify.)
12288
12289 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
12290
12291         * sysdeps/mach/hurd/ptsname.c: New file.
12292
12293 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12294
12295         * timezone/asia: Fix rule in Asia/Nicosia entry.
12296
12297 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12298
12299         * manual/getopt.texi (Using Getopt): Explain "::" in option
12300         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
12301
12302 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
12303
12304         * sunrpc/clnt_unix.c: Fix creation of parameters for
12305         sendmsg/recvmsg on non intel platforms.
12306         * sunrpc/svc_unix.c: Likewise.
12307
12308 1999-03-18  Philip Blundell  <philb@gnu.org>
12309
12310         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
12311         implementation.
12312
12313 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12314
12315         * timezone/africa: Update from tzdata1999b.
12316         * timezone/asia: Likewise.
12317         * timezone/australasia: Likewise.
12318         * timezone/europe: Likewise.
12319         * timezone/northamerica: Likewise.
12320         * timezone/southamerica: Likewise.
12321         * timezone/zone.tab: Likewise.
12322
12323         * timezone/README: Mention tzdata1999b.
12324
12325 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
12326
12327         * sysdeps/generic/segfault.c (write_strsignal): New function.
12328         (catch_segfault): Use it instead of calling strsignal.
12329
12330 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12331
12332         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
12333         char to avoid warning.
12334
12335 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12336
12337         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
12338
12339         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
12340         outbuf to unsigned char to avoid warning.
12341
12342 1999-03-11  David S. Miller  <davem@redhat.com>
12343
12344         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
12345         masks.
12346         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
12347
12348 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12349
12350         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
12351         `unsigned char'.
12352         (gconv_step_data): Likewise.
12353         * iconv/gconv_int.h (__gconv): Likewise.
12354         (__BUILINT_TRANS): Likewise.
12355         * iconv/gconv.c (__gconv): Likewise.
12356         * iconv/iconv.c (iconv): Add casts for call of __gconv.
12357         * iconv/skeleton.c: Change local parameters and variable from `char' to
12358         `unsigned char'.  Remove casts from calls into modules.
12359         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
12360         `char' to `unsigned char'.
12361         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
12362         * wcsmbs/mbrtowc.c: Likewise.
12363         * wcsmbs/mbsnrtowcs.c: Likewise.
12364         * wcsmbs/mbsrtowcs.c: Likewise.
12365         * wcsmbs/wcrtomb.c: Likewise.
12366         * wcsmbs/wcsnrtombs.c: Likewise.
12367         * wcsmbs/wcsrtombs.c: Likewise.
12368         * wcsmbs/wctob.c: Likewise.
12369
12370 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12371
12372         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
12373         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
12374         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
12375         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
12376         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
12377         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
12378
12379 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12380
12381         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
12382         _hurd_select if TIMEMOUT is -1.
12383
12384 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
12385
12386         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
12387
12388 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12389
12390         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
12391         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
12392
12393 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12394
12395         * manual/libc.texinfo: Undo last change for now.
12396
12397 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
12398
12399         * intl/locale.alias: Add entries for Croatian.
12400         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
12401
12402 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
12403
12404         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
12405         if the opened master pty really is a pty.  `isatty' checks for
12406         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
12407         if we are out of pty's.
12408
12409 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
12410
12411         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
12412         opened file is closed on exec.
12413         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
12414         opened socket.
12415
12416 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12417
12418         * manual/llio.texi (File Position Primitive): Reformat @end
12419         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
12420
12421 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
12422
12423         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
12424         entry is found.
12425         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12426         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12427
12428         * locale/programs/localedef.c (main): Initialize `cat' to please
12429         the compiler.
12430
12431 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
12432
12433         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
12434         check for root-owned symlinks and reject them too.
12435
12436 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12437
12438         * stdio-common/printf_fphex.c: Move to ...
12439         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
12440         extended precision number.
12441         * sysdeps/m68k/printf_fphex.c: New file.
12442
12443 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12444
12445         * manual/stdio.texi: Fix typos.
12446
12447 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
12448
12449         * version.h (VERSION): Bump to 2.1.1.
12450
12451 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
12452
12453         * nis/ypclnt.c: Try only twice to connect to NIS server.
12454
12455 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
12456
12457         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
12458
12459 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12460
12461         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
12462         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
12463         * stdlib/strtold.c: Moved to ...
12464         * sysdeps/generic/strtold.c: ... here.
12465         * sysdeps/m68k/strtold.c: New file.
12466
12467 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12468
12469         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
12470         point if the precision is zero, even if the mantissa is non-zero.
12471
12472 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
12473
12474         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
12475         arguments into the request message buffer inside `send_rpc'
12476         subfunction.  We must repeat the marshalling when retrying the RPC
12477         after a SIGTTOU delivery.
12478
12479         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
12480         path when there is no ctty port.
12481         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
12482         Move sigstate check inside loop so we recheck after handling a signal.
12483
12484 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12485
12486         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
12487         O_EXLOCK are BSD extensions.
12488         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
12489
12490 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
12491
12492         * manual/signal.texi (Termination in Handler): Correct example.
12493         Install default handler before reraising the signal.
12494         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
12495
12496 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
12497
12498         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
12499         null, in which case send an empty string.
12500
12501 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
12502
12503         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
12504         backward compatibility EH functions to be linked when using
12505         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
12506
12507 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12508
12509         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
12510         /dev/pts status may change during runtime.
12511
12512 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12513
12514         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
12515         change.  /dev/pts status can change during runtime.
12516
12517 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
12518
12519         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
12520         poll reports error.
12521         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
12522         add some more sanity checks.
12523         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
12524         parser prototype.
12525
12526 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
12527
12528         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
12529         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
12530         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
12531         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
12532         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
12533         for x_getint32.
12534         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
12535         * nis/nis_print.c: Fix ctime argument for platforms where
12536         sizeof (time_t) != sizeof (int).
12537
12538 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
12539
12540         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
12541         CLOCKS_PER_SEC instead of CLK_TCK.
12542
12543 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
12544
12545         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
12546         whether /dev/pts is available.
12547         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
12548         dev_pts_available.
12549
12550         * posix/globtest.sh: Make common_objpfx path absolute and and db2
12551         and hesiod directory to library path [PR libc/1007].
12552
12553 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12554
12555         * resolv/inet_addr.c (inet_aton): Don't allow componets >
12556         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
12557
12558 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
12559
12560         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
12561         DT_PLTGOT has already been relocated.
12562         (__elf_machine_fixup_plt): Likewise.
12563         Minor cleanups.
12564
12565 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
12566
12567         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
12568
12569 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
12570
12571         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
12572         and fold string to uppercase [PR libc/1005].
12573
12574 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12575
12576         * elf/dl-load.c (lose): Fix return type.
12577
12578 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
12579
12580         * sysdeps/mach/hurd/bits/fcntl.h
12581         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
12582         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
12583         set O_NOTRANS as well.
12584         (__hurd_file_name_lookup_retry): At successful end of lookup,
12585         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
12586         it is a translated node not owned by root.
12587         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
12588         on the file name passed to LOOKUP.
12589
12590 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
12591
12592         * manual/time.texi (High Resolution Timer): Correct computation in
12593         example.  Reported by jjf@devel.cemsys.com.
12594
12595 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
12596
12597         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12598         entry is already relocated.
12599
12600 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12601
12602         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
12603         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
12604
12605 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12606
12607         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
12608         uc_link which is the right name according to Unix98.
12609         Reported by Craig Metz [PR libc/1001].
12610         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
12611         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
12612         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
12613         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
12614         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise.
12615         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
12616
12617 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12618
12619         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
12620         @ifinfo.
12621
12622 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12623
12624         * iconvdata/Makefile: Always include iconv-rules, but disable rule
12625         to regenerate it if avoid-generated.
12626
12627         * Makeconfig: Always include sys-dirs, but disable rule to
12628         regenerate it when avoid-generated.
12629
12630         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
12631         rule to generate sysd-syscalls.
12632
12633         * elf/Makefile (generated): Remove $(objpfx) from names.
12634
12635 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
12636
12637         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
12638         actual length if the adress length is smaller than the input
12639         value.  Change type of *LEN paramater to socklen_t.
12640         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
12641         * sysdeps/mach/hurd/accept.c (accept): Likewise.
12642         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
12643         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
12644         paramater to socklen_t.
12645
12646 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
12647
12648         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
12649         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
12650         with the RPC.
12651
12652 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12653
12654         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
12655         __get_phys_pages): Cast &HBI to silence warning.
12656
12657         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
12658         * hurd/hurdchdir.c: New file.
12659         * hurd/hurdfchdir.c: New file.
12660         * sysdeps/mach/hurd/chroot.c: Call
12661         _hurd_change_directory_port_from_name to do the work.
12662         * sysdeps/mach/hurd/chdir.c: Likewise.
12663         * sysdeps/mach/hurd/fchdir.c: Call
12664         _hurd_change_directory_port_from_fd to do the work.
12665         * hurd/fchroot.c: Likewise.
12666         * hurd/hurd.h: Declare them.
12667
12668 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
12669
12670         * elf/dl-load.c (lose): Add more comments to explain the `why'.
12671         (_dl_map_object): Remove redundant test.
12672
12673 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
12674
12675         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
12676         try to _hurd_port_free a lower-numbered descriptor that was not in any
12677         fd_set.
12678
12679 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12680
12681         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
12682         declaration for ____wcstod_l_internal.
12683
12684         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
12685         __strtod_internal prototype.
12686         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
12687         (____strtold_l_internal): Add prototype declaration.
12688         (__strtold_l): Call correct function.
12689
12690 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
12691
12692         * elf/elf.h: Add 32bit HPPA definitions.
12693
12694 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12695
12696         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
12697         non-checked heap is restored when malloc checking was requested by
12698         the user.
12699         (struct malloc_state): Add using_malloc_checking.
12700         (MALLOC_STATE_VERSION): Increment minor.
12701         (using_malloc_checking, disallow_malloc_check): New variables.
12702         (__malloc_check_init): Use them.
12703         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
12704         that it can the chunk is properly instrumented when malloc
12705         checking is enabled.  Set the new using_malloc_checking field.
12706         (malloc_hook_ini): Correct signature when _LIBC is not defined.
12707
12708 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12709
12710         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12711         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
12712         time.
12713
12714         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
12715         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
12716         if ld.so is the main program.
12717
12718 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
12719
12720         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
12721         large for work_buffer, allocate new buffer.
12722         (printf_unknown): Likewise.  [PR libc/988]
12723
12724 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12725
12726         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
12727         instead of stat and fstat.
12728         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12729
12730 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12731
12732         * elf/dl-error.c (_dl_signal_cerror): New function.
12733         (_dl_signal_error): Don't call receiver function.
12734         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
12735         instead of _dl_signal_error when reporting references to undefined
12736         symbols or versions.
12737         (_dl_lookup_versioned_symbol): Likewise.
12738         (_dl_lookup_versioned_symbol_skip): Likewise.
12739         * elf/dl-version.c (match_symbol): Likewise.
12740
12741         * elf/ldsodefs.h: Declare _dl_signal_cerror.
12742
12743 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
12744
12745         * misc/getttyent.c (getttyent): Release lock on stream later to
12746         also protect global variable zapchar.
12747
12748         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
12749         __times [PR libc/990].
12750
12751 1999-02-21  David S. Miller  <davem@redhat.com>
12752
12753         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
12754         parentheses in Feb 2 changes.
12755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
12756
12757 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12758
12759         * sysdeps/generic/glob.c (glob): Save previous errno.
12760
12761 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
12762
12763         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
12764         lookup functions if it is too small.
12765
12766 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
12767
12768         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
12769         for tracing to the scope lists.
12770         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
12771         DT_SYMTAB is always available according to ELF spec.
12772
12773         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
12774         call test whether there is any scope left.
12775         (_dl_lookup_versioned_symbol_skip): Likewise.
12776
12777         * elf/Makefile (distribute): Add do-lookup.h.
12778         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
12779         * elf/dl-lookup.c: Move do_lookup function in separate file and
12780         include the file twice, for handling versioning and without it.
12781
12782         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
12783         entry is already relocated.
12784         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
12785         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
12786         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
12787         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
12788         Likewise.
12789         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
12790         Likewise.
12791         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
12792         Likewise.
12793
12794         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
12795         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
12796         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
12797         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
12798         rel and rela relocations can both happen and skip one test if this
12799         is not possible.
12800         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
12801         appropriately.
12802         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
12803         already relocated.
12804         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
12805         relocated.
12806         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
12807         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
12808         (_dl_map_object): DT_STRTAB entry is already relocated.
12809         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
12810         already relocated.
12811         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
12812         relocated.
12813         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
12814         DT_VERSYM entries are already relocated.
12815         (profile_fixup): Likewise.
12816         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
12817         all users.
12818         (match_symbol): DT_STRTAB entry is already relocated.
12819         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
12820         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
12821         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
12822         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
12823         (find_needed): DT_STRTAB entry is already relocated.
12824         (dl_main): Pass extra argument to elf_get_dynamic_info.
12825         DT_STRTAB entry is already relocated.
12826         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
12827         DT_PLTGOT entries are already relocated.
12828         (elf_machine_rela): Likewise for DT_SYMTAB.
12829         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
12830         relocated.
12831         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12832         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12833         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12834         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12835         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
12836         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
12837         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
12838         * sysdeps/mips/mips64/dl-machine.h: Likewise.
12839
12840         * grp/initgroups.c (initgroups): If function in current module was
12841         successful don't stop but continue to process to get all the groups.
12842
12843         * elf/dl-load.c (_dl_map_object_from_fd): Use global
12844         _dl_pf_to_proot array to convert p_flags value.
12845         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12846
12847         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
12848         loop to clear `info'.
12849
12850         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
12851         do the work and don't use inline assembler.
12852
12853 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
12854
12855         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
12856         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
12857         noreturn, and prevent it from being inlined.
12858         Define LOSE appropriately.
12859         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
12860         Optimize decoding of p_flags for certain platforms.
12861
12862 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
12863
12864         * Makeconfig (link-libc): When doing a static link, make sure that
12865         libgcc.a is included both before and after libc.a.
12866
12867 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
12868
12869         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
12870         sp_warn, sp_inact, sp_expire and sp_flag.
12871
12872 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
12873
12874         * elf/link.h (link_map): Add l_dev and l_ino.
12875         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
12876         loaded shared object with all loaded objects.  Initialize l_ino
12877         and l_dev in case it's new.
12878         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
12879         object.
12880         * elf/Makefile: Compile and run new test.
12881         * elf/multiload.c: New file.
12882
12883         * nss/nsswitch.h (service_user): Change name field from const char *
12884         to char[0].
12885         (name_database_entry): Likewise.
12886         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
12887         for change of `service_user'.
12888         (nss_getline): Adjust memory allocation for change of
12889         `name_database_entry'.
12890
12891         * catgets/catgets.c: Correctly handle NLSPATH from environment
12892         [PR libc/980].
12893
12894         * io/Makefile (routines): Add lock64.
12895         * io/Versions: Add lockf64 for GLIBC_2.1.1.
12896         * sysdeps/generic/lockf64.c: New file.
12897
12898 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12899
12900         * string/bits/string2.h: Only use strncmp optimization if count
12901         argument is constant.
12902
12903 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
12904
12905         * sysdeps/mach/hurd/revoke.c: New file.
12906
12907 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12908
12909         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
12910         int to avoid warning about `ISO C restricts enumerator values to
12911         range of `int''.
12912
12913 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12914
12915         * elf/dlfcn.h: Fix typo.
12916         * sysdeps/generic/bits/dlfcn.h: Likewise.
12917         * sysdeps/mips/bits/dlfcn.h: Likewise.
12918
12919 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12920
12921         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
12922         for the case N == 0.
12923
12924         * db2/Makefile (distribute): Add LICENSE.
12925
12926 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
12927
12928         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
12929         generated files.
12930
12931         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
12932
12933 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
12934
12935         * time/mktime.c: Use ISO C form for function definitions and
12936         remove unnecessary prototypes.
12937
12938         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
12939
12940         * time/time.h: Avoid unneccesary #ifdef.
12941
12942 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
12943
12944         * stdio-common/_itoa.c (_itoa): Correct parameters to
12945         udiv_qrnnd_preinv.
12946
12947 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12948
12949         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
12950         before (e.g. in glob.h).
12951         Closes PR libc/959.
12952
12953 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12954
12955         * sysdeps/mips/fpu_control.h: Fix typo.
12956         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
12957         Remove __setfpucw.
12958
12959 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
12960
12961         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
12962         the "unused" ends of the sockets.  Let pipes be bidirectional.
12963
12964 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12965
12966         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
12967         invalid ai_flags.
12968
12969 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12970
12971         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
12972         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
12973
12974         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
12975         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
12976
12977 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
12978
12979         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
12980
12981 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12982
12983         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
12984         check for priority mask.
12985
12986 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
12987
12988         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
12989         Reported by Craig Metz <cmetz@inner.net> .
12990
12991 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12992
12993         * stdio-common/Makefile (tests): tllformat added.
12994
12995         * stdio-common/tllformat.c: New program, based on tiformat.c with
12996         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
12997
12998 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
12999
13000         * posix/test-vfork.c: Fix exit status test.
13001
13002 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13003
13004         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
13005         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
13006
13007 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
13008
13009         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
13010         of separare explicit comparisons.
13011
13012 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
13013
13014         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
13015         defined.
13016
13017         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
13018         defined.
13019
13020 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
13021
13022         * po/el.po: Update from translation team.
13023
13024 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13025
13026         * intl/locale.alias: Fix slovenian entry [PR libc/948].
13027
13028 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13029
13030         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
13031         * inet/ruserpass.c: Likewise.
13032         * locale/programs/stringtrans.c: Likewise.
13033         * locale/programs/localedef.c: Likewise.
13034         * nscd/grpcache.c: Likewise.
13035         * nss/nss_files/files-XXX.c: Likewise.
13036         * stdlib/canonicalize.c: Likewise.
13037         * sysdeps/posix/sigwait.c: Likewise.
13038
13039 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13040
13041         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
13042         even on 64 bit platforms.
13043
13044         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13045         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
13046
13047 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
13048
13049         * intl/dcgettext.c: Include locale.h is available.
13050
13051 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
13052
13053         * po/nl.po: Update from translation team.
13054
13055         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
13056
13057         * Makefile: Allow calling goals for po subdir.
13058
13059         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
13060         signal definitions.
13061
13062         * po/el.po: New file.
13063
13064 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
13065
13066         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
13067         when processing DT_SYMBOLIC objects.
13068
13069 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
13070
13071         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
13072         program headers without PT_PHDR only require that they are
13073         contained within one of the loaded segments.  Don't use assert,
13074         since that would be a bug in the object, not the dynamic linker.
13075
13076 1999-02-08  Richard Henderson  <rth@cygnus.com>
13077
13078         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
13079         restore all call-clobbered fp regs.
13080
13081 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
13082
13083         * po/cs.po: New file.
13084
13085         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
13086         SUID binaries.
13087
13088 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
13089
13090         * signal/signal.h: Don't declare __libc_allocate_rtsig.
13091         * include/signal.h: Declare __libc_allocate_rtsig here.
13092
13093         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
13094         point functions, not do_lookup since the later can be called more
13095         than once.
13096
13097 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
13098
13099         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
13100         macro, so that architectures which need to add some special
13101         offset to stack pointer can share this file.
13102
13103         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
13104         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
13105         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
13106         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
13107
13108         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
13109         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
13110         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
13111         between sparc32 and sparc64.
13112
13113         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
13114         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
13115         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
13116         between sparc32 and sparc64.
13117
13118         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
13119         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
13120         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
13121         between sparc32 and sparc64.
13122
13123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
13124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
13125         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
13126         between sparc32 and sparc64.
13127
13128 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
13129
13130         * Versions.def: New version GLIBC_2.1.1 for libc.
13131         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
13132         * stdlib/labs.c: Moved to...
13133         * sysdeps/generic/labs.c: ...here.
13134         * stdlib/llabs.c: Moved to...
13135         * sysdeps/generic/llabs.c: ...here.
13136         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
13137         header.  Declare _Exit.
13138         * sysdeps/generic/_exit.c: Add alias _Exit.
13139         * sysdeps/mach/hurd/_exit.c: Likewise.
13140         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
13141         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
13142         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
13143         * sysdeps/unix/_exit.c: Likewise.
13144         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
13145         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
13146         * sysdeps/wordsize-64/inttypes.h: Likewise.
13147         * sysdeps/wordsize-32/llabs.c: New file.
13148         * sysdeps/wordsize-32/lldiv.c: New file.
13149         * sysdeps/wordsize-64/labs.c: New file.
13150         * sysdeps/wordsize-64/ldiv.c: New file.
13151         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
13152         * manual/startup.texi: Document _Exit.
13153
13154 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13155
13156         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
13157
13158 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
13159
13160         * Versions.def: Add versions for ld.so.
13161         * csu/Versions: Remove __libc_stack_end here.
13162         * elf/Versions: Split libc definitions in libc and ld.so definitions.
13163         * elf/Makefile (ld-map): Change to ld.so.map.
13164         * scripts/versions.awk: Recognize dot in library names.
13165
13166         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
13167         Don't use __tolower and __toupper in inline functions.
13168         Add optimizing macros for tolower and toupper.
13169         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
13170         (_toupper): Don't use __toupper.
13171         * ctype/ctype.c (tolower): Don't use __tolower.
13172         (toupper): Don't use toupper.
13173
13174         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
13175
13176         * resolv/Versions (libresolv): Export __ns_name_unpack and
13177         __ns_name_ntop.
13178         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
13179         make it global.  Change all users.  Similar for ns_name_ntop.
13180         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
13181         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
13182         directly to detect too small buffer.
13183         * resolv/nss_dns/dns-network.c: Likewise.
13184
13185         * stdio-common/Makefile (tests): Add scanf12.
13186         * stdio-common/scanf12.c: New file.
13187         * stdio-common/scanf12.input: New file.
13188         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
13189         floating-point correctly if the number is invalid.
13190
13191         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
13192         functions.
13193         * stdio-common/printf_fp.c: Likewise.
13194         * stdio-common/printf_fphex.c: Likewise.
13195         * stdio-common/vfprintf.c: Likewise.
13196
13197
13198 See ChangeLog.9 for earlier changes.