]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
cf752fe2
UD
11999-08-25 Ulrich Drepper <drepper@cygnus.com>
2
3 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
4 old_siocfifconf definition to toplevel.
5 (__protocol_available): Remove old_siocfifconf definition.
6
2a947279
UD
71999-08-25 Mark Kettenis <kettenis@gnu.org>
8
9 * sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
10 really dealing with a master pseudo terminal, and really returning
11 the name of the associated slave pseudo terminal by checking the
12 device number.
13 * sysdeps/unix/sysv/linux/pty-private.h: Removed.
14 * login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
15
2f444823
UD
161999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17
18 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
19 underscore in _llseek entry.
20
21 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
22 entry.
23
24 * sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
25 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
26
27 * elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
28 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
29
71d3bda9
UD
301999-08-25 Ulrich Drepper <drepper@cygnus.com>
31
32 * inet/Makefile (routines): Add getipnodebynm.
33 * inet/getipnodebynm.c: New file.
34 * nss/digits_dots.c: If HAVE_TYPE is define type contains the
35 interface type.
36 * nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
37 EXTRA_ARGS_VALUE is not already done.
38 (internal_getent): Allow extra parameters and pass them to parse_line.
39 (_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
40 (_nss_files_get##name##_r): Likewise.
41 * nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
42 and EXTRA_ARGS_VALUE to pass flags and type to parser.
43 Add getipnodebyname function.
44 * nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
45 EXTRA_ARGS_VALUE is not already done.
46 (parse_line): Add EXTRA_ARGS_DECL to parameter list.
47 * nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
48 to parse_line.
49 (_nss_db_get##name##_r): Pass extra parameters to lookup.
50 (_nss_db_get,ENTNAME_r): Likewise.
51 * sysdeps/generic/if_index.c (__protocol_available): New function.
52 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
53
4ebc35ac
UD
541999-08-24 Ulrich Drepper <drepper@cygnus.com>
55
ad659702
UD
56 * login/pty-private.h: Move to...
57 * sysdeps/generic/pty-private.h: ...here.
58 * sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
59 version.
60 * login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
61 available.
62
5c8d1fc0
UD
63 * libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
64 of __overflow.
65
7b5fd91d
UD
66 * conform/conformtest.pl (@headers): Add monetary.h-data,
67 mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
68 * conform/data/monetary.h-data: New file.
69 * conform/data/mqueue.h-data: New file.
70 * conform/data/ndbm.h-data: New file.
71 * conform/data/nl_types.h.h-data: New file.
72 * conform/data/poll.h-data: New file.
73
248286e5
UD
74 * stdio-common/Makefile (test): Add tst-cookie.
75 * stdio-common/tst-cookie.c: New file.
76
4ebc35ac
UD
77 * sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
78 changed in last patch. Reported by Ralf Baechle.
79
db72c1e4
UD
801999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
81
82 * sysdeps/unix/mips/sysdep.h: Use __syscall_error.
83
84 * sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
85 Patches by Ralf Baechle <ralf@uni-koblenz.de>
86
08c70af0
UD
871999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
88
89 * sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
90 Linux 2.3.15.
91
da1067a9
UD
921999-08-24 Ulrich Drepper <drepper@cygnus.com>
93
abd31612
UD
94 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
95 syscall.
96 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
97
52cf7d34
UD
98 * misc/libgen.h: Don't take basename macro as taking arguments.
99
100 * sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
101 for gcc >= 2.95.
102 * sysdeps/i386/bits/huge_val.h: Likewise.
103 * sysdeps/i386/bits/huge_val.h: Likewise.
104 * sysdeps/ieee754/bits/huge_val.h: Likewise.
105 * sysdeps/m68k/bits/huge_val.h: Likewise.
106 * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
107 * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
108
da1067a9
UD
109 * conform/Makefile: New file.
110 * conform/conformtest.pl: New file.
111 * conform/data/aio.h-data: New file.
112 * conform/data/assert.h-data: New file.
113 * conform/data/cpio.h-data: New file.
114 * conform/data/ctype.h-data: New file.
115 * conform/data/dirent.h-data: New file.
116 * conform/data/dlfcn.h-data: New file.
117 * conform/data/errno.h-data: New file.
118 * conform/data/fcntl.h-data: New file.
119 * conform/data/float.h-data: New file.
120 * conform/data/fmtmsg.h-data: New file.
121 * conform/data/fnmatch.h-data: New file.
122 * conform/data/ftw.h-data: New file.
123 * conform/data/glob.h-data: New file.
124 * conform/data/grp.h-data: New file.
125 * conform/data/iconv.h-data: New file.
126 * conform/data/inttypes.h-data: New file.
127 * conform/data/iso646.h-data: New file.
128 * conform/data/langinfo.h-data: New file.
129 * conform/data/libgen.h-data: New file.
130 * conform/data/locale.h-data: New file.
131 * conform/data/math.h-data: New file.
132
1b13e783
UD
1331999-08-23 Ulrich Drepper <drepper@cygnus.com>
134
135 * posix/execvp.c (execvp): Correct copying of file name.
136
a41301f0
RM
1371999-08-23 Mark Kettenis <kettenis@gnu.org>
138
139 * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
140
1d0b89a4
UD
1411999-08-23 Ulrich Drepper <drepper@cygnus.com>
142
a41301f0 143 * stdio-common/Makefile: Move addition to routines to the right place.
1d0b89a4 144
b7e519e7
UD
1451999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
146
147 * sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
148 since mips*-linux has ECANCELED.
149
1501999-08-23 Andreas Schwab <schwab@suse.de>
151
152 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
153 SIGCONTEXT_EXTRA_ARGS.
154 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
155 * sysdeps/generic/sigcontextinfo.h: Likewise.
156 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
157 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
158 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1d0b89a4
UD
160 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
b7e519e7 162
a2860282
UD
1631999-08-23 Ulrich Drepper <drepper@cygnus.com>
164
165 * posix/regexbug1.c: Make it an error if the test fails.
166
1671999-08-23 Andreas Schwab <schwab@suse.de>
a2860282
UD
168
169 * posix/regex.c (re_match_2_internal): Correct check for charset
170 after exactn in loop.
171
c90a2db6
UD
1721999-08-22 Ulrich Drepper <drepper@cygnus.com>
173
c107ccd4
UD
174 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
175 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
176 Patch by Joel Klecker.
177
c90a2db6
UD
178 * iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
179 (__gconv_find_transform): Update prototype.
180 (__gconv_open): Likewise.
181 * iconv/gconv_open.c: Take extra parameter and pass it to
182 __gconv_find_transform.
183 * iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
184 flags. If GCONV_AVOID_NOCONV flag is set don't return copying
185 transformation.
186 * iconv/iconv_open.c: Pass extra parameter to __gconv_open.
187 * wcsmbs/wcsmbsload.c: Likewise.
188 * intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
189 iconv for glibc.
190 * intl/gettextP.h: Likewise.
191 * intl/loadmsgcat.c: Likewise.
192
193 * posix/regexbug1.c: New file.
194 * posix/Makefile (tests): Add regexbug1.
195
dc32a7c4
RM
1961999-08-22 Mark Kettenis <kettenis@gnu.org>
197
198 * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
199 * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
200 installing PORT in the descriptor cell.
201
2021999-08-19 Roland McGrath <roland@baalperazim.frob.com>
203
204 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
205 TIMEOUT as outputs of the asm to indicate that the signal thread
206 might mutate them.
207 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
208 mach_msg if only sending or only receiving (i.e., not an RPC). When
209 making an RPC that might get interrupted, save OPTION and the portion
210 of the message buffer that gets clobbered by an EINTR reply message,
211 and properly restore them before attempting to retry the request
212 message send.
213
ab58d620
UD
2141999-08-21 Mark Kettenis <kettenis@gnu.org>
215
216 * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
217 definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
218 CHAR_T, UCHAR_T and WIN_T to make the code compile again when
219 stdio is used instead of libio.
220 * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
221 definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
222 to make the code compile again when stdio is used instead of
223 libio.
224 (vfprintf): Only check for correct orientation if ORIENT is
225 defined.
226 * stdio-common/Makefile (routines): Only add vfwprintf and
227 vfwscanf if we're using libio.
228
2291999-08-21 Mark Kettenis <kettenis@gnu.org>
230
231 * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
232 any additional prototype just as we do for libio.
233
2341999-08-21 Mark Kettenis <kettenis@gnu.org>
235
236 * include/bits/xopen_lim.h: Do not define STREAM_MAX and
237 TZNAME_MAX. These limits are not X/Open specific.
238 * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
239 is defined.
240
2411999-08-21 Mark Kettenis <kettenis@gnu.org>
242
243 * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
244 UIO_MAXIOV is left undefined in sys/uio.h.
245 * stdio-common/stdio_lim.h.in: Adapt for change above.
246
2471999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
248
249 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
250 * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
251 Patches by Ralf Baechle <ralf@uni-koblenz.de>
252
fd292f70
UD
2531999-08-21 Ulrich Drepper <drepper@cygnus.com>
254
255 * stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
256
f05ce195
UD
2571999-08-20 Ulrich Drepper <drepper@cygnus.com>
258
c086e2d2
UD
259 * sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
260
52cea457
UD
261 * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
262 call. It should not be necessary andis harmful for Alpha.
263
a2b3aa73
UD
264 * sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
265 type. [PR libc/1269]
f95a0015 266
d13ec59a
UD
267 * posix/execvp.c (execvp): Allocate array name of correct size.
268 Optimize inner loop. Use execve directly, not execv.
269
f05ce195
UD
270 * elf/elf.h: Corrected SHT_ values from new draft.
271
6570e194
UD
272 * intl/gettextP.h (struct loaded_domain): Add conv element.
273 * intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
274 Instead of returning found message directly convert it using iconv
275 if a conversion was found when opening the file.
276 * intl/loadinfo.h: Protect against multiple inclusion.
277 Declare _nl_find_msg.
278 * intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
279 in the message file and if necessary find approrpiate
280 conversion to match currently selected charset.
5a02dce6 281 * include/libintl.h: Declare __dgettext and __dcgettext.
511a0091 282 * include/iconv.h: New file.
6570e194 283
6c85d1e9
UD
2841999-08-20 Andreas Schwab <schwab@suse.de>
285
286 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
287
7195db12
UD
2881999-08-19 Ulrich Drepper <drepper@cygnus.com>
289
68ea6c18
UD
290 * sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
291 all threads [PR libc/1223].
292
2b638910
UD
293 * elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
294 [PR libc/1165].
295
22e65f8f
UD
296 * configure.in: Search for programs with prefix gnu* and g* first.
297 [PR libc/1104].
298
e5cd813b
UD
299 * dirent/Makefile (routines): Add getdents64.
300 * sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
301 Remove getdents64.
302 * dirent/dirent.h: Redirect getdirentries to getdirentries64 if
303 compiled with _FILE_OFFSET_BITS=64.
304 * sysdeps/generic/getdents64.c: New file.
305 * sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
306 __lseek for getdirentries64 definition.
307
308 * sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
309
310 * sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
311 _FILE_OFFSET_BITS=64.
312
6229c88e
UD
313 * sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
314 parameter.
315
316 * sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
317 after we have the lock.
7195db12
UD
318
319 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
320 Patch by Richard Henderson.
321
e1b13a63
UD
3221999-08-19 Andreas Schwab <schwab@suse.de>
323
324 * libio/iovswscanf.c (vswscanf): Make stream unoriented initially
325 and call _IO_fwide, to get the wide stream state initialized
326 correctly. Don't set _IO_JUMPS.
327 * libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
328 * libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
329 _IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
330 directly.
331
3321999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
333
334 * math/libm-test.c (jn_test): Fix typo in description.
335 (erfc_test): Add some more tests.
336 (erf_test): Add some more tests.
337
3381999-08-19 Andreas Schwab <schwab@suse.de>
339
340 * csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
341 expression using $(exceptions).
342
70b2845f
UD
3431999-08-18 Ulrich Drepper <drepper@cygnus.com>
344
96ff4937
UD
345 * sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
346
310f9518
UD
347 * libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
348 allocated so far. [PR libc/1261].
349
e62ee1e4
UD
350 * math/libm-test.c (j0_test): Adjust deltas for m68k.
351 (jn_test): Likewise.
352
8353b5f6
UD
353 * dirent/dirent.h: Only define ino64_t if not already done.
354 * posix/sys/types.h: Likewise.
355
70b2845f
UD
356 * ctype/ctype.h: Avoid useless #endif #if pairs.
357
358 * dirent/dirent.h: Define ino_t and ino64_t if not done already.
359 (seekdir): Fix type of second parameter.
360 * sysdeps/generic/seekdir.c: Likewise.
361 * sysdeps/mach/hurd/seekdir.c: Likewise.
362 * sysdeps/unix/seekdir.c: Likewise.
363
364 * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
365
ad1b5f19
UD
3661999-08-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
367
368 * manual/install.texi (Configuring and compiling): Clarify ix86
369 situation.
370
219aa9e9
UD
3711999-08-18 Ulrich Drepper <drepper@cygnus.com>
372
373 * Rules: When generating stdio_lim.h also rewrite IOV_MAX definition.
374 * stdio-common/stdio_lim.h.in: Add IOV_MAX template.
375 * include/bits/xopen_lim.h: Don't define IOV_MAX here, get it from
376 stdio_lim.h. Define LONG_BIT and WORD_BIT.
377
378 * include/features.h: Define __USE_XOPEN2K if _XOPEN_SOURCE == 600.
379
380 * libio/stdio.h: Don't declare cuserid and getopt for X/Open issue 6.
381
382 * misc/search.h: Don't define NULL.
383
384 * posix/sys/types.h: Define blksize_t if it hasn't happened.
385 Only define key_t and blkcnt_t if it hasn't happened before.
386 Define blksize_t if not happened before.
387 * io/sys/stat.h: Don't define pid_t. Define blkcnt_t and blksize_t.
388 * sysdeps/generic/bits/types.h: Define __blksize_t.
389 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
390 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
391 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
393 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
394 * sysdeps/mach/hurd/bits/stat.h (struct stat): Use __blksize_t for
395 st_blksize member.
396 (struct stat64): Likewise.
397 * sysdeps/unix/bsd/bits/stat.h: Likewise.
398 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
399 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
400 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
401 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
402 * sysdeps/unix/sysv/sysv4/i386/bist/stat.h: Likewise.
403 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
404
405 * stdlib/getsubopt.c: Correct type of second argument.
406 * stdlib/stdlib.h: Likewise.
407
408 * stdlib/monetary.h: Don't include sys/types.h. Define only size_t
409 and ssize_t.
410
411 * sysdeps/generic/putenv.c: Correct type of parameter.
412 * stdlib/stdlib.h: Likewise.
413
414 * sysdeps/generic/msgsnd.c: Correct type of second parameter.
415 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
416 * sysvips/sys/msg.h: Likewise.
417
418 * sysdeps/generic/semop.c: Correct type of third parameter.
419 * sysdeps/unix/sysv/linux/semop.c: Likewise.
420 * sysvipc/sys/sem.h: Likewise. Don't include sys/types.h, define
421 size_t.
422
423 * sysdeps/generic/shmget.c: Correct type of second parameter.
424 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
425 * sysvips/sys/shm.h: Likewise. Don't include unistd.h and sys/types.h.
426 Declare __getpagesize here.
427
428 * sysdeps/generic/bits/ipc.h: Include bits/types.h instead of
429 sys/types.h.
430 * sysdeps/gnu/bits/ipc.h: Likewise.
431 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
432 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
433 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
434 * sysvipc/sys/ipc.h: Define uid_t, gid_t, mode_t, and key_t if not
435 already done.
436
437 * sysdeps/unix/bsd/usleep.c: Correct type of parameter.
438
439 * debug/versions: Export __cyg_profile_func_enter and
440 __cyg_profile_func_exit.
441
442 * math/bits/mathcalls.h: Pretty print.
443
5d08d218
UD
4441999-08-17 Ulrich Drepper <drepper@cygnus.com>
445
b43f26bb
UD
446 * timezone/tst-timezone.c (tests): Update America/Sao_Paulo test
447 case for new tzdata.
448
5a05b367
UD
449 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Make __useconds_t
450 unsigned.
451 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
452 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
453 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
454 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
455
456 * sysdeps/generic/bits/types.h: Make __useconds_t unsigned.
457
458 * sysdeps/generic/ualarm.c (ualarm): Change return value and
459 parameter type to useconds_t.
460 * sysdeps/unix/bsd/ualarm.c: Likewise.
461
462 * sysdeps/generic/usleep.c (usleep): Change parameter type to
463 useconds_t.
464 * sysdeps/unix/sysv/linux/usleep.c: Likewise.
465 * sysdeps/mach/usleep.c: Likewise.
466
77f855ed
UD
467 * locale/weight.h: Include <errno.h>.
468
7707af89
UD
469 * posix/sys/types.h: Define type useconds_t if not done already.
470 * posix/unistd.h: Likewise. Use this in ualarm and usleep
471 declarations.
472 * sysdeps/generic/bits/types.h: Define type __useconds_t.
473 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
474 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
475 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
476 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
477 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
478
56c55d5d
UD
479 * dirent/dirent.h (telldir): Change return type to long int.
480 * sysdeps/generic/telldir.c: Likewise.
481 * sysdeps/mach/hurd/telldir.c: Likewise.
482 * sysdeps/unix/telldir.c: Likewise.
483 * sysdeps/unix/bsd/telldir.c: Likewise. Fix locking problem.
484
5d08d218
UD
485 * locale/weight.h: Set errno if an invalid character is found.
486
23f7e58e
UD
4871999-08-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
488
489 * math/libm-test.c (erfc_test): Add test for example from PR
490 libc/1259.
491 (erf_test): Likewise.
5d08d218 492
d198009a
UD
4931999-08-17 Ulrich Drepper <drepper@cygnus.com>
494
f1b10858
UD
495 * sysdeps/ieee754/dbl-64/s_erf.c: Correct type in performance increase
496 rewrite. Patch by Alan Stern <stern@kitsilano.rowland.org>.
497
38c097ca
UD
498 * timezone/private.h: Update from tzcode1999e.
499 * timezone/zic.c: Likewise.
500
501 * timezone/africa: Update from tzdata1999e.
502 * timezone/antarctica: Likewise.
503 * timezone/asia: Likewise.
504 * timezone/australasia: Likewise.
505 * timezone/europe: Likewise.
506 * timezone/leapseconds: Likewise.
507 * timezone/northamerica: Likewise.
508 * timezone/southamerica: Likewise.
509
d198009a
UD
510 * stdio-common/vfprintf.c (process_string_arg): Correct last patch
511 and write correct number of bytes in case of %ls with precision.
512 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
513
34e3c127
UD
5141999-08-16 Ulrich Drepper <drepper@cygnus.com>
515
aa6adf82
UD
516 * nscd/nscd.init: Test for kernel version and make LSB compliant.
517 Patch by Christian Gafton.
518
23d914d9
UD
519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_DSYNC and
520 O_RSYNC. Patch by Christian Gafton.
521
22318b7b
UD
522 * stdio-common/vfprintf.c (process_string_arg) [printf]: Handle
523 possibly unterminated strings for %ls when a precision is
524 specified.
525 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
526
34e3c127
UD
527 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
528 update_conversion_ptrs.
529 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
530
0bd537d8
UD
5311999-08-15 Ulrich Drepper <drepper@cygnus.com>
532
34e3c127
UD
533 * wcsmbs/wcsnlen.c: Correct decrement of maxlen.
534 Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
0bd537d8
UD
535
536 * wcsmbs/Makefile (tests): Add tst-wcsnlen.
537 * wcsmbs/tst-wcsnlen.c: New file.
538
0fb653cc
UD
5391999-08-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
540
541 * libio/ioputs.c (_IO_puts): Add missing brace.
542
02228370
UD
5431999-07-20 Geoff Keating <geoffk@cygnus.com>
544
545 * math/libm-test.c: Tweak deltas for a clean run on ppc.
546
c9eaa8b9
UD
5471999-08-10 H.J. Lu <hjl@gnu.org>
548
549 * stdio-common/vfprintf.c (ORIENT): Check for the old stream.
550 (vfprintf): Likewise.
551 * stdio-common/vfscanf.c (ORIENT): Likewise.
552 * libio/genops.c (__underflow): Likewise.
553 (__uflow): Likewise.
554 * libio/iofputs.c (_IO_fputs): Likewise.
555 * libio/ioftell.c (_IO_ftell): Likewise.
556 * libio/iofwrite.c (_IO_fwrite): Likewise.
557 * libio/ioputs.c (_IO_puts): Likewise.
558 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
559 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
560
7d7fe004
UD
5611999-08-15 Ulrich Drepper <drepper@cygnus.com>
562
563 * iconv/gconv_builtin.h: Add ISO registry alias for UTF8.
564
6444b087
UD
5651999-08-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
566
567 * manual/job.texi (Process Group Functions): Document getpgid,
568 getsid.
569
3a9eb648
UD
5701999-08-15 Ulrich Drepper <drepper@cygnus.com>
571
572 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Take extra parameter and
573 initialize si_pid from it.
574 * sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Take extra
575 parameter.
576 * rt/aio_misc.c (__aio_enqueue_request): Initialize caller_pid.
577 * rt/aio_misc.h (struct waitlist): Add caller_pid element.
578 (struct requestlist): Likewise.
579 Adjust prototypes of __aio_notify_only and __aio_sigqueue.
13ee446d 580 * rt/aio_notify.c (__aio_notify_only): Take extra parameter. Pass it
3a9eb648
UD
581 to __aio_sigqueue.
582 (__aio_notify): Pass caller PID to __aio_notify_only.
583 * rt/aio_suspend.c: Initialize caller_pid.
584 * rt/lio_listio.c: Likewise.
585 * rt/lio_listio64.c: Likewise.
586
587 * rt/lio_listio.c: If nothing has to be done free mutex before
588 signalling.
589 * rt/lio_listio64.c: Likewise.
590
0cc70fcf
UD
5911999-08-10 H.J. Lu <hjl@gnu.org>
592
13ee446d
UD
593 * resolv/nss_dns/dns-host.c (getanswer_r): Cleanup out-of-buffer
594 handling.
0cc70fcf
UD
595
5961999-08-15 Ulrich Drepper <drepper@cygnus.com>
597
598 * elf/elf.h: Define ElfXX_Versym.
599 * elf/link.h (struct link_map): Use ElfXX_Versym for l_versyms
600 definition.
601
602 * stdio-common/vfprintf.c (process_string_arg): Handle precisions
603 for string output correctly in the wide character case.
604 Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.
605
606 * intl/locale.alias: Add catalan.
607
6081999-08-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
609
13ee446d 610 * manual/install.texi (Configuring and compiling): Mention CFLAGS.
0cc70fcf
UD
611
6121999-08-15 Ulrich Drepper <drepper@cygnus.com>
613
614 * po/pt_BR.po: New file.
615
6161999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
617
618 * math/libm-test.c (yn_test): Adjust deltas for i386.
619 (ccosh_test): Likewise.
620 (jn_test): Likewise.
621
6221999-08-15 Ulrich Drepper <drepper@cygnus.com>
623
624 * sysdeps/generic/_G_config.h: Get definition of mbstate_t.
625
ed9c47d9
UD
6261999-08-13 Ulrich Drepper <drepper@cygnus.com>
627
628 * stdio-common/tstscanf.c: Add test for hexadecimal float parsing
629 problem.
630
2b80a372
UD
6311999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
632
633 * configure.in: install-sh lives now in scripts subdir.
634 PR libc/1255 (bug 4).
635
f9181e0e
UD
6361999-08-13 Ulrich Drepper <drepper@cygnus.com>
637
0697cdc3
UD
638 * sysdeps/generic/_G_config.h: Update _G_iconv_t type from Linux
639 version.
640
f9181e0e
UD
641 * po/fr.po: Update.
642
5a260152
UD
6431999-08-11 Thorsten Kukuk <kukuk@suse.de>
644
645 * nis/nis_callback.c (internal_nis_do_callback): Free my_pollfd.
646
c8bb15ce
UD
6471999-08-13 Ulrich Drepper <drepper@cygnus.com>
648
5a260152 649 * stdio-common/vfscanf.c: Don't recognize hexadecimal floats without
c8bb15ce
UD
650 exponent.
651
6521999-08-10 Andreas Schwab <schwab@suse.de>
653
654 * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
655 header.
656
e79137b2
UD
6571999-08-09 Scott Bambrough <scottb@netwinder.org>
658
659 * elf/elf.h: Added definition of ELFOSABI_ARM.
660 * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER,
661 VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an
662 object's header and ABI values are acceptable.
663 (VALID_ELF_HEADER): New macro; provide default definition.
664 (VALID_ELF_OSABI): New macro; provide default definition.
665 (VALID_ELF_ABIVERSION): New macro; provide default definition.
666 * sysdeps/arm/dl-machine.h Define ARM specific versions of
667 VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION.
668
6691999-08-09 Andreas Schwab <schwab@suse.de>
670
671 * inet/tst-ipnode.c (main): Don't compare integer with NULL.
672
6731999-08-09 Thorsten Kukuk <kukuk@suse.de>
674
675 * sunrpc/svc_run.c (svc_run): Free my_pollfd.
676
6771999-08-09 Andreas Schwab <schwab@suse.de>
678
679 * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
680
87843f15
UD
6811999-08-08 Ulrich Drepper <drepper@cygnus.com>
682
91873684
UD
683 * sysdeps/ieee754/ieee754.h: Handle platforms with special
684 __FLOAT_WORD_ORDER. Patch by Joel Klecker <jk@espy.org>.
685
87843f15
UD
686 * string/bits/string2.h: Mark void* operations as extensions.
687 * sysdeps/i386/i486/bits/string.h: Likewise.
688
689 * debug/Makefile (routines): Add noophooks.
690 (extra-libs): Add libpcprofile. Add rules to build libpcprofile.
691 * debug/noophooks.c: New file.
692 * debug/pcprofile.c: New file.
693
7aa6d208
UD
6941999-08-06 Ulrich Drepper <drepper@cygnus.com>
695
754549b3
UD
696 * rt/aio_misc.c (handle_fildes_io): Imitate the behaviour on other
697 systems which allow using the functions also on non-seekable
698 devices.
699
3ac3f380
UD
700 * resolv/res_send.c (res_send): Recompute timeout for poll for
701 each jump to `wait'.
702
f79973fa
UD
703 * inet/netinet/in.h (IN6ADDR_ANY_INIT): Add correct number of
704 braces to avoid warnings.
705 (IN6ADDR_LOOPBACK_INIT): Likewise.
706
7aa6d208
UD
707 * sysdeps/unix/sysv/linux/bits/socket.h: Fix typo (MSG_TRUNC ->
708 MSG_DONTWAIT).
709
f341c297
UD
7101999-08-06 H.J. Lu <hjl@gnu.org>
711
712 * malloc/malloc.c: Initialize __libc_pagesize early.
713
93160baa
UD
7141999-08-06 Ulrich Drepper <drepper@cygnus.com>
715
544e1130
UD
716 * string/string-inlines.c: Undefined __USE_STRING_INLINES before
717 defining it.
718
5ab1c033 719 * inet/Makefile (tests): Add tst-ipnode.
93160baa
UD
720 * inet/tst-ipnode.c: New file.
721
c79772f5
UD
7221999-08-06 Andreas Schwab <schwab@suse.de>
723
724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DSYNC, O_RSYNC):
725 New definitions.
726 (O_DIRECTORY, O_NOFOLLOW): Define only if __USE_GNU.
727 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
728 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_DSYNC, O_RSYNC):
729 New definitions.
730 (O_LARGEFILE): Define only if __USE_LARGEFILE64.
731 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_LARGEFILE): Likewise.
732
652df710
UD
7331999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
734
735 * sysdeps/ieee754/ldbl-128/e_expl.c: New file.
736 * sysdeps/ieee754/ldbl-128/t_expl.h: New file.
737 * sysdeps/ieee754/ldbl-128/Dist: Add t_expl.h.
738
0cebbf51
UD
7391999-08-06 Ulrich Drepper <drepper@cygnus.com>
740
741 * resolv/res_send.c (res_send): Don't test file descriptor for
742 range, we use poll now. [PR libc/1240]
743
6eead9b4
UD
7441999-08-05 Ulrich Drepper <drepper@cygnus.com>
745
746 * libio/genops.c (_IO_flush_all): Don't access elements beyond what
747 2.0 defined if they are not available.
748
b85f2e87
UD
7491999-08-05 Thorsten Kukuk <kukuk@suse.de>
750
751 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
752 Define.
753
4bea7a2e
UD
7541999-08-04 Ulrich Drepper <drepper@cygnus.com>
755
756 * rt/aio_read.c: Fix return value.
757 * rt/aio_read64.c: Likewise.
758 Reported by Christian Gafton.
759
f6948bdc
UD
760 * rt/aio_write.c: Fix return value.
761 * rt/aio_write64.c: Likewise.
d65ddb34 762 * rt/aio_fsync.c: Likewise.
f6948bdc 763
4bea7a2e
UD
764 * rt/aio_misc.c: Set errno at correct place.
765
cfafc6fd
UD
766 * rt/aio_fsync.c: Test OP parameter for correct values.
767
4a900f3b
UD
768 * hesiod/hesiod.c: Avoid emitting rcsid in object file.
769
2f638d5e
UD
7701999-08-04 Andreas Schwab <schwab@suse.de>
771
772 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
773 Initialize result to one.
774 (GET_NPROCS_CONF_PARSER): Likewise.
775
630b9a59
UD
7761999-08-03 Ulrich Drepper <drepper@cygnus.com>
777
778 * inet/ether_hton.c: Pass errno pointer to NSS function.
779 * inet/getnetgrent_r.c: Likewise.
780 Reported by Marty Leisner <leisner@rochester.rr.com>.
781
d6f6ffa1
UD
7821999-08-02 Thorsten Kukuk <kukuk@suse.de>
783
784 * nis/nis_callback.c: Fix port problem on big-endian machines
785 * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC
786 fields are always 32 bit.
787 Patches from Paul Mackerras <paulus@cs.anu.edu.au>
788
789 * nis/nss_nis/nis-service.c: Remove htons, port is always in
790 network-byte-order.
791 * nis/nss_nisplus/nisplus-service.c: Rename number to port.
792
4bdd6453
UD
7931999-08-03 Andreas Schwab <schwab@suse.de>
794
795 * sysdeps/posix/sigset.c: Unblock the signal after setting its
796 disposition. Use SIG_BLOCK/SIG_UNBLOCK instead of SIG_SETMASK to
797 avoid two calls to sigprocmask.
798
d03db7f0
UD
7991999-08-02 Ulrich Drepper <drepper@cygnus.com>
800
801 * sysdeps/generic/s_nexttowardf.c: Fix typo.
802
7b19af68
UD
8031999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
804
805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
806 Only allow rt signal frames. No SA_SIGINFO signals will have the
807 siginfo_t just not filled out with SI_NOINFO code.
808 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h
809 (register_dump): Take the above change into account.
810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
811 (rt_signal_frame): Likewise.
812
813 * sysdeps/unix/sysv/linux/sparc/getsysstats.c: New file.
814
249fd241
UD
8151999-08-02 Thorsten Kukuk <kukuk@suse.de>
816
b533f96f 817 * nis/nis_callback.c (internal_nis_do_callback): Use poll()
249fd241
UD
818 instead of select().
819
8201999-08-02 Ulrich Drepper <drepper@cygnus.com>
821
822 * sysdeps/generic/s_nextafter.c: Define __nexttoward and
823 nexttoward so something else so that aliasing works.
824
8251999-08-02 Thorsten Kukuk <kukuk@suse.de>
826
827 * sysdeps/generic/math_ldbl.h: Fix typo.
828 * sysdeps/generic/strtold.c: Remove unbalanced #endif.
829 * sysdeps/alpha/fpu/e_sqrt.c: Use new path for e_sqrt.c.
830
8311999-08-02 Ulrich Drepper <drepper@cygnus.com>
832
833 * elf/resolvfail.c: Include stdio.h. Also test dlerror.
834
4f2793d4
UD
8351999-08-01 Ulrich Drepper <drepper@cygnus.com>
836
ff5fad16
UD
837 * elf/Makefile (tests): Add resolvfail. Add rules to build the
838 program.
839 * elf/resolvfail.c: New file.
840
4f2793d4
UD
841 * elf/dl-sym.c (_dl_sym): Always determine module of the caller to
842 pass it to _dl_lookup_symbol.
843
844 * elf/dl-error.c (_dl_signal_error): Optimize string generation a
845 bit. Reword message.
846
847 * dlfcn/dlerror.c: Make code thread-safe.
848
549c48e7
RM
8491999-07-31 Roland McGrath <roland@baalperazim.frob.com>
850
851 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member
852 initializer in CHECK: a bit size, not the type code repeated!
853
8685bf13
UD
8541999-07-31 Ulrich Drepper <drepper@cygnus.com>
855
856 * string/tester.c: Add tests with constant arguments for strcpy
857 and stpcpy.
858
83f6a990
UD
8591999-07-31 H.J. Lu <hjl@gnu.org>
860
861 * string/bits/string2.h (__strcpy_small): Fix a typo.
862
899a2827
UD
8631999-07-31 Ulrich Drepper <drepper@cygnus.com>
864
f01010de
UD
865 * Makeconfig (link-libc): Always define it, not only for shared
866 builds.
867
899a2827
UD
868 * sysdeps/i386/fpu/e_pow.S: Use addl %esp instead of pop.
869 * sysdeps/i386/fpu/e_powf.S: Likewise.
870 * sysdeps/i386/fpu/e_powl.S: Likewise. [PR libc/1213].
871
872 * sysdeps/generic/e_lgammal_r.c: Set *signgam to zero.
873 * sysdeps/generic/e_gammal_r.c: Likewise. [PR libc/1212].
874
bdb04ee8
UD
8751999-07-30 Andreas Schwab <schwab@suse.de>
876
877 * sysdeps/unix/sysv/linux/getsysstats.c (GET_NPROCS_PARSER): New
878 definition.
879 (__get_nprocs): Use it.
880 (__get_nprocs_conf): Define as separate function if
881 GET_NPROCS_CONF_PARSER is defined.
882 * sysdeps/unix/sysv/linux/alpha/getsysstats.c: New file.
883
884 * include/sys/sysinfo.h: New file.
885 * sysdeps/generic/sys/sysinfo.h: Remove declaration of internal
886 interface.
887 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
888
8891999-07-30 H.J. Lu <hjl@gnu.org>
890
891 * libio/iofflush.c (fflush_unlocked): Weak aliase if
892 _IO_MTSAFE_IO is not defined.
893 * libio/clearerr.c (clearerr_unlocked): Likewise.
894 * libio/feof.c (feof_unlocked): Likewise.
895 * libio/ferror.c (ferror_unlocked): Likewise.
896 * libio/fputc.c (fputc_unlocked): Likewise.
897 * libio/getc.c (getc_unlocked, fgetc_unlocked): Likewise.
898 * libio/getchar.c (getchar_unlocked): Likewise.
899 * libio/putc.c (putc_unlocked): Likewise.
900 * libio/putchar.c (putchar_unlocked): Likewise.
901
9021999-07-30 Thorsten Kukuk <kukuk@suse.de>
903
904 * sunrpc/Versions: Add svc_getreq_common, svc_getreq_poll,
905 svc_max_pollfd and svc_pollfd to GLIBC_2.2
906 * sunrpc/rpc/svc.h: Use rpc*_t types, add new prototypes
907 for svc_run/poll interface.
908 * sunrpc/rpc/types.h: Add rpc*_t typedefs.
909 * sunrpc/rpc_common.c: Add svc_pollfd and svc_max_pollfd as
910 global variable.
911 * sunrpc/svc.c: Add svc_getreq_poll and svc_getreq_common,
912 rewrite other svc_getreq* functions to use svc_getreq_common.
913 * sunrpc/svc_run.c: Use poll().
914
9151999-07-30 Andreas Schwab <schwab@suse.de>
916
917 * Makerules: Put sysd-versions and Versions.all on
918 postclean-generated instead of common-generated.
919
9201999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
921
922 * manual/time.texi (Basic CPU Time): Note that clock_t can wrap
923 around and CLOCKS_PER_SEC is 1e6.
924
94ffedf6
UD
9251999-07-30 Ulrich Drepper <drepper@cygnus.com>
926
3d558f4e
UD
927 * configure.in: Add test for local label subtraction.
928 * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS.
929 * stdio-common/vfprintf.c (vfprintf): Use subtraction of local
930 labels to reduce number of runtime relocations and move jump
931 tables in read-only seciton.
932
94ffedf6
UD
933 * malloc/malloc.c (ptmalloc_init): Correct last patch. The
934 assignment cannot be moved.
935
53308042
UD
9361999-07-29 H.J. Lu <hjl@gnu.org>
937
66f8fa9b
UD
938 * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize
939 if no threads are used.
940
941 * libio/iofwrite.c: Add weak alias for _unlocked function if not
942 _IO_MTSAFE_IO.
943 * libio/iofread.c: Likewise.
944 * libio/iofgets.c: Likewise.
945 * libio/iofputs.c: Likewise.
946
947 * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New
948 definition.
949
53308042
UD
950 * stdlib/mbtowc.c: Include <string.h>.
951 * stdlib/wctomb.c: Likewise.
952 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
953 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
954
955 * misc/mntent_r.c: Include <alloca.h>.
956 * elf/dl-runtime.c: Likewise.
957
f9a2a636
UD
9581999-07-29 Andreas Schwab <schwab@suse.de>
959
960 * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for
961 all floating point formats supported by gcc. Error out for
962 unhandled precisions.
963 * misc/efgcvt_r.c (NDIGIT_MAX): Likewise.
964 * misc/qefgcvt.c (NDIGIT_MAX): Likewise.
965 * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
966
ea3e6a3a
UD
9671999-07-29 Ulrich Drepper <drepper@cygnus.com>
968
de4a40d0
UD
969 * sysdeps/generic/setenv.c: Move setenv code in new function
970 __add_to_environ. Add new parameter specifying already
971 constructed string for the environment.
972 (setenv): Call __add_to_environ with new parameter set to NULL.
973 (unsetenv): Really test all elements for duplicated name. Missed those
974 cases where the two are following each other.
975 * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv.
976 * include/stdlib.h: Add prototype of __add_to_environ.
977 * stdlib/tst-environ.c: New file.
dbc75fb3 978 * stdlib/Makefile (tests): Add tst-environ.
de4a40d0 979
9031847d
UD
980 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
981
ea3e6a3a
UD
982 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
983 argument in realloc call.
984 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
985 Likewise.
986 Reported by Danny Braniss <danny@cs.huji.ac.il>.
987
b113c12c
UD
9881999-07-28 Ulrich Drepper <drepper@cygnus.com>
989
990 * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits
991 to print.
992 * misc/efgcvt_r.c: Likewise.
993 * misc/qefgcvt.c: Likewise.
994 * misc/qefgcvt_r.c: Likewise.
995 * misc/tst-efgcvt.c: Remove one test which cannot reliably be run
996 anymore.
997
aa847ee5
UD
9981999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
999
1000 * manual/math.texi (FP Function Optimization): Mention drawbacks.
1001
9f097308
UD
10021999-07-28 Ulrich Drepper <drepper@cygnus.com>
1003
1004 * stdlib/mblen.c: Use static state.
1005 Reported by Bruno Haible <haible@ilog.fr>.
1006
1007 * stdlib/mbtowc.c: Reset state for s == NULL.
1008 * stdlib/wctomb.c: Likewise.
1009 Reported by Bruno Haible <haible@ilog.fr>.
1010
1011 * stdlib/mbstowcs.c: Do not use global state.
1012 Reported by Bruno Haible <haible@ilog.fr>.
1013
97a0d44d
UD
10141999-07-28 Andeas Schwab <schwab@suse.de>
1015
1016 * iconvdata/Makefile: Don't try to run iconv tests when cross
1017 compiling.
1018
50d3390d
RM
10191999-07-27 Mark Kettenis <kettenis@gnu.org>
1020
1021 * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
1022 assembler code to switch stacks and call init1 outside this
1023 function. Inside `init' the code was optimized away by gcc
1024 2.95 since it was "clearly" unreachable.
1025 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1026 Do something similar for the trampoline code.
1027
7396d844
UD
10281999-07-27 Ulrich Drepper <drepper@cygnus.com>
1029
1030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information
1031 for the hinted protocol.
1032
e69dbc25
UD
10331999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1034
1035 * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
1036
a1eca9f3
UD
10371999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1038
1039 * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx.
1040 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
1041 * elf/dl-load.c (_dl_map_object): Likewise.
1042 * elf/do-lookup.h (do_lookup*): Likewise.
1043 * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t.
7396d844 1044 * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
a1eca9f3
UD
1045 as uint64_t.
1046 * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
1047
b7375f6c
UD
10481999-07-26 Ulrich Drepper <drepper@cygnus.com>
1049
650364fa
UD
1050 * sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
1051 * sysdeps/generic/getpgrp.c: Likewise.
1052 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
1053 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
1054 Patch by John Tobey <jtobey@banta-im.com>.
1055
b7375f6c
UD
1056 * sysdeps/posix/wait3.c: Help compiling in presence of
1057 __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
1058
8cb079d4
UD
10591999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1060
1061 * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers
1062 as much as possible. Declare them using .register pseudo-op if they
1063 are still used.
1064 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1065 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1066 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1067 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1068 * sysdeps/sparc/sparc64/memset.S: Likewise.
1069 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1070 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1071 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1072 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1073 * sysdeps/sparc/sparc64/strcat.S: Likewise.
1074 * sysdeps/sparc/sparc64/strchr.S: Likewise.
1075 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1076 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1077 * sysdeps/sparc/sparc64/strcspn.S: Likewise.
1078 * sysdeps/sparc/sparc64/strlen.S: Likewise.
1079 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1080 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1081 * sysdeps/sparc/sparc64/strpbrk.S: Likewise.
1082 * sysdeps/sparc/sparc64/strspn.S: Likewise.
1083 * sysdeps/sparc/sparc64/sub_n.S: Likewise.
1084 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1085 Optimize trampoline code for .plt4-.plt32767.
1086 Fix trampolines for .plt32768+.
1087
f05f5ca3
UD
10881999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1089
1090 * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use
1091 -mcpu=v8.
1092 * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
1093 * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for
1094 libc's private use (as assembly routine clobber it anyway).
1095
10961999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1097
1098 * README.template (configurations): The crypt add-on has a new
1099 ftp site.
1100 * manual/install.texi (Installation): Likewise.
1101
be1dd949
UD
11021999-07-26 Ulrich Drepper <drepper@cygnus.com>
1103
252ff6b6
UD
1104 * time/time.h: Add forward for struct sigevent. Unix98 maybe
1105 requires to have a full definition but we wait for a bug report
1106 based on the test suite.
1107
be1dd949
UD
1108 * sysdeps/generic/clock_getres.c: New file.
1109 * sysdeps/generic/clock_gettime.c: New file.
1110 * sysdeps/generic/clock_settime.c: New file.
1111 * sysdeps/generic/timer_create.c: New file.
1112 * sysdeps/generic/timer_delete.c: New file.
1113 * sysdeps/generic/timer_getoverr.c: New file.
1114 * sysdeps/generic/timer_gettime.c: New file.
1115 * sysdeps/generic/timer_settime.c: New file.
1116
1117 * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t,
1118 CLOCK_REALTIME, and TIMER_ABSTIME.
1119 * sysdeps/mach/hurd/bits/time.h: Likewise.
1120 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1121 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1122
1123 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS.
1124
1125 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and
1126 si_timer2.
1127
1128 * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls.
1129
1130 * time/Makefile (routines): Add clock_getres, clock_gettime,
1131 clock_setres, timer_create, timer_delete, timer_getoverr,
1132 timer_gettime, and timer_settime.
1133
1134 * time/time.h: Define clockid_t, timer_t, and struct itimerspec for
1135 POSIX.1b. Add prototypes for clock and timer functions.
1136
ed664e8e
RM
11371999-07-26 Roland McGrath <roland@baalperazim.frob.com>
1138
1139 * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
1140 Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1141
b8a423c2
UD
11421999-07-26 Ulrich Drepper <drepper@cygnus.com>
1143
ff5c72ff
UD
1144 * stdlib/wcstombs.c: Do not use global state.
1145 Reported by Bruno Haible <haible@ilog.fr>.
1146
eea35053
UD
1147 * wcsmbs/wctob.c: Avoid sign extension when returning character.
1148 Reported by Bruno Haible <haible@ilog.fr>.
1149
b8a423c2
UD
1150 * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number
1151 of wide characters to convert do it right and don't overestimate
1152 by multiplying with MB_CUR_MAX.
1153 Reported by Bruno Haible <haible@ilog.fr>.
1154
b18ac18e
UD
11551999-07-26 Jakub Jelinek <jj@ultra.linux.jz>
1156
1157 * string/bits/string2.h (__strcpy_small): Avoid compile time warning.
1158 (__stpcpy_small): Likewise.
1159 Union has no __uc member but __c.
1160
c4bf3226
AS
11611999-07-26 Andreas Schwab <schwab@suse.de>
1162
1163 * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
1164
722c33bb
UD
11651999-07-25 Ulrich Drepper <drepper@cygnus.com>
1166
f1778711
UD
1167 * libio/iofclose.c (_IO_new_fclose): Only fall back on
1168 _IO_old_fclose if doing versioning.
1169
c7f7281e
UD
1170 * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle
1171 them appropriately.
1172 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1173
b0b422e8
UD
1174 * misc/mntent_r.c: Allow spaces and tabs in entry names by
1175 encoding these characters.
63f7cb44 1176 * misc/tst-mntent.c: Add test case for addmntent and getmntent.
b0b422e8 1177
722c33bb
UD
1178 * string/bits/string2.h: Fix aliasing problems.
1179 * sysdeps/i386/i486/bits/string.h: Likewise.
1180 * sysdeps/i386/bits/string.h: Likewise.
1181
11821998-12-28 Geoff Keating <geoffk@ozemail.com.au>
1183
1184 * sysdeps/powerpc/dl-machine.c: Handle shared library profiling.
1185 * elf/rtld.c (dl_main): Don't call malloc() between
1186 re-relocating the dynamic linker and running the application's crt0.
1187
11881999-07-21 Paul D. Smith <psmith@gnu.org>
1189
1190 * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below
1191 glob.h to get __P() macro.
1192
1193 * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax,
1194 not ANSI.
1195 (__strchrnul): This won't exist outside GLIBC, so create one.
1196
11971999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
1198
1199 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t.
1200 __ino64_t should be 32bit unsigned type on sparc32.
1201 Define __off64_t to __quad_t instead of __int64_t.
1202 Make __pic_pid_t unsigned on sparc32.
1203
12041999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1205
1206