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