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