4c99c2ed71deb710634d698e49815200df942add
[platform/upstream/glibc.git] / ChangeLog
1 1999-08-04  Ulrich Drepper  <drepper@cygnus.com>
2
3         * rt/aio_read.c: Fix return value.
4         * rt/aio_read64.c: Likewise.
5         Reported by Christian Gafton.
6
7         * rt/aio_write.c: Fix return value.
8         * rt/aio_write64.c: Likewise.
9
10         * rt/aio_misc.c: Set errno at correct place.
11
12 1999-08-04  Andreas Schwab  <schwab@suse.de>
13
14         * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
15         Initialize result to one.
16         (GET_NPROCS_CONF_PARSER): Likewise.
17
18 1999-08-03  Ulrich Drepper  <drepper@cygnus.com>
19
20         * inet/ether_hton.c: Pass errno pointer to NSS function.
21         * inet/getnetgrent_r.c: Likewise.
22         Reported by Marty Leisner <leisner@rochester.rr.com>.
23
24 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
25
26         * nis/nis_callback.c: Fix port problem on big-endian machines
27         * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
28         fields are always 32 bit.
29         Patches from Paul Mackerras <paulus@cs.anu.edu.au>
30
31         * nis/nss_nis/nis-service.c: Remove htons, port is always in
32         network-byte-order.
33         * nis/nss_nisplus/nisplus-service.c: Rename number to port.
34
35 1999-08-03  Andreas Schwab  <schwab@suse.de>
36
37         * sysdeps/posix/sigset.c: Unblock the signal after setting its
38         disposition.  Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
39         avoid two calls to sigprocmask.
40
41 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
42
43         * sysdeps/generic/s_nexttowardf.c: Fix typo.
44
45 1999-08-02  Jakub Jelinek  <jj@ultra.linux.cz>
46
47         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
48         Only allow rt signal frames. No SA_SIGINFO signals will have the
49         siginfo_t just not filled out with SI_NOINFO code.
50         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
51         (register_dump): Take the above change into account.
52         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
53         (rt_signal_frame): Likewise.
54
55         * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
56
57 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
58
59         * nis/nis_callback.c (internal_nis_do_callback): Use poll()
60         instead of select().
61
62 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
63
64         * sysdeps/generic/s_nextafter.c: Define __nexttoward and
65         nexttoward so something else so that aliasing works.
66
67 1999-08-02  Thorsten Kukuk  <kukuk@suse.de>
68
69         * sysdeps/generic/math_ldbl.h: Fix typo.
70         * sysdeps/generic/strtold.c: Remove unbalanced #endif.
71         * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
72
73 1999-08-02  Ulrich Drepper  <drepper@cygnus.com>
74
75         * elf/resolvfail.c: Include stdio.h.  Also test dlerror.
76
77 1999-08-01  Ulrich Drepper  <drepper@cygnus.com>
78
79         * elf/Makefile (tests): Add resolvfail.  Add rules to build the
80         program.
81         * elf/resolvfail.c: New file.
82
83         * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
84         pass it to _dl_lookup_symbol.
85
86         * elf/dl-error.c (_dl_signal_error): Optimize string generation a
87         bit.  Reword message.
88
89         * dlfcn/dlerror.c: Make code thread-safe.
90
91 1999-07-31  Roland McGrath  <roland@baalperazim.frob.com>
92
93         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
94         initializer in CHECK: a bit size, not the type code repeated!
95
96 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
97
98         * string/tester.c: Add tests with constant arguments for strcpy
99         and stpcpy.
100
101 1999-07-31  H.J. Lu  <hjl@gnu.org>
102
103         * string/bits/string2.h (__strcpy_small): Fix a typo.
104
105 1999-07-31  Ulrich Drepper  <drepper@cygnus.com>
106
107         * Makeconfig (link-libc): Always define it, not only for shared
108         builds.
109
110         * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
111         * sysdeps/i386/fpu/e_powf.S: Likewise.
112         * sysdeps/i386/fpu/e_powl.S: Likewise.  [PR libc/1213].
113
114         * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
115         * sysdeps/generic/e_gammal_r.c: Likewise.  [PR libc/1212].
116
117 1999-07-30  Andreas Schwab  <schwab@suse.de>
118
119         * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
120         definition.
121         (__get_nprocs): Use it.
122         (__get_nprocs_conf): Define as separate function if
123         GET_NPROCS_CONF_PARSER is defined.
124         * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
125
126         * include/sys/sysinfo.h: New file.
127         * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
128         interface.
129         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
130
131 1999-07-30  H.J. Lu  <hjl@gnu.org>
132
133         * libio/iofflush.c (fflush_unlocked): Weak aliase if
134         _IO_MTSAFE_IO is not defined.
135         * libio/clearerr.c (clearerr_unlocked): Likewise.
136         * libio/feof.c (feof_unlocked): Likewise.
137         * libio/ferror.c (ferror_unlocked): Likewise.
138         * libio/fputc.c (fputc_unlocked): Likewise.
139         * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
140         * libio/getchar.c (getchar_unlocked): Likewise.
141         * libio/putc.c (putc_unlocked): Likewise.
142         * libio/putchar.c (putchar_unlocked): Likewise.
143
144 1999-07-30  Thorsten Kukuk  <kukuk@suse.de>
145
146         * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
147           svc_max_pollfd and svc_pollfd to GLIBC_2.2
148         * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
149           for svc_run/poll interface.
150         * sunrpc/rpc/types.h: Add rpc*_t typedefs.
151         * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
152           global variable.
153         * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
154           rewrite other svc_getreq* functions to use svc_getreq_common.
155         * sunrpc/svc_run.c: Use poll().
156
157 1999-07-30  Andreas Schwab  <schwab@suse.de>
158
159         * Makerules: Put sysd-versions and Versions.all on
160         postclean-generated instead of common-generated.
161
162 1999-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
163
164         * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
165         around and CLOCKS_PER_SEC is 1e6.
166
167 1999-07-30  Ulrich Drepper  <drepper@cygnus.com>
168
169         * configure.in: Add test for local label subtraction.
170         * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
171         * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
172         labels to reduce number of runtime relocations and move jump
173         tables in read-only seciton.
174
175         * malloc/malloc.c (ptmalloc_init): Correct last patch.  The
176         assignment cannot be moved.
177
178 1999-07-29  H.J. Lu  <hjl@gnu.org>
179
180         * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
181         if no threads are used.
182
183         * libio/iofwrite.c: Add weak alias for _unlocked function if not
184         _IO_MTSAFE_IO.
185         * libio/iofread.c: Likewise.
186         * libio/iofgets.c: Likewise.
187         * libio/iofputs.c: Likewise.
188
189         * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
190         definition.
191
192         * stdlib/mbtowc.c: Include <string.h>.
193         * stdlib/wctomb.c: Likewise.
194         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
195         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
196
197         * misc/mntent_r.c: Include <alloca.h>.
198         * elf/dl-runtime.c: Likewise.
199
200 1999-07-29  Andreas Schwab  <schwab@suse.de>
201
202         * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
203         all floating point formats supported by gcc.  Error out for
204         unhandled precisions.
205         * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
206         * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
207         * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
208
209 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
210
211         * sysdeps/generic/setenv.c: Move setenv code in new function
212         __add_to_environ.  Add new parameter specifying already
213         constructed string for the environment.
214         (setenv): Call __add_to_environ with new parameter set to NULL.
215         (unsetenv): Really test all elements for duplicated name.  Missed those
216         cases where the two are following each other.
217         * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
218         * include/stdlib.h: Add prototype of __add_to_environ.
219         * stdlib/tst-environ.c: New file.
220         * stdlib/Makefile (tests): Add tst-environ.
221
222         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
223
224         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
225         argument in realloc call.
226         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
227         Likewise.
228         Reported by Danny Braniss <danny@cs.huji.ac.il>.
229
230 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
231
232         * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
233         to print.
234         * misc/efgcvt_r.c: Likewise.
235         * misc/qefgcvt.c: Likewise.
236         * misc/qefgcvt_r.c: Likewise.
237         * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
238         anymore.
239
240 1999-07-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
241
242         * manual/math.texi (FP Function Optimization): Mention drawbacks.
243
244 1999-07-28  Ulrich Drepper  <drepper@cygnus.com>
245
246         * stdlib/mblen.c: Use static state.
247         Reported by Bruno Haible <haible@ilog.fr>.
248
249         * stdlib/mbtowc.c: Reset state for s == NULL.
250         * stdlib/wctomb.c: Likewise.
251         Reported by Bruno Haible <haible@ilog.fr>.
252
253         * stdlib/mbstowcs.c: Do not use global state.
254         Reported by Bruno Haible <haible@ilog.fr>.
255
256 1999-07-28  Andeas Schwab  <schwab@suse.de>
257
258         * iconvdata/Makefile: Don't try to run iconv tests when cross
259         compiling.
260
261 1999-07-27  Mark Kettenis  <kettenis@gnu.org>
262
263         * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
264         assembler code to switch stacks and call init1 outside this
265         function.  Inside `init' the code was optimized away by gcc
266         2.95 since it was "clearly" unreachable.
267         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
268         Do something similar for the trampoline code.
269
270 1999-07-27  Ulrich Drepper  <drepper@cygnus.com>
271
272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
273         for the hinted protocol.
274
275 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
276
277         * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
278
279 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
280
281         * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
282         * elf/dl-lookup.c (_dl_setup_hash): Likewise.
283         * elf/dl-load.c (_dl_map_object): Likewise.
284         * elf/do-lookup.h (do_lookup*): Likewise.
285         * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
286         * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
287         as uint64_t.
288         * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
289
290 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
291
292         * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
293         * sysdeps/generic/getpgrp.c: Likewise.
294         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
295         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
296         Patch by John Tobey <jtobey@banta-im.com>.
297
298         * sysdeps/posix/wait3.c: Help compiling in presence of
299         __transparent_union__.  Reported by John Tobey <jtobey@banta-im.com>.
300
301 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
302
303         * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
304         as much as possible. Declare them using .register pseudo-op if they
305         are still used.
306         * sysdeps/sparc/sparc64/lshift.S: Likewise.
307         * sysdeps/sparc/sparc64/memchr.S: Likewise.
308         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
309         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
310         * sysdeps/sparc/sparc64/memset.S: Likewise.
311         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
312         * sysdeps/sparc/sparc64/rshift.S: Likewise.
313         * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
314         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
315         * sysdeps/sparc/sparc64/strcat.S: Likewise.
316         * sysdeps/sparc/sparc64/strchr.S: Likewise.
317         * sysdeps/sparc/sparc64/strcmp.S: Likewise.
318         * sysdeps/sparc/sparc64/strcpy.S: Likewise.
319         * sysdeps/sparc/sparc64/strcspn.S: Likewise.
320         * sysdeps/sparc/sparc64/strlen.S: Likewise.
321         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
322         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
323         * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
324         * sysdeps/sparc/sparc64/strspn.S: Likewise.
325         * sysdeps/sparc/sparc64/sub_n.S: Likewise.
326         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
327         Optimize trampoline code for .plt4-.plt32767.
328         Fix trampolines for .plt32768+.
329
330 1999-07-25  Jakub Jelinek  <jj@ultra.linux.cz>
331
332         * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
333         -mcpu=v8.
334         * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
335         * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
336         libc's private use (as assembly routine clobber it anyway).
337
338 1999-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
339
340         * README.template (configurations): The crypt add-on has a new
341         ftp site.
342         * manual/install.texi (Installation): Likewise.
343
344 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
345
346         * time/time.h: Add forward for struct sigevent.  Unix98 maybe
347         requires to have a full definition but we wait for a bug report
348         based on the test suite.
349
350         * sysdeps/generic/clock_getres.c: New file.
351         * sysdeps/generic/clock_gettime.c: New file.
352         * sysdeps/generic/clock_settime.c: New file.
353         * sysdeps/generic/timer_create.c: New file.
354         * sysdeps/generic/timer_delete.c: New file.
355         * sysdeps/generic/timer_getoverr.c: New file.
356         * sysdeps/generic/timer_gettime.c: New file.
357         * sysdeps/generic/timer_settime.c: New file.
358
359         * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
360         CLOCK_REALTIME, and TIMER_ABSTIME.
361         * sysdeps/mach/hurd/bits/time.h: Likewise.
362         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
363         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
364
365         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
366
367         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
368         si_timer2.
369
370         * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
371
372         * time/Makefile (routines): Add clock_getres, clock_gettime,
373         clock_setres, timer_create, timer_delete, timer_getoverr,
374         timer_gettime, and timer_settime.
375
376         * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
377         POSIX.1b.  Add prototypes for clock and timer functions.
378
379 1999-07-26  Roland McGrath  <roland@baalperazim.frob.com>
380
381         * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
382         Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
383
384 1999-07-26  Ulrich Drepper  <drepper@cygnus.com>
385
386         * stdlib/wcstombs.c: Do not use global state.
387         Reported by Bruno Haible <haible@ilog.fr>.
388
389         * wcsmbs/wctob.c: Avoid sign extension when returning character.
390         Reported by Bruno Haible <haible@ilog.fr>.
391
392         * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
393         of wide characters to convert do it right and don't overestimate
394         by multiplying with MB_CUR_MAX.
395         Reported by Bruno Haible <haible@ilog.fr>.
396
397 1999-07-26  Jakub Jelinek  <jj@ultra.linux.jz>
398
399         * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
400         (__stpcpy_small): Likewise.
401         Union has no __uc member but __c.
402
403 1999-07-26  Andreas Schwab  <schwab@suse.de>
404
405         * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
406
407 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
408
409         * libio/iofclose.c (_IO_new_fclose): Only fall back on
410         _IO_old_fclose if doing versioning.
411
412         * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
413         them appropriately.
414         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
415
416         * misc/mntent_r.c: Allow spaces and tabs in entry names by
417         encoding these characters.
418         * misc/tst-mntent.c: Add test case for addmntent and getmntent.
419
420         * string/bits/string2.h: Fix aliasing problems.
421         * sysdeps/i386/i486/bits/string.h: Likewise.
422         * sysdeps/i386/bits/string.h: Likewise.
423
424 1998-12-28  Geoff Keating  <geoffk@ozemail.com.au>
425
426         * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
427         * elf/rtld.c (dl_main): Don't call malloc() between
428         re-relocating the dynamic linker and running the application's crt0.
429
430 1999-07-21  Paul D. Smith  <psmith@gnu.org>
431
432         * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
433         glob.h to get __P() macro.
434
435         * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
436         not ANSI.
437         (__strchrnul): This won't exist outside GLIBC, so create one.
438
439 1999-07-25  Jakub Jelinek   <jj@ultra.linux.cz>
440
441         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
442         __ino64_t should be 32bit unsigned type on sparc32.
443         Define __off64_t to __quad_t instead of __int64_t.
444         Make __pic_pid_t unsigned on sparc32.
445
446 1999-07-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
447
448         * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug
449         in bash 2.03.
450
451 1999-07-25  Ulrich Drepper  <drepper@cygnus.com>
452
453         * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case
454         of an error.  Patch by Changwoo Ryu <cwryu@debian.org>.
455
456 1999-07-24  Ulrich Drepper  <drepper@cygnus.com>
457
458         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory
459         accesses.
460
461         * resolv/res_send.c: Add locks for res_send and res_close use.
462
463         * elf/Makefile (dl-routines): Add preinit.
464         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next.
465         * elf/link.h (struct link_map): Add new field l_preinitcount.
466         * elf/dl-preinit.c: New file.
467         * elf/dynamic-link.h: Initialize l_preinitcount.
468         * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
469
470         * elf/dl-fini.c: Handle DT_FINI_ARRAY.
471         * elf/link.h (struct link_map): Remove l_init_running.  Add l_runcount
472         and l_initcount.
473         * elf/dl-init.c: Handle DT_INIT_ARRAY.
474         * elf/dynamic-link.h: Change parameters.  Now only get link_map
475         pointer.  Calculate l_initcount.
476
477         * elf/link.h (struct link_map): Add l_runpath_dirs.
478         * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL.
479         * elf/dl-load.c: Pretty print.
480         (decompose_rpath): Take new parameter with info from where the path
481         comes.  Pass it the fillin_rpath.
482         (_dl_init_paths): Initialize l_runpath_dirs.
483         (_dl_map_object): Don't search using RPATHs if object has RUNPATH.
484         Search using RUNPATH after LD_LIBRARY_PATH.
485         * elf/dl-support.c: Adjust comment.
486         * elf/rtld.c: Adjust help message.
487
488 1999-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
489
490         * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol
491         interface.
492
493 1999-07-23  Roland McGrath  <roland@baalperazim.frob.com>
494
495         * sysdeps/generic/bits/termios.h (ONOEOT): Change value to 1<<3, to
496         match BSD value; previous value of 1<<8 was a typo.  I bet nothing
497         ever used this, so I'm not going to worry about compatibility.
498         [__USE_GNU] (IUCLC, OLCUC): New macros.
499
500 1999-07-23  Ulrich Drepper  <drepper@cygnus.com>
501
502         * include/libintl.h: Undefine N_ and _ first to avoid warnings.
503
504         * elf/elf.h: Add ET_LOOS and ET_HIOS.
505         Add various EM_* constants.
506         Add SHN_LOOS and SHN_HIOS.
507         Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
508         Add SHF_MERGE and SHF_STRINGS.
509         (ElfXX_Sym): Update description of st_other field.
510         Add STT_COMMON.
511         Add ELFXX_ST_VISIBILITY and ELFXX_ST_OTHER.
512         Add STV_* macros.
513         Update comment on DT_RPATH.  Add DT_RUNPATH, DT_FLAGS, DT_ENCODING,
514         DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ.
515         Add DF_ORIGIN, DF_SYMBOLIC, DF_TEXTREL, and DF_BIND_NOW.
516
517         * posix/unistd.h: Move declaration of __libc_enable_secure to...
518         * include/unistd.h: ...here.
519
520         * elf/dl-open.c (dl_open_worker): If DST is used in SUID program punt.
521         * elf/dl-deps.c (expand_dst): Likewise.
522
523         * elf/dynamic-link.h: Set DT_SYMBOLIC, DT_TEXTREL, and DT_BIND_NOW
524         based on DT_FLAGS value.
525
526         * elf/do-lookup.h: Remove reference_name parameter, add undef_map.
527         Add test for symbols marked STV_HIDDEN.
528         * elf/dl-lookup.c (_dl_lookup_symbol): Remove reference_name parameter,
529         add undef_map.  Compute reference_name locally.  Update call to
530         do_lookup.
531         (_dl_lookup_symbol_skip): Likewise.
532         (_dl_lookup_versioned_symbol): Likewise.
533         (_dl_lookup_versioned_symbol_skip): Likewise.
534         * elf/dl-libc.c: Update call to _dl_lookup_*symbol.
535         * elf/dl-runtime.c: Likewise.
536         * elf/dl-sym.c: Likewise.
537         * elf/dl-symbol.c: Likewise.
538         * elf/ldsodefs.h: Adjust prototypes.
539
540         * elf/dl-reloc.c (RESOLV): Add test for STV_PROTECTED flag set and
541         handle appropriately.  Add comment about DT_TEXTREL.
542         * elf/dl-runtime.c: Likewise.
543
544 1999-07-21  Roland McGrath  <roland@baalperazim.frob.com>
545
546         * elf/dl-reloc.c (_dl_reloc_bad_type): New function.
547         * elf/ldsodefs.h: Declare it.
548         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
549         instead of assert.
550         (elf_machine_lazy_rel): Likewise.  Take new arg MAP.
551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
552         (elf_machine_lazy_rel): Likewise.
553         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
554         (elf_machine_lazy_rel): Likewise.
555         * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
556         (elf_machine_lazy_rel): Likewise.
557         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
558         (elf_machine_lazy_rel): Likewise.
559         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
560         (elf_machine_lazy_rel): Likewise.
561         * sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
562         * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
563         (elf_machine_lazy_rel): Likewise.
564         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
565         (elf_machine_lazy_rel): Likewise.
566         * sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
567         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
568         _dl_reloc_bad_type instead of _dl_signal_error.
569         * elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
570
571 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
572
573         * sysdeps/mach/_strerror.c: Include <libintl.h>.
574
575 1999-07-19  Roland McGrath  <roland@baalperazim.frob.com>
576
577         * hurd/hurdsig.c (_hurd_internal_post_signal): If a
578         hurd_signal_preemptor matches but its `preemptor' field is null, use
579         its `handler' field directly.  This is to comply with behavior
580         documented in <hurd/sigpreempt.h>.
581
582 1999-07-21  Andreas Schwab  <schwab@suse.de>
583
584         * libio/fileops.c (_IO_new_file_underflow): Set error indicator
585         when reading from write-only stream.
586         * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
587         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
588
589 1999-07-21  Andreas Schwab  <schwab@suse.de>
590
591         * nss/test-netdb.c (output_hostent): Don't crash if h_aliases is
592         NULL.
593
594 1999-07-21  Mark Kettenis  <kettenis@gnu.org>
595
596         * sysdeps/mach/hurd/read.c: Do not include <hurd.h> and
597         <hurd/fd.h>.
598         * sysdeps/mach/hurd/write.c: Do not include <hurd.h> and
599         <hurd/fd.h>.
600         (__libc_write): Call __pwrite instead of __pread.
601
602 1999-07-20  Mark Kettenis  <kettenis@gnu.org>
603
604         * sysdeps/mach/hurd/mmap.c (__mmap): Use correct arguments in
605         __vm_allocate calls.
606
607         * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>.  Fix typo.
608         * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
609
610         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
611         _hurd_fd_read with new OFFSET argument set to -1.
612         (__stdio_write): Call _hurd_fd_write with new OFFSET argument set
613         to -1.
614
615 1999-07-17  Roland McGrath  <roland@baalperazim.frob.com>
616
617         * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the
618         descriptor table sent in the RPC.
619
620 1999-07-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
621
622         * time/strptime.c [!_LIBC]: Fix __mon_day size.  Reported by
623         bill@taniwha.org [PR libc/1211].
624
625 1999-07-19  Andreas Schwab  <schwab@suse.de>
626
627         * libio/Makefile (routines): Add fwprintf.
628
629         PowerPC has own version of w_sqrt.c and w_sqrtf.c.
630         * math/w_sqrt.c: Moved to ...
631         * sysdeps/generic/w_sqrt.c: ... here.
632         * math/w_sqrtf.c: Moved to ...
633         * sysdeps/generic/w_sqrtf.c: ... here.
634
635         * Make-dist (generic-dirs): New variable.
636         (try-sysdeps, +sysdep-names): Use it.
637         * extra-lib.mk (all-$(lib)-routines): New variable.  Use it
638         instead of $(lib)-routines.
639         * elf/Makefile (distribute): Add dl-cache.h.
640         * db2/Makefile (distribute): Add all new files.
641         * iconvdata/Makefile (distribute): Don't distribute CVS
642         directory.
643         * math/Makefile (distribute): Remove machine/endian.h, add
644         math_ldbl.h.
645         * stdio-common/Makefile (distribute): Add _itowa.h.
646         * sysdeps/generic/Dist: Remove make_siglist.c, add siglist.h.
647         * sysdeps/gnu/Dist: Add eval.c
648         * sysdeps/gnu/Makefile (libdl-sysdep_routines) [$(subdir) =
649         dlfcn]: Add to this instead of libdl-routines.
650         * sysdeps/ieee754/ldbl-128/Dist: New file.
651         * sysdeps/mach/hurd/Dist: Add siglist.h
652         * sysdeps/unix/sysv/linux/Dist: Add kernel-features.h.
653
654 1999-07-18  Ulrich Drepper  <drepper@cygnus.com>
655
656         * sysdeps/unix/sysv/linux/sparc/Dist: Add ldd-rewrite.sed.
657
658         * inet/Makefile (routines): Add getipnodebyad and freehostent.
659         * inet/Versions [GLIBC_2.2] (libc): Add getipnodebyad and freehostent.
660         * inet/freehostent.c: New file.
661         * inet/getipnodebyad.c: New file.
662         * resolv/netdb.h: Add prototypes for getipnodebyaddr, freehostent,
663         and getipnodebyname.  The latter comes soon.
664         * nss/digits_dots.c: Fail if IPv6 is found and IPv4 is requested.
665         Add support for getipnode* functions.
666
667         * nss/digits_dots.c: Don't use __set_h_errno, assign to *h_errnop.
668         Set h_aliases to NULL and not to a pointer to an array with a NULL
669         pointer following XNS 5.2.
670
671         * posix/sched.h: Remove internal interfaces.
672         * include/sched.h: Add internal interfaces.
673
674         * nss/getXXbyYY.c: Provide variable h_errnop to help shared code.
675
676         * nss/digits_dots.c: Set h_errnop if memory allcoation failed.
677
678         * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
679         and return an error in this case.
680         * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
681         available.
682
683 1999-07-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
684
685         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Follow change from
686         1999-07-17 and adjust len parameter.
687         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
688         * nscd/gethstbyad_r.c (ADD_PARAMS): Likewise.
689         * manual/socket.texi (Host Names): Likewise.
690         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
691         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
692         Likewise.
693         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
694         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
695         (ht_gethostbyaddr): Likewise.
696         (_gethtbyaddr): Likewise.
697
698 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
699
700         * resolv/netdb.h: Adjust parameters of gethostbyaddr and
701         gethostbyaddr_r.
702         * include/netdb.h: Likewise.
703         * inet/gethstbyad.c: Correct type of len parameter.
704         * inet/gethstbyad_r.c: Likewise.
705
706         * sysdeps/unix/sysv/linux/arm/Versions: Undo last change.
707
708 1999-07-17  Zack Weinberg  <zack@rabi.columbia.edu>
709
710         * include/libc-symbol.h: Clean up definitions of weak_alias,
711         strong_alias, symbol_version, etc. etc.
712         * posix/getopt.h: Use ctype.h to get features.h included, and don't
713         include it at all if __GNU_LIBRARY__ is already defined.
714
715 1999-07-17  Ulrich Drepper  <drepper@cygnus.com>
716
717         * stdio-common/bug1.c: Include <stdlib.h> to get prototype for free.
718
719         * malloc/malloc.c: Add missing chunk of patch from 1999-07-04.
720
721         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Use __suseconds_t
722         type for tv_usec element.
723         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise
724         * sysdeps/unix/sysv/linux/bits/types.h: Define __suseconds_t.
725         * sysdeps/generic/bits/time.h: Likewise.
726         * sysdeps/mach/hurd/bits/time.h: Likewise.
727         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
728         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
729         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
730         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
731         * sysdeps/generic/bits/types.h: Likewise.
732         * posix/sys/types.h: Define suseconds_t for X/Open.
733
734 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
735
736         * stdio-common/bug1.c: Avoid memory leak.
737
738         * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep
739         program deterministic.
740         * sysdeps/i386/fpu/e_powf.S: Likewise.
741         * sysdeps/i386/fpu/e_powl.S: Likewise.
742
743 1999-07-15  Jakub Jelinek  <jj@ultra.linux.cz>
744
745         * math/Makefile: Add t_sincosl and k_sincosl support routines.
746         * math/math_private.h (__kernel_sincosl): New declaration.
747         * sysdeps/generic/t_sincosl.c: New file.
748         * sysdeps/generic/k_sincosl.c: New file.
749         * sysdeps/ieee754/ldbl-128/k_cosl.c: New file.
750         * sysdeps/ieee754/ldbl-128/k_sinl.c: New file.
751         * sysdeps/ieee754/ldbl-128/k_sincosl.c: New file.
752         * sysdeps/ieee754/ldbl-128/t_sincosl.c: New file.
753         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: New file.
754         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Use
755         __kernel_sincosl.
756         * sysdeps/ieee754/ldbl-128/math_ldbl.h (GET_LDOUBLE_LSW64): New
757         definition.
758
759 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
760
761         * posix/unistd.h: Use __PMT for exit.
762
763 1999-07-15  Philip Blundell  <pb@nexus.co.uk>
764
765         * sysdeps/unix/sysv/linux/arm/Versions (_inb, _inw, _inl, _outb,
766         _outw, _outl): Added to GLIBC_2.1.2.
767
768 1999-07-15  Ulrich Drepper  <drepper@cygnus.com>
769
770         * posix/fnmatch.h: Use __name instead of __string in prototype to
771         allow use outside glibc.
772
773 1999-07-14  Ulrich Drepper  <drepper@cygnus.com>
774
775         * time/tst-strptime.c (main): Add one more test case.  Produce
776         output even when result is ok.
777
778         * time/strptime.c (get_number): Handle number parsing more
779         consistent with strftime.  Only parse a given number of digits.
780         (get_alt_number):  Fix implementation.  Was broken.
781         (strptime_internal): Add third parameter to get_number and
782         get_alt_number calls.
783
784 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
785
786         * elf/ldd.bash.in: Add support for multiple dynamic linkers.
787         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: On sparc*linux*,
788         try both 32bit and 64bit dynamic linker.
789         * sysdeps/unix/sysv/linux/configure.in: Apply sparc ldd-rewrite
790         script on all sparc targets.
791
792 1999-07-13  Jakub Jelinek  <jj@ultra.linux.cz>
793
794         * sysdeps/unix/sysv/linux/shmat.c (shmat): Avoid casting a pointer
795         to int.
796
797 1999-07-13  Andreas Schwab  <schwab@suse.de>
798
799         * elf/dl-runtime.c (fixup, profile_fixup): Call alloca to prevent
800         inlining.  Fixes PR libc/1198.
801
802 1999-07-14  Andreas Schwab  <schwab@suse.de>
803
804         * Makerules (common-generated): Don't prepend $(common-objpfx).
805
806 1999-07-12  Jakub Jelinek  <jj@ultra.linux.cz>
807
808         * stdio-common/printf_fp.c (__printf_fp): Adjust for IEEE quad
809         as _FPIO_CONST_OFFSET does not cover all bits after binary dot.
810         * sysdeps/generic/printf_fphex.c (__printf_fphex): Support IEEE
811         quad by moving long double support into PRINT_FPHEX_LONG_DOUBLE
812         macro.
813         * sysdeps/alpha/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
814         instead of ieee754.
815         * sysdeps/arm/Implies: Likewise.
816         * sysdeps/i386/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
817         ieee754/ldbl-96 instead of ieee754.
818         * sysdeps/i386/i686/Implies: Remove implication for libm-i387/i686.
819         * sysdeps/generic/e_atanhl.c: New file.
820         * sysdeps/generic/e_coshl.c: New file.
821         * sysdeps/generic/e_sinhl.c: New file.
822         * sysdeps/generic/e_gammal_r.c: New file.
823         * sysdeps/generic/e_hypotl.c: New file.
824         * sysdeps/generic/s_cbrtl.c: New file.
825         * sysdeps/generic/s_asinhl.c: New file.
826         * sysdeps/generic/s_tanhl.c: New file.
827         * sysdeps/generic/w_expl.c: New file.
828         * sysdeps/i960/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
829         instead of ieee754.
830         * sysdeps/m68k/Implies: Imply ieee754/flt-32, ieee754/dbl-64, and
831         ieee754/ldbl-96 instead of ieee754.
832         * sysdeps/m68k/strtold.c: Include ldbl-96 version of strtold.
833         * sysdeps/m68k/printf_fphex.c: Include ldbl-96 version of
834         printf_fphex.
835         * sysdeps/mips/Implies: Imply ieee754/flt-32 and ieee754/dbl-64
836         instead of ieee754.
837         * sysdeps/mips/mips64/Implies: Likewise.
838         * sysdeps/powerpc/Implies: Likewise.
839         * sysdeps/sparc/Implies: Remove.
840         * sysdeps/sparc/sparc32/Implies: Imply ieee754/flt-32 and
841         ieee754/dbl-64.
842         * sysdeps/sparc/sparc64/Implies: Imply ieee754/flt-32, ieee754/dbl-64,
843         and ieee754/ldbl-128.
844
845         * sysdeps/sparc/bits/wordsize.h: Remove.
846         * sysdeps/sparc/fpu/bits/mathinline.h: New file.
847         * sysdeps/sparc/fpu/bits/mathdef.h: __NO_LONG_DOUBLE_MATH
848         only for sparc32.
849         * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: New file.
850         * sysdeps/sparc/sparc32/bits/wordsize.h: New file.
851         * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: New file.
852         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
853         * sysdeps/sparc/sparc64/Makefile: Add IEEE quad long double
854         support.
855
856         * sysdeps/sparc/sparc64/addmul_1.S: Fix miscalculation
857         of carries. Optimize.
858
859         * sysdeps/libm-ieee754/e_exp10.c: Moved to ...
860         * sysdeps/generic/e_exp10.c: ...here.
861         * sysdeps/libm-ieee754/e_exp10f.c: Moved to ...
862         * sysdeps/generic/e_exp10f.c: ...here.
863         * sysdeps/libm-ieee754/e_exp10l.c: Moved to ...
864         * sysdeps/generic/e_exp10l.c: ...here.
865         * sysdeps/libm-ieee754/e_scalb.c: Moved to ...
866         * sysdeps/generic/e_scalb.c: ...here.
867         * sysdeps/libm-ieee754/e_scalbf.c: Moved to ...
868         * sysdeps/generic/e_scalbf.c: ...here.
869         * sysdeps/libm-ieee754/e_scalbl.c: Moved to ...
870         * sysdeps/generic/e_scalbl.c: ...here.
871         * sysdeps/libm-ieee754/s_cacos.c: Moved to ...
872         * sysdeps/generic/s_cacos.c: ...here.
873         * sysdeps/libm-ieee754/s_cacosf.c: Moved to ...
874         * sysdeps/generic/s_cacosf.c: ...here.
875         * sysdeps/libm-ieee754/s_cacosh.c: Moved to ...
876         * sysdeps/generic/s_cacosh.c: ...here.
877         * sysdeps/libm-ieee754/s_cacoshf.c: Moved to ...
878         * sysdeps/generic/s_cacoshf.c: ...here.
879         * sysdeps/libm-ieee754/s_cacoshl.c: Moved to ...
880         * sysdeps/generic/s_cacoshl.c: ...here.
881         * sysdeps/libm-ieee754/s_cacosl.c: Moved to ...
882         * sysdeps/generic/s_cacosl.c: ...here.
883         * sysdeps/libm-ieee754/s_casin.c: Moved to ...
884         * sysdeps/generic/s_casin.c: ...here.
885         * sysdeps/libm-ieee754/s_casinf.c: Moved to ...
886         * sysdeps/generic/s_casinf.c: ...here.
887         * sysdeps/libm-ieee754/s_casinh.c: Moved to ...
888         * sysdeps/generic/s_casinh.c: ...here.
889         * sysdeps/libm-ieee754/s_casinhf.c: Moved to ...
890         * sysdeps/generic/s_casinhf.c: ...here.
891         * sysdeps/libm-ieee754/s_casinhl.c: Moved to ...
892         * sysdeps/generic/s_casinhl.c: ...here.
893         * sysdeps/libm-ieee754/s_casinl.c: Moved to ...
894         * sysdeps/generic/s_casinl.c: ...here.
895         * sysdeps/libm-ieee754/s_catan.c: Moved to ...
896         * sysdeps/generic/s_catan.c: ...here.
897         * sysdeps/libm-ieee754/s_catanf.c: Moved to ...
898         * sysdeps/generic/s_catanf.c: ...here.
899         * sysdeps/libm-ieee754/s_catanh.c: Moved to ...
900         * sysdeps/generic/s_catanh.c: ...here.
901         * sysdeps/libm-ieee754/s_catanhf.c: Moved to ...
902         * sysdeps/generic/s_catanhf.c: ...here.
903         * sysdeps/libm-ieee754/s_catanhl.c: Moved to ...
904         * sysdeps/generic/s_catanhl.c: ...here.
905         * sysdeps/libm-ieee754/s_catanl.c: Moved to ...
906         * sysdeps/generic/s_catanl.c: ...here.
907         * sysdeps/libm-ieee754/s_ccos.c: Moved to ...
908         * sysdeps/generic/s_ccos.c: ...here.
909         * sysdeps/libm-ieee754/s_ccosf.c: Moved to ...
910         * sysdeps/generic/s_ccosf.c: ...here.
911         * sysdeps/libm-ieee754/s_ccosh.c: Moved to ...
912         * sysdeps/generic/s_ccosh.c: ...here.
913         * sysdeps/libm-ieee754/s_ccoshf.c: Moved to ...
914         * sysdeps/generic/s_ccoshf.c: ...here.
915         * sysdeps/libm-ieee754/s_ccoshl.c: Moved to ...
916         * sysdeps/generic/s_ccoshl.c: ...here.
917         * sysdeps/libm-ieee754/s_ccosl.c: Moved to ...
918         * sysdeps/generic/s_ccosl.c: ...here.
919         * sysdeps/libm-ieee754/s_cexp.c: Moved to ...
920         * sysdeps/generic/s_cexp.c: ...here.
921         * sysdeps/libm-ieee754/s_cexpf.c: Moved to ...
922         * sysdeps/generic/s_cexpf.c: ...here.
923         * sysdeps/libm-ieee754/s_cexpl.c: Moved to ...
924         * sysdeps/generic/s_cexpl.c: ...here.
925         * sysdeps/libm-ieee754/s_clog.c: Moved to ...
926         * sysdeps/generic/s_clog.c: ...here.
927         * sysdeps/libm-ieee754/s_clog10.c: Moved to ...
928         * sysdeps/generic/s_clog10.c: ...here.
929         * sysdeps/libm-ieee754/s_clog10f.c: Moved to ...
930         * sysdeps/generic/s_clog10f.c: ...here.
931         * sysdeps/libm-ieee754/s_clog10l.c: Moved to ...
932         * sysdeps/generic/s_clog10l.c: ...here.
933         * sysdeps/libm-ieee754/s_clogf.c: Moved to ...
934         * sysdeps/generic/s_clogf.c: ...here.
935         * sysdeps/libm-ieee754/s_clogl.c: Moved to ...
936         * sysdeps/generic/s_clogl.c: ...here.
937         * sysdeps/libm-ieee754/s_cpow.c: Moved to ...
938         * sysdeps/generic/s_cpow.c: ...here.
939         * sysdeps/libm-ieee754/s_cpowf.c: Moved to ...
940         * sysdeps/generic/s_cpowf.c: ...here.
941         * sysdeps/libm-ieee754/s_cpowl.c: Moved to ...
942         * sysdeps/generic/s_cpowl.c: ...here.
943         * sysdeps/libm-ieee754/s_cproj.c: Moved to ...
944         * sysdeps/generic/s_cproj.c: ...here.
945         * sysdeps/libm-ieee754/s_cprojf.c: Moved to ...
946         * sysdeps/generic/s_cprojf.c: ...here.
947         * sysdeps/libm-ieee754/s_cprojl.c: Moved to ...
948         * sysdeps/generic/s_cprojl.c: ...here.
949         * sysdeps/libm-ieee754/s_csin.c: Moved to ...
950         * sysdeps/generic/s_csin.c: ...here.
951         * sysdeps/libm-ieee754/s_csinf.c: Moved to ...
952         * sysdeps/generic/s_csinf.c: ...here.
953         * sysdeps/libm-ieee754/s_csinh.c: Moved to ...
954         * sysdeps/generic/s_csinh.c: ...here.
955         * sysdeps/libm-ieee754/s_csinhf.c: Moved to ...
956         * sysdeps/generic/s_csinhf.c: ...here.
957         * sysdeps/libm-ieee754/s_csinhl.c: Moved to ...
958         * sysdeps/generic/s_csinhl.c: ...here.
959         * sysdeps/libm-ieee754/s_csinl.c: Moved to ...
960         * sysdeps/generic/s_csinl.c: ...here.
961         * sysdeps/libm-ieee754/s_csqrt.c: Moved to ...
962         * sysdeps/generic/s_csqrt.c: ...here.
963         * sysdeps/libm-ieee754/s_csqrtf.c: Moved to ...
964         * sysdeps/generic/s_csqrtf.c: ...here.
965         * sysdeps/libm-ieee754/s_csqrtl.c: Moved to ...
966         * sysdeps/generic/s_csqrtl.c: ...here.
967         * sysdeps/libm-ieee754/s_ctan.c: Moved to ...
968         * sysdeps/generic/s_ctan.c: ...here.
969         * sysdeps/libm-ieee754/s_ctanf.c: Moved to ...
970         * sysdeps/generic/s_ctanf.c: ...here.
971         * sysdeps/libm-ieee754/s_ctanh.c: Moved to ...
972         * sysdeps/generic/s_ctanh.c: ...here.
973         * sysdeps/libm-ieee754/s_ctanhf.c: Moved to ...
974         * sysdeps/generic/s_ctanhf.c: ...here.
975         * sysdeps/libm-ieee754/s_ctanhl.c: Moved to ...
976         * sysdeps/generic/s_ctanhl.c: ...here.
977         * sysdeps/libm-ieee754/s_ctanl.c: Moved to ...
978         * sysdeps/generic/s_ctanl.c: ...here.
979         * sysdeps/libm-ieee754/s_fdim.c: Moved to ...
980         * sysdeps/generic/s_fdim.c: ...here.
981         * sysdeps/libm-ieee754/s_fdimf.c: Moved to ...
982         * sysdeps/generic/s_fdimf.c: ...here.
983         * sysdeps/libm-ieee754/s_fdiml.c: Moved to ...
984         * sysdeps/generic/s_fdiml.c: ...here.
985         * sysdeps/libm-ieee754/s_fma.c: Moved to ...
986         * sysdeps/generic/s_fma.c: ...here.
987         * sysdeps/libm-ieee754/s_fmaf.c: Moved to ...
988         * sysdeps/generic/s_fmaf.c: ...here.
989         * sysdeps/libm-ieee754/s_fmal.c: Moved to ...
990         * sysdeps/generic/s_fmal.c: ...here.
991         * sysdeps/libm-ieee754/s_fmax.c: Moved to ...
992         * sysdeps/generic/s_fmax.c: ...here.
993         * sysdeps/libm-ieee754/s_fmaxf.c: Moved to ...
994         * sysdeps/generic/s_fmaxf.c: ...here.
995         * sysdeps/libm-ieee754/s_fmaxl.c: Moved to ...
996         * sysdeps/generic/s_fmaxl.c: ...here.
997         * sysdeps/libm-ieee754/s_fmin.c: Moved to ...
998         * sysdeps/generic/s_fmin.c: ...here.
999         * sysdeps/libm-ieee754/s_fminf.c: Moved to ...
1000         * sysdeps/generic/s_fminf.c: ...here.
1001         * sysdeps/libm-ieee754/s_fminl.c: Moved to ...
1002         * sysdeps/generic/s_fminl.c: ...here.
1003         * sysdeps/libm-ieee754/s_ldexp.c: Moved to ...
1004         * sysdeps/generic/s_ldexp.c: ...here.
1005         * sysdeps/libm-ieee754/s_ldexpf.c: Moved to ...
1006         * sysdeps/generic/s_ldexpf.c: ...here.
1007         * sysdeps/libm-ieee754/s_ldexpl.c: Moved to ...
1008         * sysdeps/generic/s_ldexpl.c: ...here.
1009         * sysdeps/libm-ieee754/s_nan.c: Moved to ...
1010         * sysdeps/generic/s_nan.c: ...here.
1011         * sysdeps/libm-ieee754/s_nanf.c: Moved to ...
1012         * sysdeps/generic/s_nanf.c: ...here.
1013         * sysdeps/libm-ieee754/s_nanl.c: Moved to ...
1014         * sysdeps/generic/s_nanl.c: ...here.
1015         * sysdeps/libm-ieee754/s_significand.c: Moved to ...
1016         * sysdeps/generic/s_significand.c: ...here.
1017         * sysdeps/libm-ieee754/s_significandf.c: Moved to ...
1018         * sysdeps/generic/s_significandf.c: ...here.
1019         * sysdeps/libm-ieee754/s_significandl.c: Moved to ...
1020         * sysdeps/generic/s_significandl.c: ...here.
1021         Avoid conversion from int to double and then to long double.
1022         * sysdeps/libm-ieee754/w_acos.c: Moved to ...
1023         * math/w_acos.c: ...here.
1024         * sysdeps/libm-ieee754/w_acosf.c: Moved to ...
1025         * math/w_acosf.c: ...here.
1026         * sysdeps/libm-ieee754/w_acosh.c: Moved to ...
1027         * math/w_acosh.c: ...here.
1028         * sysdeps/libm-ieee754/w_acoshf.c: Moved to ...
1029         * math/w_acoshf.c: ...here.
1030         * sysdeps/libm-ieee754/w_acoshl.c: Moved to ...
1031         * math/w_acoshl.c: ...here.
1032         * sysdeps/libm-ieee754/w_acosl.c: Moved to ...
1033         * math/w_acosl.c: ...here.
1034         * sysdeps/libm-ieee754/w_asin.c: Moved to ...
1035         * math/w_asin.c: ...here.
1036         * sysdeps/libm-ieee754/w_asinf.c: Moved to ...
1037         * math/w_asinf.c: ...here.
1038         * sysdeps/libm-ieee754/w_asinl.c: Moved to ...
1039         * math/w_asinl.c: ...here.
1040         * sysdeps/libm-ieee754/w_atan2.c: Moved to ...
1041         * math/w_atan2.c: ...here.
1042         * sysdeps/libm-ieee754/w_atan2f.c: Moved to ...
1043         * math/w_atan2f.c: ...here.
1044         * sysdeps/libm-ieee754/w_atan2l.c: Moved to ...
1045         * math/w_atan2l.c: ...here.
1046         * sysdeps/libm-ieee754/w_atanh.c: Moved to ...
1047         * math/w_atanh.c: ...here.
1048         * sysdeps/libm-ieee754/w_atanhf.c: Moved to ...
1049         * math/w_atanhf.c: ...here.
1050         * sysdeps/libm-ieee754/w_atanhl.c: Moved to ...
1051         * math/w_atanhl.c: ...here.
1052         * sysdeps/libm-ieee754/w_cosh.c: Moved to ...
1053         * math/w_cosh.c: ...here.
1054         * sysdeps/libm-ieee754/w_coshf.c: Moved to ...
1055         * math/w_coshf.c: ...here.
1056         * sysdeps/libm-ieee754/w_coshl.c: Moved to ...
1057         * math/w_coshl.c: ...here.
1058         * sysdeps/libm-ieee754/w_drem.c: Moved to ...
1059         * math/w_drem.c: ...here.
1060         * sysdeps/libm-ieee754/w_dremf.c: Moved to ...
1061         * math/w_dremf.c: ...here.
1062         * sysdeps/libm-ieee754/w_dreml.c: Moved to ...
1063         * math/w_dreml.c: ...here.
1064         * sysdeps/libm-ieee754/w_exp10.c: Moved to ...
1065         * math/w_exp10.c: ...here.
1066         * sysdeps/libm-ieee754/w_exp10f.c: Moved to ...
1067         * math/w_exp10f.c: ...here.
1068         * sysdeps/libm-ieee754/w_exp10l.c: Moved to ...
1069         * math/w_exp10l.c: ...here.
1070         * sysdeps/libm-ieee754/w_exp2.c: Moved to ...
1071         * math/w_exp2.c: ...here.
1072         * sysdeps/libm-ieee754/w_exp2f.c: Moved to ...
1073         * math/w_exp2f.c: ...here.
1074         * sysdeps/libm-ieee754/w_exp2l.c: Moved to ...
1075         * math/w_exp2l.c: ...here.
1076         * sysdeps/libm-ieee754/w_fmod.c: Moved to ...
1077         * math/w_fmod.c: ...here.
1078         * sysdeps/libm-ieee754/w_fmodf.c: Moved to ...
1079         * math/w_fmodf.c: ...here.
1080         * sysdeps/libm-ieee754/w_fmodl.c: Moved to ...
1081         * math/w_fmodl.c: ...here.
1082         * sysdeps/libm-ieee754/w_hypot.c: Moved to ...
1083         * math/w_hypot.c: ...here.
1084         * sysdeps/libm-ieee754/w_hypotf.c: Moved to ...
1085         * math/w_hypotf.c: ...here.
1086         * sysdeps/libm-ieee754/w_hypotl.c: Moved to ...
1087         * math/w_hypotl.c: ...here.
1088         * sysdeps/libm-ieee754/w_j0.c: Moved to ...
1089         * math/w_j0.c: ...here.
1090         * sysdeps/libm-ieee754/w_j0f.c: Moved to ...
1091         * math/w_j0f.c: ...here.
1092         * sysdeps/libm-ieee754/w_j0l.c: Moved to ...
1093         * math/w_j0l.c: ...here.
1094         * sysdeps/libm-ieee754/w_j1.c: Moved to ...
1095         * math/w_j1.c: ...here.
1096         * sysdeps/libm-ieee754/w_j1f.c: Moved to ...
1097         * math/w_j1f.c: ...here.
1098         * sysdeps/libm-ieee754/w_j1l.c: Moved to ...
1099         * math/w_j1l.c: ...here.
1100         * sysdeps/libm-ieee754/w_jn.c: Moved to ...
1101         * math/w_jn.c: ...here.
1102         * sysdeps/libm-ieee754/w_jnf.c: Moved to ...
1103         * math/w_jnf.c: ...here.
1104         * sysdeps/libm-ieee754/w_jnl.c: Moved to ...
1105         * math/w_jnl.c: ...here.
1106         * sysdeps/libm-ieee754/w_lgamma.c: Moved to ...
1107         * math/w_lgamma.c: ...here.
1108         * sysdeps/libm-ieee754/w_lgamma_r.c: Moved to ...
1109         * math/w_lgamma_r.c: ...here.
1110         * sysdeps/libm-ieee754/w_lgammaf.c: Moved to ...
1111         * math/w_lgammaf.c: ...here.
1112         * sysdeps/libm-ieee754/w_lgammaf_r.c: Moved to ...
1113         * math/w_lgammaf_r.c: ...here.
1114         * sysdeps/libm-ieee754/w_lgammal.c: Moved to ...
1115         * math/w_lgammal.c: ...here.
1116         * sysdeps/libm-ieee754/w_lgammal_r.c: Moved to ...
1117         * math/w_lgammal_r.c: ...here.
1118         * sysdeps/libm-ieee754/w_log.c: Moved to ...
1119         * math/w_log.c: ...here.
1120         * sysdeps/libm-ieee754/w_log10.c: Moved to ...
1121         * math/w_log10.c: ...here.
1122         * sysdeps/libm-ieee754/w_log10f.c: Moved to ...
1123         * math/w_log10f.c: ...here.
1124         * sysdeps/libm-ieee754/w_log10l.c: Moved to ...
1125         * math/w_log10l.c: ...here.
1126         * sysdeps/libm-ieee754/w_logf.c: Moved to ...
1127         * math/w_logf.c: ...here.
1128         * sysdeps/libm-ieee754/w_logl.c: Moved to ...
1129         * math/w_logl.c: ...here.
1130         * sysdeps/libm-ieee754/w_pow.c: Moved to ...
1131         * math/w_pow.c: ...here.
1132         * sysdeps/libm-ieee754/w_powf.c: Moved to ...
1133         * math/w_powf.c: ...here.
1134         * sysdeps/libm-ieee754/w_powl.c: Moved to ...
1135         * math/w_powl.c: ...here.
1136         * sysdeps/libm-ieee754/w_remainder.c: Moved to ...
1137         * math/w_remainder.c: ...here.
1138         * sysdeps/libm-ieee754/w_remainderf.c: Moved to ...
1139         * math/w_remainderf.c: ...here.
1140         * sysdeps/libm-ieee754/w_remainderl.c: Moved to ...
1141         * math/w_remainderl.c: ...here.
1142         * sysdeps/libm-ieee754/w_scalb.c: Moved to ...
1143         * math/w_scalb.c: ...here.
1144         * sysdeps/libm-ieee754/w_scalbf.c: Moved to ...
1145         * math/w_scalbf.c: ...here.
1146         * sysdeps/libm-ieee754/w_scalbl.c: Moved to ...
1147         * math/w_scalbl.c: ...here.
1148         * sysdeps/libm-ieee754/w_sinh.c: Moved to ...
1149         * math/w_sinh.c: ...here.
1150         * sysdeps/libm-ieee754/w_sinhf.c: Moved to ...
1151         * math/w_sinhf.c: ...here.
1152         * sysdeps/libm-ieee754/w_sinhl.c: Moved to ...
1153         * math/w_sinhl.c: ...here.
1154         * sysdeps/libm-ieee754/w_sqrt.c: Moved to ...
1155         * math/w_sqrt.c: ...here.
1156         * sysdeps/libm-ieee754/w_sqrtf.c: Moved to ...
1157         * math/w_sqrtf.c: ...here.
1158         * sysdeps/libm-ieee754/w_sqrtl.c: Moved to ...
1159         * math/w_sqrtl.c: ...here.
1160         * sysdeps/libm-ieee754/w_tgamma.c: Moved to ...
1161         * math/w_tgamma.c: ...here.
1162         * sysdeps/libm-ieee754/w_tgammaf.c: Moved to ...
1163         * math/w_tgammaf.c: ...here.
1164         * sysdeps/libm-ieee754/w_tgammal.c: Moved to ...
1165         * math/w_tgammal.c: ...here.
1166         * sysdeps/libm-i387/e_acos.S: Moved to ...
1167         * sysdeps/i386/fpu/e_acos.S: ...here.
1168         * sysdeps/libm-i387/e_acosf.S: Moved to ...
1169         * sysdeps/i386/fpu/e_acosf.S: ...here.
1170         * sysdeps/libm-i387/e_acosh.S: Moved to ...
1171         * sysdeps/i386/fpu/e_acosh.S: ...here.
1172         * sysdeps/libm-i387/e_acoshf.S: Moved to ...
1173         * sysdeps/i386/fpu/e_acoshf.S: ...here.
1174         * sysdeps/libm-i387/e_acoshl.S: Moved to ...
1175         * sysdeps/i386/fpu/e_acoshl.S: ...here.
1176         * sysdeps/libm-i387/e_acosl.S: Moved to ...
1177         * sysdeps/i386/fpu/e_acosl.S: ...here.
1178         * sysdeps/libm-i387/e_asin.S: Moved to ...
1179         * sysdeps/i386/fpu/e_asin.S: ...here.
1180         * sysdeps/libm-i387/e_asinf.S: Moved to ...
1181         * sysdeps/i386/fpu/e_asinf.S: ...here.
1182         * sysdeps/libm-i387/e_asinl.S: Moved to ...
1183         * sysdeps/i386/fpu/e_asinl.S: ...here.
1184         * sysdeps/libm-i387/e_atan2.S: Moved to ...
1185         * sysdeps/i386/fpu/e_atan2.S: ...here.
1186         * sysdeps/libm-i387/e_atan2f.S: Moved to ...
1187         * sysdeps/i386/fpu/e_atan2f.S: ...here.
1188         * sysdeps/libm-i387/e_atan2l.S: Moved to ...
1189         * sysdeps/i386/fpu/e_atan2l.S: ...here.
1190         * sysdeps/libm-i387/e_atanh.S: Moved to ...
1191         * sysdeps/i386/fpu/e_atanh.S: ...here.
1192         * sysdeps/libm-i387/e_atanhf.S: Moved to ...
1193         * sysdeps/i386/fpu/e_atanhf.S: ...here.
1194         * sysdeps/libm-i387/e_atanhl.S: Moved to ...
1195         * sysdeps/i386/fpu/e_atanhl.S: ...here.
1196         * sysdeps/libm-i387/e_exp.S: Moved to ...
1197         * sysdeps/i386/fpu/e_exp.S: ...here.
1198         * sysdeps/libm-i387/e_exp10.S: Moved to ...
1199         * sysdeps/i386/fpu/e_exp10.S: ...here.
1200         * sysdeps/libm-i387/e_exp10f.S: Moved to ...
1201         * sysdeps/i386/fpu/e_exp10f.S: ...here.
1202         * sysdeps/libm-i387/e_exp10l.S: Moved to ...
1203         * sysdeps/i386/fpu/e_exp10l.S: ...here.
1204         * sysdeps/libm-i387/e_expf.S: Moved to ...
1205         * sysdeps/i386/fpu/e_expf.S: ...here.
1206         * sysdeps/libm-i387/e_expl.S: Moved to ...
1207         * sysdeps/i386/fpu/e_expl.S: ...here.
1208         * sysdeps/libm-i387/e_fmod.S: Moved to ...
1209         * sysdeps/i386/fpu/e_fmod.S: ...here.
1210         * sysdeps/libm-i387/e_fmodf.S: Moved to ...
1211         * sysdeps/i386/fpu/e_fmodf.S: ...here.
1212         * sysdeps/libm-i387/e_fmodl.S: Moved to ...
1213         * sysdeps/i386/fpu/e_fmodl.S: ...here.
1214         * sysdeps/libm-i387/e_hypot.S: Moved to ...
1215         * sysdeps/i386/fpu/e_hypot.S: ...here.
1216         * sysdeps/libm-i387/e_hypotf.S: Moved to ...
1217         * sysdeps/i386/fpu/e_hypotf.S: ...here.
1218         * sysdeps/libm-i387/e_log.S: Moved to ...
1219         * sysdeps/i386/fpu/e_log.S: ...here.
1220         * sysdeps/libm-i387/e_log10.S: Moved to ...
1221         * sysdeps/i386/fpu/e_log10.S: ...here.
1222         * sysdeps/libm-i387/e_log10f.S: Moved to ...
1223         * sysdeps/i386/fpu/e_log10f.S: ...here.
1224         * sysdeps/libm-i387/e_log10l.S: Moved to ...
1225         * sysdeps/i386/fpu/e_log10l.S: ...here.
1226         * sysdeps/libm-i387/e_logf.S: Moved to ...
1227         * sysdeps/i386/fpu/e_logf.S: ...here.
1228         * sysdeps/libm-i387/e_logl.S: Moved to ...
1229         * sysdeps/i386/fpu/e_logl.S: ...here.
1230         * sysdeps/libm-i387/e_pow.S: Moved to ...
1231         * sysdeps/i386/fpu/e_pow.S: ...here.
1232         * sysdeps/libm-i387/e_powf.S: Moved to ...
1233         * sysdeps/i386/fpu/e_powf.S: ...here.
1234         * sysdeps/libm-i387/e_powl.S: Moved to ...
1235         * sysdeps/i386/fpu/e_powl.S: ...here.
1236         * sysdeps/libm-i387/e_rem_pio2l.c: Moved to ...
1237         * sysdeps/i386/fpu/e_rem_pio2l.c: ...here.
1238         * sysdeps/libm-i387/e_remainder.S: Moved to ...
1239         * sysdeps/i386/fpu/e_remainder.S: ...here.
1240         * sysdeps/libm-i387/e_remainderf.S: Moved to ...
1241         * sysdeps/i386/fpu/e_remainderf.S: ...here.
1242         * sysdeps/libm-i387/e_remainderl.S: Moved to ...
1243         * sysdeps/i386/fpu/e_remainderl.S: ...here.
1244         * sysdeps/libm-i387/e_scalb.S: Moved to ...
1245         * sysdeps/i386/fpu/e_scalb.S: ...here.
1246         * sysdeps/libm-i387/e_scalbf.S: Moved to ...
1247         * sysdeps/i386/fpu/e_scalbf.S: ...here.
1248         * sysdeps/libm-i387/e_scalbl.S: Moved to ...
1249         * sysdeps/i386/fpu/e_scalbl.S: ...here.
1250         * sysdeps/libm-i387/e_sqrt.S: Moved to ...
1251         * sysdeps/i386/fpu/e_sqrt.S: ...here.
1252         * sysdeps/libm-i387/e_sqrtf.S: Moved to ...
1253         * sysdeps/i386/fpu/e_sqrtf.S: ...here.
1254         * sysdeps/libm-i387/e_sqrtl.S: Moved to ...
1255         * sysdeps/i386/fpu/e_sqrtl.S: ...here.
1256         * sysdeps/libm-i387/k_rem_pio2l.c: Moved to ...
1257         * sysdeps/i386/fpu/k_rem_pio2l.c: ...here.
1258         * sysdeps/libm-i387/s_asinh.S: Moved to ...
1259         * sysdeps/i386/fpu/s_asinh.S: ...here.
1260         * sysdeps/libm-i387/s_asinhf.S: Moved to ...
1261         * sysdeps/i386/fpu/s_asinhf.S: ...here.
1262         * sysdeps/libm-i387/s_asinhl.S: Moved to ...
1263         * sysdeps/i386/fpu/s_asinhl.S: ...here.
1264         * sysdeps/libm-i387/s_atan.S: Moved to ...
1265         * sysdeps/i386/fpu/s_atan.S: ...here.
1266         * sysdeps/libm-i387/s_atanf.S: Moved to ...
1267         * sysdeps/i386/fpu/s_atanf.S: ...here.
1268         * sysdeps/libm-i387/s_atanl.S: Moved to ...
1269         * sysdeps/i386/fpu/s_atanl.S: ...here.
1270         * sysdeps/libm-i387/s_cbrt.S: Moved to ...
1271         * sysdeps/i386/fpu/s_cbrt.S: ...here.
1272         * sysdeps/libm-i387/s_cbrtf.S: Moved to ...
1273         * sysdeps/i386/fpu/s_cbrtf.S: ...here.
1274         * sysdeps/libm-i387/s_cbrtl.S: Moved to ...
1275         * sysdeps/i386/fpu/s_cbrtl.S: ...here.
1276         * sysdeps/libm-i387/s_ceil.S: Moved to ...
1277         * sysdeps/i386/fpu/s_ceil.S: ...here.
1278         * sysdeps/libm-i387/s_ceilf.S: Moved to ...
1279         * sysdeps/i386/fpu/s_ceilf.S: ...here.
1280         * sysdeps/libm-i387/s_ceill.S: Moved to ...
1281         * sysdeps/i386/fpu/s_ceill.S: ...here.
1282         * sysdeps/libm-i387/s_cexp.S: Moved to ...
1283         * sysdeps/i386/fpu/s_cexp.S: ...here.
1284         * sysdeps/libm-i387/s_cexpf.S: Moved to ...
1285         * sysdeps/i386/fpu/s_cexpf.S: ...here.
1286         * sysdeps/libm-i387/s_cexpl.S: Moved to ...
1287         * sysdeps/i386/fpu/s_cexpl.S: ...here.
1288         * sysdeps/libm-i387/s_copysign.S: Moved to ...
1289         * sysdeps/i386/fpu/s_copysign.S: ...here.
1290         * sysdeps/libm-i387/s_copysignf.S: Moved to ...
1291         * sysdeps/i386/fpu/s_copysignf.S: ...here.
1292         * sysdeps/libm-i387/s_copysignl.S: Moved to ...
1293         * sysdeps/i386/fpu/s_copysignl.S: ...here.
1294         * sysdeps/libm-i387/s_cos.S: Moved to ...
1295         * sysdeps/i386/fpu/s_cos.S: ...here.
1296         * sysdeps/libm-i387/s_cosf.S: Moved to ...
1297         * sysdeps/i386/fpu/s_cosf.S: ...here.
1298         * sysdeps/libm-i387/s_cosl.S: Moved to ...
1299         * sysdeps/i386/fpu/s_cosl.S: ...here.
1300         * sysdeps/libm-i387/s_exp2.S: Moved to ...
1301         * sysdeps/i386/fpu/s_exp2.S: ...here.
1302         * sysdeps/libm-i387/s_exp2f.S: Moved to ...
1303         * sysdeps/i386/fpu/s_exp2f.S: ...here.
1304         * sysdeps/libm-i387/s_exp2l.S: Moved to ...
1305         * sysdeps/i386/fpu/s_exp2l.S: ...here.
1306         * sysdeps/libm-i387/s_expm1.S: Moved to ...
1307         * sysdeps/i386/fpu/s_expm1.S: ...here.
1308         * sysdeps/libm-i387/s_expm1f.S: Moved to ...
1309         * sysdeps/i386/fpu/s_expm1f.S: ...here.
1310         * sysdeps/libm-i387/s_expm1l.S: Moved to ...
1311         * sysdeps/i386/fpu/s_expm1l.S: ...here.
1312         * sysdeps/libm-i387/s_fdim.S: Moved to ...
1313         * sysdeps/i386/fpu/s_fdim.S: ...here.
1314         * sysdeps/libm-i387/s_fdimf.S: Moved to ...
1315         * sysdeps/i386/fpu/s_fdimf.S: ...here.
1316         * sysdeps/libm-i387/s_fdiml.S: Moved to ...
1317         * sysdeps/i386/fpu/s_fdiml.S: ...here.
1318         * sysdeps/libm-i387/s_finite.S: Moved to ...
1319         * sysdeps/i386/fpu/s_finite.S: ...here.
1320         * sysdeps/libm-i387/s_finitef.S: Moved to ...
1321         * sysdeps/i386/fpu/s_finitef.S: ...here.
1322         * sysdeps/libm-i387/s_finitel.S: Moved to ...
1323         * sysdeps/i386/fpu/s_finitel.S: ...here.
1324         * sysdeps/libm-i387/s_floor.S: Moved to ...
1325         * sysdeps/i386/fpu/s_floor.S: ...here.
1326         * sysdeps/libm-i387/s_floorf.S: Moved to ...
1327         * sysdeps/i386/fpu/s_floorf.S: ...here.
1328         * sysdeps/libm-i387/s_floorl.S: Moved to ...
1329         * sysdeps/i386/fpu/s_floorl.S: ...here.
1330         * sysdeps/libm-i387/s_fma.S: Moved to ...
1331         * sysdeps/i386/fpu/s_fma.S: ...here.
1332         * sysdeps/libm-i387/s_fmaf.S: Moved to ...
1333         * sysdeps/i386/fpu/s_fmaf.S: ...here.
1334         * sysdeps/libm-i387/s_fmal.S: Moved to ...
1335         * sysdeps/i386/fpu/s_fmal.S: ...here.
1336         * sysdeps/libm-i387/s_fmax.S: Moved to ...
1337         * sysdeps/i386/fpu/s_fmax.S: ...here.
1338         * sysdeps/libm-i387/s_fmaxf.S: Moved to ...
1339         * sysdeps/i386/fpu/s_fmaxf.S: ...here.
1340         * sysdeps/libm-i387/s_fmaxl.S: Moved to ...
1341         * sysdeps/i386/fpu/s_fmaxl.S: ...here.
1342         * sysdeps/libm-i387/s_fmin.S: Moved to ...
1343         * sysdeps/i386/fpu/s_fmin.S: ...here.
1344         * sysdeps/libm-i387/s_fminf.S: Moved to ...
1345         * sysdeps/i386/fpu/s_fminf.S: ...here.
1346         * sysdeps/libm-i387/s_fminl.S: Moved to ...
1347         * sysdeps/i386/fpu/s_fminl.S: ...here.
1348         * sysdeps/libm-i387/s_frexp.S: Moved to ...
1349         * sysdeps/i386/fpu/s_frexp.S: ...here.
1350         * sysdeps/libm-i387/s_frexpf.S: Moved to ...
1351         * sysdeps/i386/fpu/s_frexpf.S: ...here.
1352         * sysdeps/libm-i387/s_frexpl.S: Moved to ...
1353         * sysdeps/i386/fpu/s_frexpl.S: ...here.
1354         * sysdeps/libm-i387/s_ilogb.S: Moved to ...
1355         * sysdeps/i386/fpu/s_ilogb.S: ...here.
1356         * sysdeps/libm-i387/s_ilogbf.S: Moved to ...
1357         * sysdeps/i386/fpu/s_ilogbf.S: ...here.
1358         * sysdeps/libm-i387/s_ilogbl.S: Moved to ...
1359         * sysdeps/i386/fpu/s_ilogbl.S: ...here.
1360         * sysdeps/libm-i387/s_llrint.S: Moved to ...
1361         * sysdeps/i386/fpu/s_llrint.S: ...here.
1362         * sysdeps/libm-i387/s_llrintf.S: Moved to ...
1363         * sysdeps/i386/fpu/s_llrintf.S: ...here.
1364         * sysdeps/libm-i387/s_llrintl.S: Moved to ...
1365         * sysdeps/i386/fpu/s_llrintl.S: ...here.
1366         * sysdeps/libm-i387/s_log1p.S: Moved to ...
1367         * sysdeps/i386/fpu/s_log1p.S: ...here.
1368         * sysdeps/libm-i387/s_log1pf.S: Moved to ...
1369         * sysdeps/i386/fpu/s_log1pf.S: ...here.
1370         * sysdeps/libm-i387/s_log1pl.S: Moved to ...
1371         * sysdeps/i386/fpu/s_log1pl.S: ...here.
1372         * sysdeps/libm-i387/s_log2.S: Moved to ...
1373         * sysdeps/i386/fpu/s_log2.S: ...here.
1374         * sysdeps/libm-i387/s_log2f.S: Moved to ...
1375         * sysdeps/i386/fpu/s_log2f.S: ...here.
1376         * sysdeps/libm-i387/s_log2l.S: Moved to ...
1377         * sysdeps/i386/fpu/s_log2l.S: ...here.
1378         * sysdeps/libm-i387/s_logb.S: Moved to ...
1379         * sysdeps/i386/fpu/s_logb.S: ...here.
1380         * sysdeps/libm-i387/s_logbf.S: Moved to ...
1381         * sysdeps/i386/fpu/s_logbf.S: ...here.
1382         * sysdeps/libm-i387/s_logbl.S: Moved to ...
1383         * sysdeps/i386/fpu/s_logbl.S: ...here.
1384         * sysdeps/libm-i387/s_lrint.S: Moved to ...
1385         * sysdeps/i386/fpu/s_lrint.S: ...here.
1386         * sysdeps/libm-i387/s_lrintf.S: Moved to ...
1387         * sysdeps/i386/fpu/s_lrintf.S: ...here.
1388         * sysdeps/libm-i387/s_lrintl.S: Moved to ...
1389         * sysdeps/i386/fpu/s_lrintl.S: ...here.
1390         * sysdeps/libm-i387/s_nearbyint.S: Moved to ...
1391         * sysdeps/i386/fpu/s_nearbyint.S: ...here.
1392         * sysdeps/libm-i387/s_nearbyintf.S: Moved to ...
1393         * sysdeps/i386/fpu/s_nearbyintf.S: ...here.
1394         * sysdeps/libm-i387/s_nearbyintl.S: Moved to ...
1395         * sysdeps/i386/fpu/s_nearbyintl.S: ...here.
1396         * sysdeps/libm-i387/s_remquo.S: Moved to ...
1397         * sysdeps/i386/fpu/s_remquo.S: ...here.
1398         * sysdeps/libm-i387/s_remquof.S: Moved to ...
1399         * sysdeps/i386/fpu/s_remquof.S: ...here.
1400         * sysdeps/libm-i387/s_remquol.S: Moved to ...
1401         * sysdeps/i386/fpu/s_remquol.S: ...here.
1402         * sysdeps/libm-i387/s_rint.S: Moved to ...
1403         * sysdeps/i386/fpu/s_rint.S: ...here.
1404         * sysdeps/libm-i387/s_rintf.S: Moved to ...
1405         * sysdeps/i386/fpu/s_rintf.S: ...here.
1406         * sysdeps/libm-i387/s_rintl.S: Moved to ...
1407         * sysdeps/i386/fpu/s_rintl.S: ...here.
1408         * sysdeps/libm-i387/s_scalbn.S: Moved to ...
1409         * sysdeps/i386/fpu/s_scalbn.S: ...here.
1410         * sysdeps/libm-i387/s_scalbnf.S: Moved to ...
1411         * sysdeps/i386/fpu/s_scalbnf.S: ...here.
1412         * sysdeps/libm-i387/s_scalbnl.S: Moved to ...
1413         * sysdeps/i386/fpu/s_scalbnl.S: ...here.
1414         * sysdeps/libm-i387/s_significand.S: Moved to ...
1415         * sysdeps/i386/fpu/s_significand.S: ...here.
1416         * sysdeps/libm-i387/s_significandf.S: Moved to ...
1417         * sysdeps/i386/fpu/s_significandf.S: ...here.
1418         * sysdeps/libm-i387/s_significandl.S: Moved to ...
1419         * sysdeps/i386/fpu/s_significandl.S: ...here.
1420         * sysdeps/libm-i387/s_sin.S: Moved to ...
1421         * sysdeps/i386/fpu/s_sin.S: ...here.
1422         * sysdeps/libm-i387/s_sincos.S: Moved to ...
1423         * sysdeps/i386/fpu/s_sincos.S: ...here.
1424         * sysdeps/libm-i387/s_sincosf.S: Moved to ...
1425         * sysdeps/i386/fpu/s_sincosf.S: ...here.
1426         * sysdeps/libm-i387/s_sincosl.S: Moved to ...
1427         * sysdeps/i386/fpu/s_sincosl.S: ...here.
1428         * sysdeps/libm-i387/s_sinf.S: Moved to ...
1429         * sysdeps/i386/fpu/s_sinf.S: ...here.
1430         * sysdeps/libm-i387/s_sinl.S: Moved to ...
1431         * sysdeps/i386/fpu/s_sinl.S: ...here.
1432         * sysdeps/libm-i387/s_tan.S: Moved to ...
1433         * sysdeps/i386/fpu/s_tan.S: ...here.
1434         * sysdeps/libm-i387/s_tanf.S: Moved to ...
1435         * sysdeps/i386/fpu/s_tanf.S: ...here.
1436         * sysdeps/libm-i387/s_tanl.S: Moved to ...
1437         * sysdeps/i386/fpu/s_tanl.S: ...here.
1438         * sysdeps/libm-i387/s_trunc.S: Moved to ...
1439         * sysdeps/i386/fpu/s_trunc.S: ...here.
1440         * sysdeps/libm-i387/s_truncf.S: Moved to ...
1441         * sysdeps/i386/fpu/s_truncf.S: ...here.
1442         * sysdeps/libm-i387/s_truncl.S: Moved to ...
1443         * sysdeps/i386/fpu/s_truncl.S: ...here.
1444         * sysdeps/libm-ieee754/k_standard.c: Moved to ...
1445         * sysdeps/ieee754/k_standard.c: ...here.
1446         * sysdeps/libm-ieee754/s_lib_version.c: Moved to ...
1447         * sysdeps/ieee754/s_lib_version.c: ...here.
1448         * sysdeps/libm-ieee754/s_matherr.c: Moved to ...
1449         * sysdeps/ieee754/s_matherr.c: ...here.
1450         * sysdeps/libm-ieee754/s_signgam.c: Moved to ...
1451         * sysdeps/ieee754/s_signgam.c: ...here.
1452         * sysdeps/ieee754/dbl2mpn.c: Moved to ...
1453         * sysdeps/ieee754/dbl-64/dbl2mpn.c: ...here.
1454         * sysdeps/ieee754/mpn2dbl.c: Moved to ...
1455         * sysdeps/ieee754/dbl-64/mpn2dbl.c: ...here.
1456         * sysdeps/libm-ieee754/e_acos.c: Moved to ...
1457         * sysdeps/ieee754/dbl-64/e_acos.c: ...here.
1458         * sysdeps/libm-ieee754/e_acosh.c: Moved to ...
1459         * sysdeps/ieee754/dbl-64/e_acosh.c: ...here.
1460         * sysdeps/libm-ieee754/e_asin.c: Moved to ...
1461         * sysdeps/ieee754/dbl-64/e_asin.c: ...here.
1462         * sysdeps/libm-ieee754/e_atan2.c: Moved to ...
1463         * sysdeps/ieee754/dbl-64/e_atan2.c: ...here.
1464         * sysdeps/libm-ieee754/e_atanh.c: Moved to ...
1465         * sysdeps/ieee754/dbl-64/e_atanh.c: ...here.
1466         * sysdeps/libm-ieee754/e_cosh.c: Moved to ...
1467         * sysdeps/ieee754/dbl-64/e_cosh.c: ...here.
1468         * sysdeps/libm-ieee754/e_exp.c: Moved to ...
1469         * sysdeps/ieee754/dbl-64/e_exp.c: ...here.
1470         * sysdeps/libm-ieee754/e_fmod.c: Moved to ...
1471         * sysdeps/ieee754/dbl-64/e_fmod.c: ...here.
1472         * sysdeps/libm-ieee754/e_gamma_r.c: Moved to ...
1473         * sysdeps/ieee754/dbl-64/e_gamma_r.c: ...here.
1474         * sysdeps/libm-ieee754/e_hypot.c: Moved to ...
1475         * sysdeps/ieee754/dbl-64/e_hypot.c: ...here.
1476         * sysdeps/libm-ieee754/e_j0.c: Moved to ...
1477         * sysdeps/ieee754/dbl-64/e_j0.c: ...here.
1478         * sysdeps/libm-ieee754/e_j1.c: Moved to ...
1479         * sysdeps/ieee754/dbl-64/e_j1.c: ...here.
1480         * sysdeps/libm-ieee754/e_jn.c: Moved to ...
1481         * sysdeps/ieee754/dbl-64/e_jn.c: ...here.
1482         * sysdeps/libm-ieee754/e_lgamma_r.c: Moved to ...
1483         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: ...here.
1484         * sysdeps/libm-ieee754/e_log.c: Moved to ...
1485         * sysdeps/ieee754/dbl-64/e_log.c: ...here.
1486         * sysdeps/libm-ieee754/e_log10.c: Moved to ...
1487         * sysdeps/ieee754/dbl-64/e_log10.c: ...here.
1488         * sysdeps/libm-ieee754/e_pow.c: Moved to ...
1489         * sysdeps/ieee754/dbl-64/e_pow.c: ...here.
1490         * sysdeps/libm-ieee754/e_remainder.c: Moved to ...
1491         * sysdeps/ieee754/dbl-64/e_remainder.c: ...here.
1492         * sysdeps/libm-ieee754/e_sinh.c: Moved to ...
1493         * sysdeps/ieee754/dbl-64/e_sinh.c: ...here.
1494         * sysdeps/libm-ieee754/e_sqrt.c: Moved to ...
1495         * sysdeps/ieee754/dbl-64/e_sqrt.c: ...here.
1496         * sysdeps/libm-ieee754/k_cos.c: Moved to ...
1497         * sysdeps/ieee754/dbl-64/k_cos.c: ...here.
1498         * sysdeps/libm-ieee754/k_sin.c: Moved to ...
1499         * sysdeps/ieee754/dbl-64/k_sin.c: ...here.
1500         * sysdeps/libm-ieee754/k_tan.c: Moved to ...
1501         * sysdeps/ieee754/dbl-64/k_tan.c: ...here.
1502         * sysdeps/libm-ieee754/s_asinh.c: Moved to ...
1503         * sysdeps/ieee754/dbl-64/s_asinh.c: ...here.
1504         * sysdeps/libm-ieee754/s_atan.c: Moved to ...
1505         * sysdeps/ieee754/dbl-64/s_atan.c: ...here.
1506         * sysdeps/libm-ieee754/s_cbrt.c: Moved to ...
1507         * sysdeps/ieee754/dbl-64/s_cbrt.c: ...here.
1508         * sysdeps/libm-ieee754/s_ceil.c: Moved to ...
1509         * sysdeps/ieee754/dbl-64/s_ceil.c: ...here.
1510         * sysdeps/libm-ieee754/s_copysign.c: Moved to ...
1511         * sysdeps/ieee754/dbl-64/s_copysign.c: ...here.
1512         * sysdeps/libm-ieee754/s_cos.c: Moved to ...
1513         * sysdeps/ieee754/dbl-64/s_cos.c: ...here.
1514         * sysdeps/libm-ieee754/s_erf.c: Moved to ...
1515         * sysdeps/ieee754/dbl-64/s_erf.c: ...here.
1516         * sysdeps/libm-ieee754/s_exp2.c: Moved to ...
1517         * sysdeps/ieee754/dbl-64/s_exp2.c: ...here.
1518         * sysdeps/libm-ieee754/s_expm1.c: Moved to ...
1519         * sysdeps/ieee754/dbl-64/s_expm1.c: ...here.
1520         * sysdeps/libm-ieee754/s_fabs.c: Moved to ...
1521         * sysdeps/ieee754/dbl-64/s_fabs.c: ...here.
1522         * sysdeps/libm-ieee754/s_finite.c: Moved to ...
1523         * sysdeps/ieee754/dbl-64/s_finite.c: ...here.
1524         * sysdeps/libm-ieee754/s_floor.c: Moved to ...
1525         * sysdeps/ieee754/dbl-64/s_floor.c: ...here.
1526         * sysdeps/libm-ieee754/s_fpclassify.c: Moved to ...
1527         * sysdeps/ieee754/dbl-64/s_fpclassify.c: ...here.
1528         * sysdeps/libm-ieee754/s_frexp.c: Moved to ...
1529         * sysdeps/ieee754/dbl-64/s_frexp.c: ...here.
1530         * sysdeps/libm-ieee754/s_ilogb.c: Moved to ...
1531         * sysdeps/ieee754/dbl-64/s_ilogb.c: ...here.
1532         * sysdeps/libm-ieee754/s_isinf.c: Moved to ...
1533         * sysdeps/ieee754/dbl-64/s_isinf.c: ...here.
1534         * sysdeps/libm-ieee754/s_isnan.c: Moved to ...
1535         * sysdeps/ieee754/dbl-64/s_isnan.c: ...here.
1536         (__isnan): Comment above function says it returns 0 or 1, but it
1537         used to return 0 or -1.
1538         * sysdeps/libm-ieee754/s_llrint.c: Moved to ...
1539         * sysdeps/ieee754/dbl-64/s_llrint.c: ...here.
1540         * sysdeps/libm-ieee754/s_llround.c: Moved to ...
1541         * sysdeps/ieee754/dbl-64/s_llround.c: ...here.
1542         * sysdeps/libm-ieee754/s_log1p.c: Moved to ...
1543         * sysdeps/ieee754/dbl-64/s_log1p.c: ...here.
1544         * sysdeps/libm-ieee754/s_log2.c: Moved to ...
1545         * sysdeps/ieee754/dbl-64/s_log2.c: ...here.
1546         * sysdeps/libm-ieee754/s_logb.c: Moved to ...
1547         * sysdeps/ieee754/dbl-64/s_logb.c: ...here.
1548         * sysdeps/libm-ieee754/s_lrint.c: Moved to ...
1549         * sysdeps/ieee754/dbl-64/s_lrint.c: ...here.
1550         * sysdeps/libm-ieee754/s_lround.c: Moved to ...
1551         * sysdeps/ieee754/dbl-64/s_lround.c: ...here.
1552         * sysdeps/libm-ieee754/s_modf.c: Moved to ...
1553         * sysdeps/ieee754/dbl-64/s_modf.c: ...here.
1554         * sysdeps/libm-ieee754/s_nearbyint.c: Moved to ...
1555         * sysdeps/ieee754/dbl-64/s_nearbyint.c: ...here.
1556         * sysdeps/libm-ieee754/s_nextafter.c: Moved to ...
1557         * sysdeps/generic/s_nextafter.c: ...here.
1558         Add __nexttoward and nexttoward aliases if NO_LONG_DOUBLE.
1559         * sysdeps/libm-ieee754/s_remquo.c: Moved to ...
1560         * sysdeps/ieee754/dbl-64/s_remquo.c: ...here.
1561         * sysdeps/libm-ieee754/s_rint.c: Moved to ...
1562         * sysdeps/ieee754/dbl-64/s_rint.c: ...here.
1563         * sysdeps/libm-ieee754/s_round.c: Moved to ...
1564         * sysdeps/ieee754/dbl-64/s_round.c: ...here.
1565         * sysdeps/libm-ieee754/s_scalbn.c: Moved to ...
1566         * sysdeps/ieee754/dbl-64/s_scalbn.c: ...here.
1567         * sysdeps/libm-ieee754/s_signbit.c: Moved to ...
1568         * sysdeps/ieee754/dbl-64/s_signbit.c: ...here.
1569         * sysdeps/libm-ieee754/s_sin.c: Moved to ...
1570         * sysdeps/ieee754/dbl-64/s_sin.c: ...here.
1571         * sysdeps/libm-ieee754/s_sincos.c: Moved to ...
1572         * sysdeps/ieee754/dbl-64/s_sincos.c: ...here.
1573         * sysdeps/libm-ieee754/s_tan.c: Moved to ...
1574         * sysdeps/ieee754/dbl-64/s_tan.c: ...here.
1575         * sysdeps/libm-ieee754/s_tanh.c: Moved to ...
1576         * sysdeps/ieee754/dbl-64/s_tanh.c: ...here.
1577         * sysdeps/libm-ieee754/s_trunc.c: Moved to ...
1578         * sysdeps/ieee754/dbl-64/s_trunc.c: ...here.
1579         * sysdeps/libm-ieee754/t_exp2.h: Moved to ...
1580         * sysdeps/ieee754/dbl-64/t_exp2.h: ...here.
1581         * sysdeps/libm-ieee754/w_exp.c: Moved to ...
1582         * sysdeps/ieee754/dbl-64/w_exp.c: ...here.
1583         * sysdeps/ieee754/mpn2flt.c: Moved to ...
1584         * sysdeps/ieee754/flt-32/mpn2flt.c: ...here.
1585         * sysdeps/libm-ieee754/e_acosf.c: Moved to ...
1586         * sysdeps/ieee754/flt-32/e_acosf.c: ...here.
1587         * sysdeps/libm-ieee754/e_acoshf.c: Moved to ...
1588         * sysdeps/ieee754/flt-32/e_acoshf.c: ...here.
1589         * sysdeps/libm-ieee754/e_asinf.c: Moved to ...
1590         * sysdeps/ieee754/flt-32/e_asinf.c: ...here.
1591         * sysdeps/libm-ieee754/e_atan2f.c: Moved to ...
1592         * sysdeps/ieee754/flt-32/e_atan2f.c: ...here.
1593         * sysdeps/libm-ieee754/e_atanhf.c: Moved to ...
1594         * sysdeps/ieee754/flt-32/e_atanhf.c: ...here.
1595         * sysdeps/libm-ieee754/e_coshf.c: Moved to ...
1596         * sysdeps/ieee754/flt-32/e_coshf.c: ...here.
1597         * sysdeps/libm-ieee754/e_expf.c: Moved to ...
1598         * sysdeps/ieee754/flt-32/e_expf.c: ...here.
1599         * sysdeps/libm-ieee754/e_fmodf.c: Moved to ...
1600         * sysdeps/ieee754/flt-32/e_fmodf.c: ...here.
1601         * sysdeps/libm-ieee754/e_gammaf_r.c: Moved to ...
1602         * sysdeps/ieee754/flt-32/e_gammaf_r.c: ...here.
1603         * sysdeps/libm-ieee754/e_hypotf.c: Moved to ...
1604         * sysdeps/ieee754/flt-32/e_hypotf.c: ...here.
1605         * sysdeps/libm-ieee754/e_j0f.c: Moved to ...
1606         * sysdeps/ieee754/flt-32/e_j0f.c: ...here.
1607         * sysdeps/libm-ieee754/e_j1f.c: Moved to ...
1608         * sysdeps/ieee754/flt-32/e_j1f.c: ...here.
1609         * sysdeps/libm-ieee754/e_jnf.c: Moved to ...
1610         * sysdeps/ieee754/flt-32/e_jnf.c: ...here.
1611         * sysdeps/libm-ieee754/e_lgammaf_r.c: Moved to ...
1612         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: ...here.
1613         * sysdeps/libm-ieee754/e_log10f.c: Moved to ...
1614         * sysdeps/ieee754/flt-32/e_log10f.c: ...here.
1615         * sysdeps/libm-ieee754/e_logf.c: Moved to ...
1616         * sysdeps/ieee754/flt-32/e_logf.c: ...here.
1617         * sysdeps/libm-ieee754/e_powf.c: Moved to ...
1618         * sysdeps/ieee754/flt-32/e_powf.c: ...here.
1619         * sysdeps/libm-ieee754/e_remainderf.c: Moved to ...
1620         * sysdeps/ieee754/flt-32/e_remainderf.c: ...here.
1621         * sysdeps/libm-ieee754/e_sinhf.c: Moved to ...
1622         * sysdeps/ieee754/flt-32/e_sinhf.c: ...here.
1623         * sysdeps/libm-ieee754/e_sqrtf.c: Moved to ...
1624         * sysdeps/ieee754/flt-32/e_sqrtf.c: ...here.
1625         * sysdeps/libm-ieee754/k_cosf.c: Moved to ...
1626         * sysdeps/ieee754/flt-32/k_cosf.c: ...here.
1627         * sysdeps/libm-ieee754/k_sinf.c: Moved to ...
1628         * sysdeps/ieee754/flt-32/k_sinf.c: ...here.
1629         * sysdeps/libm-ieee754/k_tanf.c: Moved to ...
1630         * sysdeps/ieee754/flt-32/k_tanf.c: ...here.
1631         * sysdeps/libm-ieee754/s_asinhf.c: Moved to ...
1632         * sysdeps/ieee754/flt-32/s_asinhf.c: ...here.
1633         * sysdeps/libm-ieee754/s_atanf.c: Moved to ...
1634         * sysdeps/ieee754/flt-32/s_atanf.c: ...here.
1635         * sysdeps/libm-ieee754/s_cbrtf.c: Moved to ...
1636         * sysdeps/ieee754/flt-32/s_cbrtf.c: ...here.
1637         * sysdeps/libm-ieee754/s_ceilf.c: Moved to ...
1638         * sysdeps/ieee754/flt-32/s_ceilf.c: ...here.
1639         * sysdeps/libm-ieee754/s_copysignf.c: Moved to ...
1640         * sysdeps/ieee754/flt-32/s_copysignf.c: ...here.
1641         * sysdeps/libm-ieee754/s_cosf.c: Moved to ...
1642         * sysdeps/ieee754/flt-32/s_cosf.c: ...here.
1643         * sysdeps/libm-ieee754/s_erff.c: Moved to ...
1644         * sysdeps/ieee754/flt-32/s_erff.c: ...here.
1645         * sysdeps/libm-ieee754/s_exp2f.c: Moved to ...
1646         * sysdeps/ieee754/flt-32/s_exp2f.c: ...here.
1647         * sysdeps/libm-ieee754/s_expm1f.c: Moved to ...
1648         * sysdeps/ieee754/flt-32/s_expm1f.c: ...here.
1649         * sysdeps/libm-ieee754/s_fabsf.c: Moved to ...
1650         * sysdeps/ieee754/flt-32/s_fabsf.c: ...here.
1651         * sysdeps/libm-ieee754/s_finitef.c: Moved to ...
1652         * sysdeps/ieee754/flt-32/s_finitef.c: ...here.
1653         * sysdeps/libm-ieee754/s_floorf.c: Moved to ...
1654         * sysdeps/ieee754/flt-32/s_floorf.c: ...here.
1655         * sysdeps/libm-ieee754/s_fpclassifyf.c: Moved to ...
1656         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: ...here.
1657         * sysdeps/libm-ieee754/s_frexpf.c: Moved to ...
1658         * sysdeps/ieee754/flt-32/s_frexpf.c: ...here.
1659         * sysdeps/libm-ieee754/s_ilogbf.c: Moved to ...
1660         * sysdeps/ieee754/flt-32/s_ilogbf.c: ...here.
1661         * sysdeps/libm-ieee754/s_isinff.c: Moved to ...
1662         * sysdeps/ieee754/flt-32/s_isinff.c: ...here.
1663         * sysdeps/libm-ieee754/s_isnanf.c: Moved to ...
1664         * sysdeps/ieee754/flt-32/s_isnanf.c: ...here.
1665         * sysdeps/libm-ieee754/s_llrintf.c: Moved to ...
1666         * sysdeps/ieee754/flt-32/s_llrintf.c: ...here.
1667         * sysdeps/libm-ieee754/s_llroundf.c: Moved to ...
1668         * sysdeps/ieee754/flt-32/s_llroundf.c: ...here.
1669         * sysdeps/libm-ieee754/s_log1pf.c: Moved to ...
1670         * sysdeps/ieee754/flt-32/s_log1pf.c: ...here.
1671         * sysdeps/libm-ieee754/s_log2f.c: Moved to ...
1672         * sysdeps/ieee754/flt-32/s_log2f.c: ...here.
1673         * sysdeps/libm-ieee754/s_logbf.c: Moved to ...
1674         * sysdeps/ieee754/flt-32/s_logbf.c: ...here.
1675         * sysdeps/libm-ieee754/s_lrintf.c: Moved to ...
1676         * sysdeps/ieee754/flt-32/s_lrintf.c: ...here.
1677         * sysdeps/libm-ieee754/s_lroundf.c: Moved to ...
1678         * sysdeps/ieee754/flt-32/s_lroundf.c: ...here.
1679         * sysdeps/libm-ieee754/s_modff.c: Moved to ...
1680         * sysdeps/ieee754/flt-32/s_modff.c: ...here.
1681         * sysdeps/libm-ieee754/s_nearbyintf.c: Moved to ...
1682         * sysdeps/ieee754/flt-32/s_nearbyintf.c: ...here.
1683         * sysdeps/libm-ieee754/s_nextafterf.c: Moved to ...
1684         * sysdeps/ieee754/flt-32/s_nextafterf.c: ...here.
1685         * sysdeps/libm-ieee754/s_remquof.c: Moved to ...
1686         * sysdeps/ieee754/flt-32/s_remquof.c: ...here.
1687         * sysdeps/libm-ieee754/s_rintf.c: Moved to ...
1688         * sysdeps/ieee754/flt-32/s_rintf.c: ...here.
1689         * sysdeps/libm-ieee754/s_roundf.c: Moved to ...
1690         * sysdeps/ieee754/flt-32/s_roundf.c: ...here.
1691         * sysdeps/libm-ieee754/s_scalbnf.c: Moved to ...
1692         * sysdeps/ieee754/flt-32/s_scalbnf.c: ...here.
1693         * sysdeps/libm-ieee754/s_signbitf.c: Moved to ...
1694         * sysdeps/ieee754/flt-32/s_signbitf.c: ...here.
1695         * sysdeps/libm-ieee754/s_sincosf.c: Moved to ...
1696         * sysdeps/ieee754/flt-32/s_sincosf.c: ...here.
1697         * sysdeps/libm-ieee754/s_sinf.c: Moved to ...
1698         * sysdeps/ieee754/flt-32/s_sinf.c: ...here.
1699         * sysdeps/libm-ieee754/s_tanf.c: Moved to ...
1700         * sysdeps/ieee754/flt-32/s_tanf.c: ...here.
1701         * sysdeps/libm-ieee754/s_tanhf.c: Moved to ...
1702         * sysdeps/ieee754/flt-32/s_tanhf.c: ...here.
1703         * sysdeps/libm-ieee754/s_truncf.c: Moved to ...
1704         * sysdeps/ieee754/flt-32/s_truncf.c: ...here.
1705         * sysdeps/libm-ieee754/t_exp2f.h: Moved to ...
1706         * sysdeps/ieee754/flt-32/t_exp2f.h: ...here.
1707         * sysdeps/libm-ieee754/w_expf.c: Moved to ...
1708         * sysdeps/ieee754/flt-32/w_expf.c: ...here.
1709         * sysdeps/libm-ieee754/e_acoshl.c: Moved to ...
1710         * sysdeps/ieee754/ldbl-96/e_acoshl.c: ...here.
1711         * sysdeps/libm-ieee754/e_atan2l.c: Moved to ...
1712         * sysdeps/ieee754/ldbl-96/e_atan2l.c: ...here.
1713         * sysdeps/libm-ieee754/e_atanhl.c: Moved to ...
1714         * sysdeps/ieee754/ldbl-96/e_atanhl.c: ...here.
1715         * sysdeps/libm-ieee754/e_coshl.c: Moved to ...
1716         * sysdeps/ieee754/ldbl-96/e_coshl.c: ...here.
1717         * sysdeps/libm-ieee754/e_gammal_r.c: Moved to ...
1718         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: ...here.
1719         * sysdeps/libm-ieee754/e_hypotl.c: Moved to ...
1720         * sysdeps/ieee754/ldbl-96/e_hypotl.c: ...here.
1721         * sysdeps/libm-ieee754/e_remainderl.c: Moved to ...
1722         * sysdeps/ieee754/ldbl-96/e_remainderl.c: ...here.
1723         * sysdeps/libm-ieee754/e_sinhl.c: Moved to ...
1724         * sysdeps/ieee754/ldbl-96/e_sinhl.c: ...here.
1725         * sysdeps/libm-ieee754/s_asinhl.c: Moved to ...
1726         * sysdeps/ieee754/ldbl-96/s_asinhl.c: ...here.
1727         * sysdeps/libm-ieee754/s_cbrtl.c: Moved to ...
1728         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: ...here.
1729         * sysdeps/libm-ieee754/s_ceill.c: Moved to ...
1730         * sysdeps/ieee754/ldbl-96/s_ceill.c: ...here.
1731         * sysdeps/libm-ieee754/s_copysignl.c: Moved to ...
1732         * sysdeps/ieee754/ldbl-96/s_copysignl.c: ...here.
1733         * sysdeps/libm-ieee754/s_cosl.c: Moved to ...
1734         * sysdeps/ieee754/ldbl-96/s_cosl.c: ...here.
1735         * sysdeps/libm-ieee754/s_fabsl.c: Moved to ...
1736         * sysdeps/ieee754/ldbl-96/s_fabsl.c: ...here.
1737         * sysdeps/libm-ieee754/s_finitel.c: Moved to ...
1738         * sysdeps/ieee754/ldbl-96/s_finitel.c: ...here.
1739         * sysdeps/libm-ieee754/s_floorl.c: Moved to ...
1740         * sysdeps/ieee754/ldbl-96/s_floorl.c: ...here.
1741         * sysdeps/libm-ieee754/s_fpclassifyl.c: Moved to ...
1742         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: ...here.
1743         * sysdeps/libm-ieee754/s_frexpl.c: Moved to ...
1744         * sysdeps/ieee754/ldbl-96/s_frexpl.c: ...here.
1745         * sysdeps/libm-ieee754/s_ilogbl.c: Moved to ...
1746         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: ...here.
1747         * sysdeps/libm-ieee754/s_llrintl.c: Moved to ...
1748         * sysdeps/ieee754/ldbl-96/s_llrintl.c: ...here.
1749         * sysdeps/libm-ieee754/s_llroundl.c: Moved to ...
1750         * sysdeps/ieee754/ldbl-96/s_llroundl.c: ...here.
1751         * sysdeps/libm-ieee754/s_logbl.c: Moved to ...
1752         * sysdeps/ieee754/ldbl-96/s_logbl.c: ...here.
1753         * sysdeps/libm-ieee754/s_lrintl.c: Moved to ...
1754         * sysdeps/ieee754/ldbl-96/s_lrintl.c: ...here.
1755         * sysdeps/libm-ieee754/s_lroundl.c: Moved to ...
1756         * sysdeps/ieee754/ldbl-96/s_lroundl.c: ...here.
1757         * sysdeps/libm-ieee754/s_modfl.c: Moved to ...
1758         * sysdeps/ieee754/ldbl-96/s_modfl.c: ...here.
1759         (__modfl): IEEE 854 long doubles should use SET_LDOUBLE_WORDS, not
1760         INSERT_WORDS.
1761         * sysdeps/libm-ieee754/s_nearbyintl.c: Moved to ...
1762         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: ...here.
1763         (__nearbyintl): Fix for exponents 2^30.
1764         * sysdeps/libm-ieee754/s_remquol.c: Moved to ...
1765         * sysdeps/ieee754/ldbl-96/s_remquol.c: ...here.
1766         * sysdeps/libm-ieee754/s_rintl.c: Moved to ...
1767         * sysdeps/ieee754/ldbl-96/s_rintl.c: ...here.
1768         (__rintl): Fix for exponents 2^30.
1769         * sysdeps/libm-ieee754/s_roundl.c: Moved to ...
1770         * sysdeps/ieee754/ldbl-96/s_roundl.c: ...here.
1771         * sysdeps/libm-ieee754/s_scalbnl.c: Moved to ...
1772         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: ...here.
1773         (__scalbnl): Fix exponent for subnormal result.
1774         * sysdeps/libm-ieee754/s_signbitl.c: Moved to ...
1775         * sysdeps/ieee754/ldbl-96/s_signbitl.c: ...here.
1776         * sysdeps/libm-ieee754/s_sincosl.c: Moved to ...
1777         * sysdeps/ieee754/ldbl-96/s_sincosl.c: ...here.
1778         * sysdeps/libm-ieee754/s_sinl.c: Moved to ...
1779         * sysdeps/ieee754/ldbl-96/s_sinl.c: ...here.
1780         * sysdeps/libm-ieee754/s_tanhl.c: Moved to ...
1781         * sysdeps/ieee754/ldbl-96/s_tanhl.c: ...here.
1782         * sysdeps/libm-ieee754/s_tanl.c: Moved to ...
1783         * sysdeps/ieee754/ldbl-96/s_tanl.c: ...here.
1784         * sysdeps/libm-ieee754/s_truncl.c: Moved to ...
1785         * sysdeps/ieee754/ldbl-96/s_truncl.c: ...here.
1786         * sysdeps/libm-ieee754/w_expl.c: Moved to ...
1787         * sysdeps/ieee754/ldbl-96/w_expl.c: ...here.
1788         * sysdeps/libm-i387/i686/s_fminl.S: Moved to ...
1789         * sysdeps/i386/i686/fpu/s_fminl.S: ...here.
1790         * sysdeps/libm-i387/s_scalblnf.c: Moved to ...
1791         * sysdeps/i386/fpu/s_scalblnf.c: ...here.
1792         * sysdeps/libm-ieee754/s_scalblnf.c: Moved to ...
1793         * sysdeps/ieee754/flt-32/s_scalblnf.c: ...here.
1794         * sysdeps/libm-i387/i686/s_fdiml.S: Moved to ...
1795         * sysdeps/i386/i686/fpu/s_fdiml.S: ...here.
1796         * sysdeps/libm-i387/e_rem_pio2f.c: Moved to ...
1797         * sysdeps/i386/fpu/e_rem_pio2f.c: ...here.
1798         * sysdeps/libm-ieee754/e_rem_pio2f.c: Moved to ...
1799         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: ...here.
1800         * sysdeps/libm-i387/i686/s_fmin.S: Moved to ...
1801         * sysdeps/i386/i686/fpu/s_fmin.S: ...here.
1802         * sysdeps/libm-i387/k_rem_pio2.c: Moved to ...
1803         * sysdeps/i386/fpu/k_rem_pio2.c: ...here.
1804         * sysdeps/libm-ieee754/k_rem_pio2.c: Moved to ...
1805         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: ...here.
1806         * sysdeps/libm-i387/k_rem_pio2f.c: Moved to ...
1807         * sysdeps/i386/fpu/k_rem_pio2f.c: ...here.
1808         * sysdeps/libm-ieee754/k_rem_pio2f.c: Moved to ...
1809         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: ...here.
1810         * sysdeps/libm-i387/s_scalbln.c: Moved to ...
1811         * sysdeps/i386/fpu/s_scalbln.c: ...here.
1812         * sysdeps/libm-ieee754/s_scalbln.c: Moved to ...
1813         * sysdeps/ieee754/dbl-64/s_scalbln.c: ...here.
1814         * sysdeps/libm-i387/i686/s_fmax.S: Moved to ...
1815         * sysdeps/i386/i686/fpu/s_fmax.S: ...here.
1816         * sysdeps/libm-i387/t_exp.c: Moved to ...
1817         * sysdeps/i386/fpu/t_exp.c: ...here.
1818         * sysdeps/libm-ieee754/t_exp.c: Moved to ...
1819         * sysdeps/ieee754/dbl-64/t_exp.c: ...here.
1820         * sysdeps/libm-i387/e_rem_pio2.c: Moved to ...
1821         * sysdeps/i386/fpu/e_rem_pio2.c: ...here.
1822         * sysdeps/libm-ieee754/e_rem_pio2.c: Moved to ...
1823         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: ...here.
1824         * sysdeps/libm-i387/s_isinfl.c: Moved to ...
1825         * sysdeps/i386/fpu/s_isinfl.c: ...here.
1826         * sysdeps/libm-ieee754/s_isinfl.c: Moved to ...
1827         * sysdeps/ieee754/ldbl-96/s_isinfl.c: ...here.
1828         * sysdeps/libm-i387/s_scalblnl.c: Moved to ...
1829         * sysdeps/i386/fpu/s_scalblnl.c: ...here.
1830         * sysdeps/libm-ieee754/s_scalblnl.c: Moved to ...
1831         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: ...here.
1832         Fix exponent for subnormal result.
1833         * sysdeps/libm-ieee754/s_nexttowardl.c: Moved to ...
1834         * sysdeps/generic/s_nexttowardl.c: ...here.
1835         * sysdeps/libm-i387/i686/s_fmaxf.S: Moved to ...
1836         * sysdeps/i386/i686/fpu/s_fmaxf.S: ...here.
1837         * sysdeps/libm-i387/s_isnanl.c: Moved to ...
1838         * sysdeps/i386/fpu/s_isnanl.c: ...here.
1839         * sysdeps/libm-ieee754/s_isnanl.c: Moved to ...
1840         * sysdeps/ieee754/ldbl-96/s_isnanl.c: ...here.
1841         Comment above function says it returns 0 or 1, but it used to return
1842         0 or -1.
1843         * sysdeps/libm-i387/i686/s_fminf.S: Moved to ...
1844         * sysdeps/i386/i686/fpu/s_fminf.S: ...here.
1845         * sysdeps/libm-i387/i686/s_fdim.S: Moved to ...
1846         * sysdeps/i386/i686/fpu/s_fdim.S: ...here.
1847         * sysdeps/libm-i387/i686/s_fdimf.S: Moved to ...
1848         * sysdeps/i386/i686/fpu/s_fdimf.S: ...here.
1849         * sysdeps/libm-i387/i686/s_fmaxl.S: Moved to ...
1850         * sysdeps/i386/i686/fpu/s_fmaxl.S: ...here.
1851         * sysdeps/libm-ieee754/s_nexttoward.c: Moved to ...
1852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: ...here.
1853         Cannot compare exponents with different biases without adjusting.
1854         * sysdeps/libm-ieee754/s_nexttowardf.c: Moved to ...
1855         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: ...here.
1856         Cannot compare exponents with different biases without adjusting.
1857         * sysdeps/libm-i387/s_nextafterl.c: Moved to ...
1858         * sysdeps/i386/fpu/s_nextafterl.c: ...here.
1859         * sysdeps/libm-ieee754/s_nextafterl.c: Moved to ...
1860         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: ...here.
1861         * sysdeps/ieee754/ldbl2mpn.c: Moved to ...
1862         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: ...here.
1863         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1864         * sysdeps/ieee754/mpn2ldbl.c: Moved to ...
1865         * sysdeps/ieee754/ldbl-96/mpn2ldbl.c: ...here.
1866         Removed __NO_LONG_DOUBLE_MATH ifndef around the whole file.
1867         * sysdeps/libm-ieee754/Dist: Split into ...
1868         * sysdeps/ieee754/dbl-64/Dist: ...this and ...
1869         * sysdeps/ieee754/flt-32/Dist: ...this file.
1870
1871         * sysdeps/ieee754/dbl-64/s_nexttoward.c: New file.
1872         * sysdeps/ieee754/dbl-64/mpn2ldbl.c: New file.
1873         * sysdeps/ieee754/ldbl-96/math_ldbl.h: New file.
1874         * sysdeps/ieee754/ldbl-96/strtold.c: New file.
1875         * sysdeps/ieee754/ldbl-96/printf_fphex.c: New file.
1876         * sysdeps/ieee754/ldbl-128/s_sinl.c: New file.
1877         * sysdeps/ieee754/ldbl-128/s_ceill.c: New file.
1878         * sysdeps/ieee754/ldbl-128/e_remainderl.c: New file.
1879         * sysdeps/ieee754/ldbl-128/ieee754.h: New file.
1880         * sysdeps/ieee754/ldbl-128/e_atan2l.c: New file.
1881         * sysdeps/ieee754/ldbl-128/s_finitel.c: New file.
1882         * sysdeps/ieee754/ldbl-128/s_roundl.c: New file.
1883         * sysdeps/ieee754/ldbl-128/s_llrintl.c: New file.
1884         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: New file.
1885         * sysdeps/ieee754/ldbl-128/s_llroundl.c: New file.
1886         * sysdeps/ieee754/ldbl-128/s_sincosl.c: New file.
1887         * sysdeps/ieee754/ldbl-128/s_cosl.c: New file.
1888         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: New file.
1889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: New file.
1890         * sysdeps/ieee754/ldbl-128/s_floorl.c: New file.
1891         * sysdeps/ieee754/ldbl-128/s_logbl.c: New file.
1892         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: New file.
1893         * sysdeps/ieee754/ldbl-128/s_remquol.c: New file.
1894         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: New file.
1895         * sysdeps/ieee754/ldbl-128/s_tanl.c: New file.
1896         * sysdeps/ieee754/ldbl-128/s_rintl.c: New file.
1897         * sysdeps/ieee754/ldbl-128/e_acoshl.c: New file.
1898         * sysdeps/ieee754/ldbl-128/s_lroundl.c: New file.
1899         * sysdeps/ieee754/ldbl-128/s_signbitl.c: New file.
1900         * sysdeps/ieee754/ldbl-128/s_copysignl.c: New file.
1901         * sysdeps/ieee754/ldbl-128/s_fabsl.c: New file.
1902         * sysdeps/ieee754/ldbl-128/s_frexpl.c: New file.
1903         * sysdeps/ieee754/ldbl-128/s_truncl.c: New file.
1904         * sysdeps/ieee754/ldbl-128/s_modfl.c: New file.
1905         * sysdeps/ieee754/ldbl-128/s_lrintl.c: New file.
1906         * sysdeps/ieee754/ldbl-128/s_isinfl.c: New file.
1907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: New file.
1908         * sysdeps/ieee754/ldbl-128/e_fmodl.c: New file.
1909         * sysdeps/ieee754/ldbl-128/s_isnanl.c: New file.
1910         * sysdeps/ieee754/ldbl-128/math_ldbl.h: New file.
1911         * sysdeps/ieee754/ldbl-128/strtold.c: New file.
1912         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: New file.
1913         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: New file.
1914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: New file.
1915         * sysdeps/ieee754/ldbl-128/printf_fphex.c: New file.
1916         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: New file.
1917         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: New file.
1918
1919         * sysdeps/generic/math_ldbl.h: New file.
1920         * sysdeps/generic/s_nexttowardf.c: New file.
1921         * sysdeps/generic/strtold.c: New file.
1922         * sysdeps/generic/ldbl2mpn.c: New file.
1923
1924         * math/machine/endian.h: Remove.
1925         * sysdeps/i386/fpu/Implies: Remove.
1926         * sysdeps/ieee754/Implies: Remove.
1927
1928         * math/math_private.h: Move long double macros to math_ldbl.h
1929         header.
1930
1931 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1932
1933         * sysdeps/posix/getaddrinfo.c (gaih_inet): For non-passive
1934         connections without a hostname set address to localhost address.
1935
1936 1999-07-11  H.J. Lu  <hjl@gnu.org>
1937
1938         * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get
1939         nscd's own strong version of the get[a-z]*_r function.
1940         * nscd/hstcache.c: Likewise.
1941         * nscd/pwdcache.c: Likewise.
1942
1943 1999-07-12  Ulrich Drepper  <drepper@cygnus.com>
1944
1945         * configure.in: Recognize 2.95 as gcc version number.
1946         Patch by Joel Klecker <jk@espy.org>.
1947
1948 1999-07-12  Andreas Schwab  <schwab@suse.de>
1949
1950         * elf/rtld.c (dl_main): When putting back the interpreter object
1951         handle the case where a missing object might occur in the list of
1952         objects but not in the search list when in trace mode.
1953
1954 1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
1955
1956         * Versions.def (libnss_hesiod): Add GLIBC_2.2.
1957         * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
1958         _nss_hesiod_initgroups.
1959
1960 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1961
1962         * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
1963         (_hurd_set_brk, init_brk): Use that instead of &__data_start.
1964         Initialize it from &__data_start if defined, or else &_end.
1965
1966 1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
1967
1968         * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
1969         for MAP_ANON, prot==PROT_READ|PROT_WRITE.
1970
1971 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1972
1973         * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
1974
1975 1999-07-09  H.J. Lu  <hjl@gnu.org>
1976
1977         * Versions.def (GLIBC_2.1.2): Added.
1978
1979         * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
1980         old one as GLIBC_2.0.
1981         * nss/getXXbyYY_r.c: Likewise.
1982
1983         * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
1984         GLIBC_2.1.2.
1985         * inet/Versions (getaliasbyname_r, getaliasent_r,
1986         gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
1987         gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
1988         getnetgrent_r, getprotobyname_r, getprotobynumber_r,
1989         getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
1990         getservbyname_r): Likewise.
1991         * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
1992         * shadow/Versions (getspent_r, getspnam_r): Likewise.
1993
1994 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
1995
1996         * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
1997         compilers.
1998         (__memset_cc): Likewise.
1999
2000         * sysdeps/generic/libc-start.c: For SUID binaries check whether
2001         the standard file descriptors are open.
2002         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2003
2004         * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
2005         * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
2006         range of mmap.  If not fail.
2007         Patches by Daniel Jacobowitz <dan@debian.org>.
2008
2009         * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
2010         before the relocation happened.
2011         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2012
2013         * Versions.def (libnsl): Add GLIBC_2.2.
2014         * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
2015
2016 1999-07-08  Cristian Gafton  <gafton@redhat.com>
2017
2018         * nis/yp_xdr.c (xdr_ypall): New function.
2019
2020 1999-07-09  Andreas Schwab  <schwab@suse.de>
2021
2022         * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
2023
2024         * dlfcn/Makefile (headers): Add bits/dlfcn.h.
2025
2026 1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
2027
2028         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
2029         * hesiod/hesiod-grp.c: Add initgroups support.
2030         Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
2031
2032 1999-07-08  Andreas Schwab  <schwab@suse.de>
2033
2034         * libio/iofopncook.c (fopencookie): Set _fileno to -2.
2035
2036         * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
2037         negative numbers.
2038
2039         * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
2040         EOF.
2041         * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
2042
2043 1999-07-08  Andreas Schwab  <schwab@suse.de>
2044
2045         * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
2046
2047 1999-07-08  Andreas Schwab  <schwab@suse.de>
2048
2049         * libio/fileno.c: Return -1 instead of EOF and set errno if the
2050         stream is not a real file stream.
2051
2052 1999-07-08  Andreas Schwab  <schwab@suse.de>
2053
2054         * manual/charset.texi: Fix typos.
2055
2056 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
2057
2058         * sysdeps/gnu/Makefile (libdl-routines): Add eval.
2059
2060 1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
2061
2062         * dlfcn: New directory.  Move the following files from elf:
2063         dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
2064         dlopenold.c, dlsym.c, dlvsym.c.
2065         * dlfcn/Makefile: New file.
2066         * dlfcn/Versions: New file.
2067         * dlfcn/dlsym.c: All ELF-specific code split out to new
2068         function _dl_sym.
2069         * dlfcn/dlvsym.c: All ELF-specific code split out to new
2070         function _dl_vsym.
2071         * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
2072         implemented here.
2073
2074         * dlfcn/dladdr.c: Remove all references to ELF data structures
2075         or headers.
2076         * dlfcn/dlclose.c: Likewise.
2077         * dlfcn/dlerror.c: Likewise.
2078         * dlfcn/dlopen.c: Likewise.
2079         * dlfcn/dlopenold.c: Likewise.
2080
2081         * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
2082         yes, empty otherwise.
2083         (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
2084         depending on build-shared.
2085         (subdirs): Add $(dlfcn).
2086         (rpath-dirs): Add dlfcn.
2087         * elf/Makefile: Remove all references to libdl or its
2088         components, except the ones relating to the test cases.
2089         (routines): Add dl-sym.
2090         * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
2091         (libdl): Delete.
2092
2093         * elf/dl-close.c (_dl_close): Change argument to void *.
2094         * elf/dl-open.c (_dl_open): Change return type to void *.
2095         * elf/eval.c: Removed.
2096         * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
2097         _dlerror_run, _dl_open, _dl_close, _dl_addr, and
2098         _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
2099         _CALL_DL_FCT macro.
2100         * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
2101         Include real header from dlfcn directory.
2102         * include/ldsodefs.h: Removed.
2103
2104         * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
2105         * nss/getXXbyYY_r.c: Likewise.
2106         * nss/getXXent_r.c: Likewise.
2107         * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
2108         * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
2109         * iconv/skeleton.c: Don't include ldsodefs.h.
2110         * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
2111
2112 1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
2113
2114         * sysdeps/generic/setenv.c: Describe problem.
2115
2116         * malloc/malloc.c (request2size): Also set errno if failing.
2117
2118         * malloc/malloc.c (request2size): Take care of overflow in
2119         addition.
2120
2121         * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
2122         (NULL, != 0) correctly.
2123
2124         * elf/dl-load.c: Use a few more __builtin_expect.
2125
2126         * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
2127         is large enough.
2128
2129 1999-07-07  Andreas Schwab  <schwab@suse.de>
2130
2131         * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
2132         (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
2133         (_PATH_DEVPTMX): Use _PATH_DEV.
2134
2135 1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2136
2137         * malloc/tst-malloc.c: New file.  Tests some basic functionality.
2138         * malloc/Makefile (tests): Add tst-malloc.
2139
2140 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
2141
2142         * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
2143         convention.
2144
2145         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
2146         motherboards.
2147         Patch by Jay Estabrook.
2148
2149         * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
2150         ldd for SPARC.
2151         * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
2152         Patch by Cristian Gafton.
2153
2154 1999-07-02  Cristian Gafton  <gafton@redhat.com>
2155
2156         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
2157         instead of "return NULL" to make C++ happy.
2158
2159 1999-07-04  Mark Kettenis  <kettenis@gnu.org>
2160
2161         * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
2162         allowed by the file access mode of the open file.
2163
2164 1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
2165
2166         * sysdeps/generic/setfpucw.c: Include math.h to get all needed
2167         macros defined.
2168
2169 1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
2170
2171         * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
2172         * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
2173         * sysdeps/sparc/sparc64/rshift.S: Likewise.
2174         * sysdeps/sparc/sparc64/mul_1.S: Optimize.
2175
2176 1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2177
2178         * malloc/malloc.c (request2size): Check for overflow and return
2179         NULL whenever it is encountered.
2180
2181 1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
2182
2183         * sysdeps/posix/tempname.c (__gen_tempname):   Add
2184         ability to create directories.  Replace OPENIT and LARGEFILE
2185         args with a single flags parameter.
2186         * sysdeps/generic/tempname.c: Likewise.
2187         * include/stdio.h: Adjust prototype of __gen_tempname to
2188         match.  Define symbolic constants for second argument.
2189
2190         * misc/mkdtemp.c: New file, provides new function mkdtemp().
2191         * stdlib/stdlib.h: Prototype it.
2192         * misc/Versions: Export it.
2193         * misc/Makefile (routines): Add mktemp.
2194         * manual/filesys.texi: Document it.
2195
2196         * misc/mktemp.c: Adjust call of __gen_tempname to match new
2197         convention.
2198         * misc/mkstemp.c: Likewise.
2199         * stdio-common/tempnam.c: Likewise.
2200         * stdio-common/tmpfile.c: Likewise.
2201         * stdio-common/tmpfile64.c: Likewise.
2202         * stdio-common/tmpnam.c: Likewise.
2203         * stdio-common/tmpnam_r.c: Likewise.
2204
2205 1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
2206
2207         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
2208         R_SPARC_OLO10 relocations.
2209         * elf/elf.h (R_SPARC_OLO10): Fix comment.
2210
2211 1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
2212
2213         * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
2214         doesn't belong in the tests, but in the wordexp implementation.
2215
2216         * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
2217         split fields.
2218
2219 1999-07-01  Cristian Gafton  <gafton@redhat.com>
2220
2221         * time/strptime.c (strptime): Initialize the tm struct first to avoid
2222         returning bogus results on incomplete data.
2223         (strptime_internal): day_of_the_week() requres bith tm_mon and
2224         tm_mday to be initializaed.
2225         Computer them first if they are not given.
2226         (strptime_internal): (have_mon, have_mday): New variables.
2227
2228 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2229
2230         * inet/rcmd.c (__icheckhost): Fix typo in last patch.
2231
2232 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2233
2234         * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
2235         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2236
2237 1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2238
2239         * posix/wordexp.c (parse_tilde): Handle failing call to
2240         get.*_r functions correctly for non-existing entry.
2241         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2242         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
2243
2244 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2245
2246         * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
2247         getxxbyYY_r functions correctly for non-existing entry.
2248         * sunrpc/getrpcport.c: Likewise.
2249         * sunrpc/clnt_simp.c: Likewise.
2250         * inet/rexec.c: Likewise.
2251         * sunrpc/clnt_gen.c: Likewise.
2252         * inet/rcmd.c: Likewise.
2253         * sysdeps/generic/glob.c: Likewise.
2254
2255 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2256
2257         * pwd/Makefile (tests): Add rules for tst-getpw.
2258
2259         * pwd/tst-getpw.c: New program to test getpw.
2260
2261 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2262
2263         * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
2264         correctly.
2265
2266 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2267
2268         * manual/arith.texi (System V Number Conversion): Fix the
2269         description which confused pointer and value to pointer.
2270         Reported by Andries.Brouwer@cwi.nl.
2271
2272 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2273
2274         * pwd/getpw.c (__getpw): Check for NULL result pointer.
2275
2276 1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2277
2278         * manual/users.texi (Lookup User): Document POSIX return
2279         semantics for getpwuid_r and getgrgid_r.
2280
2281         * manual/socket.texi (Host Names): Document that the result
2282         pointer is null in case of error or host not found and fix a
2283         typo.  Give a small example.
2284
2285 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2286
2287         * pwd/getpw.c: Add warning since no buffer size is given and
2288         therefore no overrun tests are possible.
2289
2290 1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2291
2292         * pwd/pwd.h: Add getpw prototype declaration.
2293
2294 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
2295
2296         * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
2297         * wcsmbs/wcschr.c: Likewise.
2298
2299 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2300
2301         * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
2302         returns.
2303         * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
2304         * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
2305         Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
2306
2307         * elf/dl-dst.h: Fix typo.
2308         * elf/dl-open.c: Likewise.
2309
2310 1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
2311
2312         * elf/dl-libc.c: New file, provides three functions:
2313         __libc_dlopen, __libc_dlclose, __libc_dlsym.
2314         * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
2315         * elf/Makefile (routines): Add dl-libc.c.
2316         * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
2317         argument to void *.
2318         * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
2319
2320         * iconv/gconv.c: Include dlfcn.h.
2321         * iconv/gconv_db.c: Likewise.
2322         * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
2323
2324         * iconv/gconv_int.h (struct __gconv_loaded_object): Change
2325         `handle' to a void *.
2326         (__gconv_find_func): Delete prototype.
2327
2328         * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
2329         dlerror_run and related functions and structs.  Use
2330         __libc_dlopen, __libc_dlsym, __libc_dlclose.
2331         * nss/nsswitch.c: Likewise.
2332
2333 1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
2334
2335         * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
2336         function correctly.
2337
2338         * sunrpc/getrpcport.c: Test for gethostbyname_r function
2339         correctly.
2340
2341         * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
2342
2343         * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
2344         functions correctly.
2345
2346         * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
2347
2348         * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
2349         file reading a bit.
2350
2351         * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
2352
2353 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2354
2355         * manual/string.texi (Copying and Concatenation): Mention that
2356         strndup is a GNU extension.
2357
2358 1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2359
2360         * pwd/getpw.c (__getpw): Fix check for error return.
2361
2362 1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2363
2364         * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
2365         occurence of the aux object start with the current list entry, not
2366         the new one.  Adjust tail pointer in the unique list.  Explain how
2367         the meaning of the variables changes [PR libc/1168].
2368
2369 1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2370
2371         * sysdeps/m68k/fpu/Dist: New file.
2372
2373 1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2374
2375         * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
2376         definitions...
2377         * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
2378         * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
2379         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2380         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2381         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2382         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2383         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2384         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2385         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2386         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2387         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2388         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2389         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2390         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2391         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2392         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2393
2394 1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
2395
2396         * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
2397         hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
2398         _EXTERN_INLINE, use a macro specific to each file,
2399         _HURD_FD_H_EXTERN_INLINE and the like.
2400         * hurd/Makefile (inline-headers): New variable.
2401         (routines): Remove hurdinline.  Add $(inlines).
2402         (inlines): New variable.
2403         ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
2404         (generated): Append those here.
2405         * hurd/hurdinline.c: File removed.
2406
2407         * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
2408
2409         * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
2410
2411 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2412
2413         * nscd/connections.c (nscd_run): Use correct type for optlen variable.
2414
2415 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
2416
2417         * string/bits/string2.h (strnlen): Remove extra prototype.
2418
2419 1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2420
2421         * manual/filesys.texi (Working on Directory Trees): Fix typos.
2422         Reported by Andries.Brouwer@cwi.nl.
2423
2424 1999-06-24  Ulrich Drepper  <drepper@cygnus.com>
2425
2426         * nscd/connections.c (handle_request): Use correct type for optlen
2427         variable.
2428
2429         * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
2430         * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
2431
2432 1999-06-24  Thorsten Kukuk  <kukuk@suse.de>
2433
2434         * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
2435         * nscd/pwdcache.c: Likewise.
2436         * nscd/hstcache.c: Likewise.
2437
2438 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2439
2440         * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
2441
2442         * posix/getopt.h: Include stdio.h.
2443
2444         * manual/arith.texi: Document restriction of ndigit parameter of
2445         ecvt and friends.
2446         * misc/efgcvt.c: Define NDIGIT_MAX.
2447         (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
2448         Do not dynamically allocate the static buffers.  They are small enough.
2449         * misc/efgcvt_r.c: Define NDIGIT_MAX.
2450         (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
2451         * misc/qefgcvt.c: Define NDIGIT_MAX.
2452         * misc/qefgcvt_r.c: Likewise.
2453         * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
2454
2455 1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>
2456
2457         * libio/stdio.h: Define stdin, stdout, stderr as macros.
2458         * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
2459         These are *pragmas* not macros.
2460         * wcsmbs/wchar.h: Fix comment.
2461
2462         * grp/grp.h: Use __foo_t_defined convention to typedef things
2463         only once.
2464         * io/sys/stat.h: Likewise.
2465         * libio/stdio.h: Likewise.
2466         * posix/unistd.h: Likewise.
2467         * posix/sys/types.h: Likewise.
2468         * posix/sys/wait.h: Likewise.
2469         * pwd/pwd.h: Likewise.
2470         * signal/signal.h: Likewise.
2471         * sysdeps/generic/stdint.h: Likewise.
2472         * sysdeps/gnu/utmpx.h: Likewise.
2473         * termios/termios.h: Likewise.
2474
2475 1999-06-23  Ulrich Drepper  <drepper@cygnus.com>
2476
2477         * stdio/fputc.c: Don't define alias if fputc is defined as a
2478         macro.
2479         * stdio/putc.c: Define weak alias here since it is not done
2480         anymore in fputc.c.
2481
2482 1999-06-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2483
2484         * assert/assert.h: Don't produce `defined' as part of macro
2485         expansion.
2486
2487 1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>
2488
2489         * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
2490         OFFSET argument of (off_t) -1.
2491         * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
2492         OFFSET argument of (off_t) -1.
2493
2494         * sysdeps/mach/hurd/pwrite.c: New file.
2495         * sysdeps/mach/hurd/pread.c: New file.
2496
2497         * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
2498         pass it in the RPC instead of always -1.
2499         * hurd/fd-write.c (_hurd_fd_write): Likewise.
2500         * hurd/hurd/fd.h: Update decls.
2501
2502 1999-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2503
2504         * libio/wscanf.c: Include <wchar.h> for prototype.
2505
2506 1999-06-22  Ulrich Drepper  <drepper@cygnus.com>
2507
2508         * manual/io.texi. Fix typos.
2509         * manual/stdio.texi: Likewise.
2510         Patches by Brian Youmans <3diff@gnu.org>.
2511
2512 1999-06-22  Geoff Keating  <geoffk@ozemail.com.au>
2513
2514         * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
2515         bits of two words differ.
2516
2517 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2518
2519         * libio/Makefile (routines): Add putwchar and putwchar_u.
2520
2521         * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
2522         * libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
2523         stdout.  Fix parameter name.
2524
2525         * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
2526         * libio/getchar_u.c: Likewise.
2527
2528         * libio/putchar_u.c: Use _IO_stdout instead of stdout.
2529
2530 1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2531
2532         * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
2533         macro expansion---it's undefined.  Properly parenthesize
2534         substituted parameters.
2535         (__GLIBC_PREREQ): Likewise.
2536
2537 1999-06-21  Ulrich Drepper  <drepper@cygnus.com>
2538
2539         * Makeconfig (CPPFLAGS): Revert last change.  It has too many
2540         weird effects.
2541
2542         * stdlib/longlong.h: Provide __P definition if not already
2543         defined.
2544
2545         * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
2546
2547 1999-06-18  Thorsten Kukuk  <kukuk@suse.de>
2548
2549         * sysdeps/alpha/atomicity.h: Correct counting of subsections.
2550
2551 1999-06-17  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2552
2553         * stdlib/tst-strtoll.c: Avoid warning about huge constant.
2554
2555 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2556
2557         * stdio-common/vfprintf.c (group_member): Make parameters and
2558         return types pointers to CHAR_T instead of UCHAR_T.
2559         (vfprintf): Change type of work_buffer, workend and string to
2560         CHAR_T pointer/array.
2561         (process_arg, process_string_arg): Adjust/remove casts.  Add
2562         missing use of L_ macro.
2563         (printf_unknown): Add missing uses of L_ macro.
2564
2565 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2566
2567         * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
2568         warning.
2569
2570 1999-06-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2571
2572         * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF.  Call
2573         _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
2574         (__wunderflow): Likewise.
2575         (_IO_switch_to_wget_mode): Likewise.
2576         (_IO_init_wmarker): Likewise.
2577
2578         * libio/wfileops.c (_IO_wfile_seekoff): Call
2579         _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
2580         (_IO_wfile_jumps): Fix pbackfail entry.
2581
2582         * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
2583         function if the stream is currently unoriented.
2584
2585 1999-06-19  Zack Weinberg  <zack@rabi.columbia.edu>
2586
2587         * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
2588         Wrap all wide stream functions with #ifdef __USE_ISOC9X.  Use
2589         __gnuc_va_list in v*w(printf|scanf) prototypes.
2590
2591 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2592
2593         * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
2594         1999-03-29 to iopopen also here.
2595         Reported by Richard Braakman <dark@xs4all.nl>.
2596
2597 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2598
2599         * include/features.h: Use __GNUC_PREREQ.
2600         * sysdeps/i386/fpu/bits/mathinline.h: Likewise
2601
2602 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2603
2604         * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
2605         Change EOF to WEOF and remove cast.
2606         (UNGETC): Remove macro.
2607         (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
2608         * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
2609         Change ISASCII to isascii and MBRLEN to mbrlen.
2610         (parse_one_spec): Compare info.spec always against wchar_t
2611         values.
2612         * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
2613         (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
2614         (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
2615
2616 1999-06-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2617
2618         * libio/Makefile (shared-only-routines): Add oldiofgetpos,
2619         oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
2620         (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
2621         oldiofsetpos64 only if doing versioning.
2622
2623 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2624
2625         * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
2626
2627 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2628
2629         * libio/libio.h: Fix last patch.
2630
2631 1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
2632
2633         * libio/libio.h (_IO_putwc): Correct type of first argument.
2634         * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
2635         putwc_unlocked, putwchar_unlocked): Likewise.
2636         * libio/fputwc.c: Likewise.
2637         * libio/fputwc_unlocked.c: Likewise.
2638         * libio/putwc.c: Likewise.
2639         * libio/putwc_unlocked.c: Likewise.
2640         * libio/putwchar.c: Likewise.
2641         * libio/putwchar_unlocked.c: Likewise.
2642
2643 1999-06-19  Roland McGrath  <roland@baalperazim.frob.com>
2644
2645         * sysdeps/gnu/siglist.h: File moved to ...
2646         * sysdeps/generic/siglist.h: ... here.  This file should be usable for
2647         any platform, since it just associates the SIG* macros with text names
2648         and descriptions. For any signal macros do not exist on every
2649         platform, we can use #ifdef tests here and still use this single
2650         common file for all platforms.
2651         * sysdeps/generic/siglist.c: Rewrite using <siglist.h>.  This file
2652         should be usable for all platforms after the binary compatibility
2653         stuff in the current sysdeps/gnu version is no longer required.
2654         * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
2655         * sysdeps/generic/make_siglist.c: File removed.
2656         * sysdeps/mach/hurd/siglist.h: Use #include_next.
2657         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2658
2659 1999-06-16  Roland McGrath  <roland@baalperazim.frob.com>
2660
2661         * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
2662         * sysdeps/gnu/siglist.c: ... here.
2663         Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
2664         Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
2665         * sysdeps/gnu/siglist.h: New file, contents from linux version.
2666         Add entry for SIGLOST protected by #ifdef.
2667         * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
2668         and define OLD_SIGLIST_SIZE_STR.
2669         * sysdeps/mach/hurd/siglist.h: New file, likewise.
2670
2671 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2672
2673         * include/features.h: Define new macros __GNUC_PREREQ and
2674         __GLIBC_PREREQ which can be used to test the version of gcc
2675         and glibc respectively.
2676
2677         * assert/assert.h: Use __GNUC_PREREQ.
2678         * intl/libintl.h: Likewise.
2679         * math/complex.h: Likewise.
2680         * math/tgmath.h: Likewise.
2681         * misc/sys/cdefs.h: Likewise.
2682         * posix/sys/types.h: Likewise.
2683         * socket/sys/socket.h: Likewise.
2684         * string/bits/string2.h: Likewise.
2685         * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
2686         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2687
2688 1999-06-18  Zack Weinberg  <zack@rabi.columbia.edu>
2689
2690         * include/libintl.h: Declare _libc_intl_domainname here.
2691         Define _ and N_ here.
2692         * include/libc-symbols.h: Don't include <libintl.h>.  Don't
2693         define _ and N_.  Don't declare _libc_intl_domainname.
2694         * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
2695
2696         * db2/config.h: Don't include sys/stat.h or define
2697         HAVE_ST_BLKSIZE here...
2698         * db2/compat.h: ...do it here.
2699
2700         * linuxthreads/internals.h: Include bits/libc-tsd.h after all
2701         other headers.
2702         * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
2703         * iconv/iconv.c: Include stddef.h for NULL.
2704         * malloc/malloc.h: Include features.h.
2705         * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
2706
2707         * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
2708         into the generated file.
2709         * sysdeps/gnu/errlist.awk: Likewise.
2710         * sysdeps/gnu/errlist.c: Rebuilt.
2711
2712         * assert/assert-perr.c: Include libintl.h.
2713         * assert/assert.c: Likewise.
2714         * elf/dl-open.c: Likewise.
2715         * elf/dlsym.c: Likewise.
2716         * elf/dlvsym.c: Likewise.
2717         * iconv/iconv_prog.c: Likewise.
2718         * inet/rcmd.c: Likewise.
2719         * inet/ruserpass.c: Likewise.
2720         * locale/programs/charset.c: Likewise.
2721         * locale/programs/ld-collate.c: Likewise.
2722         * locale/programs/ld-ctype.c: Likewise.
2723         * locale/programs/ld-messages.c: Likewise.
2724         * locale/programs/ld-monetary.c: Likewise.
2725         * locale/programs/ld-numeric.c: Likewise.
2726         * locale/programs/ld-time.c: Likewise.
2727         * locale/programs/locfile.c: Likewise.
2728         * locale/programs/repertoire.c: Likewise.
2729         * login/programs/database.c: Likewise.
2730         * login/programs/request.c: Likewise.
2731         * malloc/mcheck.c: Likewise.
2732         * misc/error.c: Likewise.
2733         * nis/nis_call.c: Likewise.
2734         * nis/nis_callback.c: Likewise.
2735         * nis/nis_error.c: Likewise.
2736         * nis/nis_local_names.c: Likewise.
2737         * nis/nis_print.c: Likewise.
2738         * nis/nis_print_group_entry.c: Likewise.
2739         * nis/ypclnt.c: Likewise.
2740         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2741         * nscd/cache.c: Likewise.
2742         * nscd/connections.c: Likewise.
2743         * nscd/grpcache.c: Likewise.
2744         * nscd/hstcache.c: Likewise.
2745         * nscd/nscd_conf.c: Likewise.
2746         * nscd/nscd_stat.c: Likewise.
2747         * nscd/pwdcache.c: Likewise.
2748         * posix/id.c: Likewise.
2749         * resolv/herror.c: Likewise.
2750         * stdio-common/psignal.c: Likewise.
2751         * string/strsignal.c: Likewise.
2752         * sunrpc/auth_unix.c: Likewise.
2753         * sunrpc/clnt_perr.c: Likewise.
2754         * sunrpc/clnt_raw.c: Likewise.
2755         * sunrpc/clnt_tcp.c: Likewise.
2756         * sunrpc/clnt_udp.c: Likewise.
2757         * sunrpc/clnt_unix.c: Likewise.
2758         * sunrpc/get_myaddr.c: Likewise.
2759         * sunrpc/pm_getmaps.c: Likewise.
2760         * sunrpc/pmap_clnt.c: Likewise.
2761         * sunrpc/pmap_rmt.c: Likewise.
2762         * sunrpc/rpc_main.c: Likewise.
2763         * sunrpc/rpc_scan.c: Likewise.
2764         * sunrpc/svc_run.c: Likewise.
2765         * sunrpc/svc_simple.c: Likewise.
2766         * sunrpc/svc_tcp.c: Likewise.
2767         * sunrpc/svc_udp.c: Likewise.
2768         * sunrpc/svc_unix.c: Likewise.
2769         * sunrpc/xdr_rec.c: Likewise.
2770         * sunrpc/xdr_ref.c: Likewise.
2771         * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
2772         * sysdeps/posix/gai_strerror.c: Likewise.
2773         * sysdeps/unix/siglist.c: Likewise.
2774         * sysdeps/unix/sysv/linux/siglist.c: Likewise.
2775         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2776         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
2777         * timezone/zic.c: Likewise.
2778
2779 1999-06-18  H.J. Lu  <hjl@gnu.org>
2780
2781         * localedata/Makefile (charmaps): Exclude SCCS.
2782         (locales): Likewise.
2783         (repertoiremaps): Likewise.
2784
2785 1999-06-18  Ulrich Drepper  <drepper@cygnus.com>
2786
2787         * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
2788         * sysdeps/generic/bsd-setjmp.c: Likewise.
2789
2790         * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
2791
2792         * iconv/gconv_open.c: Include string.h for memset prototype.
2793
2794         * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
2795         definitions.
2796
2797         * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
2798         assignment to avoid warning on 64bit platforms.
2799
2800 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2801
2802         * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
2803
2804         * nss/getXXbyYY_r.c: Return error code not -1.
2805         * nss/getXXent_r.c: Likewise.
2806         * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
2807         small.
2808         * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
2809         value > 0 for error.
2810         * nscd/nscd_gethst_r.c: Likewise.
2811         * nscd/nscd_getpw_r.c: Likewise.
2812
2813 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2814
2815         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
2816         disciplines.
2817
2818 1999-06-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2819
2820         * nscd/nscd_nischeck.c: Fix typos.
2821
2822 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2823
2824         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
2825         always when oact is NULL.
2826         Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
2827
2828 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2829
2830         * math/libm-test.c (jn_test): Adjust delta.
2831
2832 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2833
2834         * libio/vwprintf.c: Include <wchar.h> for prototypes.
2835         * libio/wprintf.c: Likewise.
2836
2837 1999-06-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2838
2839         * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
2840         to not write beyond allocated memory.
2841         Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
2842
2843 1999-06-17  Ulrich Drepper  <drepper@cygnus.com>
2844
2845         * malloc/mtrace.c: Keep lock while printing output lines.
2846         Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
2847
2848 1999-06-16  Ulrich Drepper  <drepper@cygnus.com>
2849
2850         * configure.in: Add warnings about broken code.
2851
2852         * Versions.def: Add GLIBC_2.2 for libc.
2853
2854         * iconv/gconv.h: Make header suitable for inclusion in public header
2855         by protecting all names with __.
2856         * iconv/gconv.c: Adapt for symbol name changes.
2857         * iconv/gconv.h: Likewise.
2858         * iconv/gconv_builtin.c: Likewise.
2859         * iconv/gconv_close.c: Likewise.
2860         * iconv/gconv_db.c: Likewise.
2861         * iconv/gconv_dl.c: Likewise.
2862         * iconv/gconv_int.h: Likewise.
2863         * iconv/gconv_open.c: Likewise.
2864         * iconv/gconv_simple.c: Likewise.
2865         * iconv/iconv.c: Likewise.
2866         * iconv/iconv_close.c: Likewise.
2867         * iconv/iconv_open.c: Likewise.
2868         * iconv/loop.c: Likewise.
2869         * iconv/skeleton.c: Likewise.
2870         * iconvdata/8bit-gap.c: Likewise.
2871         * iconvdata/8bit-generic.c: Likewise.
2872         * iconvdata/ansi_x3.110.c: Likewise.
2873         * iconvdata/big5.c: Likewise.
2874         * iconvdata/cns11643.h: Likewise.
2875         * iconvdata/cns11643l1.h: Likewise.
2876         * iconvdata/euc-cn.c: Likewise.
2877         * iconvdata/euc-jp.c: Likewise.
2878         * iconvdata/euc-kr.c: Likewise.
2879         * iconvdata/euc-tw.c: Likewise.
2880         * iconvdata/gb2312.h: Likewise.
2881         * iconvdata/iso-2022-jp.c: Likewise.
2882         * iconvdata/iso-2022-kr.c: Likewise.
2883         * iconvdata/iso646.c: Likewise.
2884         * iconvdata/iso8859-1.c: Likewise.
2885         * iconvdata/iso_6937-2.c: Likewise.
2886         * iconvdata/iso_6937.c: Likewise.
2887         * iconvdata/jis0201.h: Likewise.
2888         * iconvdata/jis0208.h: Likewise.
2889         * iconvdata/jis0212.h: Likewise.
2890         * iconvdata/johab.c: Likewise.
2891         * iconvdata/ksc5601.h: Likewise.
2892         * iconvdata/sjis.c: Likewise.
2893         * iconvdata/t.61.c: Likewise.
2894         * iconvdata/uhc.c: Likewise.
2895         * stdlib/mblen.c: Likewise.
2896         * stdlib/mbtowc.c: Likewise.
2897         * stdlib/wctomb.c: Likewise.
2898         * wcsmbs/btowc.c: Likewise.
2899         * wcsmbs/mbrtowc.c: Likewise.
2900         * wcsmbs/mbsnrtowcs.c: Likewise.
2901         * wcsmbs/mbsrtowcs.c: Likewise.
2902         * wcsmbs/wchar.h: Likewise.
2903         * wcsmbs/wcrtomb.c: Likewise.
2904         * wcsmbs/wcsmbsload.c: Likewise.
2905         * wcsmbs/wcsmbsload.h: Likewise.
2906         * wcsmbs/wcsnrtombs.c: Likewise.
2907         * wcsmbs/wcsrtombs.c: Likewise.
2908         * wcsmbs/wctob.c: Likewise.
2909
2910         * include/limits.h (MB_LEN_MAX): Increase to 16.
2911
2912         * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct.  Define
2913         _G_iconv_t.
2914         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2915         * include/wchar.h: Change mbstate_t to __mbstate_t.
2916
2917         * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
2918         oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
2919         getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
2920         iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
2921         putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
2922         vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
2923         and iofwide.
2924         (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
2925         * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
2926         _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
2927         fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
2928         fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
2929         getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
2930         putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
2931         vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
2932         GLIBC_2.2 for libc.
2933         * libio/libio.h: Define codecvt struct.  Define _IO_wide_data.
2934         Extend _IO_file contain pointer to codecvt, widedata and mode.
2935         (_IO_getwc_unlocked): New macro.
2936         (_IO_putwc_unlocked): New macro.
2937         (_IO_fwide): New macro.
2938         * libio/libioP.h: Add new prototypes and adjust existing declarations.
2939         * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
2940         buffers based on mode.
2941         (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
2942         oriented.
2943         (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
2944         flag to be enough to signal unallocated buffer.  For wide oriented
2945         stream don't make it linebuffered.  Don't use _IO_do_flush, use
2946         _IO_new_do_write directly.
2947         (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
2948         (_IO_file_seek): Likewise.
2949         * libio/genops.c (_IO_least_marker): Make global.
2950         (__underflow): Orient stream if not already done.
2951         (__uflow): Likewise.
2952         (_IO_default_seekpos): Change to type _IO_off64_t.
2953         (_IO_default_seekoff): Likewise.
2954         (_IO_default_seek): Likewise.
2955         (_IO_no_init): New function.  Similar to _IO_init but allows to orient
2956         in initialization.
2957         * libio/iolibio.h: Add prototype for _IO_vswprintf.  Change _IO_pos_BAD
2958         to use _IO_off64_t.
2959         * libio/ftello.c: Use _IO_off_t.  For now abort when use with wide
2960         char stream.
2961         * libio/ftello64.c: Likewise.
2962         * libio/ioftell.c: Likewise.
2963         * libio/iofopncook.c: Likewise.
2964         * libio/ioseekoff.c: Likewise.
2965         * libio/ioseekpos.c: Likewise.
2966         * libio/oldfileops.c: Likewise.
2967         * libio/iofgetpos.c: Store state of conversion if necessary.
2968         * libio/iofgetpos64.c: Likewise.
2969         * libio/iofsetpos.c: Restore conversion state if necessary.
2970         * libio/iofsetpos64.c: Likewise.
2971         * libio/iofdopen.c: Initialize so that stream can be wide oriented.
2972         * libio/iofopen.c: Likewise.
2973         * libio/iofopen64.c: Likewise.
2974         * libio/iopopen.c: Likewise.
2975         * libio/iovdprintf.c: Likewise.
2976         * libio/iovsprintf.c: Likewise.
2977         * libio/iovsscanf.c: Likewise.
2978         * libio/memstream.c: Likewise.
2979         * libio/obprintf.c: Likewise.
2980         * libio/iofputs.c: Orient stream if not already happened.
2981         * libio/iofputs_u.c: Likewise.
2982         * libio/iofwrite.c: Likewise.
2983         * libio/iofwrite_u.c: Likewise.
2984         * libio/ioputs.c: Likewise.
2985         * libio/iosetbuffer.c: Handle not yet oriented stream.
2986         * libio/iosetvbuf.c: Likewise.
2987         * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
2988         * libio/stdfiles.c: Likewise.
2989         * libio/strops.c (_IO_str_overflow): Correctly free buffer after
2990         failed allocation.
2991         (_IO_str_seekoff): Use _IO_off64_t.
2992         * libio/vasprintf.c: Pre-orient stream.
2993         * libio/vsnprintf.c: Likewise.
2994         * libio/fputwc.c: New file.
2995         * libio/fputwc_u.c: New file.
2996         * libio/fwprintf.c: New file.
2997         * libio/fwscanf.c: New file.
2998         * libio/getwc.c: New file.
2999         * libio/getwc_u.c: New file.
3000         * libio/getwchar.c: New file.
3001         * libio/getwchar_u.c: New file.
3002         * libio/iofgetws.c: New file.
3003         * libio/iofgetws_u.c: New file.
3004         * libio/iofputws.c: New file.
3005         * libio/iofputws_u.c: New file.
3006         * libio/iofwide.c: New file.
3007         * libio/iogetwline.c: New file.
3008         * libio/ioungetwc.c: New file.
3009         * libio/iovswscanf.c: New file.
3010         * libio/iowpadn.c: New file.
3011         * libio/oldiofgetpos.c: New file.
3012         * libio/oldiofgetpos64.c: New file.
3013         * libio/oldiofsetpos.c: New file.
3014         * libio/oldiofsetpos64.c: New file.
3015         * libio/putwc.c: New file.
3016         * libio/putwc_u.c: New file.
3017         * libio/putwchar.c: New file.
3018         * libio/putwchar_u.c: New file.
3019         * libio/swprintf.c: New file.
3020         * libio/swscanf.c: New file.
3021         * libio/tst_swprintf.c: New file.
3022         * libio/tst_swscanf.c: New file.
3023         * libio/tst_wprintf.c: New file.
3024         * libio/tst_wscanf.c: New file.
3025         * libio/tst_wscanf.input: New file.
3026         * libio/vswprintf.c: New file.
3027         * libio/vwprintf.c: New file.
3028         * libio/vwscanf.c: New file.
3029         * libio/wfiledoalloc.c: New file.
3030         * libio/wfileops.c: New file.
3031         * libio/wgenops.c: New file.
3032         * libio/wprintf.c: New file.
3033         * libio/wscanf.c: New file.
3034         * libio/wstrops.c: New file.
3035         * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
3036         vfwprintf, and vfwscanf.
3037         * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
3038         make global.
3039         * stdio-common/_itowa.c: New file.
3040         * stdio-common/_itowa.h: New file.
3041         * stdio-common/itoa-digits.c: Minimal optimization.
3042         * stdio-common/itowa-digits.c: New file.
3043         * stdio-common/printf-parse.h: Allow use in wide character context.
3044         * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
3045         * stdio-common/printf.h (printf_info): Add wide bit.
3046         * stdio-common/printf_fp.c: Determine from wide bit whether stream
3047         is wide oriented or not.
3048         * stdio-common/printf_size.c: Likewise.
3049         * sysdeps/generic/printf_fphex.c: Likewise.
3050         * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
3051         * stdio-common/vfprintf.c: Rewrite to allow use in wide character
3052         context.
3053         * stdio-common/vfscand.c: Likewise.
3054         * stdio-common/vfwprintf.c: New file.
3055         * stdio-common/vfwscanf.c: New file.
3056
3057         * time/Makefile (routines): Add wcsftime.
3058         (tests): Add tst_wcsftime.
3059         * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
3060         * time/strftime.c: Make usable as wcsftime.
3061         * time/wcsftime.c: New file.
3062         * time/tst_wcsftime.c: New file.
3063
3064         * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
3065         * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
3066         * wcsmbs/wcschrnul.c: New file.
3067         * wcsmbs/wmemcpy.c: New file.
3068         * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
3069         * wcsmbs/wmemmove.c: Likewise for wmemmove.
3070
3071         * manual/stdio.texi: Document is_char and wide element if printf_info.
3072
3073         * manual/time.texi: Document wcsftime.
3074
3075         * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
3076         __wmemmove, __wcschrnul, and __vfwscanf.
3077
3078         * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
3079         * locale/C-time.c: Adapt for above change.
3080         * locale/categories.def: Likewise.
3081         * locale/localeinfo.h: Likewise.
3082         * localedata/Makefile: Don't run tests for now.
3083
3084         * manual/errno.texi: Fix typos.
3085         * manual/memory.texi: Likewise.
3086         * manual/ctype.texi: Likewise.
3087         Patches by Brian Youmans <3diff@gnu.org>.
3088
3089 1999-06-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3090
3091         * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
3092
3093 1999-06-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3094
3095         * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
3096         word order.
3097         * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
3098         * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
3099
3100 1999-06-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3101
3102         * db2/db/db.c: Restore __nss_db_open alias.
3103         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
3104         include.
3105         * db2/os/os_rw.c (__os_write): Maintain const correctness.
3106         * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
3107
3108 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
3109
3110         * stdio-common/printf-parse.h (parse_one_spec): Don't set
3111         is_longlong if not necessary.
3112
3113 1999-06-15  H.J. Lu  <hjl@gnu.org>
3114
3115         * Make-dist (sysdep_dirs): Exclude SCCS.
3116         * MakeTAGS (sysdep_dirs): Likewise.
3117
3118 1999-06-15  Ulrich Drepper  <drepper@cygnus.com>
3119
3120         * posix/regex.c (re_error_msgid): Remove extra commas.
3121
3122 1999-06-14  Geoff Keating  <geoffk@ozemail.com.au>
3123
3124         * stdlib/tst-strtoll.c: New file.
3125         * stdlib/Makefile (tests): Add tst-strtoll.c
3126         * stdlib/strtol.c: It is not generally true that if
3127         (unsigned)a*(unsigned)b overflows, then the result is
3128         less than 'a'.
3129
3130 1999-06-14  Thorsten Kukuk  <kukuk@suse.de>
3131
3132         * nscd/connections.c (handle_request): Only root is allowed to
3133         send GETSTAT request in non secure mode.
3134         * nscd/nscd.c: Print error message if other then root try to
3135         use getstat.
3136
3137 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3138
3139         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
3140
3141 1999-06-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3142
3143         * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
3144         Closes PR libc/1164, reported by sascha@schumann.2ns.de.
3145
3146 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3147
3148         * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
3149         for character to search, to help the compiler.
3150         * sysdeps/generic/strchrnul.c: Likewise.
3151         * sysdeps/generic/memchr.c: Likewise.
3152         * sysdeps/generic/memccpy.c: Likewise.
3153         * sysdeps/generic/rawmemchr.c: Likewise.  Fix comment.
3154
3155 1999-06-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3156
3157         * sysdeps/m68k/memchr.S: New file.
3158         * sysdeps/m68k/rawmemchr.S: New file.
3159         * sysdeps/m68k/strchr.S: New file.
3160         * sysdeps/m68k/strchrnul.S: New file.
3161
3162 1999-06-13  Geoff Keating  <geoffk@ozemail.com.au>
3163
3164         * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
3165         add `memory' clobber; optimise for constant `val'.
3166         (atomic_add): Likewise.
3167         (test_and_set): Remove `volatile'; add `memory' clobber; be more
3168         like the original `test_and_set'.
3169         (compare_and_swap): Remove `volatile'; add `memory' clobber;
3170         optimise for constant `oldval'.
3171         (always_swap): Remove `volatile'; add `memory' clobber.
3172
3173 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3174
3175         * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
3176         functions for gcc <= 2.7.x.
3177
3178 1999-06-13  Roland McGrath  <roland@baalperazim.frob.com>
3179
3180         * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
3181         change.
3182
3183 1999-06-13  Ulrich Drepper  <drepper@cygnus.com>
3184
3185         * db2/Makefile (distribute): Remove files which do not exist
3186         anymore.
3187
3188         * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
3189         definitions to calm down gcc.
3190
3191         * db2/db.h: Update from db 2.7.5.
3192         * db2/db_185.h: Likewise.
3193         * db2/db_int.h: Likewise.
3194         * db2/btree/bt_compare.c: Likewise.
3195         * db2/btree/bt_conv.c: Likewise.
3196         * db2/btree/bt_curadj.c: Likewise.
3197         * db2/btree/bt_cursor.c: Likewise.
3198         * db2/btree/bt_delete.c: Likewise.
3199         * db2/btree/bt_open.c: Likewise.
3200         * db2/btree/bt_page.c: Likewise.
3201         * db2/btree/bt_put.c: Likewise.
3202         * db2/btree/bt_rec.c: Likewise.
3203         * db2/btree/bt_recno.c: Likewise.
3204         * db2/btree/bt_rsearch.c: Likewise.
3205         * db2/btree/bt_search.c: Likewise.
3206         * db2/btree/bt_split.c: Likewise.
3207         * db2/btree/bt_stat.c: Likewise.
3208         * db2/btree/btree_auto.c: Likewise.
3209         * db2/common/db_appinit.c: Likewise.
3210         * db2/common/db_apprec.c: Likewise.
3211         * db2/common/db_err.c: Likewise.
3212         * db2/common/db_region.c: Likewise.
3213         * db2/common/db_salloc.c: Likewise.
3214         * db2/db/db.c: Likewise.
3215         * db2/db/db.src: Likewise.
3216         * db2/db/db_am.c: Likewise.
3217         * db2/db/db_auto.c: Likewise.
3218         * db2/db/db_dispatch.c: Likewise.
3219         * db2/db/db_dup.c: Likewise.
3220         * db2/db/db_iface.c: Likewise.
3221         * db2/db/db_join.c: Likewise.
3222         * db2/db/db_overflow.c: Likewise.
3223         * db2/db/db_pr.c: Likewise.
3224         * db2/db/db_rec.c: Likewise.
3225         * db2/db/db_ret.c: Likewise.
3226         * db2/db185/db185.c: Likewise.
3227         * db2/dbm/dbm.c: Likewise.
3228         * db2/hash/hash.c: Likewise.
3229         * db2/hash/hash_auto.c: Likewise.
3230         * db2/hash/hash_dup.c: Likewise.
3231         * db2/hash/hash_page.c: Likewise.
3232         * db2/hash/hash_rec.c: Likewise.
3233         * db2/hash/hash_stat.c: Likewise.
3234         * db2/include/btree.h: Likewise.
3235         * db2/include/btree_ext.h: Likewise.
3236         * db2/include/clib_ext.h: Likewise.
3237         * db2/include/common_ext.h: Likewise.
3238         * db2/include/db_am.h: Likewise.
3239         * db2/include/db_auto.h: Likewise.
3240         * db2/include/db_cxx.h: Likewise.
3241         * db2/include/db_ext.h: Likewise.
3242         * db2/include/db_join.h: Likewise.
3243         * db2/include/db_page.h: Likewise.
3244         * db2/include/hash.h: Likewise.
3245         * db2/include/hash_ext.h: Likewise.
3246         * db2/include/lock.h: Likewise.
3247         * db2/include/lock_ext.h: Likewise.
3248         * db2/include/log.h: Likewise.
3249         * db2/include/log_ext.h: Likewise.
3250         * db2/include/mp.h: Likewise.
3251         * db2/include/mp_ext.h: Likewise.
3252         * db2/include/os.h: Likewise.
3253         * db2/include/os_ext.h: Likewise.
3254         * db2/include/os_func.h: Likewise.
3255         * db2/include/txn.h: Likewise.
3256         * db2/include/txn_auto.h: Likewise.
3257         * db2/include/txn_ext.h: Likewise.
3258         * db2/include/xa.h: Likewise.
3259         * db2/include/xa_ext.h: Likewise.
3260         * db2/lock/lock.c: Likewise.
3261         * db2/lock/lock_conflict.c: Likewise.
3262         * db2/lock/lock_deadlock.c: Likewise.
3263         * db2/lock/lock_region.c: Likewise.
3264         * db2/lock/lock_util.c: Likewise.
3265         * db2/log/log.c: Likewise.
3266         * db2/log/log_archive.c: Likewise.
3267         * db2/log/log_auto.c: Likewise.
3268         * db2/log/log_findckp.c: Likewise.
3269         * db2/log/log_get.c: Likewise.
3270         * db2/log/log_put.c: Likewise.
3271         * db2/log/log_rec.c: Likewise.
3272         * db2/log/log_register.c: Likewise.
3273         * db2/mp/mp_bh.c: Likewise.
3274         * db2/mp/mp_fget.c: Likewise.
3275         * db2/mp/mp_fopen.c: Likewise.
3276         * db2/mp/mp_fput.c: Likewise.
3277         * db2/mp/mp_fset.c: Likewise.
3278         * db2/mp/mp_open.c: Likewise.
3279         * db2/mp/mp_pr.c: Likewise.
3280         * db2/mp/mp_region.c: Likewise.
3281         * db2/mp/mp_sync.c: Likewise.
3282         * db2/mutex/mutex.c: Likewise.
3283         * db2/mutex/uts4_cc.s: Likewise.
3284         * db2/os/os_abs.c: Likewise.
3285         * db2/os/os_alloc.c: Likewise.
3286         * db2/os/os_config.c: Likewise.
3287         * db2/os/os_dir.c: Likewise.
3288         * db2/os/os_fid.c: Likewise.
3289         * db2/os/os_fsync.c: Likewise.
3290         * db2/os/os_map.c: Likewise.
3291         * db2/os/os_oflags.c: Likewise.
3292         * db2/os/os_open.c: Likewise.
3293         * db2/os/os_rw.c: Likewise.
3294         * db2/os/os_seek.c: Likewise.
3295         * db2/os/os_sleep.c: Likewise.
3296         * db2/os/os_spin.c: Likewise.
3297         * db2/os/os_stat.c: Likewise.
3298         * db2/os/os_tmpdir.c: Likewise.
3299         * db2/os/os_unlink.c: Likewise.
3300         * db2/progs/db_archive/db_archive.c: Likewise.
3301         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3302         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3303         * db2/progs/db_dump/db_dump.c: Likewise.
3304         * db2/progs/db_load/db_load.c: Likewise.
3305         * db2/progs/db_printlog/README: Likewise.
3306         * db2/progs/db_printlog/commit.awk: Likewise.
3307         * db2/progs/db_printlog/count.awk: Likewise.
3308         * db2/progs/db_printlog/db_printlog.c: Likewise.
3309         * db2/progs/db_printlog/pgno.awk: Likewise.
3310         * db2/progs/db_printlog/range.awk: Likewise.
3311         * db2/progs/db_printlog/status.awk: Likewise.
3312         * db2/progs/db_printlog/txn.awk: Likewise.
3313         * db2/progs/db_recover/db_recover.c: Likewise.
3314         * db2/progs/db_stat/db_stat.c: Likewise.
3315         * db2/txn/txn.c: Likewise.
3316         * db2/txn/txn.src: Likewise.
3317         * db2/txn/txn_auto.c: Likewise.
3318         * db2/txn/txn_rec.c: Likewise.
3319         * db2/xa/xa.c: Likewise.
3320         * db2/xa/xa_db.c: Likewise.
3321         * db2/xa/xa_map.c: Likewise.
3322
3323         * db2/btree/bt_close.c: Removed.
3324         * db2/db/db_thread.c: Likewise.
3325         * db2/hash/hash_debug.c: Likewise.
3326         * db2/include/db.h.src: Likewise.
3327         * db2/include/db_int.h.src: Likewise.
3328         * db2/include/os_jump.h: Likewise.
3329         * db2/mutex/alpha.dec: Likewise.
3330         * db2/mutex/alpha.gcc: Likewise.
3331         * db2/mutex/parisc.hp: Likewise.
3332         * db2/mutex/uts4.cc.s: Likewise.
3333
3334         * db2/Makefile: Add new routines, remove old for 2.7.5.
3335         * db2/Versions: Add internal function names for the helper programs.
3336         * db2/makedb.c: Update for new cursor callback.
3337         * Versions.def: Define versions for libdb.
3338
3339 1999-06-13  Thorsten Kukuk  <kukuk@suse.de>
3340
3341         * nscd/connections.c (nscd_run): Get user ID for all non-db services.
3342         * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
3343         * nscd/nscd_nischeck.c: New file.
3344         * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
3345
3346 1999-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3347
3348         * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
3349         MSG_* flags from Linux 2.2.9.
3350
3351 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3352
3353         * Makeconfig (static-start-installed-name): Set to
3354         $(start-installed-name) if not defined.
3355         (+link-static): Use $(static-start-installed-name) instead of
3356         $(start-installed-name).
3357         * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
3358         Set to crt0.o.
3359
3360 1999-06-12  Mark Kettenis  <kettenis@gnu.org>
3361
3362         * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
3363         inserting a send right into the child instead of unconditionally
3364         copying the send right.
3365
3366 1999-06-12  Ulrich Drepper  <drepper@cygnus.com>
3367
3368         * locale/lc-time.c: Add free_mem function to free if necessary
3369         statically allocated memory.
3370
3371 1999-06-10  Jakub Jelinek  <jj@ultra.linux.cz>
3372
3373         * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
3374         bias from the raw exponent.
3375
3376 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3377
3378         * inet/arpa/tftp.h: Move attribute declaration in right position.
3379
3380 1999-06-11  Thorsten Kukuk  <kukuk@suse.de>
3381
3382         * nscd/nscd.c: Add -S options for separate caching of data for
3383         every user. So one user couldn't see the data another user
3384         has gotten with his credentials.
3385         * nscd/nscd.h: Add new prototypes.
3386         * nscd/cache.c: Compare owner of cache entry if in secure mode.
3387         * nscd/connections.c: Check on shutdown if caller really was root.
3388         In secure mode get uid of caller.
3389         * nscd/grpcache.c: Add support for new secure group mode.
3390         * nscd/hstcache.c: Add support for new secure hosts mode.
3391         * nscd/pwdcache.c: Add support for new secure passwd mode.
3392
3393 1999-06-11  Ulrich Drepper  <drepper@cygnus.com>
3394
3395         * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
3396         of user-provided buffer.
3397
3398 1999-06-11  Mark Kettenis  <kettenis@gnu.org>
3399
3400         * hurd/hurdsock.c (max_domain): Initialize to `-1'.
3401         (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
3402
3403 1999-06-10  Ulrich Drepper  <drepper@cygnus.com>
3404
3405         * stdio-common/printf-parse.h (parse_one_spec): Add support for a
3406         and A format.
3407
3408         * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
3409         returning after last entry.
3410         * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3411
3412 1999-06-09  Ulrich Drepper  <drepper@cygnus.com>
3413
3414         * misc/sysexits.h: Remove advertising clause of copyright.
3415         * resolv/getnetnamadr.c: Likewise.
3416         * sysdeps/vax/bcopy.s: Likewise.
3417         * sysdeps/vax/bzero.s: Likewise.
3418         * sysdeps/vax/ffs.s: Likewise.
3419         * sysdeps/vax/memchr.s: Likewise.
3420         * sysdeps/vax/memcmp.s: Likewise.
3421         * sysdeps/vax/memmove.s: Likewise.
3422         * sysdeps/vax/memset.s: Likewise.
3423         * sysdeps/vax/strcat.s: Likewise.
3424         * sysdeps/vax/strchr.s: Likewise.
3425         * sysdeps/vax/strcmp.s: Likewise.
3426         * sysdeps/vax/strcpy.s: Likewise.
3427         * sysdeps/vax/strcspn.s: Likewise.
3428         * sysdeps/vax/strlen.s: Likewise.
3429         * sysdeps/vax/strncat.s: Likewise.
3430         * sysdeps/vax/strncmp.s: Likewise.
3431         * sysdeps/vax/strncpy.s: Likewise.
3432         * sysdeps/vax/strpbrk.s: Likewise.
3433         * sysdeps/vax/strrchr.s: Likewise.
3434         * sysdeps/vax/strsep.s: Likewise.
3435         * sysdeps/vax/strspn.s: Likewise.
3436         * sysdeps/vax/strstr.s: Likewise.
3437
3438         * libio/iofopncook.c: Adjust for renaming of structure elements.
3439         * libio/libio.h: Define cookie functions with all the names.
3440
3441         * pwd/fgetpwent_r.c: Set errno in the correct way.
3442         * shadow/fgetspent_r.c: Likewise.
3443         * pwd/fgetpwent.c: Handle long lines correctly.  Little
3444         optimizations.  Free static buffer when debugging memory handling.
3445         * shadow/fgetspent.c: Likewise.
3446
3447         * grp/fgetgrent.c: Little optimization in loop.
3448
3449 1999-06-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3450
3451         * grp/tst_fgetgrent.c (write_group): Fix generation of long line
3452         in a different way.
3453
3454 1999-06-09  Jakub Jelinek   <jj@ultra.linux.cz>
3455
3456         * stdlib/longlong.h: gas changed sethi handling when without
3457         %hi(). Fix assembly.
3458         * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
3459         port specific cache id checks.
3460         * sysdeps/generic/dl-cache.h: New file.
3461         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
3462
3463 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3464
3465         * gmon/gmon.c: Remove advertising clause of copyright.
3466         * gmon/mcount.c: Likewise.
3467         * gmon/sys/gmon.h: Likewise.
3468         * inet/arpa/ftp.h: Likewise.
3469         * inet/arpa/telnet.h: Likewise.
3470         * inet/arpa/tftp.h: Likewise.
3471         * inet/inet_lnaof.c: Likewise.
3472         * inet/inet_mkadr.c: Likewise.
3473         * inet/inet_net.c: Likewise.
3474         * inet/inet_netof.c: Likewise.
3475         * inet/protocols/routed.h: Likewise.
3476         * inet/protocols/rwhod.h: Likewise.
3477         * inet/protocols/talkd.h: Likewise.
3478         * inet/protocols/timed.h: Likewise.
3479         * inet/rcmd.c: Likewise.
3480         * inet/rexec.c: Likewise.
3481         * inet/ruserpass.c: Likewise.
3482         * io/fts.c: Likewise.
3483         * io/fts.h: Likewise.
3484         * login/login_tty.c: Likewise.
3485         * misc/fstab.h: Likewise.
3486         * misc/getttyent.c: Likewise.
3487         * misc/getusershell.c: Likewise.
3488         * misc/sys/queue.h: Likewise.
3489         * misc/sys/syslog.h: Likewise.
3490         * misc/syslog.c: Likewise.
3491         * misc/ttyent.h: Likewise.
3492         * misc/ttyslot.c: Likewise.
3493         * resolv/arpa/nameser.h: Likewise.
3494         * resolv/gethnamaddr.c: Likewise.
3495         * resolv/herror.c: Likewise.
3496         * resolv/inet_addr.c: Likewise.
3497         * resolv/mapv4v6addr.h: Likewise.
3498         * resolv/mapv4v6hostent.h: Likewise
3499         * resolv/nss_dns/dns-host.c: Likewise.
3500         * resolv/nss_dns/dns-network.c: Likewise.
3501         * resolv/res_comp.c: Likewise.
3502         * resolv/res_data.c: Likewise.
3503         * resolv/res_debug.c: Likewise.
3504         * resolv/res_init.c: Likewise.
3505         * resolv/res_mkquery.c: Likewise.
3506         * resolv/res_query.c: Likewise.
3507         * resolv/res_send.c: Likewise.
3508         * resolv/resolv.h: Likewise.
3509         * sysdeps/generic/div.c: Likewise.
3510         * sysdeps/generic/netinet/ip.h: Likewise.
3511         * sysdeps/generic/netinet/tcp.h: Likewise.
3512         * sysdeps/generic/paths.h: Likewise.
3513         * sysdeps/generic/prof-freq.c: Likewise.
3514         * sysdeps/generic/sys/ttydefaults.h: Likewise.
3515         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3516         * sysdeps/gnu/netinet/tcp.h: Likewise.
3517         * sysdeps/ieee754/support.c: Likewise.
3518         * sysdeps/mach/hurd/sys/param.h: Likewise.
3519         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
3520         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3521         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
3522         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3523         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
3524         * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
3525         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
3526         * sysdeps/unix/sysv/linux/paths.h: Likewise.
3527         * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
3528         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
3529         * sysdeps/vax/DEFS.h: Likewise.
3530         * termios/sys/ttychars.h: Likewise.
3531         * misc/daemon.c: Likewise.  Call fork.
3532
3533         * grp/fgetgrent.c (buffer): Make file local variable.
3534         (free_mem): New function.  Call for malloc debugging.
3535
3536         * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
3537
3538 1999-06-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3539
3540         * grp/Makefile: Add rules for tst_fgetgrent.
3541
3542         * grp/tst_fgetgrent.c: Rewritten to read only one file.
3543
3544         * grp/tst_fgetgrent.sh: New file.
3545
3546 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3547
3548         * grp/Makefile (tests): Add tst_fgetgrent.
3549         * grp/tst_fgetgrent.c: New file.
3550         Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3551
3552 1999-06-07  Roland McGrath  <roland@baalperazim.frob.com>
3553
3554         * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
3555         be POSIX compliant.  Prior definition was broken for Hurd.
3556         Reported by Mark Kettenis <kettenis@gnu.org>.
3557
3558 1999-06-08  Ulrich Drepper  <drepper@cygnus.com>
3559
3560         * ctype/ctype.h: Protect __tobody code by __extension__.
3561
3562 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3563
3564         * grp/fgetgrent.c (fgetgrent): Remember position of stream before
3565         reading and reset in case the buffer was too small.
3566
3567         * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
3568         of EOF.
3569
3570 1999-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3571
3572         * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
3573         another SIOGIFNAME typo.
3574
3575 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3576
3577         * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
3578
3579         * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
3580         bit.
3581
3582 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3583
3584         * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
3585         the precision if the mantissa is zero.
3586
3587 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3588
3589         * manual/lang.texi (Floating Point Parameters): GCC already
3590         supports long double for a long time.
3591
3592 1999-06-05  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3593
3594         * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
3595         yn_test): Increase some epsilons.
3596
3597 1999-06-07  Ulrich Drepper  <drepper@cygnus.com>
3598
3599         * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
3600         parameters.
3601
3602 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3603
3604         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3605         __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
3606         * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
3607         SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
3608
3609         * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
3610         * sysdeps/libm-ieee754/w_j0f.c: Likewise.
3611         * sysdeps/libm-ieee754/w_j0l.c: Likewise.
3612         * sysdeps/libm-ieee754/w_j1.c: Likewise.
3613         * sysdeps/libm-ieee754/w_j1f.c: Likewise.
3614         * sysdeps/libm-ieee754/w_j1l.c: Likewise.
3615         * sysdeps/libm-ieee754/w_jn.c: Likewise.
3616         * sysdeps/libm-ieee754/w_jnf.c: Likewise.
3617         * sysdeps/libm-ieee754/w_jnl.c: Likewise.
3618
3619         * stdio-common/vfprintf.c: Correct typos.
3620
3621         * math/libm-test.c (jn_test): Adjust delta.
3622         (y1_test): Likewise.
3623         (yn_test): Likewise.
3624
3625         * elf/do-lookup.h: It should never happen that if we expect a versioned
3626         symbol from a file the file has no version table.  This should have
3627         been checked in dl-version.c.
3628         * elf/dl-lookup.c: Include assert.h.
3629
3630         * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
3631         function handling.
3632
3633         * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
3634
3635 1999-06-06  Andi Kleen  <ak@muc.de>
3636
3637         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
3638         SA_RESTORER flag.
3639
3640 1999-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3641
3642         * math/libm-test.c (yn_test): Change one delta.
3643         (jn_test): Likewise.
3644         (j1_test): Likewise.
3645         (y0_test): Likewise.
3646
3647 1999-06-06  Ulrich Drepper  <drepper@cygnus.com>
3648
3649         * malloc/malloc.c: Introduce local variable __libc_getpagesize to
3650         avoid multiple calls to getpagesize() which might be a syscall.
3651
3652 1999-06-06  Philip Blundell  <philb@gnu.org>
3653
3654         * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
3655
3656 1999-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3657
3658         * manual/install.texi (Running make install): Correct typo in
3659         dynamic linker invocation.
3660
3661 1999-06-05  Philip Blundell  <philb@gnu.org>
3662
3663         * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
3664         problems with GOT addressing.
3665
3666 1999-06-05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3667
3668         * malloc/malloc.c (check_action): Change into bitmap so that both
3669         diagnostic and abort can be requested by setting it to 3.
3670         (mALLOC_SET_STATe): Disable malloc checking if necessary.
3671
3672 1999-06-03  Ulrich Drepper  <drepper@cygnus.com>
3673
3674         * configure.in: Few changes for HPUX.
3675
3676         * scripts/config.guess: Update from latest version.
3677         * scripts/config.sub: Likewise.
3678
3679 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3680
3681         * Makerules: Set LC_ALL explicitly to archieve correct sorting of
3682         map files.  Closes PR libc/1147.
3683
3684 1999-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3685
3686         * math/libm-test.c (main): Add new test functions.
3687         (jn_test): New tests.
3688         (j1_test): Add some more tests.
3689         (j0_test): Add some more tests.
3690         (y0_test): Add some more tests.
3691         (y1_test): Add some more tests.
3692
3693 1999-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3694
3695         * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
3696         Patch by mhagger@dera.gov.uk [PR libc/1145].
3697
3698         * math/libm-test.c (y1_test): New tests.
3699         (y0_test): Likewise.
3700         (j1_test): Likewise.
3701         (j0_test): Likewise.
3702         (main): Added new tests.
3703
3704 1999-06-02  Jakub Jelinek  <jj@ultra.linux.cz>
3705
3706         * stdlib/longlong.h: Define UDIV_TIME on sparc64.
3707         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
3708         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
3709         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
3710         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
3711         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
3712
3713 1999-06-02  David S. Miller  <davem@redhat.com>
3714
3715         * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
3716         pointers properly.
3717
3718 1999-06-02  Ulrich Drepper  <drepper@cygnus.com>
3719
3720         * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
3721         and elide compatibility code if possible.
3722
3723 1999-06-01  Ulrich Drepper  <drepper@cygnus.com>
3724
3725         * manual/llio.texi: Remove menu entry for removed section.
3726
3727 1999-05-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3728
3729         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
3730         variables.
3731
3732 1999-06-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3733
3734         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
3735         (from Linux 2.3.4).
3736
3737 1999-05-30  Ulrich Drepper  <drepper@cygnus.com>
3738
3739         * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
3740
3741 1999-05-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3742
3743         * manual/stdio.texi: Fix some typos.
3744
3745 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3746
3747         * malloc/malloc.h: Properly handle future GCC versions.
3748
3749 1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3750
3751         * sysdeps/unix/sysv/linux/configure.in: Change version checks to
3752         use AC_EGREP_CPP.  Change sed pattern to not use alternation.  Fix
3753         text of error message.
3754
3755         * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
3756
3757 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3758
3759         * manual/filesys.texi: Extend (f)truncate documentation.
3760         * manual/llio.texi: Remove duplicate (f)truncate definition.
3761
3762 1999-05-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3763
3764         * manual/stdio.texi (Formatted Output Functions): Mention
3765         semantics of snprintf in glibc 2.0.
3766         Reported by Ben Pfaff <pfaffben@msu.edu>.
3767
3768 1999-05-29  Ulrich Drepper  <drepper@cygnus.com>
3769
3770         * include/features.h (__GLIBC_MINOR__): Bump to 2.
3771
3772 1999-05-27  Ulrich Drepper  <drepper@cygnus.com>
3773
3774         * math/libm-test.c: Adjust a few more deltas for the poor ARM
3775         FPU emulator.
3776
3777 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3778
3779         * configure.in: Fix typo.
3780
3781 1999-05-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3782
3783         * manual/socket.texi (Host Names): Remove statement that h_errno
3784         needs to be declared since this isn't true anymore.
3785         Closes PR libc/1138.
3786
3787 1999-05-26  Ulrich Drepper  <drepper@cygnus.com>
3788
3789         * config.h.in: Add __LINUX_KERNEL_VERSION.
3790         * configure.in: Recognize --enable-kernel.
3791         * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
3792         headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
3793         appropriately.
3794         * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
3795         given perform runtime test.
3796
3797         * sysdeps/unix/sysv/linux/kernel-features.h: New file.
3798         * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
3799         minimal supported kernel is known to have the feature.
3800         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3801         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3802         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3803         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3804         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3805         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3806         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3807         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3808         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3809         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3810         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3811         * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
3812         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
3813         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3814         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3815
3816         * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
3817
3818 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3819
3820         * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
3821
3822 1999-05-26  Jakub Jelinek   <jj@ultra.linux.cz>
3823
3824         * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
3825         Optimized sparc64 routines.
3826
3827 1999-05-25  Ulrich Drepper  <drepper@cygnus.com>
3828
3829         * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
3830         they are the same as ints.
3831         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3832
3833         * version.h (VERSION): Bump to 2.1.90.
3834         (RELEASE): Mark as development.
3835
3836         * stdio-common/vfprintf.c (vfprintf): Don't implement special
3837         handling for long long if it is the same as long.
3838         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3839
3840         * stdlib/strtol.c: Moved to ...
3841         * sysdeps/generic/strtol.c: ...here.
3842         * stdlib/strtoul.c: Moved to ...
3843         * sysdeps/generic/strtoul.c: ...here.
3844         * stdlib/strtoll.c: Moved to ...
3845         * sysdeps/generic/strtoll.c: ...here.
3846         * stdlib/strtoull.c: Moved to ...
3847         * sysdeps/generic/strtoull.c: ...here.
3848         * stdlib/strtol_l.c: Moved to ...
3849         * sysdeps/generic/strtol_l.c: ...here.
3850         * stdlib/strtoul_l.c: Moved to ...
3851         * sysdeps/generic/strtoul_l.c: ...here.
3852         * stdlib/strtoll_l.c: Moved to ...
3853         * sysdeps/generic/strtoll_l.c: ...here.
3854         * stdlib/strtoull_l.c: Moved to ...
3855         * sysdeps/generic/strtoull_l.c: ...here.
3856
3857         * sysdeps/wordsize-64/strtol.c: New file.
3858         * sysdeps/wordsize-64/strtoul.c: New file.
3859         * sysdeps/wordsize-64/strtoll.c: New file.
3860         * sysdeps/wordsize-64/strtoull.c: New file.
3861         * sysdeps/wordsize-64/strtol_l.c: New file.
3862         * sysdeps/wordsize-64/strtoul_l.c: New file.
3863         * sysdeps/wordsize-64/strtoll_l.c: New file.
3864         * sysdeps/wordsize-64/strtoull_l.c: New file.
3865
3866         * wcsmbs/wcstol.c: Moved to ...
3867         * sysdeps/generic/wcstol.c: ...here.
3868         * wcsmbs/wcstoul.c: Moved to ...
3869         * sysdeps/generic/wcstoul.c: ...here.
3870         * wcsmbs/wcstoll.c: Moved to ...
3871         * sysdeps/generic/wcstoll.c: ...here.
3872         * wcsmbs/wcstoull.c: Moved to ...
3873         * sysdeps/generic/wcstoull.c: ...here.
3874         * wcsmbs/wcstol_l.c: Moved to ...
3875         * sysdeps/generic/wcstol_l.c: ...here.
3876         * wcsmbs/wcstoul_l.c: Moved to ...
3877         * sysdeps/generic/wcstoul_l.c: ...here.
3878         * wcsmbs/wcstoll_l.c: Moved to ...
3879         * sysdeps/generic/wcstoll_l.c: ...here.
3880         * wcsmbs/wcstoull_l.c: Moved to ...
3881         * sysdeps/generic/wcstoull_l.c: ...here.
3882
3883         * sysdeps/wordsize-64/wcstol.c: New file.
3884         * sysdeps/wordsize-64/wcstoul.c: New file.
3885         * sysdeps/wordsize-64/wcstoll.c: New file.
3886         * sysdeps/wordsize-64/wcstoull.c: New file.
3887         * sysdeps/wordsize-64/wcstol_l.c: New file.
3888         * sysdeps/wordsize-64/wcstoul_l.c: New file.
3889         * sysdeps/wordsize-64/wcstoll_l.c: New file.
3890         * sysdeps/wordsize-64/wcstoull_l.c: New file.
3891
3892 1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>
3893
3894         * sysdeps/sparc/bits/wordsize.h: New file.
3895         * sysdeps/sparc/fpu/bits/fenv.h: New file.
3896         * sysdeps/sparc/fpu/fpu_control.h: New file.
3897         * sysdeps/sparc/gmp-mparam.h: New file.
3898
3899         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
3900         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
3901         * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
3902         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
3903         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
3904         * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
3905
3906         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
3907         * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
3908         * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
3909         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
3910
3911         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
3912         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
3913         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
3914         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
3915         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
3916
3917 1999-05-24  Ulrich Drepper  <drepper@cygnus.com>
3918
3919         * login/openpty.c (openpty): Make sure pty does not because
3920         controlling TTY.
3921
3922         * ctype/ctype.h: Don't optimize toupper/tolower for C++.
3923
3924 1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>
3925
3926         * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
3927         Do proper error return.
3928
3929 1999-05-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3930
3931         * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
3932         of __P in the rest of glibc; define __MALLOC_PMT and use it.
3933         Reported by Stephan Kulow <coolo@kde.org>.
3934
3935 1999-05-23  Ulrich Drepper  <drepper@cygnus.com>
3936
3937         * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
3938
3939         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
3940
3941 1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3942
3943         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
3944         names to protect from user's macro namespace.
3945         * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
3946         * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
3947         * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
3948         * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
3949         * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
3950         Adapted.
3951         * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
3952         sysdeps/arm/fpu/fesetenv.c: Likewise.
3953         * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
3954         sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
3955         sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3956         * sysdeps/mips/fesetenv.c: Likewise.
3957
3958 1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>
3959
3960         * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
3961
3962 1999-05-20  Ulrich Drepper  <drepper@cygnus.com>
3963
3964         * configure.in: Recognize and allow gcc 2.95.
3965
3966 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
3967
3968         * sysdeps/generic/bits/elfclass.h: Version common to
3969         wordsize-32 and wordsize-64.
3970         * sysdeps/generic/bits/environments.h: Ditto.
3971         * sysdeps/generic/stdint.h: Ditto.
3972         * sysdeps/generic/inttypes.h: Ditto.
3973
3974         * sysdeps/generic/bits/wordsize.h: New file.
3975         * stdlib/Makefile: Add bits/wordsize.h to headers.
3976
3977         * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
3978
3979         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
3980         headers to be used for 32bit and 64bit ABI compilations.
3981         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
3982         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
3983         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
3984         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
3985         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
3986
3987         * sysdeps/wordsize-64/bits/elfclass.h: Remove.
3988         * sysdeps/wordsize-64/bits/environments.h: Remove.
3989         * sysdeps/wordsize-64/stdint.h: Remove.
3990         * sysdeps/wordsize-64/inttypes.h: Remove.
3991         * sysdeps/wordsize-64/bits/wordsize.h: New file.
3992
3993         * sysdeps/wordsize-32/bits/elfclass.h: Remove.
3994         * sysdeps/wordsize-32/bits/environments.h: Remove.
3995         * sysdeps/wordsize-32/stdint.h: Remove.
3996         * sysdeps/wordsize-32/inttypes.h: Remove.
3997         * sysdeps/wordsize-32/bits/wordsize.h: New file.
3998
3999 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
4000
4001         * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
4002         __align_cpy_16): New functions.
4003         (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
4004
4005         * sysdeps/sparc/sparc32/Versions: New file.
4006         * sysdeps/sparc/sparc64/Versions: New file.
4007         * sysdeps/sparc/Versions: Remove.
4008
4009 1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
4010
4011         * sysdeps/unix/sysv/linux/configure.in:
4012         On sparc64-*-linux*, set slibdir to /lib64 if prefix
4013         is /usr, plus set libdir to ${exec_prefix}/lib64.
4014         * sysdeps/unix/sysv/linux/configure: Regenerated.
4015         * config.make.in: Propagate libdir settings from configure
4016         to the Makefiles.
4017         * shlib-versions: sparc64-*-linux* dynamic linker is
4018         /lib64/ld-linux.so.2.
4019
4020 1999-05-18  Thorsten Kukuk  <kukuk@suse.de>
4021
4022         * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
4023         RPC connection.
4024
4025 1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>
4026
4027         * sysdeps/sparc/sparc64/rawmemchr.S: New file.
4028         * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
4029
4030         * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
4031         contains garbage in bits 8-63.
4032         * sysdeps/sparc/sparc64/memset.S: Ditto.
4033         * sysdeps/sparc/sparc64/strchr.S: Ditto.
4034
4035 1999-05-18  Ulrich Drepper  <drepper@cygnus.com>
4036
4037         * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
4038
4039 1999-05-17  David S. Miller  <davem@redhat.com>
4040
4041         * sysdeps/sparc/sparc32/atomicity.h: New file.
4042         * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
4043         * sysdeps/sparc/sparc64/atomicity.h: New file.
4044         * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
4045         sysdep-CFLAGS.
4046
4047 1999-05-18  Richard Henderson  <rth@twiddle.net>
4048
4049         * sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.
4050
4051 1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4052
4053         * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
4054         posix/sys/types.h: Handle the case of __GNUC__=3,
4055         __GNUC_MINOR__=(anything).
4056
4057 1999-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4058
4059         * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
4060         if _FORCE_INLINES.
4061
4062 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
4063
4064         * elf/Makefile (distribute): Remove dl-origin.h.
4065         Add dl-dst.h and gen-trusted-dirs.awk.
4066
4067 1999-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4068
4069         * sysdeps/i386/i486/Versions: New file with inline functions from
4070         sysdeps/i386/i486/bits/string.h for now.
4071
4072         * sysdeps/i386/Versions: Add inline functions from
4073         sysdeps/i386/bits/string.h.
4074
4075         * string/Versions: Add inline functions from <bits/string2.h>.
4076
4077         * string/Makefile (routines): Add string-inlines.
4078         * string/string-inlines.c: New file, used for implementation of
4079         extern inline functions.
4080
4081         * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
4082         non inlined versions of functions.
4083         * string/bits/string2.h: Likewise.
4084         * sysdeps/i386/bits/string.h: Likewise.
4085
4086 1999-05-17  Ulrich Drepper  <drepper@cygnus.com>
4087
4088         * inet/arpa/tftp.h: Add second packed attribute.
4089
4090 1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4091
4092         * malloc/malloc.c: Cleanup to bring in line with released
4093         stand-alone version `ptmalloc'.  Update some comments.
4094         (internal_function): Move fallback definition so that the source
4095         compiles outside of libc, and use it in more places.
4096         (malloc_atfork): Fix when malloc_check is in use.
4097
4098 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4099
4100         * stdlib/tst-strtod.c: Fix typo.
4101
4102 1999-05-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4103
4104         * elf/dl-close.c (_dl_close): Add cast to avoid warning about
4105         const incorrectness.
4106
4107 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
4108
4109         * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
4110
4111 1999-05-16  Thorsten Kukuk  <kukuk@suse.de>
4112
4113         * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
4114         * sunrpc/key_call.c: Fix memory leak, close file handle.
4115         * nis/nis_creategroup.c: Use malloc instead of calloc,
4116         set ctime and mtime.
4117         * nis/nis_subr.c: Check for realloc result.
4118         * nis/nis_file.c: Fix memory leak.
4119         * nis/nis_table.c: Pretty print.
4120         * nis/nis_getservlist.c: Likewise.
4121         * nis/nis_ismember.c: Likewise.
4122         * nis/nis_lookup.c: Likewise.
4123         * nis/nis_ping.c: Likewise.
4124         * nis/nis_removemember.c: Likewise.
4125         * nis/nis_util.c: Likewise, check calloc result.
4126
4127 1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>
4128
4129         * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
4130         * sysdeps/generic/sys/socketvar.h: ... here.
4131         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
4132         * sysdeps/generic/netinet/in_systm.h: ... here.
4133         * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
4134         sys/socketvar.h.
4135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
4136         * inet/Makefile (headers): Add netinet/in_systm.h here.
4137         * socket/Makefile (headers): Add sys/socketvar.h here.
4138
4139 1999-05-15  Ulrich Drepper  <drepper@cygnus.com>
4140
4141         * stdlib/strtol.c: Optimize inner loop of long long versions.
4142
4143         * sysdeps/gnu/utmpx.h: Add needed type definitions according to
4144         Unix98.  Add forward declaration of struct utmp.
4145
4146 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
4147
4148         * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
4149         calloc.
4150
4151         * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
4152         * nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
4153         memory allocation results.
4154
4155 1999-05-14  Mark Kettenis  <kettenis@gnu.org>
4156
4157         * sysdeps/generic/getutmp.c: Include <string.h>
4158         (getutmp): Rewrite to only copy those members that are really
4159         present in `struct utmp'.
4160         * sysdeps/generic/getutmpx.c: Likewise.
4161
4162 1999-05-14  Ulrich Drepper  <drepper@cygnus.com>
4163
4164         * nss/getXXbyYY.c: Add free_mem function which disposes all
4165         statically allocated memory when debugging.
4166         * nss/getXXent.c: Likewise.
4167         * nss/nsswitch.c: Likewise.
4168
4169 1999-05-13  Ulrich Drepper  <drepper@cygnus.com>
4170
4171         * sysdeps/gnu/getutmpx.c: New file.
4172         * sysdeps/gnu/getutmp.c: New file.
4173
4174 1999-05-13  H.J. Lu  <hjl@gnu.org>
4175
4176         * login/Versions (getutmpx): Added to GLIBC_2.1.1.
4177         (getutmp): Likewise.
4178
4179         * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
4180         getutmpx for login.
4181
4182         * sysdeps/gnu/utmpx.h (getutmp): Added.
4183         (getutmpx): Likewise.
4184
4185         * sysdeps/generic/getutmp.c: New file.
4186
4187         * sysdeps/generic/getutmpx.c: New file.
4188
4189 1999-05-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4190
4191         * glibcbug.in (BUGGLIBC): Change address to
4192         libc-alpha@sourceware.cygnus.com.
4193
4194 1999-05-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4195
4196         * resolv/arpa/nameser.h: Add C++ protectors.
4197
4198 1999-05-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4199
4200         * iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
4201         Elad Tsur <eladts@post.tau.ac.il>.
4202
4203 1999-05-11  Ulrich Drepper  <drepper@cygnus.com>
4204
4205         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
4206         * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
4207         lazily if LD_BIND_NOW is not set.
4208         * elf/dl-support.c (_dl_lazy): New variable.
4209         (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
4210         * elf/rtld.c (_dl_lazy): new global variable.
4211         ( dl_main): Remove lazy, replace it by _dl_lazy.
4212
4213 1999-05-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4214
4215         * locale/setlocale.c (new_composite_name): Check also whether the
4216         first category name differs.
4217
4218 1999-05-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4219
4220         * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
4221         the generic one.
4222
4223 1999-05-11  Philip Blundell  <pb@nexus.co.uk>
4224
4225         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
4226         structure; storage suitable for any socket address.
4227         * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
4230         sockaddr_storage): Likewise.
4231
4232         * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
4233         platform.
4234
4235 1999-05-10  Ulrich Drepper  <drepper@cygnus.com>
4236
4237         * hesiod/Versions: Change _nss_hesiod_getpwuid and
4238         _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
4239         _nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.
4240
4241 1999-05-09  Mark Kettenis  <kettenis@gnu.org>
4242
4243         * hurd/get-host.c (_hurd_get_host_config): Return an empty value
4244         if the file is empty.
4245
4246 1999-05-07  Ulrich Drepper  <drepper@cygnus.com>
4247
4248         * elf/do-lookup.h: Fix typo in comment.
4249
4250         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
4251         f_bsize to help some broken programs.
4252
4253         * stdio-common/tst-printf.c: Add test case for last _itoa problem.
4254
4255         * stdio-common/vfprintf.c: Fix typo.
4256
4257 1999-05-06  Ulrich Drepper  <drepper@cygnus.com>
4258
4259         * elf/link.h (struct link_map): New field l_phdr_allocated.
4260         * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
4261         the program header being part of any loaded segment.  If it is not
4262         allocate memory and set l_phdr_allocated flag.
4263         * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
4264
4265         * nss/digits_dots.c: Correct return value interpretation of
4266         inet_ntoa.  Fix PR libc/1109.
4267
4268 1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>
4269
4270         * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
4271
4272 1999-05-06  Thorsten Kukuk  <kukuk@suse.de>
4273
4274         * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
4275         * stdlib/fpioconst.c: Move #endif before end of struct.
4276
4277 1999-05-05  Ulrich Drepper  <drepper@cygnus.com>
4278
4279         * Versions.def (ld.so): Add GLIBC_2.1.1.
4280         * elf/Makefile (routines): Add dl-origin.
4281         (tests): Add origtest.  Add dependencies for the program.
4282         * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
4283         _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
4284         * elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
4285         (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
4286         DT_AUXILIARY, and DT_FILTER filenames.
4287         * elf/dl-load.c (expand_dynamic_string_token): Explode into
4288         two functions and three macros.
4289         (_dl_dst_count, _dl_dst_substitute): New functions.
4290         * elf/dl-dst.h: New file.
4291         * elf/dl-open.c (_dl_open): Take extra parameter with address of
4292         caller.  Pass address in args structure.
4293         (dl_open_worker): Recognize and expand DSTs in filename.
4294         * elf/ldsodefs.h (_dl_open): Adapt prototype.
4295         * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
4296         (__dlopen_check): Pass caller address to dlopen_doit in args.
4297         * elf/dlopendoit.c: Likewise.
4298         * iconv/gconv_dl.c: Adapt call of _dl_open.
4299         * nss/nsswitch.c: Likewise.
4300         * elf/origtest.c: New file.
4301         * sysdeps/generic/dl-origin.h: Moved to...
4302         * sysdeps/generic/dl-origin.c: ...here.
4303         * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
4304         * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
4305
4306         * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
4307         with specific bases and only few bits set in second word.
4308
4309         * timezone/Makefile (install-others): Create target directory
4310         before creating tzfiles.
4311
4312 1999-05-05  Thorsten Kukuk  <kukuk@suse.de>
4313
4314         * nis/nis_file.c (readColdStartFile): Allocate memory only after
4315         the file is opened successfully.
4316
4317         * nis/nis_table.c: Fix some memory leaks.
4318
4319 1999-05-04  Ulrich Drepper  <drepper@cygnus.com>
4320
4321         * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
4322         variable.
4323
4324         * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
4325         around DST.  Correctly ignore ORIGIN IN SUID binaries.
4326
4327 1999-05-03  Ulrich Drepper  <drepper@cygnus.com>
4328
4329         * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
4330         * sysdeps/generic/strtok.c: Likewise.
4331
4332         * string/tester.c: Add test of rawmemchr.
4333
4334         * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
4335         specification.  It's not necessary.
4336
4337         * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
4338         * elf/gen-trusted-dirs.awk: New file.
4339         * elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
4340         from SYSTEM_DIRS macro.
4341         (system_dirs_len): New variable.  Contains lengths of system_dirs
4342         strings.
4343         (fillin_rpath): Rewrite for systems_dirs being a simple string.
4344         Improve string comparisons.  Change parameter trusted to be a flag.
4345         Change all callers.
4346         (_dt_init_paths): Improve using new format for system_dirs.
4347
4348         * elf/dl-load.c (expand_dynamic_string_token): Don't expand
4349         $ORIGIN for SUID binaries.
4350
4351         * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
4352
4353 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4354
4355         * sunrpc/Makefile: Generate dependencies for all flavors of
4356         librpcsvc objects.
4357         (rpcgen-cmd): Pass -Y flag here and remove it from the macro
4358         invocations.
4359
4360 1999-05-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4361
4362         * elf/dlopenold.c: Move #if down after includes to get
4363         dependencies right.
4364
4365 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4366
4367         * sysdeps/generic/bzero.c: Undefine __bzero.
4368
4369 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
4370
4371         * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
4372         * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
4373         * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
4374         Patch by Craig Small <csmall@scooter.eye-net.com.au>.
4375
4376         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
4377         parameter to struct gaih_servtuple *.  Adapt appropriately.
4378         (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
4379         This fixes a memory leak.
4380         Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
4381
4382         * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
4383         and fpregset_t definition.  They are defined in ucontext.h.
4384
4385 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4386
4387         * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
4388         and struct ether_header must be packed on the ARM.  The default
4389         alignment constraints add padding to the end of the structures.
4390
4391 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
4392
4393         * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
4394         default alignment constraints add padding to the end of the
4395         structure and between members.
4396
4397 1999-05-02  Ulrich Drepper  <drepper@cygnus.com>
4398
4399         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
4400         _dl_cache_libcmp instead of strcmp.
4401
4402         * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
4403         fails on a file.
4404         Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
4405
4406 1998-03-30  Joel Klecker  <espy@debian.org>
4407
4408         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
4409         (sysdep-others,install-bin): Add lddlibc4.
4410
4411 1999-05-02  H.J. Lu  <hjl@gnu.org>
4412
4413         * timezone/zic.c (dolink): Remove the symlink destination first.
4414
4415         * catgets/open_catalog.c (__open_catalog): Set catalog->status
4416         to "nonexisting" if failed to open the file.
4417
4418 1999-05-01  Ulrich Drepper  <drepper@cygnus.com>
4419
4420         * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
4421         gcc3.
4422
4423         * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
4424         Prevent warnings from multiplication with 0x01010101 by another cast.
4425
4426 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4427
4428         * string/bits/string2.h (memset): Revert to previous version if
4429         unaligned writes are not available.
4430
4431 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4432
4433         * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
4434         better code in presence of the asm.
4435
4436 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4437
4438         * stdlib/fmtmsg.c (keywords): Increase array size for faster
4439         indexing.
4440
4441         * locale/localeinfo.h (_nl_category_names): Increase array element
4442         size for faster indexing.
4443         * locale/setlocale.c (_nl_category_names): Adjusted.
4444
4445 1999-04-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4446
4447         * iconv/gconv_conf.c (add_alias): Remove wrong cast.
4448
4449 1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4450
4451         * sysdeps/m68k/stackinfo.h: New file.
4452
4453 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4454
4455         * string/tester.c (test_strchrnul): New function.
4456         (test_memset): Test one more special case.
4457
4458         * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
4459         25% of all cases.
4460
4461         * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
4462         base types.
4463
4464         * string/bits/string2.h: Fix bugs I introduced in last change.
4465
4466         * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
4467         register stall.
4468         Extend memset optimization.
4469         Correct i686 version of memchr.
4470
4471 1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>
4472
4473         * sysdeps/i386/bzero.c: Add #undef __bzero.
4474
4475         * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
4476         EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
4477         exec server simulated a SIGTRAP before we even started up, so gdb is
4478         already happy.
4479
4480 1999-04-30  Ulrich Drepper  <drepper@cygnus.com>
4481
4482         * nss/digits_dots.c: Always initialize not_ok.
4483
4484 1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
4485
4486         * string/bits/string2.h (memset): Avoid arithmetic overflow at
4487         compile time, which produces obnoxious warnings.  If GCCv2 is
4488         in use, map __bzero to __builtin_memset to enable that
4489         optimization.
4490
4491 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
4492
4493         * string/bits/string2.h: Add more memset optimizations.
4494
4495         * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
4496
4497         * resolv/inet_pton.c (inet_pton4): Little optimizations.
4498         (inet_pton6): Likewise.
4499
4500         * nss/getXXbyYY_r.c: Include assert.h.
4501         * nss/getXXbyYY.c: Likewise.
4502
4503 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4504
4505         * termios/tcgetsid.c (tcgetsid): Rename variable to
4506         tiocgsid_does_not_work.
4507
4508 1999-04-29  Ulrich Drepper  <drepper@cygnus.com>
4509
4510         * inet/getnameinfo.c (nrl_domainname): Fix last patch.
4511
4512 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4513
4514         * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
4515         This allows e.g. gethostbyname to accept "10.1234".
4516         Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
4517
4518         * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
4519         non quad IPv4 numbers.
4520
4521 1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4522
4523         * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
4524
4525 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4526
4527         * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
4528         * argp/argp-parse.c (_argp_hang): Likewise.
4529         * argp/argp-pv.c (argp_program_version): Likewise.
4530         * argp/argp-pvh.c (argp_program_version_hook): Likewise.
4531         * inet/ether_hton.c (ether_hton, startp): Likewise.
4532         * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
4533         * inet/getnetgrent_r.c (setup, startp): Likewise.
4534         * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
4535         * intl/localealias.c (string_space, string_space_act, string_space_max,
4536         nmap, maxmap): Likewise.
4537         * libio/iopopen.c (proc_file_chain): Likewise.
4538         * libio/oldiopopen.c (old_proc_file_chain): Likewise.
4539         * locale/lc-collate.c (__collate_table, __collate_extra,
4540         __collate_element_hash, __collate_element_strings,
4541         __collate_element_values): Likewise.
4542         * malloc/mcheck.c (mcheck_used): Likewise.
4543         * malloc/mtrace.c (added_atexit_handler): Likewise.
4544         * malloc/set-freeres.c (already_called): Likewise.
4545         * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
4546         * misc/syslog.c (LogStat, LogTag): Likewise.
4547         * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
4548         * nss/getXXbyYY_r.c (startp): Likewise.
4549         * posix/getopt.c (optarg, __getopt_initialized): Likewise.
4550         * posix/regex.c (init_syntax_once) [done]: Likewise.
4551         (debug): Likewise.
4552         * string/strfry.c (init): Likewise.
4553         * sunrpc/svc_run.c (svc_top): Likewise.
4554         * posix/euidaccess.c (have_ids): Likewise.
4555         * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
4556         * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
4557         * time/getdate.c (getdate_err): Likewise.
4558         * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
4559         Likewise.
4560         * time/tzset.c (old_tz, is_initialized): Likewise.
4561
4562         * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
4563         of static data with zero.
4564         * signal/allocrtsig.c (init): Likewise.
4565
4566         * string/Makefile (routines): Add strchrnul.
4567         * string/Versions [GLIBC_2.1.1]: Add strchrnul.
4568         * string/string.c: Add strchrnul prototype.
4569         * include/string.h: Add __strchrnul prototype.
4570         * sysdeps/generic/strchrnul.c: New file.
4571         * sysdeps/i386/strchrnul.S: New file.
4572         * sysdeps/i386/bits/string.c: Add strchrnul optimization.
4573         * sysdeps/i386/i486/bits/string.c: Likewise.
4574         * argp/argp-help.c (argp_args_usage): Use __strchrnul.
4575         * inet/ether_line.c (ether_line): Likewise.
4576         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
4577         * nss/nsswitch.c (nss_parse_file): Likewise.
4578         * posix/execvp.c (execvp): Likewise.
4579         * posix/fnmatch.c (internal_fnmatch): Likewise.
4580         * resolv/res_hconf.c (_res_hconv_init): Likewise.
4581         * resolv/res_init.c (res_init): Likewise.
4582         * stdlib/fmtmsg.c (init): Likewise.
4583         * stdlib/getsubopt.c (getsubopt): Likewise.
4584
4585         * catgets/catgets.c (catopen): Only allocate one memory block.
4586         (catclose): Only one free call necessary.
4587
4588         * catgets/open_catalog.c (__open_catalog): Simplify handling of
4589         file descriptor.
4590
4591         * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
4592         of real functions.  Simplify _tolower and _toupper.
4593
4594         * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
4595         variable.
4596
4597         * iconv/gconv.h (struct gconv_info): Change data element from pointer
4598         to array of size 0.
4599         * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
4600         * iconv/gconv_close.c (__gconv_close): Don't free data.
4601
4602         * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
4603         insert new alias.
4604
4605         * iconv/gconv_db.c (add_derivation): More efficient copying.  Check
4606         for error while inserting in tree.
4607
4608         * include/time.h: Pretty print.
4609
4610         * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
4611         in table and lots of relocations.
4612         * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
4613         string pointers in table and lots of relocations.
4614
4615         * intl/finddomain.c: Remove definition of strchr macro.
4616
4617         * io/ftw.c (nftw_arr, ftw_arr): Make const.
4618
4619         * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
4620
4621         * locale/localeinfo.h (_nl_category_names): Change into an array with
4622         fixed width char string elements.
4623         * locale/setlocale.c (_nl_category_names): Likewise.
4624         (_nl_current): Make global.
4625         * locale/nl_langinfo.c (nldata): Removed.  Use _nl_current now.
4626
4627         * malloc/Makefile (distribute): Add stackinfo.h.
4628         * sysdeps/generic/stackinfo.h: New file.
4629         * sysdeps/i386/stackinfo.h: New file.
4630         * posix/execl.c: Use stackinfo.h in optimizing alloca use.
4631         * posix/execle.c: Likewise.
4632         * posix/execlp.c: Likewise.
4633
4634         * nis/nis_table.c (__create_ib_request): Always use realloc.
4635
4636         * posix/execvp.c (execute): Rename to script_execute and keep only
4637         code to execute using shell.
4638         (execvp): Call execv directly and only fall back on script_execute.
4639
4640         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
4641         and always use xdigits instead.
4642
4643         * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
4644         where appropriate.
4645
4646         * stdlib/fpioconst.h (__tens): New declaration.
4647         (struct mp_power): Remove array, add arrayoff element.
4648         * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
4649         __tens array and add in _fpioconst_pow10 offsets into __tens.
4650         * stdio-common/printf_fp.c: Rewrite to use new __tens array.
4651         * stdlib/strtod.c: Likewise.
4652
4653         * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
4654
4655         * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
4656         of the list.
4657         * stdlib/atexit.c (__exit_funcs): Don't initialize.
4658
4659         * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
4660
4661         * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
4662         a single and an array with offsets.
4663
4664         * sunrpc/des_soft.c (partab): Make it const.
4665
4666         * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
4667         (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
4668         (__key_decryptsession_pk_LOCAL): Likewise.
4669         (__key_gendes_LOCAL): Likewise.
4670         (MESSENGER): Mark const.
4671         (key_call_private_main): Don't initialize with 0.
4672         (use_keyenvoy): Don't initialize with 0.
4673         (key_call): Rewrite to reverse logic of use_doors variable.
4674
4675         * sunrpc/netname.c (OPSYS): Define as array, not pointer.
4676         (startp): Don't initialize with zero.
4677
4678         * sunrpc/openchild.c (_openchild): Make first argument const.
4679
4680         * sunrpc/pmap_rmt.c (timeout): Mark const.
4681         * sunrpc/xcrypt.c (hex): Likewise.
4682
4683         * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
4684         initialization of global variables.
4685         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4686         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4687         * termios/tcgetsid.c: Likewise.
4688
4689         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
4690         fxsr to osfxsr.
4691
4692         * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
4693         block.  Add function to free memory if wanted.
4694         * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
4695
4696         * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
4697
4698         * wcsmbs/wmemset.c: Little code optimization.
4699
4700 1999-04-23  Paul Eggert  <eggert@twinsun.com>
4701
4702         * stdlib/strtoull.c: Surround strong_alias and weak_alias with
4703         ifdef _LIBC.
4704
4705 1999-04-28  Roland McGrath  <roland@baalperazim.frob.com>
4706
4707         * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
4708         implementation and just always fail with ENOSYS.  This entry point is
4709         obsolete.  Add link warning to that effect.
4710
4711 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4712
4713         * hurd/get-host.c: Include <hurd/lookup.h>.
4714
4715 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4716
4717         * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
4718         is != NULL.
4719
4720 1999-04-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4721
4722         * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
4723         ISO C9x and Unix98.
4724
4725 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4726
4727         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
4728         Patch by Peter Miller <millerp@canb.auug.org.au>.
4729
4730 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
4731
4732         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
4733         prefers loopback device.
4734
4735 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
4736
4737         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
4738         no_leading_period change.
4739
4740         * posix/testfnm.c: More test cases.
4741
4742 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
4743
4744         * include/dirent.h: Remove __getdirentries declaration, add __getdents
4745         and __getdents64.
4746         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
4747         * sysdeps/unix/readdir_r.c: Likewise.
4748         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4749         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4750         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
4751         __getdirentries.  Remove fourth argument.
4752         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
4753         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
4754         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
4755         Add getdirentries and getdirentries64.
4756         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
4757
4758         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
4759         pointer in case of an invalid [[: expression.
4760
4761         * posix/testfnm.c: Add more test cases.
4762
4763 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
4764
4765         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
4766         set, pass EXEC_SIGTRAP flag in exec RPC.
4767
4768 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4769
4770         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
4771         extra parameter.  Fix several more bugs involving wildcard and
4772         ranges.
4773         (fnmatch): New function.  Call internal_fnmatch.
4774
4775         * posix/testfnm.c: More test cases.
4776
4777 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4778
4779         * manual/install.texi (Configuring and compiling): Explain that
4780         files are changed in the source directory.
4781         Closes PR libc/981.
4782         (Configuring and compiling): Explain situation with PARALLELMFLAGS
4783         in the source directory.
4784
4785 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4786
4787         * locale/programs/ld-ctype.c: Spelling fixes.
4788         (ctype_finish): Fix argument of error message format.
4789         * locale/programs/ld-messages.c: Spelling fixes.
4790         * locale/programs/ld-monetary.c: Spelling fixes.
4791         * locale/programs/ld-time.c (time_finish): Make sure that name and
4792         format of era_entries are adjacent.
4793         (time_output): Reduce the size of the io vector.
4794
4795 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4796
4797         * manual/filesys.texi (Attribute Meanings): Move a misplaced
4798         paragraph.
4799
4800 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4801
4802         * locale/programs/ld-collate.c (collate_output): Convert
4803         undefined_offset to an array index.  Fix computation of other
4804         endian extra table.
4805
4806 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
4807
4808         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
4809         return success with empty value.
4810
4811 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
4812
4813         * posix/fnmatch.c: Include string.h also for glibc.
4814         (fnmatch, case '?'): Optimize if cascades a bit.
4815         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
4816
4817         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
4818
4819 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
4820
4821         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
4822         * iconv/gconv_int.h: Declare UTF16 functions.
4823         * iconv/gconv_simple.c: Add UTF16 conversion functions.
4824
4825 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4826
4827         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
4828         be used correctly as parameter for parse_dollars/parse_tilde.
4829
4830 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4831
4832         * manual/conf.texi (Utility Limits): Remove duplicate description
4833         of BC_DIM_MAX.
4834
4835 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
4836
4837         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
4838         outbufend for dst==NULL.
4839
4840 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4841
4842         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
4843         for dst==NULL.
4844         Fixes PR libc/1084.
4845
4846         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
4847         Fixes PR libc/1083.
4848
4849 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
4850
4851         * sunrpc/Makefile: Remove special handling of bootparam.x,
4852         add rpcsvc/bootparam.h to headers.
4853         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
4854         * sunrpc/rpcsvc/bootparam.x: Renamed to...
4855         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
4856
4857 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
4858
4859         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
4860         detect and handle invalid descriptors.
4861
4862 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
4863
4864         * timezone/zic.c (dolink): Append complete path not only filename
4865         to ../ list.
4866
4867 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4868
4869         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
4870
4871 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
4872
4873         * iconvdata/gconv-modules: Rename CP874 to IBM874.
4874         * iconvdata/Makefile: Likewise.
4875         * iconvdata/cp874.h: Removed.
4876         * iconvdata/cp874.c: Renamed to...
4877         * iconvdata/ibm874.c: ...this.
4878
4879 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4880
4881         * sysdeps/unix/sysv/linux/bits/types.h: Correct
4882         signed/unsigned-ness of blkcnt and fsblkcnt.
4883         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4884         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4885
4886         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
4887         SOL_AAL, and SOL_IRDA.
4888
4889 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4890
4891         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
4892         include "linux_fsinfo.h".
4893         Based on a patch by H.J. Lu <hjl@gnu.org>.
4894
4895 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
4896
4897         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
4898
4899 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
4900
4901         * nscd/cache.c (prune_cache): Only disable file checking for
4902         future if the file does not exist.
4903         Update file_mtime if cache was flushed.
4904
4905 1999-04-15  David S. Miller  <davem@redhat.com>
4906
4907         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
4908         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
4909
4910 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
4911
4912         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
4913         compilation of file.
4914
4915 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4916
4917         * Versions.def: Add GLIBC_2.1.1 to libpthread.
4918
4919         * iconvdata/Makefile (modules): Add KOI8-U.
4920         (distribute): Add koi8-u.c.
4921         (gen-8bit-gap-modules): Add koi8-u.
4922         * iconvdata/gconv-modules: Add KOI8-U entries.
4923         * iconvdata/koi8-u.c: New file.
4924
4925 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
4926
4927         * sunrpc/auth_des.c: 64bit fixes, security fixes.
4928         * sunrpc/auth_none.c: Pretty print.
4929         * sunrpc/auth_unix.c: Likewise.
4930         * sunrpc/authdes_prot.c: Likewise.
4931         * sunrpc/authuxprot.c: Likewise.
4932         * sunrpc/bindrsvprt.c: Likewise.
4933         * sunrpc/clnt_gen.c: Likewise.
4934         * sunrpc/rpc/xdr.h: Likewise.
4935         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
4936         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
4937         * sunrpc/rtime.c: Use new rpc_timeval.
4938         * sunrpc/svc_authux.c: Don't use *long pointers.
4939         * sunrpc/svcauth_des.c: Likewise + security fixes.
4940         * sunrpc/xdr_mem.c: Don't use *long pointers.
4941         * sunrpc/xdr_rec.c: Likewise.
4942         * sunrpc/xdr_sizeof.c: Likewise.
4943         * sunrpc/xdr_stdio.c: Likewise.
4944
4945 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4946
4947         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
4948         so that it is redone for each sending.
4949
4950 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4951
4952         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
4953
4954 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
4955
4956         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
4957         known to not exist don't try to load shared objects.
4958         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
4959
4960         * nscd/cache.c (prune_cache): The table might not be unused.  In
4961         this case do nothing.
4962
4963         * catgets/gencat.c (read_input_file): Don't drop white spaces
4964         between number/identifier and string.
4965         Patch by Dima Barsky <dima@pwd.hp.com>.
4966         If no white space at all follows number/identifier remove existing
4967         message with the number/identifier.
4968
4969 1999-04-14  H.J. Lu  <hjl@gnu.org>
4970
4971         * sunrpc/clnt_udp.c (is_network_up): New function.
4972         (clntudp_call): Call is_network_up () to check if any network
4973         interface is up in case of timeout.
4974
4975 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4976
4977         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
4978         * wctype/Makefile (tests): Add test_wcfuncs.
4979
4980 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
4981
4982         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
4983         architectures.
4984         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
4985         instead of CFLAGS.
4986         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
4987         instead of CFLAGS. For gnulib and string directories use
4988         -Wa,-Av9a gcc ASFLAGS.
4989         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
4990         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
4991         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
4992         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
4993         the same way as sparc-*.
4994
4995 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
4996
4997         * locale/programs/locfile.c (locfile_read): Fix typo.
4998         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
4999
5000 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
5001
5002         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
5003         restarted after being interrupted by a signal.  The parameters on
5004         the stack were corrupted by the signal handler.
5005
5006         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
5007         restarted after being interrupted by a signal.  The parameters on
5008         the stack were corrupted by the signal handler.
5009
5010 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5011
5012         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
5013         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
5014
5015 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
5016
5017         * posix/wordexp-test.c: In field-splitting test cases where
5018         subshells were involved, unset IFS first: some shells (ash) use
5019         IFS even when no expansion is performed.
5020
5021 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5022
5023         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
5024         the real end of the chunk, not some random point inbetween.
5025         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
5026         obstack when growing.  Use fast version of obstack_blank when
5027         shrinking.
5028         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
5029         allocating the vtable pointer.
5030         (_IO_obstack_vprintf): Adjust for above change and avoid
5031         unnecessary casts.  Use fast version of obstack_blank when
5032         shrinking.
5033         Fixes PR libc/1075.
5034
5035 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
5036
5037         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
5038         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
5039
5040 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5041
5042         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
5043         is seen, as well as fixing semantics.  Don't reset the word count
5044         to zero when an invalid character is seen, but leave it as it was
5045         (this makes a difference with WRDE_APPEND).
5046
5047         * posix/wordexp-test.c: More test cases.
5048
5049         * posix/wordexp.c (parse_param): In words like ${var#pattern},
5050         always expand pattern when it is needed.  Also, handle quoting in
5051         pattern properly.
5052
5053 1999-04-12  Philip Blundell  <philb@gnu.org>
5054
5055         * elf/elf.h: Update ARM definitions to match current gas2.
5056
5057         * sysdeps/arm/bits/endian.h: Support big endian operation.
5058
5059         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
5060         Don't bother range checking the port number.
5061
5062         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
5063
5064         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
5065         the syscall name in assembler output for ease of debugging.
5066
5067         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
5068         compiler behaviour.
5069         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
5070         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
5071         (sysdep_routines): Add sigrestorer.
5072
5073         * string/tester.c (test_strcpy): Add new tests for unaligned
5074         arguments.
5075         * sysdeps/arm/bits/string.h: Delete inline implementations of
5076         strcpy and stpcpy.
5077
5078 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
5079
5080         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
5081
5082 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
5083
5084         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
5085
5086 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
5087
5088         * iconvdata/Makefile (modules): Add TIS-620.
5089         (distribute): Add tis-620.c.
5090         (gen-8bit-gap-modules): tis-620.
5091         * iconvdata/tis-620.c: New file.
5092         * iconvdata/gconv-modules: Add TIS-620 entries.
5093
5094         * iconvdata/asmo_449.c: Correct comment.
5095
5096 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5097
5098         * manual/install.texi (Configuring and compiling): Comment out
5099         description of --disable-static since this doesn't work currently
5100         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
5101
5102 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
5103
5104         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
5105         use binary search.
5106         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5107
5108 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5109
5110         * scripts/test-installation.pl (installation_problem): Skip
5111         libnss1_* libraries from glibc-compat add-on.
5112
5113 1999-04-07  H.J. Lu  <hjl@gnu.org>
5114
5115         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
5116         libstdc++ 2.7.2.
5117         * posix/Versions (__waitpid): Likewise.
5118
5119 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5120
5121         * manual/install.texi (Reporting Bugs): Add section about reported
5122         bugs and correct email address of glibcbug script.
5123
5124 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
5125
5126         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
5127         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
5128         xdr_u_longlong_t. Based on patch from Dan Shechter
5129         <damageboy@isdn.net.il>.
5130         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
5131         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
5132
5133         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
5134
5135 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5136
5137         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
5138         directly if getdents returns with error set.
5139
5140 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5141
5142         * locale/langinfo.h (THOUSEP): Rename second occurence of
5143         THOUSANDS_SEP to THOUSEP.
5144         Reported by Roman Belenov <roman@nstl.nnov.ru>.
5145
5146 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
5147
5148         * hurd/STATUS: File removed.  Moved items that are still relevant into
5149         TODO list in hurd source.
5150
5151 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
5152
5153         * sysdeps/mach/hurd/bits/time.h: New file.
5154         * sysdeps/mach/hurd/getrusage.c: New file.
5155         * sysdeps/mach/hurd/clk_tck.c: New file.
5156         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
5157         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
5158         (sysdep_routines): Add clk_tck.
5159         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
5160         implemented.
5161
5162 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
5163
5164         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
5165         (closelog): But instead here.
5166         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
5167
5168 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5169
5170         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
5171         the source directory.  Fixes PR libc/1059.
5172
5173 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5174
5175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
5176         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5177
5178 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
5179
5180         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
5181         * iconvdata/testdata/ISO-8859-14: New file.
5182         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
5183         * iconvdata/testdata/ISO-8859-15: New file.
5184         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
5185
5186 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
5187
5188         * iconvdata/testdata/CP1258: New file.
5189         * iconvdata/testdata/CP1258..UTF8: New file.
5190         * iconvdata/TESTS: Add CP1258 entry.
5191
5192         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
5193
5194         * timezone/africa: Update from tzdata1999d.
5195         * timezone/europe: Likewise.
5196         * timezone/northamerica: Likewise.
5197
5198 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
5199
5200         * login/programs/pt_chown.c (main): Save effective user ID before
5201         dropping priviliges and use this to check if the program is
5202         properly installed.
5203
5204 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
5205
5206         * iconvdata/testdata/CP1254: Update for charmap changes.
5207         * iconvdata/testdata/CP1254..UTF8: Likewise.
5208         * iconvdata/testdata/CP1255: Likewise.
5209         * iconvdata/testdata/CP1255..UTF8: Likewise.
5210         * iconvdata/testdata/CP1256: Likewise.
5211         * iconvdata/testdata/CP1256..UTF8: Likewise.
5212         * iconvdata/testdata/CP1257: Likewise.
5213         * iconvdata/testdata/CP1257..UTF8: Likewise.
5214
5215         * iconvdata/Makefile (distribute): Remove cp1258.h.
5216         (gen-8bit-gap-modules): Add cp1258.
5217         * iconvdata/cp1258.h: Removed.
5218
5219 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
5220
5221         * timezone/tst-timezone.c (tests): Add more cases.
5222         (check_tzvars): Mark errors clearer.
5223         (main): Likewise.
5224
5225 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5226
5227         * login/programs/pt_chown.c: Drop privileges if invoked with
5228         arguments.  Don't close the master pty.
5229
5230 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
5231
5232         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
5233         Minor optimization.
5234
5235 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
5236
5237         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
5238         relocation for SUID binaries.
5239
5240 1999-03-29  Paul Eggert  <eggert@twinsun.com>
5241
5242         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
5243         while in child process.
5244
5245 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
5246
5247         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
5248         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
5249         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
5250         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
5251         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
5252
5253         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
5254         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
5255         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
5256         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
5257         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
5258         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
5259         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
5260         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
5261         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
5262         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
5263         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
5264         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
5265         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
5266         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
5267         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
5268         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
5269         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
5270         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
5271         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
5272         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
5273         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
5274         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
5275         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
5276         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
5277         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
5278         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
5279
5280         * sysdeps/sparc/sparc32/bcopy.c: New file.
5281         * sysdeps/sparc/sparc32/bzero.c: New file.
5282         * sysdeps/sparc/sparc32/memchr.S: New file.
5283         * sysdeps/sparc/sparc32/memcpy.S: New file.
5284         * sysdeps/sparc/sparc32/memmove.c: New file.
5285         * sysdeps/sparc/sparc32/memset.S: New file.
5286         * sysdeps/sparc/sparc32/stpcpy.S: New file.
5287         * sysdeps/sparc/sparc32/strchr.S: New file.
5288         * sysdeps/sparc/sparc32/strrchr.c: New file.
5289         * sysdeps/sparc/sparc32/strcpy.S: New file.
5290         * sysdeps/sparc/sparc32/strlen.S: New file.
5291         * sysdeps/sparc/sparc32/strcat.S: New file.
5292         * sysdeps/sparc/sparc32/strcmp.S: New file.
5293
5294         * sysdeps/sparc/sparc64/bcopy.c: New file.
5295         * sysdeps/sparc/sparc64/bzero.c: New file.
5296         * sysdeps/sparc/sparc64/memchr.S: New file.
5297         * sysdeps/sparc/sparc64/memcmp.S: New file.
5298         * sysdeps/sparc/sparc64/memcpy.S: New file.
5299         * sysdeps/sparc/sparc64/memset.S: New file.
5300         * sysdeps/sparc/sparc64/stpcpy.S: New file.
5301         * sysdeps/sparc/sparc64/strcat.S: New file.
5302         * sysdeps/sparc/sparc64/strchr.S: New file.
5303         * sysdeps/sparc/sparc64/strcmp.S: New file.
5304         * sysdeps/sparc/sparc64/strcpy.S: New file.
5305         * sysdeps/sparc/sparc64/strcspn.S: New file.
5306         * sysdeps/sparc/sparc64/strlen.S: New file.
5307         * sysdeps/sparc/sparc64/strncpy.S: New file.
5308         * sysdeps/sparc/sparc64/strpbrk.S: New file.
5309         * sysdeps/sparc/sparc64/strrchr.c: New file.
5310         * sysdeps/sparc/sparc64/strspn.S: New file.
5311         * sysdeps/sparc/sparc64/stpncpy.S: New file.
5312         * sysdeps/sparc/sparc64/strncmp.S: New file.
5313
5314         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
5315         Append -fPIC, don't replace.
5316
5317         * configure.in: Recognize sparcv8plus / sparcv9.
5318
5319 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5320
5321         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
5322         char * to avoid C++ warning.
5323         Patch by yasushi@cs.washington.edu [PR libc/1035].
5324
5325 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5326
5327         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
5328         declared in stdlib.h, correct return value of mkstemp.
5329         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
5330
5331         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
5332         from Linux 2.2.5.
5333
5334 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5335
5336         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
5337         C++ warning.
5338
5339         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
5340         inline functions.  Closes PR libc/1049.
5341
5342 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5343
5344         * timezone/README: Update from tzdata1999c and tzcode1999c.
5345
5346         * timezone/africa: Update from tzdata1999c.
5347         * timezone/antarctica: Likewise.
5348         * timezone/asia: Likewise.
5349         * timezone/australasia: Likewise.
5350         * timezone/europe: Likewise.
5351         * timezone/northamerica: Likewise.
5352         * timezone/southamerica: Likewise.
5353         * timezone/zone.tab: Likewise.
5354
5355         * timezone/zic.c: Update from tzcode1999c.
5356
5357 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5358
5359         * Makerules: Add $(common-objpfx)Versions.all to common-generated
5360         outside of ifndef avoid-generated.
5361
5362         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
5363         in iofdopen.c.
5364         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
5365         iofopen.c.
5366         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
5367         in iofclose.c.
5368         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
5369         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
5370
5371 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
5372
5373         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
5374         if we build the profiled library.
5375
5376 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5377
5378         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
5379         Jaeger <aj@arthur.rhein-neckar.de>
5380
5381 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
5382
5383         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
5384         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
5385         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
5386
5387 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
5388
5389         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
5390         works properly in subdirs.
5391
5392 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
5393
5394         * sysdeps/mach/hurd/Makefile: Undo last change.
5395         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
5396         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
5397
5398         * mach/Machrules (+preinit, +postinit, +interp,
5399         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
5400         linked just like other shared libraries.
5401         (interface.so): Fix typo in defn, so it works.
5402         ($(objpfx)$(interface.so)): Make it depend on libc.so.
5403
5404 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
5405
5406         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
5407         $(link-rpcuserlibs).
5408
5409 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5410
5411         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
5412         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
5413         targets if not building shared libraries.
5414
5415 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5416
5417         * configure.in: Also look in $PATH when searching for
5418         install-info.  Remove autoconf bug workaround and require autoconf
5419         2.13.
5420
5421 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5422
5423         * db/Makefile: Don't try to install shared library link if not
5424         building with shared libs.
5425
5426 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5427
5428         * rt/Makefile: Link against static library if no shared lib is
5429         available.
5430
5431         * localedata/Makefile: The shells scripts implementing the test
5432         require the dynamic linker which is not available with
5433         --disable-shared.  Skip the test if --disable-shared is given.
5434
5435         * linuxthreads/Makefile: Link test against static libpthread if no
5436         shared lib is available.
5437
5438         * iconvdata/Makefile (tests): Run iconv-test only if we're
5439         building shared libraries.
5440         * elf/Makefile (tests): Likewise for elf tests.
5441
5442         * posix/Makefile: The test frameworks globtest and wordexp-test
5443         require the dynamic linker which is not available with
5444         --disable-shared.  Skip the test if --disable-shared is given.
5445
5446         * grp/Makefile (otherlibs): For static nss build link against
5447         necessary libs.
5448
5449 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5450
5451         * debug/Makefile (install-bin): Install and build catchsegv only
5452         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
5453         libc/965].
5454
5455 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5456
5457         * time/tzfile.c (__tzfile_read): Handle the case where there are
5458         transitions but no DST.
5459
5460 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
5461
5462         * mach/Machrules (extra-libs-others): Add $(interface-library) here
5463         too, so it gets built in the others pass rather than the lib pass.
5464         This is necessary since the RPC libraries need to be linked against
5465         libc.
5466
5467 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
5468
5469         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
5470         _itoa_word decl.
5471
5472         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
5473         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
5474         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
5475         versions of lib{mach,hurd}user.so without reference to libc.so,
5476         then link libc.so against that to get deps and symbol versions, then
5477         finally link real lib*user.so against libc.so.
5478
5479         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
5480         Support whole-file locking (only) by using the file_lock RPC.  This
5481         has very wrong semantics, but is better than nothing for the time
5482         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
5483         protocols that will be somewhat hairy to specify.)
5484
5485 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
5486
5487         * sysdeps/mach/hurd/ptsname.c: New file.
5488
5489 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5490
5491         * timezone/asia: Fix rule in Asia/Nicosia entry.
5492
5493 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5494
5495         * manual/getopt.texi (Using Getopt): Explain "::" in option
5496         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
5497
5498 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
5499
5500         * sunrpc/clnt_unix.c: Fix creation of parameters for
5501         sendmsg/recvmsg on non intel platforms.
5502         * sunrpc/svc_unix.c: Likewise.
5503
5504 1999-03-18  Philip Blundell  <philb@gnu.org>
5505
5506         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
5507         implementation.
5508
5509 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5510
5511         * timezone/africa: Update from tzdata1999b.
5512         * timezone/asia: Likewise.
5513         * timezone/australasia: Likewise.
5514         * timezone/europe: Likewise.
5515         * timezone/northamerica: Likewise.
5516         * timezone/southamerica: Likewise.
5517         * timezone/zone.tab: Likewise.
5518
5519         * timezone/README: Mention tzdata1999b.
5520
5521 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
5522
5523         * sysdeps/generic/segfault.c (write_strsignal): New function.
5524         (catch_segfault): Use it instead of calling strsignal.
5525
5526 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5527
5528         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
5529         char to avoid warning.
5530
5531 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5532
5533         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
5534
5535         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
5536         outbuf to unsigned char to avoid warning.
5537
5538 1999-03-11  David S. Miller  <davem@redhat.com>
5539
5540         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
5541         masks.
5542         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
5543
5544 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5545
5546         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
5547         `unsigned char'.
5548         (gconv_step_data): Likewise.
5549         * iconv/gconv_int.h (__gconv): Likewise.
5550         (__BUILINT_TRANS): Likewise.
5551         * iconv/gconv.c (__gconv): Likewise.
5552         * iconv/iconv.c (iconv): Add casts for call of __gconv.
5553         * iconv/skeleton.c: Change local parameters and variable from `char' to
5554         `unsigned char'.  Remove casts from calls into modules.
5555         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
5556         `char' to `unsigned char'.
5557         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
5558         * wcsmbs/mbrtowc.c: Likewise.
5559         * wcsmbs/mbsnrtowcs.c: Likewise.
5560         * wcsmbs/mbsrtowcs.c: Likewise.
5561         * wcsmbs/wcrtomb.c: Likewise.
5562         * wcsmbs/wcsnrtombs.c: Likewise.
5563         * wcsmbs/wcsrtombs.c: Likewise.
5564         * wcsmbs/wctob.c: Likewise.
5565
5566 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5567
5568         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
5569         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
5570         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
5571         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
5572         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
5573         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
5574
5575 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5576
5577         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
5578         _hurd_select if TIMEMOUT is -1.
5579
5580 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
5581
5582         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
5583
5584 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5585
5586         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
5587         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
5588
5589 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5590
5591         * manual/libc.texinfo: Undo last change for now.
5592
5593 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
5594
5595         * intl/locale.alias: Add entries for Croatian.
5596         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
5597
5598 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
5599
5600         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
5601         if the opened master pty really is a pty.  `isatty' checks for
5602         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
5603         if we are out of pty's.
5604
5605 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
5606
5607         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
5608         opened file is closed on exec.
5609         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
5610         opened socket.
5611
5612 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5613
5614         * manual/llio.texi (File Position Primitive): Reformat @end
5615         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
5616
5617 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
5618
5619         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
5620         entry is found.
5621         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5622         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
5623
5624         * locale/programs/localedef.c (main): Initialize `cat' to please
5625         the compiler.
5626
5627 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
5628
5629         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
5630         check for root-owned symlinks and reject them too.
5631
5632 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5633
5634         * stdio-common/printf_fphex.c: Move to ...
5635         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
5636         extended precision number.
5637         * sysdeps/m68k/printf_fphex.c: New file.
5638
5639 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5640
5641         * manual/stdio.texi: Fix typos.
5642
5643 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
5644
5645         * version.h (VERSION): Bump to 2.1.1.
5646
5647 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
5648
5649         * nis/ypclnt.c: Try only twice to connect to NIS server.
5650
5651 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5652
5653         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
5654
5655 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5656
5657         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
5658         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
5659         * stdlib/strtold.c: Moved to ...
5660         * sysdeps/generic/strtold.c: ... here.
5661         * sysdeps/m68k/strtold.c: New file.
5662
5663 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5664
5665         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
5666         point if the precision is zero, even if the mantissa is non-zero.
5667
5668 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
5669
5670         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
5671         arguments into the request message buffer inside `send_rpc'
5672         subfunction.  We must repeat the marshalling when retrying the RPC
5673         after a SIGTTOU delivery.
5674
5675         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
5676         path when there is no ctty port.
5677         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5678         Move sigstate check inside loop so we recheck after handling a signal.
5679
5680 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5681
5682         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
5683         O_EXLOCK are BSD extensions.
5684         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
5685
5686 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
5687
5688         * manual/signal.texi (Termination in Handler): Correct example.
5689         Install default handler before reraising the signal.
5690         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
5691
5692 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
5693
5694         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
5695         null, in which case send an empty string.
5696
5697 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
5698
5699         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
5700         backward compatibility EH functions to be linked when using
5701         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
5702
5703 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5704
5705         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
5706         /dev/pts status may change during runtime.
5707
5708 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5709
5710         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
5711         change.  /dev/pts status can change during runtime.
5712
5713 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
5714
5715         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
5716         poll reports error.
5717         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
5718         add some more sanity checks.
5719         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
5720         parser prototype.
5721
5722 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
5723
5724         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
5725         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
5726         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
5727         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
5728         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
5729         for x_getint32.
5730         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
5731         * nis/nis_print.c: Fix ctime argument for platforms where
5732         sizeof (time_t) != sizeof (int).
5733
5734 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
5735
5736         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
5737         CLOCKS_PER_SEC instead of CLK_TCK.
5738
5739 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
5740
5741         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
5742         whether /dev/pts is available.
5743         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
5744         dev_pts_available.
5745
5746         * posix/globtest.sh: Make common_objpfx path absolute and and db2
5747         and hesiod directory to library path [PR libc/1007].
5748
5749 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5750
5751         * resolv/inet_addr.c (inet_aton): Don't allow componets >
5752         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
5753
5754 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
5755
5756         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5757         DT_PLTGOT has already been relocated.
5758         (__elf_machine_fixup_plt): Likewise.
5759         Minor cleanups.
5760
5761 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
5762
5763         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
5764
5765 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
5766
5767         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
5768         and fold string to uppercase [PR libc/1005].
5769
5770 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5771
5772         * elf/dl-load.c (lose): Fix return type.
5773
5774 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
5775
5776         * sysdeps/mach/hurd/bits/fcntl.h
5777         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
5778         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
5779         set O_NOTRANS as well.
5780         (__hurd_file_name_lookup_retry): At successful end of lookup,
5781         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
5782         it is a translated node not owned by root.
5783         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
5784         on the file name passed to LOOKUP.
5785
5786 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
5787
5788         * manual/time.texi (High Resolution Timer): Correct computation in
5789         example.  Reported by jjf@devel.cemsys.com.
5790
5791 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
5792
5793         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5794         entry is already relocated.
5795
5796 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5797
5798         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
5799         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
5800
5801 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5802
5803         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
5804         uc_link which is the right name according to Unix98.
5805         Reported by Craig Metz [PR libc/1001].
5806         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
5807         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
5808         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
5809         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
5810         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
5811         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
5812
5813 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5814
5815         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
5816         @ifinfo.
5817
5818 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5819
5820         * iconvdata/Makefile: Always include iconv-rules, but disable rule
5821         to regenerate it if avoid-generated.
5822
5823         * Makeconfig: Always include sys-dirs, but disable rule to
5824         regenerate it when avoid-generated.
5825
5826         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
5827         rule to generate sysd-syscalls.
5828
5829         * elf/Makefile (generated): Remove $(objpfx) from names.
5830
5831 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
5832
5833         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
5834         actual length if the adress length is smaller than the input
5835         value.  Change type of *LEN paramater to socklen_t.
5836         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
5837         * sysdeps/mach/hurd/accept.c (accept): Likewise.
5838         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
5839         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
5840         paramater to socklen_t.
5841
5842 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
5843
5844         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
5845         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
5846         with the RPC.
5847
5848 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5849
5850         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
5851         __get_phys_pages): Cast &HBI to silence warning.
5852
5853         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
5854         * hurd/hurdchdir.c: New file.
5855         * hurd/hurdfchdir.c: New file.
5856         * sysdeps/mach/hurd/chroot.c: Call
5857         _hurd_change_directory_port_from_name to do the work.
5858         * sysdeps/mach/hurd/chdir.c: Likewise.
5859         * sysdeps/mach/hurd/fchdir.c: Call
5860         _hurd_change_directory_port_from_fd to do the work.
5861         * hurd/fchroot.c: Likewise.
5862         * hurd/hurd.h: Declare them.
5863
5864 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
5865
5866         * elf/dl-load.c (lose): Add more comments to explain the `why'.
5867         (_dl_map_object): Remove redundant test.
5868
5869 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
5870
5871         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
5872         try to _hurd_port_free a lower-numbered descriptor that was not in any
5873         fd_set.
5874
5875 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5876
5877         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
5878         declaration for ____wcstod_l_internal.
5879
5880         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
5881         __strtod_internal prototype.
5882         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
5883         (____strtold_l_internal): Add prototype declaration.
5884         (__strtold_l): Call correct function.
5885
5886 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
5887
5888         * elf/elf.h: Add 32bit HPPA definitions.
5889
5890 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5891
5892         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
5893         non-checked heap is restored when malloc checking was requested by
5894         the user.
5895         (struct malloc_state): Add using_malloc_checking.
5896         (MALLOC_STATE_VERSION): Increment minor.
5897         (using_malloc_checking, disallow_malloc_check): New variables.
5898         (__malloc_check_init): Use them.
5899         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
5900         that it can the chunk is properly instrumented when malloc
5901         checking is enabled.  Set the new using_malloc_checking field.
5902         (malloc_hook_ini): Correct signature when _LIBC is not defined.
5903
5904 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5905
5906         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5907         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
5908         time.
5909
5910         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
5911         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
5912         if ld.so is the main program.
5913
5914 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
5915
5916         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
5917         large for work_buffer, allocate new buffer.
5918         (printf_unknown): Likewise.  [PR libc/988]
5919
5920 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5921
5922         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
5923         instead of stat and fstat.
5924         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5925
5926 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5927
5928         * elf/dl-error.c (_dl_signal_cerror): New function.
5929         (_dl_signal_error): Don't call receiver function.
5930         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
5931         instead of _dl_signal_error when reporting references to undefined
5932         symbols or versions.
5933         (_dl_lookup_versioned_symbol): Likewise.
5934         (_dl_lookup_versioned_symbol_skip): Likewise.
5935         * elf/dl-version.c (match_symbol): Likewise.
5936
5937         * elf/ldsodefs.h: Declare _dl_signal_cerror.
5938
5939 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
5940
5941         * misc/getttyent.c (getttyent): Release lock on stream later to
5942         also protect global variable zapchar.
5943
5944         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
5945         __times [PR libc/990].
5946
5947 1999-02-21  David S. Miller  <davem@redhat.com>
5948
5949         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
5950         parentheses in Feb 2 changes.
5951         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
5952
5953 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5954
5955         * sysdeps/generic/glob.c (glob): Save previous errno.
5956
5957 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
5958
5959         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
5960         lookup functions if it is too small.
5961
5962 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
5963
5964         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
5965         for tracing to the scope lists.
5966         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
5967         DT_SYMTAB is always available according to ELF spec.
5968
5969         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
5970         call test whether there is any scope left.
5971         (_dl_lookup_versioned_symbol_skip): Likewise.
5972
5973         * elf/Makefile (distribute): Add do-lookup.h.
5974         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
5975         * elf/dl-lookup.c: Move do_lookup function in separate file and
5976         include the file twice, for handling versioning and without it.
5977
5978         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
5979         entry is already relocated.
5980         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5981         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5982         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
5983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5984         Likewise.
5985         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5986         Likewise.
5987         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
5988         Likewise.
5989
5990         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
5991         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
5992         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
5993         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
5994         rel and rela relocations can both happen and skip one test if this
5995         is not possible.
5996         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
5997         appropriately.
5998         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
5999         already relocated.
6000         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
6001         relocated.
6002         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
6003         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
6004         (_dl_map_object): DT_STRTAB entry is already relocated.
6005         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
6006         already relocated.
6007         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
6008         relocated.
6009         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
6010         DT_VERSYM entries are already relocated.
6011         (profile_fixup): Likewise.
6012         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
6013         all users.
6014         (match_symbol): DT_STRTAB entry is already relocated.
6015         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
6016         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
6017         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
6018         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
6019         (find_needed): DT_STRTAB entry is already relocated.
6020         (dl_main): Pass extra argument to elf_get_dynamic_info.
6021         DT_STRTAB entry is already relocated.
6022         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
6023         DT_PLTGOT entries are already relocated.
6024         (elf_machine_rela): Likewise for DT_SYMTAB.
6025         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
6026         relocated.
6027         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6028         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
6029         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6030         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6031         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
6032         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
6033         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
6034         * sysdeps/mips/mips64/dl-machine.h: Likewise.
6035
6036         * grp/initgroups.c (initgroups): If function in current module was
6037         successful don't stop but continue to process to get all the groups.
6038
6039         * elf/dl-load.c (_dl_map_object_from_fd): Use global
6040         _dl_pf_to_proot array to convert p_flags value.
6041         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6042
6043         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
6044         loop to clear `info'.
6045
6046         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
6047         do the work and don't use inline assembler.
6048
6049 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
6050
6051         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
6052         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
6053         noreturn, and prevent it from being inlined.
6054         Define LOSE appropriately.
6055         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
6056         Optimize decoding of p_flags for certain platforms.
6057
6058 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
6059
6060         * Makeconfig (link-libc): When doing a static link, make sure that
6061         libgcc.a is included both before and after libc.a.
6062
6063 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
6064
6065         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
6066         sp_warn, sp_inact, sp_expire and sp_flag.
6067
6068 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
6069
6070         * elf/link.h (link_map): Add l_dev and l_ino.
6071         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
6072         loaded shared object with all loaded objects.  Initialize l_ino
6073         and l_dev in case it's new.
6074         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
6075         object.
6076         * elf/Makefile: Compile and run new test.
6077         * elf/multiload.c: New file.
6078
6079         * nss/nsswitch.h (service_user): Change name field from const char *
6080         to char[0].
6081         (name_database_entry): Likewise.
6082         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
6083         for change of `service_user'.
6084         (nss_getline): Adjust memory allocation for change of
6085         `name_database_entry'.
6086
6087         * catgets/catgets.c: Correctly handle NLSPATH from environment
6088         [PR libc/980].
6089
6090         * io/Makefile (routines): Add lock64.
6091         * io/Versions: Add lockf64 for GLIBC_2.1.1.
6092         * sysdeps/generic/lockf64.c: New file.
6093
6094 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6095
6096         * string/bits/string2.h: Only use strncmp optimization if count
6097         argument is constant.
6098
6099 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
6100
6101         * sysdeps/mach/hurd/revoke.c: New file.
6102
6103 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6104
6105         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
6106         int to avoid warning about `ISO C restricts enumerator values to
6107         range of `int''.
6108
6109 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6110
6111         * elf/dlfcn.h: Fix typo.
6112         * sysdeps/generic/bits/dlfcn.h: Likewise.
6113         * sysdeps/mips/bits/dlfcn.h: Likewise.
6114
6115 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6116
6117         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
6118         for the case N == 0.
6119
6120         * db2/Makefile (distribute): Add LICENSE.
6121
6122 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
6123
6124         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
6125         generated files.
6126
6127         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
6128
6129 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
6130
6131         * time/mktime.c: Use ISO C form for function definitions and
6132         remove unnecessary prototypes.
6133
6134         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
6135
6136         * time/time.h: Avoid unneccesary #ifdef.
6137
6138 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
6139
6140         * stdio-common/_itoa.c (_itoa): Correct parameters to
6141         udiv_qrnnd_preinv.
6142
6143 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6144
6145         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
6146         before (e.g. in glob.h).
6147         Closes PR libc/959.
6148
6149 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6150
6151         * sysdeps/mips/fpu_control.h: Fix typo.
6152         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
6153         Remove __setfpucw.
6154
6155 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
6156
6157         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
6158         the "unused" ends of the sockets.  Let pipes be bidirectional.
6159
6160 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
6161
6162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
6163         invalid ai_flags.
6164
6165 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6166
6167         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
6168         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
6169
6170         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
6171         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
6172
6173 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
6174
6175         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
6176
6177 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6178
6179         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
6180         check for priority mask.
6181
6182 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
6183
6184         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
6185         Reported by Craig Metz <cmetz@inner.net> .
6186
6187 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6188
6189         * stdio-common/Makefile (tests): tllformat added.
6190
6191         * stdio-common/tllformat.c: New program, based on tiformat.c with
6192         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
6193
6194 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6195
6196         * posix/test-vfork.c: Fix exit status test.
6197
6198 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6199
6200         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
6201         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
6202
6203 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6204
6205         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
6206         of separare explicit comparisons.
6207
6208 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6209
6210         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
6211         defined.
6212
6213         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
6214         defined.
6215
6216 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
6217
6218         * po/el.po: Update from translation team.
6219
6220 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6221
6222         * intl/locale.alias: Fix slovenian entry [PR libc/948].
6223
6224 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6225
6226         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
6227         * inet/ruserpass.c: Likewise.
6228         * locale/programs/stringtrans.c: Likewise.
6229         * locale/programs/localedef.c: Likewise.
6230         * nscd/grpcache.c: Likewise.
6231         * nss/nss_files/files-XXX.c: Likewise.
6232         * stdlib/canonicalize.c: Likewise.
6233         * sysdeps/posix/sigwait.c: Likewise.
6234
6235 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6236
6237         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
6238         even on 64 bit platforms.
6239
6240         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6241         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
6242
6243 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
6244
6245         * intl/dcgettext.c: Include locale.h is available.
6246
6247 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
6248
6249         * po/nl.po: Update from translation team.
6250
6251         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
6252
6253         * Makefile: Allow calling goals for po subdir.
6254
6255         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
6256         signal definitions.
6257
6258         * po/el.po: New file.
6259
6260 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6261
6262         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
6263         when processing DT_SYMBOLIC objects.
6264
6265 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
6266
6267         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
6268         program headers without PT_PHDR only require that they are
6269         contained within one of the loaded segments.  Don't use assert,
6270         since that would be a bug in the object, not the dynamic linker.
6271
6272 1999-02-08  Richard Henderson  <rth@cygnus.com>
6273
6274         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
6275         restore all call-clobbered fp regs.
6276
6277 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
6278
6279         * po/cs.po: New file.
6280
6281         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
6282         SUID binaries.
6283
6284 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
6285
6286         * signal/signal.h: Don't declare __libc_allocate_rtsig.
6287         * include/signal.h: Declare __libc_allocate_rtsig here.
6288
6289         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
6290         point functions, not do_lookup since the later can be called more
6291         than once.
6292
6293 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
6294
6295         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
6296         macro, so that architectures which need to add some special
6297         offset to stack pointer can share this file.
6298
6299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
6300         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
6301         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
6302         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
6303
6304         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
6305         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
6306         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
6307         between sparc32 and sparc64.
6308
6309         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
6310         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
6311         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
6312         between sparc32 and sparc64.
6313
6314         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
6315         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
6316         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
6317         between sparc32 and sparc64.
6318
6319         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
6320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
6321         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
6322         between sparc32 and sparc64.
6323
6324 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
6325
6326         * Versions.def: New version GLIBC_2.1.1 for libc.
6327         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
6328         * stdlib/labs.c: Moved to...
6329         * sysdeps/generic/labs.c: ...here.
6330         * stdlib/llabs.c: Moved to...
6331         * sysdeps/generic/llabs.c: ...here.
6332         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
6333         header.  Declare _Exit.
6334         * sysdeps/generic/_exit.c: Add alias _Exit.
6335         * sysdeps/mach/hurd/_exit.c: Likewise.
6336         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
6337         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
6338         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
6339         * sysdeps/unix/_exit.c: Likewise.
6340         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
6341         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
6342         * sysdeps/wordsize-64/inttypes.h: Likewise.
6343         * sysdeps/wordsize-32/llabs.c: New file.
6344         * sysdeps/wordsize-32/lldiv.c: New file.
6345         * sysdeps/wordsize-64/labs.c: New file.
6346         * sysdeps/wordsize-64/ldiv.c: New file.
6347         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
6348         * manual/startup.texi: Document _Exit.
6349
6350 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6351
6352         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
6353
6354 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
6355
6356         * Versions.def: Add versions for ld.so.
6357         * csu/Versions: Remove __libc_stack_end here.
6358         * elf/Versions: Split libc definitions in libc and ld.so definitions.
6359         * elf/Makefile (ld-map): Change to ld.so.map.
6360         * scripts/versions.awk: Recognize dot in library names.
6361
6362         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
6363         Don't use __tolower and __toupper in inline functions.
6364         Add optimizing macros for tolower and toupper.
6365         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
6366         (_toupper): Don't use __toupper.
6367         * ctype/ctype.c (tolower): Don't use __tolower.
6368         (toupper): Don't use toupper.
6369
6370         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
6371
6372         * resolv/Versions (libresolv): Export __ns_name_unpack and
6373         __ns_name_ntop.
6374         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
6375         make it global.  Change all users.  Similar for ns_name_ntop.
6376         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
6377         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
6378         directly to detect too small buffer.
6379         * resolv/nss_dns/dns-network.c: Likewise.
6380
6381         * stdio-common/Makefile (tests): Add scanf12.
6382         * stdio-common/scanf12.c: New file.
6383         * stdio-common/scanf12.input: New file.
6384         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
6385         floating-point correctly if the number is invalid.
6386
6387         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
6388         functions.
6389         * stdio-common/printf_fp.c: Likewise.
6390         * stdio-common/printf_fphex.c: Likewise.
6391         * stdio-common/vfprintf.c: Likewise.
6392
6393
6394 See ChangeLog.9 for earlier changes.