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