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