]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
2
3 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4 * iconv/gconv_db.c: Use __ protected regex functions.
5 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
6 * posix/getopt_init.c: Use __getpid not getpid.
7 * posix/regex.c: Rename all global functions to start with __ and
8 make old names weak aliases.
9 * posix/regex.h: Adopt prototypes for this.
10 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
11 a weak alias and use __getcwd instead of getcwd.
12 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
13 * stdlib/strtod.c: Use __btowc instead of btowc.
14 * stdlib/strtol.c: Likewise.
15 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
16 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
17 and sys_errlist are weak.
18 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
19 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
20 * wcsmbs/mbsnrtowcs.c: Likewise.
21 * wcsmbs/mbsrtowcs.c: Likewise.
22 * wcsmbs/wcsnrtombs.c: Likewise.
23 * wcsmbs/wcsrtombs.c: Likewise.
24 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
25 weak alias.
26 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
27 * wctype/wctype.c: Define function as __wctype and make wctype
28 weak alias.
29 * wctype/wctype.h: Declare __wctype.
30
31 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
32
33 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
34
35 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
36
37 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
38 stat64.
39 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
40 functions.
41 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
42 for __llseek.
43 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
44 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
45 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
46 make it a weak alias.
47 * posix/unistd.h: Declare __lseek64.
48
49 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
50 (_IO_file_stat): Fix typo.
51 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
52 block size from the file. Use __mempcpy if _LIBC.
53
54 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
55
56 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
57 * wcsmbs/mbrtowc.c: Likewise.
58 * wcsmbs/mbsnrtowcs.c: Likewise.
59 * wcsmbs/mbsrtowcs.c: Likewise.
60 * wcsmbs/wcrtomb.c: Likewise.
61 * wcsmbs/wcsnrtombs.c: Likewise.
62 * wcsmbs/wcsrtombs.c: Likewise.
63 * wcsmbs/wctob.c: Likewise.
64
65 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
66 position of next output character correctly.
67 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
68
69 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
70
71 * stdlib/strtod.c: Don't use mbtowc.
72
73 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
74
75 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
76 what we want is smaller than a buffer.
77
78 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
79
80 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
81 this function.
82
83 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
84
85 * configure.in: Recognize --with-headers flag and determine
86 commandline options to be used in compilation.
87 * Makeconfig (+includes): Use $(sysincludes).
88 * config.make.in (sysincludes): Define from SYSINCLUDES.
89 * glibcbug.in: Use SYSINCLUDES information.
90 Patches by Zack Weinberg.
91
92 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
93
94 * glibcbug.in: On linux, report version of kernel headers seen
95 by compiler.
96
97 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
98
99 * libc.map: Add __asprintf to GLIBC_2.1.
100 * elf/dlerror.c: Use __asprintf, not asprintf.
101 * libio/stdio.h: Declare __asprintf.
102 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
103 a weak alias.
104
105 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
106 to avoid inclusion from libc_pic.a.
107
108 * elf/dl-runtime.c: Undo last patch.
109
110 * stdlib/strtod.c: Don't use mbtowc, use btowc.
111
112 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
113 as default, use NULL.
114
115 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
116
117 * resolv/Makefile: Include ../Makeconfig - needed for building
118 static NSS module.
119
120 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
121
122 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
123 static-nss since we don't want hesiod in the static NSS.
124
125 * nss/Makefile: Build only nss_files as static.
126
127 * nss/function.def: Remove support for service db.
128
129 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
130
131 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
132
133 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
134
135 * posix/wordexp-test.c: Make IFS per test-case.
136
137 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
138
139 * glibcbug.in: Report version of gcc in use. Remove unused variable
140 ENVIRONMENT.
141
142 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
143
144 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
145 `-print-file-name' to find as and ld.
146
147 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
148
149 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
150 template is wrong. Remove unused varaible `ignored'.
151
152 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
153
154 * libc.map: Export __libc_sa_len.
155
156 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
157
158 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
159
160 * iconv/gconv.c: Take care for NULL arguments.
161 * iconv/gconv_dl.c: Make find_func function global.
162 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
163 Add prototypes for ASCII conversion functions.
164 * iconv/gconv_simple.c: Add ASCII conversion functions.
165 * locale/C-ctype.c: Correct charset name.
166
167 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
168 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
169 wcsmbsload.
170 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
171 * wcsmbs/mbrtowc.c: Likewise.
172 * wcsmbs/mbsnrtowcs.c: Likewise.
173 * wcsmbs/mbsrtowcs.c: Likewise.
174 * wcsmbs/wcrtomb.c: Likewise.
175 * wcsmbs/wcsnrtombs.c: Likewise.
176 * wcsmbs/wcsrtombs.c: Likewise.
177 * wcsmbs/wctob.c: Likewise.
178 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
179 prototypes for wmemr*.
180 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
181 * wcsmbs/wcsnlen.c: New file.
182 * wcsmbs/wcsmbsload.c: New file.
183 * wcsmbs/wcsmbsload.h: New file.
184
185 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
186
187 * manual/install.texi: Describe some more critical points.
188
189 * string/string.h: Add prototype for __strnlen.
190 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
191
192 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
193 much less predictable names.
194 * sysdeps/posix/mkstemp.c: Likewise.
195
196 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
197
198 * manual/libc.texinfo (Top): Change "file namespace" to "local
199 namespace".
200
201 * manual/socket.texi: Change file namespace to local namespace.
202 (Out-of-Band Data): Remove unneeded variable link.
203 (Host Address Functions): Use uint32_t consequently and add a
204 number of clarifications for IPv4/IPv6, classless addresses.
205 (Internet Namespace): Added some paragraphs about IPv6.
206 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
207
208 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
209
210 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
211
212 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
213 (NI_NUMERICHOST, et al.): Tidy up and add comments.
214 (AI_NUMERICHOST): Define.
215 (getnodebyname): New prototype.
216 (AI_V4MAPPED, et al.): New constants.
217
218 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.<
219 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
220 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
221 for socket.
222 * sysdeps/unix/sysv/linux/sa_len.c: New file.
223 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
224
225 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
226
227 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
228 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
229 * socket/Makefile (headers): Add bits/sockunion.h.
230 * socket/sys/socket.h: Include <bits/sockunion.h>
231 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
232 <sys/socket.h>, to avoid getting sockaddr_union defined.
233 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
235 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
236
237 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
238 (2.2.x kernels won't have it).
239
240 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
241
242 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
243 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
244 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
245 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
246
247 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
248
249 * manual/socket.texi (Socket Addresses): Fix a typo.
250 (Interface Naming): New section.
251
252 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
253
254 * configure.in: Check for CC using $ac_tool_prefix, to handle
255 cross-compilation. Use AC_CHECK_TOOL to find MiG.
256 * config.make.in: Add MIG to be substituted.
257 * mach/Machrules: Don't define MIG variable.
258
259 Patch by Gordon Matzigkeit <gord@profitpress.com>.
260
261 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
262
263 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
264 strdupa to copy rpath.
265
266 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
267
268 * configure.in: Fix gcc version check.
269
270 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
271 confusing.
272
273 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
274
275 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
276 of ptsname_r.
277
278 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
279 like ttyname_r.
280 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
281 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
282 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
283 of __ptsname_r accordingly.
284 * login/openpty.c (openpty): Likewise.
285
286 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
287
288 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
289
290 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
291
292 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
293
294 * Makerules: Readd missing rule for $(objpfx)stamp.oS.
295
296 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
297
298 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
299 return value for better error checking.
300
301 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
302
303 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
304 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
305
306 * elf/elf.h (EM_SPARC64): Remove.
307 (EM_SPARC32PLUS, EM_SPARCV9): Add.
308 (HWCAP_SPARC_V9): Add.
309
310 * elf/ldsodefs.h (_dl_hwcap): Declare.
311 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
312 Weaken so dlopen from static progies works.
313 (WEAKADDR): New macro.
314 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
315 (LD_SO_PRELOAD): New macro.
316 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
317 (elf_machine_rela): Weaken _dl_rtld_map.
318
319 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
320 to __clone, and remove the later's alias.
321 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
322
323 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
324 the kernel's structure.
325
326 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
327 Sparc needs a custom value of __KERNEL_NCCS.
328
329 1998-04-06 Richard Henderson <rth@cygnus.com>
330
331 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
332
333 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
335
336 1998-04-06 Richard Henderson <rth@cygnus.com>
337
338 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
339 as the buffer is not properly aligned.
340 Reported by Juan Cespedes <cespedes@debian.org>.
341
342 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
343
344 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
345 instead of AF_FILE.
346
347 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
348
349 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
350 and wc*tomb* functions.
351
352 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
353
354 * sysdeps/unix/start.c: Fix typo.
355
356 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
357
358 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
359
360 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
361
362 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
363 expressions and using array variables.
364 * sysdeps/libm-ieee754/e_asin.c: Likewise.
365 * sysdeps/libm-ieee754/e_j0.c: Likewise.
366 * sysdeps/libm-ieee754/e_j1.c: Likewise.
367 * sysdeps/libm-ieee754/e_log.c: Likewise.
368 * sysdeps/libm-ieee754/e_pow.c: Likewise.
369 * sysdeps/libm-ieee754/k_cos.c: Likewise.
370 * sysdeps/libm-ieee754/k_sin.c: Likewise.
371 * sysdeps/libm-ieee754/k_tan.c: Likewise.
372 * sysdeps/libm-ieee754/s_atan.c: Likewise.
373 * sysdeps/libm-ieee754/s_erf.c: Likewise.
374 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
375 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
376 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
377
378 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
379
380 * iconv/gconv.c: Rewrite of the low-level of gconv.
381 * iconv/gconv.h: Likewise.
382 * iconv/gconv_builtin.h: Likewise.
383 * iconv/gconv_close.c: Likewise.
384 * iconv/gconv_db.: Likewise.
385 * iconv/gconv_dl.c: Likewise.
386 * iconv/gconv_int.h: Likewise.
387 * iconv/gconv_open.c: Likewise.
388 * iconv/gconv_simple.c: Likewise.
389 * iconvdata/8bit-gap.c: Adapt for rewrite.
390 * iconvdata/8bit-generic.c: Likewise.
391 * iconvdata/euckr.c: Likewise.
392 * iconvdata/iso646.c: Likewise.
393 * iconvdata/iso6937.c: Likewise.
394 * iconvdata/iso8859-1.c: Likewise.
395 * iconvdata/johab.c: Likewise.
396 * iconvdata/sjis.c: Likewise.
397 * iconvdata/t61.c: Likewise.
398 * iconvdata/uhc.c: Likewise.
399
400 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
401
402 * iconv/gconv_int.h: New file. Internal header.
403 * iconv/Makefile (distribute): Add gconv_int.h.
404 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
405 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
406 * iconv/gconv_close.c: Likewise.
407 * iconv/gconv_conf.c: Likewise.
408 * iconv/gconv_db.c: Likewise.
409 * iconv/gconv_dl.c: Likewise.
410 * iconv/gconv_int.h: Likewise.
411 * iconv/gconv_open.c: Likewise.
412 * iconv/iconv.c: Likewise.
413 * iconv/iconv_close.c: Likewise.
414 * iconv/iconv_open.c: Likewise.
415 * iconv/iconv_prog.c: Likewise.
416
417 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
418
419 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
420 missing braces.
421
422 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
423
424 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
425
426 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
427
428 Based on patch from Pat Beirne:
429 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
430 PIC and non-PIC now. Correctly negate error number.
431 (errno): Use `%' not `@' in .type directives.
432
433 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
434
435 * sysdeps/i386/strtok.S: Change to use single exit point.
436 * sysdeps/i386/i686/strtok.S: Likewise.
437
438 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
439
440 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
441 default.
442
443 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
444
445 * Makerules (installed-libcs): Fix typo.
446
447 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
448
449 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
450 (UHC-routines): Remove ksc5601.
451
452 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
453
454 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
455 introduced in last change.
456
457 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
458
459 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
460 before 2.1.92.
461
462 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
463
464 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
465
466 * stdlib/isomac.c: Use -isystem instead of -I for system include
467 dir.
468
469 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
470
471 * resolv/res_comp.c (underscorechar): New.
472 (middlechar): Allow '_'.
473
474 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
475
476 * intl/explodename.c (stdlib.h): Include that file only if
477 STDC_HEADERS or _LIBC.
478 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
479 Patch by Philippe De Muyter <phdm@macqel.be>.
480
481 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
482
483 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
484 (AC_PROG_CHECK_VER): New macro.
485 * configure.in: Use AC_PROG_CHECK_VER to check versions of
486 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
487
488 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
489
490 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
491 * sysdeps/i386/i686/strtok.S: New file
492 * sysdeps/i386/i686/strtok_r.S: New file
493
494 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
495
496 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
497 type to __off64_t.
498 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
499 parameter as __off64_t instead of __off_t.
500 (ftello): Make alias for ftello64 instead of ftello. Change
501 return type to __off64_t.
502
503 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
504
505 * sysdeps/i386/bits/string.h: Fix various typos.
506 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
507
508 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
509
510 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
511
512 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
513 lchown syscall correctly. [PR libc/541].
514
515 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
516
517 * localedata/Makefile: Correct testsuite rules.
518
519 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
520 * iconvdata/iso646.c: Fix conversion from UCS4.
521
522 * elf/ldsodefs.h: Mark internal function with internal_function.
523 * elf/dl-addr.c: Likewise.
524 * elf/dl-close.c: Likewise.
525 * elf/dl-debug.c: Likewise.
526 * elf/dl-deps.c: Likewise.
527 * elf/dl-error.c: Likewise.
528 * elf/dl-fini.c: Likewise.
529 * elf/dl-init.c: Likewise.
530 * elf/dl-load.c: Likewise.
531 * elf/dl-lookup.c: Likewise.
532 * elf/dl-object.c: Likewise.
533 * elf/dl-open.c: Likewise.
534 * elf/dl-profile.c: Likewise.
535 * elf/dl-reloc.c: Likewise.
536 * elf/dl-runtime.c: Likewise.
537 * elf/dl-symbol.c: Likewise.
538 * elf/dl-version.c: Likewise.
539 * elf/dlerror.c: Likewise.
540 * sysdeps/generic/dl-sysdep.c: Likewise.
541 * sysdeps/i386/dl-machine.h: Likewise.
542 * intl/finddomain.c: Likewise.
543 * intl/gettextP.h: Likewise.
544 * intl/loadmsgcat.c: Likewise.
545
546 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
547
548 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
549 * iconv/gconv_builtin.h: Add definitions for new builtins.
550 * iconv/gconv.h: Add prototypes for new builtins.
551
552 * iconvdata/Makefile (modules): Add ISO646.
553 Add rules for ISO646 module.
554 (distribute): Add iso646.c.
555 * iconvdata/gconv-modules: Add module and alias definition for
556 ISO646 charsets.
557 * iconvdata/iso646.c: New file.
558
559 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
560
561 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
562 * iconv/iconv_prog.c: Implement --list option to print available
563 coded character sets.
564
565 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
566
567 Make fread() read large blocks straight to the user buffer.
568
569 * libio/fileops.c (_IO_file_xsgetn): New function.
570 (_IO_file_jumps): Use it.
571 * libio/libioP.h: Prototype it.
572
573 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
574
575 * iconv/gconv_conf.c (builtin_aliases): New variable.
576 (__gconv_read_conf): Add builtin aliases.
577 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
578 noop macro before including gconv_builtin.h.
579 * iconv/gconv_builtin.h: Add alias names.
580
581 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
582 number of converted bytes correctly.
583
584 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
585
586 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
587 we only wait for a replay.
588
589 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
590
591 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
592 EUC-KR modules.
593
594 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
595
596 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
597 use PLTJMP() rather than explicit (PLT).
598
599 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
600 __libc_start_main().
601
602 Based on patch from Pat Beirne:
603 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
604 Always define, not only #ifndef PIC.
605 (DO_CALL): Pass fifth argument correctly in R4.
606 (PSEUDO): Correct test for error, call syscall_error through PLT
607 if PIC.
608
609 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
610
611 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
612 definitions.
613
614 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
615
616 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
617 JOHAB.so.
618
619 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
620
621 * io/Makefile (static-only-routines): Add stat64, fstat64 and
622 lstat64.
623
624 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
625
626 * manual/Makefile: Use object-suffixes-for-libc instead of
627 object-suffixes.
628 * rpm/Makefile (install-lib): Likewise.
629
630 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
631
632 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
633
634 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
635 `m68*', not only `m68k'.
636
637 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
638
639 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
640
641 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
642 install lddlibc4.
643
644 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
645
646 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
647 EUC-KR.
648
649 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
650 comment.
651
652 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
653
654 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
655 the init stuff.
656
657 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
658
659 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
660 adjtimex syscall.
661 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
662 adjtimex.
663 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
664
665 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
666
667 * Makerules (install): Change comment for libc.so following the
668 libc_nonshared changes.
669
670 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
671
672 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
673
674 * iconvdata/gap.pl: Avoid using %#06x.
675
676 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
677
678 * Makerules: Use $? instead of S^ when invoking ar.
679
680 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
681
682 * db2/compat.h: Allow EFTYPE being defined.
683 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
684 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
685 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
686 * sysdeps/mach/bits/libc-lock.h: Fix typo.
687 (__libc_once): Correctly unlock semaphore.
688 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
689 * sysdeps/unix/bsd/getpt.c: Fix typo.
690 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
691
692 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
693
694 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
695 macros.
696
697 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
698
699 * include/mntent.h: New file.
700
701 * elf/Makefile (trusted-dirs.h): Append slash to filename.
702 * elf/dl-load.c: Rewrite search path handling.
703 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
704 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
705 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
706 * elf/ldsodefs.h: Add prototype.
707
708 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
709
710 * nss/nsswitch.c (__nss_lookup): Adjust comment.
711
712 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
713 function.
714
715 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
716
717 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
718 New function.
719 (HWCAP_IMPORTANT): New definition.
720
721 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
722
723 * elf/dl-open.c (_dl_open): Fix a typo.
724 (_dl_global_scope_alloc): Make it static.
725
726 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
727
728 * Makerules: Remove duplicate rules to handle stamp.oS.
729
730 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
731
732 * manual/examples/inetsrv.c (main): Change prototype of
733 make_socket following change in mkisock.c.
734
735 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
736 example host.
737 (main): Change prototype of init_sockaddr following change in
738 isockadd.c.
739
740 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
741 * manual/examples/isockad.c (init_sockaddr): Likewise.
742
743 * manual/examples/mkfsock.c (make_named_socket): Removed blank
744 lines for clarification.
745 (make_named_socket): Use strncpy instead of strcpy.
746 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
747
748 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
749
750 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
751 determining libs to remove.
752 (postclean): Add soversions.mk.
753 * Makerules (common-mostlyclean): Add tests-static and generated
754 files.
755
756 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
757
758 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
759 scanning for \0.
760 (__strncat_g): Add i686 specific code.
761
762 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
763
764 * manual/install.texi (Reporting Bugs): Ask to include section
765 names in reports.
766
767 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
768
769 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
770 guard against direct inclusion.
771
772 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
773
774 Rework support for libc_nonshared.a:
775 * Makeconfig (object-suffixes-for-libc): New variable.
776 * Rules: Remove handling of static-only and shared-only routines.
777 * Makerules: Handle them here instead. Use
778 object-suffixes-for-libc instead of object-suffixes when dealing
779 with libc objects.
780 (object-suffixes-for-rules): Remove variable.
781 (elide-routines.oS): Elide all routines except static-only
782 routines.
783 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
784 empty.
785 (installed-libcs): Remove special case for .oS.
786 (rmobjs): Likewise.
787
788 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
789
790 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
791 do-tst-rpmatch): New targets.
792 (test): Use them.
793 (install-locales): Ignore comment lines.
794
795 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
796
797 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
798 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
799 ($(objpfx)rtldtbl.h): Likewise.
800 (CPPFLAGS-dl-load.c): Fix reference to object directory.
801
802 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
803
804 * manual/string.texi (Finding Tokens in a String): Extend strsep
805 description and correct example.
806
807 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
808
809 * manual/socket.texi: Remove misguided explicit line breaks and
810 fix the formatting problem instead by reformulating the
811 paragraphs.
812 * manual/filesys.texi: Likewise.
813 * manual/conf.texi: Likewise. Don't typeset table with index
814 fonts, that looks worse than a minimally overfull line.
815
816 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
817
818 * nscd/Makefile (nscd-modules): Move definition outside of
819 conditional.
820
821 * pwd/Makefile: Use have-thread-library to test for thread
822 library.
823
824 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
825
826 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
827
828 * iconvdata/uhc.c (gconv): Remove unused variable idx.
829
830 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
831
832 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
833
834 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
835
836 * nss/getXXent_r.c: Correctly handle failing setXXent function.
837
838 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
839 Reported by Andreas Jaeger.
840
841 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
842
843 * elf/Makefile: Fix typo.
844 (distribute): Add dl-librecon.h.
845 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
846 * elf/ldd.sh.in: Likewise.
847 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
848 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
849 Use strsep correctly.
850 (process_envvars): Allow platform specific variables.
851 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
852 (_dl_load_cache_lookup): Test cache IDs found against
853 _dl_correct_cache_id.
854 * sysdeps/generic/dl-librecon.h: New file.
855 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
856
857 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
858
859 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
860
861 * config.make.in (ldd-rewrite-script): New variable.
862 * configure.in: Substitute ldd-rewrite-script.
863 * elf/Makefile: Rewrite rules to generate ldd script.
864 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
865 * elf/ldd.sh.in: Likewise.
866 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
867 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
868 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
869 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
870 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
871
872 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
873
874 * inet/rcmd.c (iruserok): Remain setuid to the local user
875 while .rhosts is actually read, to make .rhosts-over-NFS work
876 (PR libc/524). Use iruserfopen() for security checks on both
877 hosts.equiv and .rhosts. General cleanup.
878 (iruserfopen): New function, performs careful checking on
879 hosts.equiv/.rhosts files. Disallows all the old forbidden
880 stuff plus hard links to files.
881
882 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
883
884 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
885
886 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
887
888 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
889
890 * sysdeps/i386/i486/bits/string.h: Fix typos.
891
892 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
893
894 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
895 strong alias.
896
897 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
898
899 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
900 Added. Used by libm.so on alpha.
901
902 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
903
904 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
905 defined.
906
907 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
908
909 * Makerules (object-suffixes-for-rules): Add .oS only for
910 building shared library.
911 Add ranlib rule for nonshared library.
912 (rmobjs): Fix typo.
913
914 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
915 into for shared library only.
916 (CPPFLAGS-.oS): Add -DPIC.
917 (libtypes): Use $(object-suffixes-for-rules) instead of
918 $(object-suffixes).
919
920 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
921
922 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
923 and install lddlibc4.
924
925 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
926
927 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
928 hash.
929 * iconvdata/gaptab.pl: Likewise.
930
931 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
932
933 * Rules: Allow Makefiles to specify test-static for tests which
934 cannot be linked dynamically.
935 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
936 tests-static.
937
938 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
939
940 * misc/error.c: Pretty print.
941
942 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
943
944 * Makerules (libc_nonshared-name): Remove variable.
945 (installed-libcs): Use libc-name instead.
946 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
947 dynamic linker.
948
949 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
950 libc.a. Remove explicit reference to dynamic linker.
951
952 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
953
954 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
955 to wchar_t.
956 * iconv/iconv_prog.c: Correctly test for write failure.
957 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
958 * iconvdata/gconv-modules: Likewise.
959 * iconvdata/euckr.c: New file.
960 * iconvdata/johab.c: New file.
961 * iconvdata/ksc5601.c: New file.
962 * iconvdata/ksc5601.h: New file.
963 * iconvdata/uhc.c: New file.
964 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
965
966 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
967 * stdio/fopen.c: Correct handling of 'x' flag.
968 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
969
970 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
971
972 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
973 * sunrpc/rpcsvc/key_prot.x: Likewise.
974 * sunrpc/key_prot.c: Likewise.
975
976 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
977
978 * sysdeps/i386/bits/string.h: Correct things which never worked.
979 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
980 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
981
982 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
983
984 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
985 defined. Reported by Thorsten Kukuk.
986
987 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
988
989 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
990
991 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
992
993 * manual/install.texi (Supported Configurations): Add
994 arm-linuxaout and arm-none.
995
996 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
997
998 * version.h (VERSION): Bump to 2.0.93.
999
1000 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
1001
1002 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
1003
1004 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
1005
1006 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
1007 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
1008
1009 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
1010
1011 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
1012
1013 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1014
1015 Put the static-only routines in a separate library.
1016 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
1017 variables.
1018 (all-object-suffixes): Add .oS.
1019 * Makerules (libc_static-name): New variable.
1020 (installed-libcs): Add libc_nonshared.a.
1021 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
1022 (object-suffixes-for-rules): New variable. Use it instead of
1023 object-suffixes for generating compilation rules.
1024 (rmobjs): Also remove *.oS.
1025 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
1026 ($(objpfx)stamp.oS): New target.
1027
1028 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
1029
1030 * Makefile (FAQ): Automatically check in regenerated FAQ.
1031
1032 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
1033
1034 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
1035
1036 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
1037
1038 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
1039 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
1040
1041 * sysdeps/generic/stub_warning: Removed.
1042
1043 * Makefile (distribute): Add include/des.h.
1044
1045 * manual/Makefile (distribute): Change dir-add.texi to
1046 dir-add.texinfo.
1047
1048 * glibcbug.in: Create files safely when mktemp is not available.
1049
1050 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
1051 Patch by a sun <asun@saul1.u.washington.edu>.
1052
1053 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1054
1055 * libc.map: Rename getname to getnetname.
1056
1057 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
1058
1059 * manual/maint.texi: Use supported platform in examples.
1060
1061 * manual/install.texi: Document some installation tips.
1062
1063 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
1064
1065 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
1066 Fix a bug so that it returns an error if a numeric parameter is
1067 unset and WRDE_UNDEF is set.
1068 Patch by Andreas Schwab and Tim Waugh.
1069 * posix/wordexp-test.c: Add new new test.
1070
1071 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
1072
1073 * posix/regex.c (regex_compile): Last patch wasn't entirely
1074 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
1075
1076 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1077
1078 * manual/filesys.texi (Scanning Directory Content): Fix typo.
1079
1080 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1081
1082 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
1083 clobbered registers don't appear as operands.
1084
1085 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1086
1087 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
1088 Solaris' sake.
1089
1090 * posix/regex.c (regex_compile): Don't allow non-alphabet
1091 characters in character set name.
1092
1093 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
1094
1095 * posix/wordexp.c (w_newword): New function.
1096 (do_parse_glob): New function.
1097 (parse_glob): Use do_parse_glob. Now handles the case where a
1098 variable expansion causes a field-split.
1099 (wordexp): Use w_newword.
1100 (parse_arith): Likewise.
1101 (exec_comm): Likewise.
1102 (parse_comm): Likewise.
1103 (parse_param): Likewise.
1104 (parse_backtick): Likewise.
1105
1106 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
1107
1108 * posix/wordexp-tst.sh: Another test.
1109
1110 * posix/wordexp-test.c: Two new tests.
1111
1112 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
1113 directly (the code using realloc was buggy).
1114 (parse_param): Fix typo in comment.
1115
1116 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1117
1118 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
1119
1120 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1121
1122 * libc.map: Add more rpc auth functions/variables.
1123
1124 * nscd/nscd.c: Add -g option to argp options.
1125
1126 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1127
1128 * configure.in: Be prepared for gcc 2.9.10 and up.
1129 * configure.in: Add missing disabling of quote characters in
1130 compiler version check. Reported by HJ Lu.
1131
1132 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1133
1134 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
1135
1136 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1137
1138 * intl/locale.alias: Fix spelling of romanian.
1139
1140 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
1141 (distribute): Remove des.h.
1142 * include/des.h: New file.
1143 * sunrpc/des.h: Moved to ...
1144 * sunrpc/rpc/rpc_des.h: ...here.
1145
1146 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
1147
1148 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
1149 Fix paren.
1150
1151 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1152
1153 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
1154 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
1155
1156 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
1157
1158 * elf/ldsodesf.h: New file.
1159 * elf/Makefile (distribute): Add ldsodefs.h.
1160 * elf/link.h: Separate internal information in exter header.
1161 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
1162 * elf/dl-minimal.c: Likewise.
1163 * sysdeps/generic/dl-sysdep.c: Likewise.
1164 * elf/sprof.c: Likewise.
1165 * elf/dlsym.c: Likewise.
1166 * elf/dlvsym.c: Likewise.
1167 * elf/dlerror.c: Likewise.
1168 * elf/dladdr.c: Likewise.
1169 * elf/dlclose.c: Likewise.
1170 * elf/dlopen.c: Likewise.
1171 * elf/dl-addr.c: Likewise.
1172 * elf/dl-close.c: Likewise.
1173 * elf/dl-debug.c: Likewise.
1174 * elf/dl-deps.c: Likewise.
1175 * elf/dl-error.c: Likewise.
1176 * elf/dl-fini.c: Likewise.
1177 * elf/dl-init.c: Likewise.
1178 * elf/dl-load.c: Likewise.
1179 * elf/dl-lookup.c: Likewise.
1180 * elf/dl-object.c: Likewise.
1181 * elf/dl-open.c: Likewise.
1182 * elf/dl-profile.c: Likewise.
1183 * elf/dl-reloc.c: Likewise.
1184 * elf/dl-runtime.c: Likewise.
1185 * elf/dl-support.c: Likewise.
1186 * elf/dl-symbol.c: Likewise.
1187 * elf/dl-version.c: Likewise.
1188 * sysdeps/generic/dl-cache.c: Likewise.
1189 * sysdeps/generic/libc-start.c: Likewise.
1190 * iconv/gconv_dl.c: Likewise.
1191 * nss/nsswitch.c: Likewise.
1192
1193 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
1194
1195 * manual/nss.texi: The database is not called network but networks.
1196 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1197
1198 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1199
1200 * configure.in: Correct test for compiler version.
1201 Check that LD_LIBRARY_PATH doesn't contain current path.
1202
1203 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
1204
1205 * elf/dl-close.c (_dl_close): Fix byte count while removing
1206 the shared object from the global scope list and optimize
1207 a little bit.
1208
1209 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1210
1211 * manual/filesys.texi (Scanning Directory Content): Add missing
1212 closing brace.
1213 (Scanning Directory Content): Fix text.
1214
1215 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1216
1217 * manual/memory.texi (Heap Consistency Checking): Add paragraph
1218 explaining difference of -lmcheck and MALLOC_CHECK_.
1219
1220 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1221
1222 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
1223 typos in comments.
1224
1225 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1226
1227 * test-skeleton.c (main): Fix test for exit signal.
1228
1229 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1230
1231 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
1232
1233 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1234
1235 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
1236 appropriate.
1237
1238 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1239
1240 * libc.map: Export __strtok_r.
1241
1242 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
1243
1244 * posix/regex.c (re_compile_fastmap): Remove unused variable
1245 num_regs and adjust comment.
1246 Patch by Jim Meyering <meyering@ascend.com>.
1247
1248 * math/math.h (M_*l): Extend long double constants to be usable
1249 for 128 bit floats. Patch by Richard Henderson.
1250
1251 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1252
1253 * sysdeps/m68k/m68020/wordcopy.S: New file.
1254
1255 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
1256
1257 * posix/wordexp.c: Rewrite parse_param.
1258 Patch by Tim Waugh and Andreas Schwab.
1259
1260 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
1261
1262 * Rules: Update timestamps on empty object files.
1263
1264 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
1265
1266 * manual/filesys.texi (Scanning Directory Content): Add description
1267 of 64 bits scandir function and friends.
1268
1269 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
1270
1271 * glibcbug.in: Use mktemp to generate unique file name for
1272 temporary files.
1273
1274 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
1275 ptsname_r. Use cast for execve call.
1276
1277 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
1278
1279 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
1280 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
1281 * io/sys/statvfs.h: New file.
1282 * sysdeps/generic/fstatvfs.h: New file.
1283 * sysdeps/generic/statvfs.h: New file.
1284 * sysdeps/generic/fstatvfs64.h: New file.
1285 * sysdeps/generic/statvfs64.h: New file.
1286 * sysdeps/generic/bits/statvfs.h: New file.
1287 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
1288 * sysdeps/unix/sysv/linux/statvfs.c: New file.
1289 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
1290
1291 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
1292 and f_ffree elements.
1293
1294 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
1295 mount options in enum.
1296
1297 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1298
1299 * configure.in: Check for recent egcs/gcc.
1300
1301 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
1302
1303 * libc.map: Add alphasort64, scandir64, versionsort64.
1304 * dirent/Makefile (routines): Add scandir64, alphasort64, and
1305 versionsort64.
1306 * dirent/alphasort64.c: New file.
1307 * dirent/scandir64.c: New file.
1308 * dirent/versionsort64.c: New file.
1309 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
1310 versionsort.
1311 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
1312 old name weak alias.
1313 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1314
1315 * dirent/alphasort.c: Use strcoll instead of strcmp.
1316
1317 * dirent/scandir.c: Optimize a bit.
1318
1319 * dirent/versionsort.c: Pretty print.
1320
1321 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
1322
1323 * string/string.h: Add prototype for __strtok_r.
1324
1325 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1326
1327 * posix/Makefile: Fix typo in last change.
1328
1329 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
1330
1331 * dirent/dirent.h (scandir): Make argument of select function const.
1332 * dirent/scandir.c (scandir): Likewise.
1333 Reported by David.Faure@insa-lyon.fr [PR libc/512].
1334
1335 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
1336
1337 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
1338 weak alias.
1339 * sysdeps/i386/strtok_r.c: Likewise.
1340
1341 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
1342 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1343 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1344 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
1345 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
1346 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
1347
1348 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1349
1350 * intl/localealias.c: Remove unneeded define for strdup.
1351
1352 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
1353
1354 * manual/argp.texi: Adjust for better TeX output.
1355 * manual/arith.texi: Likewise.
1356 * manual/conf.texi: Likewise.
1357 * manual/filesys.texi: Likewise.
1358 * manual/header.texi: Likewise.
1359 * manual/lgpl.texinfo: Likewise.
1360 * manual/math.texi: Likewise.
1361 * manual/message.texi: Likewise.
1362 * manual/pattern.texi: Likewise.
1363 * manual/process.texi: Likewise.
1364 * manual/signal.texi: Likewise.
1365 * manual/socket.texi: Likewise.
1366 * manual/startup.texi: Likewise.
1367 * manual/stdio.texi: Likewise.
1368 * manual/terminal.texi: Likewise.
1369 * manual/examples/rprintf.c: Likewise.
1370 * manual/examples/testopt.c: Likewise.
1371 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1372
1373 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
1374
1375 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
1376 parameter name after seeing a digit if it's enclosed in braces.
1377
1378 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
1379
1380 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
1381
1382 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1383
1384 * manual/memory.texi (Heap Consistency Checking): Document
1385 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
1386
1387 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
1388
1389 * manual/Makefile: Add missing rules.
1390
1391 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
1392
1393 * timezone/Makefile (generated): Define to remove all stamp files.
1394
1395 * sysdeps/generic/strsep.c: Also undefine __strsep.
1396
1397 * string/strdup.c: Undefine __strdup and strdup first.
1398 * string/strndup.c: Likewise.
1399
1400 * string/bits/string2.h: Correct strtok_r and strsep.
1401 Add strndup optimization.
1402
1403 * sysdeps/generic/strsep.c: Little optimization.
1404
1405 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
1406
1407 * string/bits/string2.h: Add optimization for strdup.
1408 Always define __strsep and __strtok_r and make real names available
1409 when feature select macros are defined.
1410
1411 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1412
1413 * manual/install.texi (Installation): Use i486-linux as example
1414 instead of the unsupported sunos4.
1415 (Reporting Bugs): Mention glibcbug script.
1416 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
1417
1418 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1419
1420 * posix/wordexp-tst.sh: Make portable. Add more tests.
1421
1422 * posix/Makefile (do-globtest do-wordexp-test): New targets.
1423
1424 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
1425
1426 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
1427 * sysdeps/generic/libc-start.c: ...here, replacing former content.
1428
1429 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
1430 netpacket/packet.h.
1431
1432 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
1433
1434 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1435
1436 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
1437 in enumerator for strict standard compliance.
1438 * sysdeps/generic/bits/resource.h: Likewise.
1439
1440 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
1441
1442 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
1443 (PLTJMP): New macro.
1444
1445 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
1446 longjmp() when floating point enabled.
1447 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
1448 * sysdeps/arm/__longjmp.S: Remove floating point code.
1449 * sysdeps/arm/setjmp.S: Likewise.
1450
1451 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
1452 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1453
1454 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
1455 memset().
1456
1457 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
1458 prototype.
1459
1460 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
1461
1462 Based on patches from Pat Beirne and Scott Bambrough:
1463
1464 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
1465
1466 * sysdeps/arm/bits/fenv.h: New file.
1467
1468 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
1469 * sysdeps/arm/elf/setjmp.S: Likewise.
1470 * sysdeps/arm/elf/start.S: Likewise.
1471 * sysdeps/arm/init-first.c: Likewise.
1472 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
1473 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
1474 comment about floating point to reflect current reality.
1475
1476 * sysdeps/unix/arm/brk.S: Support PIC.
1477 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
1478 re-entrant code.
1479 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
1480 return; call syscall_error through PLT.
1481 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
1482
1483 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
1484
1485 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
1486 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
1487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
1488
1489 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
1490
1491 * dirent/list.c (test): Return error value.
1492 (main): Exit with error value.
1493
1494 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
1495
1496 * Makefile (distribute): Add test-skeleton.c.
1497 * test-skeleton.c: New file.
1498 * dirent/Makefile (tests): Add opendir-tst1.
1499 * dirent/opendir-tst1.c: New file.
1500
1501 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
1502
1503 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
1504 Optimize memory handling.
1505 * sysdeps/unix/closedir.c: Optmize memory handling.
1506
1507 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
1508
1509 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
1510 handling. Optimize a bit.
1511
1512 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1513
1514 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
1515 (parse_param): Fold in Andreas' fixes to do with when the end of
1516 the parameter name has been reached, and quoting inside ${...}.
1517 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
1518 $((echo);(ls)).
1519
1520 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
1521
1522 * manual/maint.texi: Split out installation and contribution
1523 sections to their own appendices. Misc cleanups.
1524 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
1525 * manual/contrib.texi: New file.
1526 * manual/libc.texinfo: Pull in new appendices.
1527 * manual/header.texi: Correct node pointer.
1528
1529 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1530
1531 * manual/process.texi (Process Completion): Clarify return value
1532 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
1533
1534 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1535
1536 * posix/wordexp-test.c: Add more tests.
1537 (testit): Fix logic.
1538
1539 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
1540 /dev/null instead of closing it, close pipe. Always chop off all
1541 trailing newlines. Kill and reap child before returning error.
1542 (w_addword, parse_glob): Fix memory leak.
1543 (wordexp): Fix dangling pointer problem.
1544
1545 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
1546
1547 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
1548
1549 * posix/wordexp-test.c (main): Fix little thinkos and typos.
1550
1551 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
1552 directory index by only the language.
1553
1554 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
1555
1556 * posix/wordexp-tst.sh: Store test results in the
1557 ${common_objpfx}posix directory.
1558
1559 * posix/wordexp-test.c: Remove temporary directory afterwards.
1560
1561 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1562
1563 * libc.map: Export internal versions of cancelable functions.
1564
1565 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1566
1567 * Makerules (MAKEFLAGS): Append `r'.
1568
1569 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1570
1571 * Makeconfig: Define have-thread-library, shared-thread-library
1572 and static-thread-library if a thread library is available. Don't
1573 define rt.
1574 * nscd/Makefile: Compile nscd if have-thread-library. Rename
1575 nscd-routines to nscd-modules. Use shared-thread-library and
1576 static-thread-library in dependencies.
1577 * rt/Makefile: Only compile librt if have-thread-library is
1578 defined.
1579 * Makefile (subdirs): Always include rt subdir.
1580
1581 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1582
1583 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
1584
1585 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
1586
1587 * configure.in: Recognize variations for 32 MIPS processors.
1588 Don't assume ELF systems always have .weak, test for .weakext.
1589
1590 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
1591
1592 * configure.in: Irix6 is an ELF platform.
1593
1594 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
1595
1596 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
1597 unmapping the last loaded segment.
1598
1599 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
1600
1601 * configure.in: Set base_os for Irix6.
1602 Correct test for .weakext.
1603
1604 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1605
1606 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
1607 (new_line) to _dl_debug_message call.
1608
1609 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
1610
1611 * posix/wordexp.c (parse_param): Perform field-splitting after
1612 expanding positional parameter.
1613
1614 * posix/wordexp-tst.sh: Test that field-splitting is performed
1615 after expanding positional parameter.
1616
1617 * posix/wordexp.c (parse_param): Fixed memory leak in
1618 field-splitting after parameter expansion.
1619
1620 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
1621
1622 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
1623 (get_toplvl_escape): Correctly terminate loop at EOF.
1624 Patch by Cristian Gafton <gafton@redhat.com>.
1625
1626 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
1627
1628 * string/tester.c (test_strpbrk): Add more strpbrk tests.
1629 (test_strsep): Likewise. Correct horrible bugs.
1630
1631 * string/bits/string2.h (strcspn): Optimize also reject string of
1632 length 2 and 3.
1633 (strspn): Likewise.
1634 (strpbrk): Likewise.
1635 (strsep): Likewise. Correct bug with successive separators and
1636 separators at the end of the string.
1637 * sysdeps/generic/strsep.c: Correct bug with successive separators
1638 and separators at the end of the string.
1639
1640 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
1641
1642 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
1643 etc) now handled, as well as $$ (pid).
1644
1645 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
1646 (distribute): Add wordexp-tst.sh.
1647
1648 * posix/wordexp-tst.sh: New file.
1649
1650 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
1651 number of positional parameters. Renamed substitute_length to
1652 seen_hash.
1653 Don't free(env) is env is NULL.
1654
1655 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
1656
1657 * libc.map: Add pthread_attr_init to GLIBC_2.1.
1658
1659 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
1660
1661 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
1662 for output file replacing gmon.out.
1663 Patch by Dean Gaudet <dgaudet@arctic.org>.
1664
1665 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1666
1667 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
1668 up namespace. Optimize finding end of line.
1669
1670 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1671
1672 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
1673 securely. Optimized.
1674 (process_dl_debug): Add ':' to list of separators. Optimized.
1675
1676 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1677
1678 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1679 isless, islessequal, islessgreater, isunordered): Return zero or
1680 one.
1681
1682 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
1683
1684 * posix/wordexp-test.c: More tests.
1685 (main): Set up arena for pathname expansion tests (in a temporary
1686 directory).
1687 (testit): Don't check word count or word vector if return value is
1688 non-zero.
1689
1690 * posix/wordexp.c (exec_comm): Always chop off terminating
1691 linefeed (just like bash does).
1692 (parse_param): Change lots of occurrences of "if (!*env)" to "if
1693 (!env || !*env)".
1694 (parse_param): For assignment inside parameter expansion, use all
1695 expanded words in assignment rather than just the first.
1696 (parse_param): Corrected return value for parameter expansion of
1697 an unset variable when WRDE_UNDEF is in effect.
1698 (parse_dollars): Don't field-split if quoted.
1699 (wordexp): Opening brace character isn't allowed unquoted.
1700
1701 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
1702
1703 * elf/dlerror.c: Fix concurrency problems with error string and
1704 number.
1705
1706 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
1707 filter/auxiliary are being loaded.
1708
1709 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
1710
1711 * elf/dlerror.c (last_object_name): Removed.
1712 (dlerror): Don't use last_object_name.
1713 (_dl_error_run): Omit second argument to _dl_catch_error.
1714 * elf/dl-error.c (struct catch): Remove objname member.
1715 (_dl_signal_error): Construct string including objname when given.
1716 (_dl_catch_error): Remove objname handling.
1717 * elf/link.h (_dl_catch_error): Fix prototype and comment.
1718 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
1719 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
1720 * nss/nsswitch.c (nss_dlerror_run): Likewise.
1721 * iconv/gconv_dl.c (dlerror_run): Likewise.
1722 [Corrects PR libc/501].
1723
1724 1998-03-12 Matthias Urlichs <smurf@noris.de>
1725
1726 * nscd/nscd.c: Ignore SIGPIPE.
1727
1728 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
1729
1730 * nscd/nscd_getgr_r.c: Use __ protected names.
1731 * nscd/nscd_getpw_r.c: Likewise.
1732
1733 1998-03-12 Matthias Urlichs <smurf@noris.de>
1734
1735 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
1736 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
1737 null bytes are not transmitted.
1738
1739 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1740
1741 * powerpc/syscalls.list: Correct typo.
1742 * alpha/syscalls.list: Likewise.
1743 * mips/syscalls.list: Likewise.
1744
1745 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
1746
1747 * socket/sys/socket.h: Add prototype for __socket.
1748
1749 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1750
1751 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
1752
1753 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
1754 constants.
1755
1756 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
1757 definition here.
1758 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
1759 definition here.
1760
1761 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
1762 AF_* and PF_* constants.
1763
1764 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
1765
1766 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
1767
1768 * elf/rtld.c: Update help message.
1769 Install link maps for preloaded objects using main_map as loader.
1770
1771 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
1772 * elf/dl-profile.c: Likewise.
1773
1774 * elf/dlsym.c: Little optimization.
1775 * elf/dlvsym.c: Likewise.
1776
1777 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
1778
1779 * posix/wordexp-test.c: Move test for parameter list at the very
1780 beginning.
1781
1782 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
1783
1784 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
1785 WRDE_REUSE flag is set.
1786 (parse_param): Allow `*', `@', and numbers in parameter names.
1787 (parse_dollars): Differentiate between arithmetic expansion and a
1788 command substitution that starts immediately with a sub-shell
1789 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
1790 (parse_param): Memory allocated with __alloca in a block was
1791 referenced outside that block. Adjusted to use malloc/free.
1792 (parse_param): Adjusted field-splitting algorithm so that there is
1793 not necessarily a field split at the end of a parameter expansion.
1794
1795 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
1796
1797 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
1798 don't free words that have already been allocated.
1799 (parse_param): A dollar sign on its own will never have a pattern
1800 associated with it (like "${HOME%%/}" has), so don't try to free it.
1801 (parse_glob): Attempt to glob when an unquoted `[' is found
1802 (rather than an unquoted '{' (!)). Also for unquoted '?'.
1803 (parse_glob): Sorted out quoting in a glob-able word.
1804 (parse_param): Added $* and $@ handling.
1805
1806 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
1807
1808 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
1809 parsing it.
1810
1811 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1812
1813 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1814 _dl_debug_message.
1815
1816 1998-03-12 Matthias Urlichs <smurf@noris.de>
1817
1818 * elf/dl-misc.c: Default for debug output should be stderr.
1819 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
1820 * elf/dl-lookup.c: reference_name may be NULL or empty.
1821
1822 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1823
1824 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
1825
1826 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
1827
1828 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
1829
1830 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
1831
1832 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1833
1834 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
1835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
1836
1837 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1838
1839 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
1840 init stuff.
1841
1842 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1843
1844 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
1845 flag.
1846
1847 * misc/syslog.c (vsyslog): Don't try to send if not connected to
1848 syslog daemon.
1849 (closelog_internal): Don't do anything if not connected.
1850
1851 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
1852
1853 * libc.map: Add _dl_debug_message.
1854 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
1855 before every line.
1856 * elf/fini.c: Correctly use new _dl_debug_message function.
1857 * elf/init.c: Likewise.
1858 * elf/dl-lookup.c: Likewise.
1859 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
1860 * elf/dl-load.c: Likewise. Add more debugging prints.
1861 * elf/dl-reloc.c: Likewise.
1862 * elf/dl-version.c: Likewise.
1863 * elf/dl-support.c: Add variables for debugging.
1864 * elf/rtld.c: Likewise. Recognize new debug options.
1865 * elf/link.h: Declare new variables.
1866
1867 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
1868
1869 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1870
1871 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
1872 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
1873
1874 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
1875
1876 * posix/wordexp-test.c (command_line_test): New function to allow
1877 testing of specific cases from the command-line.
1878
1879 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
1880
1881 * elf/dl-init.c (_dl_init_next): Print nicer messages.
1882 * elf/dl-fini.c (_dl_fini): Likewise.
1883 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
1884
1885 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
1886 symbol in debug message.
1887 (_dl_lookup_versioned_symbol_skip): Likewise.
1888
1889 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
1890
1891 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
1892 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1893 * manual/filesys/texi: Document this.
1894
1895 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
1896
1897 * manual/filesys.texi: Document the change below.
1898
1899 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1900
1901 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
1902 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
1903
1904 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
1905
1906 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
1907 instead scope. If debugging display information about symbol
1908 resolving.
1909 (_dl_lookup_symbol): Call do_lookup with correct parameters.
1910 (_dl_lookup_symbol_skip): Likewise.
1911 (_dl_lookup_versioned_symbol): Likewise.
1912 (_dl_lookup_versioned_symbol_skip): Likewise.
1913 * elf/dl-support.c: Define _dl_debug_symbols.
1914 * elf/link.h: Add declaration for _dl_debug_symbols.
1915 * elf/rtld.c: Define _dl_debug_symbols.
1916 (process_dl_debug): Recognize symbols option.
1917
1918 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
1919
1920 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
1921 in correct format.
1922 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
1923 with correct parameters.
1924 [!PIC]: Initialize __libc_multiple_libcs.
1925
1926 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
1927
1928 * elf/dl-support.c (_dl_debug_bindings): Add definition.
1929 * elf/rtld.c (_dl_debug_bindings): Add definition.
1930 (process_dl_debug): Recognize bindings option. Update help message.
1931 * elf/link.h (struct link_map): Add l_versyms member.
1932 (_dl_debug_bindings): Add declaration.
1933 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
1934 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
1935 and l_reloc_result.
1936 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
1937 (sym_val): Remove a member, add m as link_map.
1938 (do_lookup): Return result appropriately.
1939 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
1940 Call do_lookup correctly.
1941 (_dl_lookup_symbol_skip): Likewise.
1942 (_dl_lookup_versioned_symbol): Likewise.
1943 (_dl_lookup_versioned_symbol_skip): Likewise.
1944
1945 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
1946
1947 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
1948 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
1949
1950 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
1951 * libc.map: Add chown to GLIBC_2.1.
1952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
1953 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
1954
1955 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1956
1957 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
1958 weak alias.
1959 * sysdeps/alpha/ffs.c: Likewise.
1960 * sysdeps/am29k/ffs.c: Likewise.
1961 * sysdeps/i386/ffs.c: Likewise.
1962 * sysdeps/i960/ffs.c: Likewise.
1963 * sysdeps/m68k/ffs.c: Likewise.
1964 * sysdeps/m88k/ffs.c: Likewise.
1965 * sysdeps/powerpc/ffs.c: Likewise.
1966 * sysdeps/rs6000/ffs.c: Likewise.
1967 * sysdeps/vax/ffs.s: Likewise.
1968 * string/string.h: Declare __ffs.
1969 * libc.map: Export it.
1970 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
1971 __builtin_ffs, which is not guaranteed to be namespace clean.
1972
1973 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1974
1975 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
1976 table, which is much more likely to exist than debugging symbols.
1977 (printsym): Remove const.
1978 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
1979 header table.
1980
1981 * libc.map: Export __profile_frequency, used by elf/sprof, to
1982 avoid infinite recursion during startup.
1983
1984 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1985
1986 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
1987 Readd lost negate.
1988
1989 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
1990
1991 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
1992
1993 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
1994
1995 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
1996
1997 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
1998 LD_PRELOAD, and LD_VERBOSE.
1999 (dl_main): Use global variables set by process_envvars instead of
2000 calling getenv.
2001 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
2002 LD_LIBRARY_PATH value, this comes with the parameter.
2003 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
2004 ("LD_LIBRARY_PATH") to _dl_init_paths.
2005
2006 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
2007
2008 * elf/rtld.c (dl_main): Delay initialization of path structure if
2009 the dynamically linker is invoked implicitly until we read the
2010 dynamic section.
2011
2012 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
2013
2014 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
2015
2016 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2017
2018 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
2019 Linux 2.0 and 2.1.
2020
2021 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
2022
2023 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
2024
2025 * Makeconfig (nisobjdir): Set to path to nis directory.
2026 (rpath-link): Add nisobjdir.
2027 Patch by Sven Verdoolaege <skimo@kotnet.org>.
2028
2029 * elf/Makefile: Pretty print.
2030 * elf/dl-lookup.c: Include unistd.h.
2031 * elf/dl-runtime.c: Likewise.
2032
2033 * localedata/Makefile (test-srcs): Add tst-rpmatch.
2034 (distribute): Add tst-rpmatch.sh.
2035 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
2036
2037 New tests for rpmatch function by
2038 Jochen Hein <jochen.hein@delphi.central.de>.
2039 * localedata/tst-rpmatch.c: New file.
2040 * localedata/tst-rpmatch.sh: New file.
2041
2042 * localedata/locales/de_DE: Correct yesexpr and noexpr.
2043 * localedata/locales/de_AT: Likewise.
2044
2045 * posix/getopt.c: Update contact address.
2046 * posix/getopt1.c: Pretty print.
2047
2048 * sysdeps/generic/libc-start.c: Do most of the initialization now
2049 here instead of in start.S.
2050 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
2051 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
2052
2053 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
2054 profil_counter to be public.
2055
2056 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
2057
2058 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
2059 (parse_param): Coded parameter length expansion (${#var}).
2060 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
2061 (parse_param): Cleaned up (fixed) error handling.
2062
2063 * posix/wordexp-test.c: IFS now includes non-whitespace character
2064 (comma). Added more tests.
2065
2066 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
2067
2068 * elf/link.h: Fix typos.
2069 Reported by Andreas Jaeger.
2070
2071 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
2072 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2073
2074 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
2075
2076 * argp/argp-help.c: Remove last bits of using gettext instead of
2077 dgettext.
2078
2079 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
2080
2081 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
2082 __libc_start_main.
2083 * csu/Makefile (routines): Add libc-start.
2084 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
2085 * elf/dl-lookup.c: Likewise.
2086 * elf/dl-version.c: Likewise.
2087 * sysdeps/i386/dl-machine.h: Likewise.
2088 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
2089 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
2090 _dl_sysdep_message macros which use _dl_sysdep_output.
2091 * elf/dl-fini.c: Write out which destructor is called while debugging.
2092 * elf/dl-init.c: Likewise for constructor.
2093 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
2094 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
2095 _dl_sysdep_message. Add _dl_sysdep_output.
2096 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
2097 this file can be opened.
2098 For LD_DEBUG=libs also set _dl_debug_impcalls.
2099 * sysdeps/generic/dl-cache.c: Include unistd.h.
2100 * sysdeps/generic/libc-start.c: New file.
2101 * sysdeps/unix/sysv/linux/libc-start.c: New file.
2102 * sysdeps/i386/elf/start.S: Don't call main directly, call
2103 __libc_start_main instead.
2104
2105 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
2106
2107 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
2108
2109 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
2110
2111 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
2112
2113 * argp/argp.h (struct argp): Add new field domain.
2114 * argp/argp-help.c: Change all gettext calls to dgettext and use
2115 domain field from appropriate argp in call.
2116 * argp/argp-parse.c: Likewise.
2117
2118 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
2119
2120 * posix/wordexp-test.c: Change testsuite so that it can run even
2121 for ~root != /root.
2122
2123 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2124
2125 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
2126
2127 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2128
2129 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2130 Don't store into global errno if we already store through
2131 __errno_location.
2132 * sysdeps/unix/i386/sysdep.S: Likewise.
2133 * sysdeps/unix/alpha/sysdep.S: Likewise.
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2135 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
2137 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
2138 PIC).
2139
2140 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2141
2142 * sysdeps/generic/sysdep.h (L): Remove definition.
2143 * sysdeps/i386/sysdep.h (L): Define it here instead.
2144
2145 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2146
2147 * nis/nis_call.c (__do_niscall): Safe and reset errno.
2148
2149 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
2150
2151 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2152
2153 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
2154 declaration style to avoid warnings.
2155
2156 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
2157
2158 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
2159 "LD_DEBUG".
2160
2161 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
2162
2163 * posix/Makefile (tests): Add wordexp-test.
2164 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
2165 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
2166
2167 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
2168
2169 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
2170 dependencies.
2171
2172 * elf/link.h (struct r_search_path_elem): Add two new field for
2173 lib path debugging.
2174 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
2175 variable accordingly.
2176 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
2177 is considered next along with information about load paths.
2178 * sysdeps/generic/dl-cache.c: Likewise.
2179 * elf/dl-support.c: Define _dl_debug_libs.
2180 * elf/genrtldtbl.awk: Add initializers for two new field in
2181 struct r_search_path_elem.
2182
2183 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2184
2185 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
2186 * sysdeps/m68k/lshift.S: Likewise.
2187 * sysdeps/m68k/rshift.S: Likewise.
2188 * sysdeps/m68k/sub_n.S: Likewise.
2189 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
2190 * sysdeps/m68k/m68020/mul_1.S: Likewise.
2191 * sysdeps/m68k/m68020/submul_1.S: Likewise.
2192
2193 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
2194 [_LIBC_REENTRANT]: Don't store into global errno.
2195
2196 * sysdeps/m68k/sysdep.h: New file.
2197 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
2198 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
2199 (DO_CALL): Change to expect syscall name as argument.
2200 (PSEUDO): Pass syscall_name to DO_CALL.
2201 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
2202 errno.
2203
2204 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
2205
2206 * elf/rtld.c: Speed up processing of environment variables. Do
2207 only one run on the environment by avoiding to call getenv.
2208 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
2209 function. Used by patch above.
2210
2211 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2212
2213 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
2214 running nscd.
2215 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
2216 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
2217 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
2218
2219 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
2220
2221 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
2222 module cannot be found. Reported by Andreas Jaeger.
2223
2224 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2225
2226 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
2227 on platforms which default to unsigned chars.
2228 * nscd/nscd_getpw_r.c: Likewise.
2229 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
2230 defining it.
2231
2232 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2233
2234 * elf/Makefile (install-bin): Change = to += for sprof to install
2235 ldd also.
2236
2237 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
2238
2239 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
2240
2241 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
2242
2243 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
2244
2245 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2246
2247 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
2248 that a failure to connect to nscd doesn't change errno.
2249
2250 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2251
2252 * manual/maint.texi (Reporting Bugs): Change
2253 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
2254
2255 * locale/iso-4217.def: Likewise
2256
2257 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
2258
2259 * manual/texinfo.tex: Updated.
2260
2261 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2262
2263 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
2264 value.
2265 * sysdeps/posix/pathconf.c: Likewise.
2266 * posix/getconf.c: Print `undefined' if pathconf returns -1
2267 without setting errno.
2268
2269 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
2270
2271 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
2272 problem.
2273 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
2274 Patches by Elliot Lee <sopwith@cuc.edu>.
2275
2276 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
2277
2278 * elf/link.h (struct link_map): Add new field l_reloc_result.
2279 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
2280 of relocation for the object to be profiled.
2281 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
2282 to NULL.
2283 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
2284 array here.
2285 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
2286 contains a result from a previous run use this instead of computing
2287 the value again.
2288 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
2289
2290 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2291
2292 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
2293 offsets into the GOT.
2294 (RTLD_START): Likewise.
2295
2296 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
2297
2298 * elf/sprof.c: Cleanup a bit.
2299
2300 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
2301
2302 * sysdeps/generic/sysdep.h (L): New. Define.
2303
2304 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
2305
2306 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
2307
2308 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
2309 to have only one exit point for functions.
2310 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2311 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
2312 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
2313 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2314 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2315
2316 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2317
2318 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
2319 reset errno so that errno isn't set to ENOSYS in the first call.
2320 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
2321 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2322 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2323 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2324
2325 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
2326
2327 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
2328 * sysdeps/i386/addmul_1.S: Likewise.
2329 * sysdeps/i386/lshift.S: Likewise.
2330 * sysdeps/i386/mul_1.S: Likewise.
2331 * sysdeps/i386/rshift.S: Likewise.
2332 * sysdeps/i386/sub_n.S: Likewise.
2333 * sysdeps/i386/submul_1.S: Likewise.
2334 * sysdeps/i386/i586/add_n.S: Likewise.
2335 * sysdeps/i386/i586/addmul_1.S: Likewise.
2336 * sysdeps/i386/i586/lshift.S: Likewise.
2337 * sysdeps/i386/i586/mul_1.S: Likewise.
2338 * sysdeps/i386/i586/rshift.S: Likewise.
2339 * sysdeps/i386/i586/sub_n.S: Likewise.
2340 * sysdeps/i386/i586/submul_1.S: Likewise.
2341
2342 * sysdeps/i386/sysdep.h: Extend last change.
2343
2344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
2345 to have only one exit point for functions.
2346
2347 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
2348
2349 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
2350 search.
2351
2352 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
2353
2354 * Makerules: Generate libc.so with absolute paths for the used
2355 shared objects.
2356
2357 * config.make.in: Add MAKEINFO definition.
2358
2359 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
2360
2361 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
2362 (ENTRY): Use STABS_FUN.
2363 (END): Use STABS_FUN_END.
2364 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
2365
2366 * elf/Makefile: Add rules to build sprof program.
2367 * elf/sprof.c: New file.
2368
2369 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2370
2371 * misc/syslog.c (openlog_internal): Insert missing closing brace.
2372
2373 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2374
2375 * configure.in: Check for working msgfmt version (from GNU gettext
2376 0.10 or later).
2377
2378 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
2379
2380 * configure.in: Avoid //s in sysdirs.
2381 Patch by Roland McGrath.
2382
2383 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
2384
2385 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
2386
2387 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
2388 setting _dl_global_scope for RTLD_GLOBAL.
2389
2390 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2391
2392 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
2393 possible lists of object-suffixes are taken care of.
2394
2395 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
2396
2397 * timezone/private.h: Update from tzcode1998c.
2398 * timezone/zic.c: Likewise.
2399 * timezone/antarctica: Updated from tzdata1998c.
2400 * timezone/asia: Likewise.
2401 * timezone/australasia: Likewise.
2402 * timezone/europe: Likewise.
2403 * timezone/southamerica: Likewise.
2404
2405 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
2406
2407 * posix/glob.c (glob_in_dir): Add support for cases insensitive
2408 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
2409
2410 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
2411
2412 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
2413 Changed type of TWO43, TWO52 from float to double.
2414 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
2415 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
2416 Changed type of TWO43 from float to double.
2417 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
2418 Use __isinff.
2419
2420 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
2421
2422 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
2423 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
2424 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
2425
2426 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
2427
2428 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
2429 kernel_termios.h.
2430 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
2431 Clean up random whitespace.
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
2433 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
2434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
2435 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
2436
2437 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
2438
2439 * shlib-versions: Match alpha*.
2440 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
2441 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
2442
2443 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
2444 Implement copysign* with and without __ prefix.
2445 Likewise for fabs; use builtin for gcc 2.8.
2446 (floor*): New.
2447 (fdim*): New.
2448
2449 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
2450 (R_SPARC*): Match current v9 ABI.
2451
2452 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
2453
2454 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
2455 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2456 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
2457 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
2458 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2459 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
2460 * sysdeps/unix/grantpt.c (argv): Fix consts.
2461 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
2462 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2463
2464 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
2465
2466 * misc/syslog.c: Change to allow user the interpretation of the
2467 outcome even with syslog having no return value.
2468
2469 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2470
2471 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
2472 that the number of program headers is >0 (which is wrong for the
2473 loader itself).
2474
2475 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
2476
2477 * Makefile (distribute): Add README.libm.
2478
2479 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2480
2481 * time/clocktest.c (main): Correct typo: "--" -> "==".
2482
2483 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
2484
2485 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
2486 inline function.
2487 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
2488 inline functions.
2489
2490 * math/libm.map (__atan2): Added.
2491
2492 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
2493
2494 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
2495 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
2496
2497 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
2498 bug.
2499
2500 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2501
2502 * manual/arith.texi (Old-style number conversion): Correct
2503 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
2504
2505 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
2506
2507 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
2508 but does not require it. Handle missing argv[] values gracefully.
2509 * posix/execl.c: Likewise.
2510 * posix/execle.c: Likewise.
2511
2512 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2513
2514 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
2515 bit.
2516 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
2517
2518 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
2519
2520 * libc.map: Add __adjtimex.
2521
2522 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2523
2524 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
2525 Remove memset.
2526
2527 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
2528
2529 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
2530 to 64.
2531
2532 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
2533
2534 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
2535 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
2536
2537 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
2538 for shared library.
2539
2540 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
2541
2542 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2543 Added adjtimex and old_adjtimex.
2544
2545 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
2546 New.
2547 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
2548 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
2549
2550 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
2551 symbols only for shared library.
2552 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2553 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2554 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2555 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2556 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2557 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2558 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2559
2560 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
2561 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2562 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2563 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2564 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2565 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2566 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2567 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2568
2569 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
2570 rusage pointer.
2571
2572 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
2573 New macros.
2574 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
2575 timex and __adjtimex, respectively.
2576
2577 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
2578
2579 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
2580
2581 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
2582
2583 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
2584 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
2585
2586 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
2587
2588 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
2589
2590 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
2591
2592 * Makefile.in: Disable built-in rules.
2593
2594 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2595
2596 * sysdeps/i386/fpu/t_exp.c: Move to ...
2597 * sysdeps/libm-i387/t_exp.c: ... here.
2598
2599 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
2600
2601 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
2602 from __exp2_deltatable.
2603
2604 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
2605
2606 * nis/ypclnt.c (yp_master): Check result of strdup.
2607 Patch by Thorsten Kukuk.
2608
2609 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2610
2611 * nis/ypclnt.c: Give clnt handle after error checking free, change
2612 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
2613
2614 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
2615
2616 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
2617 Patch by Joe Keane <jgk@jgk.org>.
2618
2619 * misc/fstab.h (struct fstab): Change fs_type member to be const.
2620 * misc/fstab.c: Remove casts in fs_type assignments.
2621
2622 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2623
2624 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
2625 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
2626 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
2627 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
2628 * sysdeps/powerpc/bits/fenv.h: Likewise.
2629 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
2630 * sysdeps/generic/bits/fenv.h: Likewise.
2631 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2632 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
2633 * sysdeps/powerpc/test-arith.c (main): Likewise.
2634
2635 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
2636
2637 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
2638 the comparison macros.
2639
2640 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
2641
2642 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
2643 (__log2): Fixed return values.
2644 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
2645
2646 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
2647
2648 * math/math.h (isunordered): Rename local variables to ensure
2649 correct code. Reported by HJ Lu.
2650
2651 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
2652
2653 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2654 isless, islessequal, islessgreater, isunordered): Fix syntax for
2655 fucompip instruction.
2656 (isless, islessequal): Fix logic.
2657
2658 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2659
2660 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
2661 (comparisons_test): New tests for comparison macros.
2662
2663 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
2664
2665 * Makeconfig: Filter out frame-pointer effecting options when
2666 compiling profiling or debugging code.
2667 * config.h.in (internal_function): Don't define here if PROF is
2668 defined.
2669 * gmon/gmon.c (__moncontrol): Don't change state if already in error
2670 state.
2671 (__monstartup): If calloc fails set error state and mark array as
2672 not allocated.
2673 (_mcleanup): Don't call write_gmon if in error state. Don't try
2674 to free array if not successfully allocated.
2675
2676 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
2677 Include elf.h to get macro definitions.
2678 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
2679
2680 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
2681
2682 * elf/ldd.sh.in: Add compatibility for broken old shells.
2683 * elf/ldd.bash.in: Likewise.
2684
2685 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
2686
2687 * sunrpc/rpc_main.c (open_input): Check pipe return error.
2688
2689 * time/clocktest.c (main): Check signal return error.
2690
2691 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2692
2693 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
2694 "/" and use do-install-program. Reported by Mark M. Kettenis.
2695 (subdir_install): Likewise.
2696
2697 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2698
2699 * sunrpc/rpc_sample.c: Fix typo.
2700
2701 * nscd/connections.c: Use locale.
2702 * nscd/grpcache.c: Add debug messages, gidtbl should get the
2703 calloc result.
2704 * nscd/nscd.c: Check if init functions fails.
2705 * nscd/nscd_conf.c: Allow disabling of group cache.
2706 * nscd/nscd_getgr_r.c: Fix return code if group not found.
2707 * nscd/pwdcache.c: Fix debug messages.
2708
2709 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2710
2711 * libc.map: Add __monstartup and _mcleanup for profiling support.
2712
2713 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2714
2715 * libc.map: Export __getpagesize, for binary compatibility with
2716 2.0.
2717
2718 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2719
2720 * posix/globtest.sh: Use --library-path instead of
2721 LD_LIBRARY_PATH.
2722 * localedata/sort-test.sh: Likewise.
2723 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
2724
2725 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2726
2727 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
2728 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
2729 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2730
2731 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2732 kernel_sigaction): Define.
2733 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
2734 kernel_sigaction): Define.
2735
2736 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2737
2738 * math/libm-test.c: Change epsilons for libm-ieee754.
2739
2740 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
2741
2742 * sysdeps/i386/__longjmp.S: Fix race condition.
2743 Reported by Bruno Haible <haible@ilog.fr>.
2744
2745 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
2746
2747 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
2748 * iconvdata/8bit-gap.c: Likewise.
2749 * iconvdata/8bit-generic.c: Likewise.
2750 * iconvdata/iso6937.c: Likewise.
2751 * iconvdata/iso8859-1.c: Likewise.
2752 * iconvdata/sjis.c: Likewise.
2753 * iconvdata/t61.c: Likewise.
2754
2755 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2756
2757 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
2758 feature tests by positive feature tests.
2759
2760 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2761
2762 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
2763
2764 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
2765
2766 * elf/dlvsym.c (dlvsym_doit): More corrections.
2767 Patch by Andreas Jaeger.
2768
2769 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
2770
2771 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
2772
2773 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
2774
2775 * libc.map: More reordering for GLIBC_2.1 symbols.
2776
2777 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2778
2779 * libc.map: Move some functions from version GLIBC_2.0 to
2780 GLIBC_2.1, reorder declarations.
2781
2782 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
2783
2784 * resolv/gethnamaddr.c (addrsort): Make this function extern.
2785 Patch by zab@thebrain.grumblesmurf.net.
2786
2787 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2788
2789 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
2790 NIS+ functions with version GLIBC_2.1.
2791
2792 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
2793
2794 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
2795 with 2.0 binaries. Reported by Thorsten Kukuk.
2796
2797 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2798
2799 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
2800
2801 * elf/dlsym.c (dlsym_doit): Likewise.
2802
2803 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2804
2805 * elf/link.h: Correct typos.
2806
2807 * iconv/iconv_prog.c: Correct typo.
2808
2809 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
2810
2811 * iconv/Makefile: Add rules to build and install iconv program.
2812 * iconv/iconv_prog.c: New file.
2813
2814 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
2815
2816 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
2817 _dl_lookup_symbol_skip call.
2818 * elf/dlvsym.c (dlvsym_doit): Likewise.
2819
2820 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
2821
2822 * libio/iovsscanf.c: Do not include errno.h.
2823
2824 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2825
2826 * elf/dl-load.c (add_name_to_object): Don't translate strings.
2827 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
2828 pulling in the whole error list.
2829 (__dcgettext, dcgettext): Removed.
2830 * libc.map: Export _strerror_internal.
2831
2832 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
2833
2834 * sysdeps/i386/fpu/t_exp.c: New file.
2835
2836 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2837
2838 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
2839 everything with version GLIBC_2.1.
2840 * hesiod/libnss_hesiod.map: Likewise.
2841
2842 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2843
2844 * manual/arith.texi (Old-style number conversion): This node is a
2845 section, not a subsection.
2846
2847 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2848
2849 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
2850
2851 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2852
2853 * elf/rtld.c (dl_main): Make sure that the library search paths
2854 have been initialized before the first call to _dl_map_object.
2855
2856 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2857
2858 * Makerules (common-generated): Add libc_pic.os.
2859
2860 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2861
2862 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
2863 of the executable.
2864
2865 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2866
2867 * sysdeps/m68k/fpu/t_exp.c: New file.
2868
2869 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
2870
2871 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
2872 to global errno variable anymore.
2873
2874 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
2875
2876 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
2877 If PRELOADED is nonzero check in case of an SUID application
2878 whether the shared object has the SUID bit set.
2879 Fix some other problems with handling shared objects in system
2880 specific directories.
2881 (_dl_map_object): Also take extra parameter and pass it to open_path.
2882 * elf/link.h (_dl_map_object): Correct prototype and comment.
2883 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
2884 * elf/dl-open.c (_dl_open): Likewise.
2885 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
2886
2887 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
2888
2889 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
2890
2891 * math/libm-test.c (modf_test): Add test for 1.5.
2892
2893 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
2894 0 to get always an int.
2895
2896 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2897
2898 * math/libm.map: Move all symbols that are new in glibc 2.1 to
2899 version GLIBC_2.1.
2900
2901 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
2902
2903 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
2904 trying to read another character.
2905
2906 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2907
2908 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
2909 name to lowercase.
2910
2911 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
2912 name to lowercase, add test for big enough buffer.
2913
2914 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2915
2916 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
2917 Make compatible with older kernels. Patch by Richard Henderson.
2918
2919 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
2920
2921 * elf/dl-load.c (open_path): Use __xstat instead of stat.
2922
2923 * localedata/tst-locale.sh: Comment out first test for now.
2924
2925 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
2926
2927 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
2928 as 1.
2929 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
2930 Likewise.
2931
2932 * libio/iogetline.c (_IO_getline_info): Renamed from
2933 _IO_getline.
2934 (_IO_getline): Just call _IO_getline_info.
2935
2936 * libio/libioP.h (_IO_getline_info): New declaration.
2937
2938 * libc.map (_IO_getline_info, __write): Added.
2939
2940 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2941
2942 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
2943 const char* to shut up gcc.
2944
2945 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
2946
2947 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
2948 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
2949
2950 * math/math.h: Define M_* constants always as `double' and add new
2951 macros M_*l which are of type `long double'.
2952 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
2953 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
2954 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
2955 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
2956 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
2957 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
2958 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
2959 * math/libm-tst.c: Likewise.
2960
2961 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
2962 define as long double unconditionally.
2963
2964 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2965
2966 * manual/arith.texi (Old-style number conversion): Correct some
2967 typos.
2968
2969 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
2970
2971 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
2972 Restore.
2973
2974 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
2975
2976 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
2977
2978 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
2979 on $(rtld-ldscript).
2980
2981 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
2982 starting from 0 not only from `from'.
2983 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2984
2985 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
2986
2987 * elf/rtld.c (dl_main): Recognize --library-path parameter and
2988 pass value (or NULL) to _dl_init_paths.
2989 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
2990 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
2991 environment variable.
2992 * elf/link.h: Change prototype for _dl_init_paths.
2993 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
2994
2995 * localedata/Makefile (distribute): Add test files.
2996
2997 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2998
2999 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
3000 test1.def, test2.def, test3.def, test4.def}: Simple input files
3001 for localedef. Contributed by Yung-Ching Hsiao
3002 <yhsiao@cae.wisc.edu>.
3003
3004 * localedata/Makefile (tests): Call tst-locale.sh.
3005
3006 * localedata/tst-locale.sh: New file, regression tests for some
3007 localedef problems.
3008
3009 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3010
3011 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
3012
3013 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
3014 terminated.
3015 * nis/nss_nisplus/nisplus-network.c: Likewise.
3016 * nis/nss_nisplus/nisplus-proto.c: Likewise.
3017 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3018 * nis/nss_nisplus/nisplus-service.c: Likewise.
3019
3020 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
3021 and support generating thread safe RPC code.
3022 * sunrpc/rpc_main.c: Add changes.
3023 * sunrpc/rpc_clntout.c: Likewise.
3024 * sunrpc/rpc_cout.c: Likewise.
3025 * sunrpc/rpc_hout.c: Likewise.
3026 * sunrpc/rpc_parse.c: Likewise.
3027 * sunrpc/rpc_sample.c: Likewise.
3028 * sunrpc/rpc_scan.c: Likewise.
3029 * sunrpc/rpc_svcout.c: Likewise.
3030 * sunrpc/rpc_util.c: Likewise.
3031 * sunrpc/rpc_util.h: Add new structs and prototypes.
3032 * sunrpc/proto.h: Remove prototypes for static functions.
3033
3034 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3035
3036 * locale/programs/ld-messages.c (messages_finish): Don't skip
3037 error checking when being quiet.
3038 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
3039 (set_class_defaults): Likewise.
3040 * locale/programs/charmap.c (parse_charmap): Likewise.
3041 * locale/programs/ld-collate.c (collate_finish): Likewise.
3042 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
3043 * locale/programs/ld-time.c (time_finish): Likewise.
3044 * locale/programs/locfile.c (write_locale_data): Likewise.
3045
3046 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
3047 unknown characters and empty ranges.
3048 * locale/programs/ld-collate.c (collate_order_elem): When
3049 processing an ellipsis properly form a linked list in the result
3050 table, fix typo when allocating ordering array.
3051 [PR libc/419]
3052
3053 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3054
3055 * elf/Makefile (ld-map): Define.
3056 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
3057 `$(rtld-ldscript)'.
3058 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
3059 on $(ld-map).
3060 (rtld-link): Combine the two versions of this definition. Fixed
3061 to make it work when no symbol versioning is used.
3062
3063 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
3064
3065 * Makeconfig (build-program-cmd): Use --library-path parameter to
3066 ld.so instead of environment variable.
3067
3068 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
3069 * sunrpc/rpc_main.c: Remove support for -$$ option again.
3070
3071 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3072
3073 * Make-dist: Respect with-cvs setting.
3074 * MakeTAGS (all-pot): Likewise.
3075 * sysdeps/sparc/sparc32/Makefile: Likewise.
3076 * sysdeps/mach/hurd/Makefile: Likewise.
3077 * stdlib/Makefile: Likewise.
3078 * posix/Makefile: Likewise.
3079 * intl/Makefile: Likewise.
3080 * po/Makefile (linguas): Likewise
3081
3082 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3083
3084 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
3085
3086 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
3087
3088 * libc.map: Add __strcasecmp.
3089
3090 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
3091 module.
3092
3093 * nss/getXXent_r.c: If no more module is found don't try to call
3094 setXXent functions but leave unsuccessfully.
3095
3096 * malloc/obstack.h: Cleanups.
3097
3098 * sysdeps/wordsize-32/stdint.h: New file.
3099 * sysdeps/wordsize-64/stdint.h: New file.
3100 * sysdeps/generic/stdint.h: New file.
3101 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
3102 * sysdeps/wordsize-64/inttypes.h: Likewise.
3103 * stdlib/Makefile (headers): Add stdint.h.
3104
3105 1998-02-03 Paul Eggert <eggert@twinsun.com>
3106
3107 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
3108
3109 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
3110
3111 * timezone: New directory.
3112 * time/README, time/africa, time/antarctica, time/asia,
3113 time/australasia, time/backward, time/checktab.awk,
3114 time/etcetera, time/europe, time/factory, time/ialloc.c,
3115 time/iso3166.tab, time/leapseconds, time/northamerica,
3116 time/pacificnew, time/private.h, time/scheck.c,
3117 time/solar87, time/solar88, time/solar89, time/southamerica,
3118 time/systemv, time/test-tz.c, time/tzfile.h,
3119 time/tzselect.ksh, time/yearistype, time/zdump.c,
3120 time/zic.c, time/zone.tab: Moved to timezone.
3121 * time/tzfile.c: Include tzfile.h from timezone subdir.
3122 * time/tzset.c: Likewise.
3123 * time/Makefile: Cut out all code relating to timezones...
3124 * timezone/Makefile: ...and paste it in here.
3125 * Makefile (subdirs): Add timezone.
3126
3127 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
3128
3129 * libc.map (_sys_nerr): Added.
3130
3131 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
3132 versioned symbol.
3133
3134 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
3135
3136 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
3137 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
3138 Reported by Craig Metz <cmetz@inner.net>.
3139
3140 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3141
3142 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
3143 instead of strcasecmp.
3144 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
3145
3146 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
3147
3148 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
3149
3150 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
3151 Patch by Dean Gaudet <dgaudet@arctic.org>.
3152
3153 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
3154
3155 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
3156
3157 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
3158
3159 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
3160 with no poll syscall, just include the BSD version.
3161 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
3162 kernel without the syscall, include the stub version.
3163 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
3164 * sysdeps/generic/getresuid.c: New file.
3165 * sysdeps/generic/getresgid.c: New file.
3166
3167 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
3168
3169 * stdio-common/vfscanf.c: Correct last change a bit.
3170
3171 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
3172
3173 * elf/Makefile: Don't use --version-script parameter to link ld.so
3174 unconditionally.
3175
3176 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
3177
3178 * math/Makefile: Add t_exp.
3179 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
3180 constants.
3181 * math/test-reduce.c: Remove temporarily, it seems to be broken.
3182 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
3183 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
3184 better accuracy.
3185 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
3186 algorithm for very large/very small arguments.
3187 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
3188 correct algorithm for very large/very small arguments; adjust for
3189 new table.
3190 * sysdeps/libm-ieee754/t_exp.c: New file.
3191 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
3192
3193 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
3194 back, with comment that explains what breaks when you remove it :-(.
3195
3196 * localedata/xfrm-test.c: Avoid integer overflow.
3197
3198 * stdlib/strfmon.c: char is unsigned, sometimes.
3199
3200 * sysdeps/powerpc/Makefile: Remove quad float support.
3201 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
3202 * sysdeps/powerpc/quad_float.h: Likewise.
3203 * sysdeps/powerpc/test-arith.c: Likewise.
3204 * sysdeps/powerpc/test-arithf.c: Likewise.
3205
3206 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
3207 * sysdeps/generic/s_exp2f.c: Likewise.
3208
3209 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
3210 don't try anything if _SOFT_FLOAT.
3211
3212 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3213
3214 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
3215 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
3216 * wctype/wctype.c: Likewise.
3217 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
3218 changed. They are incompatible with the _ISxxx values from
3219 <ctype.h> on little endian machines.
3220 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
3221 bit number. This fixes the real bug and restores the integrity of
3222 the ctype locale file.
3223 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
3224 * wctype/wcfuncs_l.c: Likewise.
3225 * wctype/wcextra.c: Likewise.
3226 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
3227 byte swapping.
3228
3229 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3230
3231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
3232 into .bss segment instead of .common, so that aliases on it work.
3233
3234 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
3235 .size directives, put into .bss segment instead of initializing it
3236 to 4.
3237
3238 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
3239
3240 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
3241
3242 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
3243 functions.
3244 Make names without __ weak aliases.
3245 (__libc_release, __libc_version): Make them static.
3246
3247 * include/gnu/libc-version.h: New file.
3248 * Makefile (headers): Add gnu/libc-version.h.
3249
3250 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
3251
3252 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
3253 and use x for member name.
3254 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
3255
3256 * stdlib/drand48.c: Change according to member name change.
3257 * stdlib/drand48_r.c: Likewise.
3258 * stdlib/lcong48_r.c: Likewise.
3259 * stdlib/lrand48.c: Likewise.
3260 * stdlib/lrand48_r.c: Likewise.
3261 * stdlib/mrand48.c: Likewise.
3262 * stdlib/mrand48_r.c: Likewise.
3263 * stdlib/seed48.c: Likewise.
3264 * stdlib/seed48_r.c: Likewise.
3265 * stdlib/srand48_r.c: Likewise.
3266
3267 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3268
3269 * nss/test-netdb.c: Add some more test cases.
3270
3271 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
3272
3273 * libio/iovsscanf.c: Undo last change modifying errno.
3274
3275 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3276
3277 * stdio-common/vfscanf.c: Never try to read another character
3278 after EOF. Don't decrement read_in after EOF, it wasn't
3279 incremented in the first place.
3280 (NEXT_WIDE_CHAR): Set First, not first.
3281
3282 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
3283
3284 * db/Makefile ($(inst_libdir)/libndbm.a,
3285 $(inst_libdir)/libndbm.so): New targets.
3286 * db2/Makefile: Likewise.
3287
3288 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
3289
3290 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
3291 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
3292
3293 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3294
3295 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
3296 <streambuf.h>.
3297 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3298
3299 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3300
3301 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
3302 versioned symbols.
3303
3304 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
3305
3306 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
3307 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
3308 Added for libdl.so.
3309
3310 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3311
3312 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
3313 extra syscall.
3314
3315 * grp/Makefile: Fix logic when checking for thread package.
3316 * pwd/Makefile: Likewise.
3317
3318 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
3319
3320 * elf/Makefile (rtld-map): Replaced by libc-map.
3321
3322 * elf/rtld.map: Removed.
3323
3324 * libc.map (__libc_enable_secure, _dl_catch_error,
3325 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
3326 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
3327 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
3328 _dl_object_relocation_scope, _dl_relocate_object,
3329 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
3330 _r_debug): Added for ld.so.
3331
3332 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
3333
3334 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
3335 DO_VERSIONING.
3336 * libio/iofdopen.c: Ditto.
3337 * libio/iofopen.c: Ditto.
3338 * libio/oldfileops.c: Ditto.
3339
3340 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
3341 version GLIBC_2.1.
3342
3343 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
3344 oldsiglist from sysdep_routines and shared-only-routines.
3345
3346 * sysdeps/unix/sysv/linux/errlist.c: New.
3347 * sysdeps/unix/sysv/linux/errlist.h: New.
3348 * sysdeps/unix/sysv/linux/sizes.h: New.
3349 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
3350 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
3351
3352 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
3353
3354 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
3355 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
3356 directive.
3357
3358 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
3359
3360 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
3361 (oldsiglist.c): Removed.
3362
3363 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
3364 (_sys_siglist): Use SYS_SIGLIST instead.
3365 (_sys_nerr): Use SYS_NERR instead.
3366
3367 * sysdeps/gnu/errlist.c: Rebuilt.
3368
3369 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
3370
3371 * elf/Makefile (others-static): New, set to ldconfig.
3372 ($(objpfx)ldconfig): Removed.
3373
3374 * Rules (binaries-all, binaries-static, binaries-shared): New.
3375 Create targets for $(binaries-static) and $(binaries-shared).
3376
3377 * Makeconfig (+link-static, link-libc-static,
3378 link-extra-libs-static): New for static linking.
3379
3380 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3381
3382 * manual/memory.texi (Using the Memory Debugger): Fix typo.
3383
3384 * math/libm-test.c (modf_test): Add one more test for modf.
3385
3386 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
3387
3388 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
3389 Rename from __libc_have_rt_sigs and leave as COMMON data.
3390
3391 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
3392
3393 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
3394 of __finite.
3395
3396 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
3397
3398 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
3399
3400 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
3401
3402 * misc/tst-efgcvt.c: Add yet more tests.
3403 * misc/efgcvt_r.c: And correct for these tests again.
3404 Reported by HJ Lu.
3405
3406 * isomac.c: Move to...
3407 * stdlib/isomac.c: ...here.
3408 * Makefile: Move rules for handling isomac...
3409 * stdlib/Makefile: ...to here.
3410
3411 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
3412
3413 * misc/tst-efgcvt.c: Add more tests.
3414 * misc/efgcvt_r.c: Correct result for above new tests.
3415
3416 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
3417
3418 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
3419 NDIGIT <= 0.
3420
3421 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
3422
3423 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
3424 if the programs weren't built.
3425
3426 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
3427
3428 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
3429 FE_TONEAREST, soldier on regardless and do the best we can.
3430 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
3431
3432 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
3433
3434 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
3435 _STDIO_H, before including <bits/stdio_lim.h>.
3436
3437 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
3438
3439 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
3440 exist.
3441
3442 * sysdeps/arm/sys/ucontext.h: New file.
3443
3444 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
3445
3446 * manual/stdio.texi (Formatted Output Functions): Explicitly say
3447 that the return value from snprintf() does not count the
3448 terminating NUL as a character.
3449
3450 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
3451
3452 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
3453 add description for sete[ug]id and general cleanup.
3454 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3455
3456 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3457
3458 * Makefile (parent-clean): Don't remove makefile fragments here.
3459 (postclean): New variable.
3460 (clean): Remove makefile fragments here.
3461 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
3462 (generated): Add isomac and isomanc.out.
3463 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
3464 avoid-generated is set.
3465 (postclean-generated): Add soversion.mk.
3466 ($(common-objpfx)version.mk): Don't include if avoid-generated is
3467 set.
3468 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
3469 avoid-generated is set.
3470 (common-generated): Add libc.so and libc.so$(libc.so-version).
3471 (generated): Add versioned libraries.
3472 (common-mostlyclean): Also remove %.so and %_pic.a.
3473 * csu/Makefile (generated): Add abi-tag.h.
3474 * db2/Makefile (extra-objs): Add getlong.o.
3475 * elf/Makefile (generated): Add ld.so, ldd and
3476 $(rtld-installed-name).
3477 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
3478 * malloc/Makefile (generated): Add mtrace.
3479 * po/Makefile: Don't include version.mk, not needed any more.
3480 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
3481 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
3482 syscall.h -> sys/syscall.h.
3483 (common-generated): Add s-proto.d.
3484 (postclean-generated): Add sysd-syscalls.
3485 * localedata/Makefile (test-output): Add all output files.
3486 (generated): Add test-input and test-output.
3487 (generated-dirs): Add all the dirs.
3488
3489 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3490
3491 * Makefile (test-output, generated, generated-dirs): New
3492 variables.
3493
3494 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
3495
3496 * resolv/nss_dns/dns-host.c: Various code cleanups.
3497
3498 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
3499
3500 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
3501 From Philip Blundell <pb@nexus.co.uk>.
3502 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
3503
3504 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3505
3506 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
3507 Suggested by debian/sparc porters.
3508
3509 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3510
3511 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
3512 for ecvt and fcvt.
3513
3514 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
3515
3516 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
3517 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
3518
3519 * signal/signal.h: Always define sigset_t if __need_sigset_t is
3520 defined even if __USE_POSIX is not defined.
3521
3522 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
3523
3524 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
3525 to support obsolete tty major numbers correctly.
3526
3527 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
3528
3529 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
3530 directory first and ignore install error.
3531
3532 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
3533 128 from ptyno and fix a typo for the BSD style pty.
3534
3535 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3536
3537 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
3538 syscalls.list's.
3539
3540 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3541
3542 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3543 getresuid and getresgid.
3544
3545 * sysdeps/unix/sysv/linux/getresuid.c: New file.
3546 * sysdeps/unix/sysv/linux/getresgid.c: New file.
3547
3548 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
3549 s_getres[ug]id.
3550
3551 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
3552 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3553 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3554 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3555
3556 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
3557
3558 * nscd/grpcache.c: Include <stdlib.h>.
3559
3560 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
3561
3562 * stdlib/atoll.c: Fix comments.
3563
3564 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
3565 * sysdeps/posix/ttyname_r.c: Ditto.
3566
3567 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3568
3569 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
3570 __USE_MISC, independent of __USE_UNIX98.
3571
3572 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
3573
3574 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
3575 Rename from __libc_have_rt_sigs and leave as COMMON data.
3576
3577 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
3578
3579 * Makeconfig (CFLAGS-.os): Kill -fno-common.
3580 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
3581
3582 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
3583 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
3584 version symbols.
3585 * include/libc-symbols.h (symbol_version, default_symbol_version):
3586 Provide asm versions and correct !DO_VERSIONING versions.
3587 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
3588 the weak symbol list.
3589
3590 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
3591 Rename from __libc_have_rt_sigs and leave as COMMON data.
3592 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3593 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3594 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3595
3596 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
3597
3598 * sunrpc/Makefile: Correct dependencies of rpcgen.
3599
3600 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
3601
3602 * nscd/Makefile: Fix test for available linuxthreads add-on.
3603 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3604
3605 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3606
3607 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
3608
3609 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3610
3611 * sysdeps/gnu/Makefile: Respect with-cvs variable.
3612
3613 * manual/errno.texi (Error Messages): Correct description of
3614 strerror_r. Pointed out by jonas@bagge.se.
3615
3616 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3617
3618 * manual/socket.texi (Host Address Functions): Clarify description
3619 of inet_network.
3620
3621 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3622
3623 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
3624 (grantpt): Delete superfluous cast.
3625
3626 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3627
3628 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
3629 elf/ldso_install instead of elf/subdir_install.
3630 (elf/ldso_install): New target.
3631
3632 * elf/Makefile (ldso_install): New target.
3633
3634 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3635
3636 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
3637 of 1998-01-06.
3638
3639 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3640
3641 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
3642 constant expressions.
3643
3644 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3645
3646 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
3647 for __nss_configure_lookup.
3648 (output_hostent): Remove unused variable.
3649
3650 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3651
3652 * string/tst-inlcall.c: Fix format string.
3653
3654 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3655
3656 * inet/netinet/in.h: Rename second parameter of bindresvport to
3657 avoid buggy gcc warning. [PR libc/412]
3658
3659 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
3660
3661 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
3662 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
3663
3664 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
3665 Follow POSIX and make tv_sec a time_t.
3666 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
3667 new tv64 syscall as well as fall back to tv32.
3668 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3669 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3670 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3671 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3672 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3673 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3674 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3675 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
3676
3677 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
3678 * include/rpcsvc/nis_tags.h: Likewise.
3679 * include/rpcsvc/nislib.h: Likewise.
3680
3681 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
3682
3683 * libc.map: Add _h_errno.
3684 * inet/herrno.c: Make _h_errno weak alias.
3685
3686 * login/Makefile (distribute): Add pty-internal.h.
3687
3688 * nscd/Makefile (distribute): Add all the files missing.
3689
3690 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
3691 are available.
3692
3693 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
3694 and report status at the end.
3695
3696 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
3697
3698 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
3699 variable.
3700 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
3701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
3703
3704 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
3705
3706 * configure.in: Fix --enable-add-ons code.
3707
3708 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3709
3710 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
3711 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
3712 [PR libc/441]
3713
3714 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
3715 occurence in cache. Reported by Rudolf Leitgeb
3716 <leitgeb@leland.stanford.edu>.
3717 [PR libc/440]
3718
3719 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
3720
3721 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
3722 that it never is EINTR (which is tested for in _IO_vfscanf).
3723
3724 * Makefile.in: Call sub-make with CVSOPTS.
3725
3726 * elf/Makefile (distribute): Add dl-procinfo.h.
3727
3728 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
3729
3730 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
3731
3732 * version.h (VERSION): Bump to 2.0.92.
3733
3734 1998-01-31 Phil Blundell <philb@gnu.org>
3735
3736 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
3737 alias for __new_sys_siglist.
3738
3739 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
3740
3741 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
3742 getgrgid_r.c if thread package is available.
3743 * pwd/Makefile: Likewise.
3744 * grp/getgrnam_r.c: Remove USE_NSCD definition.
3745 * grp/getgrgid_r.c: Likewise.
3746 * pwd/getpwnam_r.c: Likewise.
3747 * pwd/getpwuid_r.c: Likewise.
3748
3749 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
3750
3751 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
3752 with error to allow user intervention.
3753 * nss/getXXent_r.c: Likewise.
3754
3755 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
3756
3757 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
3758 AT_PLATFORM string. Pretty print AT_BASE info.
3759
3760 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
3761 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
3762 * sysdeps/generic/dl-procinfo.h: New file.
3763 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
3764
3765 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
3766
3767 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
3768
3769 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
3770 thread and not pthread_detach.
3771
3772 * nscd/nscd.c: Rewrite to use argp instead of getopt.
3773
3774 1998-01-31 Phil Blundell <philb@gnu.org>
3775
3776 * configure.in: Add --without-cvs option to suppress automatic
3777 checkin of regenerated files.
3778 * config.make.in: Likewise.
3779 * Makefile: Respect with-cvs setting.
3780 * Makerules: Likewise.
3781
3782 * configure.in: Allow the standalone ARM port to be configured.
3783
3784 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3785
3786 * grp/getgrgid_r.c: Define USE_NSCD.
3787 * grp/getgrnam_r.c: Likewise.
3788 * pwd/getpwuid_r.c: Likewise.
3789 * pwd/getpwnam_r.c: Likewise.
3790
3791 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
3792
3793 * nss/getXXbyYY_r.c: Try at first nscd.
3794
3795 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
3796 * nscd/connections.c: New file.
3797 * nscd/dbg_log.c: New file.
3798 * nscd/dbg_log.h: New file.
3799 * nscd/grpcache.c: New file.
3800 * nscd/nscd.c: New file.
3801 * nscd/nscd.h: New file.
3802 * nscd/nscd_conf.c: New file.
3803 * nscd/nscd_stat.c: New file.
3804 * nscd/pwdcache.c: New file.
3805
3806 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
3807 * nscd/nscd_getpw_r.c: Likewise.
3808 * nscd/nscd_proto.h: New, prototypes for client functions.
3809
3810 * nscd/nscd.conf: New, example for a configuration file.
3811 * nscd/nscd.init: New, example for a startup script.
3812
3813 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
3814 avoid deadlocks.
3815 * nscd/getgrnam_r.c: Likewise.
3816 * nscd/getpwnam_r.c: Likewise.
3817 * nscd/getpwuid_r.c: Likewise.
3818
3819 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
3820
3821 * intl/Makefile: Use CVSOPTS in cvs invocation.
3822 * po/Makefile: Likewise.
3823 * posix/Makefile: Likewise.
3824 * stdlib/Makefile: Likewise.
3825
3826 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
3827
3828 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
3829 [PR libc/410]
3830 * misc/Makefile (tests): Add tst-efgcvt.
3831 * misc/tst-efgcvt.c: New file.
3832
3833 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
3834
3835 * posix/regex.c: Add some more cleanups by Akim Demaille.
3836
3837 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
3838
3839 * signal/signal.h: Revert last change.
3840 * string/strsignal.c: Regard signal number NSGI as illegal.
3841 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
3842 members.
3843
3844 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
3845
3846 * Makefile.in: Add comment about CVSOPTS Makefile variable.
3847 * Makerules: Use CVSOPTS in cvs invocation.
3848 * Makefile: Likewise.
3849 * MakeTAGS: Likewise.
3850 * Make-dist: Likewise.
3851
3852 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
3853
3854 * sysdeps/generic/memmem.c: Correct last change.
3855
3856 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
3857
3858 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
3859 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
3860
3861 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3862
3863 * nis/ypclnt.c: Try at first to use the binding file from ypbind
3864 before using RPC.
3865
3866 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3867
3868 * manual/memory.texi (Heap Consistency Checking): mcheck is
3869 declared in <mcheck.h>.
3870 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
3871
3872 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3873
3874 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
3875 beginning of haystack.
3876
3877 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3878
3879 * nss/nss_files/files-service.c: Correct last patch.
3880
3881 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
3882
3883 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
3884 __libc_have_rt_sigs.
3885 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
3886 including <bits/setjmp.h>.
3887 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3888 Patch from the Debian glibc/SPARC package.
3889
3890 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
3891
3892 * sysdeps/alpha/bzero.S: Fix a typo.
3893 * sysdeps/alpha/htonl.S: Ditto.
3894 * sysdeps/alpha/htons.S: Ditto.
3895
3896 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3897
3898 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
3899
3900 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
3901
3902 * include/cpio.h: Move to ...
3903 * posix/cpio.h: ...here.
3904
3905 * locale/programs/ld-collate.c: Fix typo.
3906
3907 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
3908
3909 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
3910
3911 * login/utmp_file.c (pututline_file): Don't always report success
3912 if similar entry is found. Patch by Mark M. Kettenis.
3913
3914 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
3915
3916 * manual/Makefile: Don't try to install the info files if makeinfo
3917 is not available.
3918
3919 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
3920
3921 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
3922 kernel's network ioctls, rather than using <linux/sockios.h> to
3923 get them. This way we are sure of maintaining compatibility if
3924 the kernel interface should change.
3925
3926 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
3927
3928 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
3929
3930 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
3931
3932 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
3933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3934
3935 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
3936
3937 Implement System V pseudoterminal handling.
3938
3939 * login/Makefile
3940 (routines): Add getpt, grantpt, unlockpt, ptsname.
3941 (libutil-routines): Remove pty. Add openpty, forkpty.
3942 (distribute): New internal header pty-internal.h.
3943 (others): Add the helper program, pt_chown.
3944 (install-others): Install it, in $(libexecdir), mode 4755.
3945
3946 * login/pty-internal.h: New file.
3947 * login/openpty.c: New file.
3948 * login/forkpty.c: New file.
3949 * login/programs/pt_chown.c: New file.
3950
3951 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
3952 * stdlib/stdlib.h: Prototype them.
3953
3954 * config.make.in: Define $(libexecdir).
3955 * Makeconfig: Define $(inst_libexecdir).
3956
3957 * sysdeps/generic/pty.c: Removed.
3958 * sysdeps/unix/sysv/linux/pty.c: Removed.
3959
3960 * sysdeps/generic/getpt.c: Stub out.
3961 * sysdeps/generic/grantpt.c: Likewise.
3962 * sysdeps/generic/ptsname.c: Likewise.
3963 * sysdeps/generic/unlockpt.c: Likewise.
3964
3965 * sysdeps/unix/grantpt.c: New file.
3966 * sysdeps/unix/bsd/getpt.c: New file.
3967 * sysdeps/unix/bsd/unlockpt.c: New file.
3968 * sysdeps/unix/sysv/linux/getpt.c: New file.
3969 * sysdeps/unix/sysv/linux/ptsname.c: New file.
3970 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
3971
3972 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
3973
3974 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
3975
3976 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3977
3978 * nss/Makefile (tests): Add rule for test-netdb.c.
3979
3980 * nss/test-netdb.c: New file.
3981
3982 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
3983
3984 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
3985 really kept as a variable. Patch by Richard Henderson,
3986 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3987
3988 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
3989 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
3990 entries as not existing.
3991
3992 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3993
3994 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
3995 zero in alternate form with precision of zero, which must produce
3996 "0". Add braces to avoid ambiguous `else'.
3997
3998 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3999
4000 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
4001 problem with strncpy.
4002 * nis/nss_compat/compat-pwd.c: Likewise.
4003 * nis/nss_compat/comapt-spwd.c: Likewise.
4004
4005 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4006
4007 * assert/assert.h (assert_perror): Correct test for errnum. Patch
4008 by uch@nop.or.jp. [PR libc/437]
4009
4010 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4011
4012 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
4013
4014 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4015
4016 * stdio-common/test-popen.c: Include <errno.h>.
4017
4018 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
4019 close.
4020
4021 * inet/getnetgrent_r.c: Include <errno.h>.
4022
4023 * db2/db/db_conv.c: Include <string.h> for memcpy.
4024
4025 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
4026 so that memcpy is declared.
4027
4028 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
4029
4030 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
4031
4032 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4033
4034 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
4035 overflow while reading line with fgets.
4036 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4037
4038 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
4039
4040 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
4041 unsigned short, not short.
4042 Reported by Andreas Jaeger.
4043
4044 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4045
4046 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
4047 (ccept->accept).
4048
4049 * sysdeps/generic/inttypes.h: Fix spelling.
4050
4051 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4052
4053 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
4054
4055 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
4056
4057 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
4058
4059 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
4060 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
4061 field for hh modifier.
4062 * stdio-common/vfprint.c: Use is_char field and do not depend in
4063 is_short having the value 2.
4064 Bug reported by Andreas Jaeger.
4065
4066 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4067
4068 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
4069 PIC && DO_VERSIONING.
4070
4071 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4072
4073 * Rules: Add rules for $(common-objpfx)dummy$o.
4074
4075 1998-01-26 Richard Henderson <rth@cygnus.com>
4076
4077 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
4078 unimplemented OSF/1 definitions so that they are not accidentally seen.
4079
4080 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
4081 of the trampoline function into the macro.
4082 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
4083 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
4084 kernel 2.1.82 has this fixed.
4085
4086 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
4087 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
4088
4089 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
4090
4091 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
4092 support sigaction on kernels > 2.1.7x.
4093
4094 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
4095
4096 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
4097 if it is empty.
4098
4099 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
4100 Patch by David Engel <david@sw.ods.com>.
4101
4102 * configure.in: Fix another typo in --enable-add-ons code.
4103
4104 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
4105
4106 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
4107
4108 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4109
4110 * nss/nss_files/files-network.c: Correct order of parameters for
4111 getnetbyaddr.
4112
4113 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
4114
4115 * db2/Makefile (routines): Add os_alloc.
4116 * db2/db.h: Update from db-2.3.16.
4117 * db2/db_185.h: Likewise.
4118 * db2/db_int.h: Likewise.
4119 * db2/btree/bt_close.c: Likewise.
4120 * db2/btree/bt_cursor.c: Likewise.
4121 * db2/btree/bt_delete.c: Likewise.
4122 * db2/btree/bt_open.c: Likewise.
4123 * db2/btree/bt_page.c: Likewise.
4124 * db2/btree/bt_put.c: Likewise.
4125 * db2/btree/bt_rec.c: Likewise.
4126 * db2/btree/bt_recno.c: Likewise.
4127 * db2/btree/btree_auto.c: Likewise.
4128 * db2/common/db_appinit.c: Likewise.
4129 * db2/common/db_apprec.c: Likewise.
4130 * db2/common/db_err.c: Likewise.
4131 * db2/common/db_region.c: Likewise.
4132 * db2/common/db_shash.c: Likewise.
4133 * db2/db/db.c: Likewise.
4134 * db2/db/db_auto.c: Likewise.
4135 * db2/db/db_conv.c: Likewise.
4136 * db2/db/db_dispatch.c: Likewise.
4137 * db2/db/db_dup.c: Likewise.
4138 * db2/db/db_pr.c: Likewise.
4139 * db2/db/db_rec.c: Likewise.
4140 * db2/db185/db185.c: Likewise.
4141 * db2/dbm/dbm.c: Likewise.
4142 * db2/hash/hash.c: Likewise.
4143 * db2/hash/hash_auto.c: Likewise.
4144 * db2/hash/hash_dup.c: Likewise.
4145 * db2/hash/hash_page.c: Likewise.
4146 * db2/hash/hash_rec.c: Likewise.
4147 * db2/include/btree_ext.h: Likewise.
4148 * db2/include/clib_ext.h: Likewise.
4149 * db2/include/common_ext.h: Likewise.
4150 * db2/include/db.h.src: Likewise.
4151 * db2/include/db_185.h.src: Likewise.
4152 * db2/include/db_am.h: Likewise.
4153 * db2/include/db_ext.h: Likewise.
4154 * db2/include/db_int.h.src: Likewise.
4155 * db2/include/hash_ext.h: Likewise.
4156 * db2/include/lock_ext.h: Likewise.
4157 * db2/include/log.h: Likewise.
4158 * db2/include/log_auto.h: Likewise.
4159 * db2/include/log_ext.h: Likewise.
4160 * db2/include/mp.h: Likewise.
4161 * db2/include/mp_ext.h: Likewise.
4162 * db2/include/mutex_ext.h: Likewise.
4163 * db2/include/os_ext.h: Likewise.
4164 * db2/include/os_func.h: Likewise.
4165 * db2/include/txn_ext.h: Likewise.
4166 * db2/lock/lock.c: Likewise.
4167 * db2/lock/lock_util.c: Likewise.
4168 * db2/log/log.c: Likewise.
4169 * db2/log/log.src: Likewise.
4170 * db2/log/log_archive.c: Likewise.
4171 * db2/log/log_auto.c: Likewise.
4172 * db2/log/log_get.c: Likewise.
4173 * db2/log/log_put.c: Likewise.
4174 * db2/log/log_rec.c: Likewise.
4175 * db2/log/log_register.c: Likewise.
4176 * db2/mp/mp_bh.c: Likewise.
4177 * db2/mp/mp_fget.c: Likewise.
4178 * db2/mp/mp_fopen.c: Likewise.
4179 * db2/mp/mp_fput.c: Likewise.
4180 * db2/mp/mp_pr.c: Likewise.
4181 * db2/mp/mp_sync.c: Likewise.
4182 * db2/mutex/mutex.c: Likewise.
4183 * db2/os/os_alloc.c: Likewise.
4184 * db2/os/os_config.c: Likewise.
4185 * db2/os/os_stat.c: Likewise.
4186 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
4187 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
4188 * db2/progs/db_load/db_load.c: Likewise.
4189 * db2/progs/db_printlog/db_printlog.c: Likewise.
4190 * db2/progs/db_recover/db_recover.c: Likewise.
4191 * db2/progs/db_stat/db_stat.c: Likewise.
4192 * db2/txn/txn.c: Likewise.
4193
4194 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
4195 Unmap memory blocks in reverse order of allocation.
4196 Call munmap with load address added to offset.
4197 Bug reported by Miguel de Icaza.
4198
4199 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
4200 up weight array.
4201
4202 * localedata/locales/cs_CZ: Update by Michael Mraka
4203 <michael@informatics.muni.cz>.
4204
4205 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
4206 __USE_BSD.
4207
4208 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
4209 reading line with fgets.
4210 * nis/nss_compat/compat-pwd.c: Likewise.
4211 * nis/nss_compat/compat-spwd.c: Likewise.
4212 * nss/nss_files/files-XXX.c: Likewise.
4213 * nss/nss_files/files-alias.c: Likewise.
4214 * shadow/fgetspent_r.c: Likewise.
4215
4216 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
4217
4218 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
4219 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4220 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4221
4222 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
4223 FP register content in ucontext_t.
4224
4225 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4226
4227 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
4228 calculation. Patch by Markus Schoder
4229 <Markus.Schoder@dresdner-bank.de>.
4230
4231 * math/libm-test.c (modf_test): Add more tests for modf.
4232
4233 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
4234 munlock according to Unix98.
4235
4236 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4237
4238 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
4239 AF_INET.
4240
4241 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
4242
4243 * sysdeps/posix/ttyname.c: Handle symbolic links.
4244 * sysdeps/posix/ttyname_r.c: Ditto.
4245
4246 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
4247
4248 * db2/makedb.c (process_input): Write terminating \0 for value.
4249 (print_database): Simply print value string, don't use length.
4250
4251 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4252
4253 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
4254 exit of loop.
4255
4256 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4257
4258 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
4259 close all sockets.
4260
4261 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
4262
4263 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
4264 sigset.
4265 * signal/sighold.c: New file.
4266 * signal/sigrelse.c: New file.
4267 * sysdeps/generic/sigignore.c: New file.
4268 * sysdeps/generic/sigset.c: New file.
4269 * sysdeps/posix/sigignore.c: New file.
4270 * sysdeps/posix/sigset.c: New file.
4271 * signal/signal.h: Add prototypes for new functions.
4272
4273 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
4274 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
4275 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
4277
4278 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
4279
4280 * posix/wordexp.c: Added IFS field-splitting in parameter and
4281 command substitution. Fixed an IFS-related bug that caused an
4282 infinite loop.
4283
4284 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
4285
4286 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
4287 and swapcontext.
4288 * stdlib/ucontext.h: Correct prototypes.
4289 * sysdeps/generic/getcontext.c: New file.
4290 * sysdeps/generic/setcontext.c: New file.
4291 * sysdeps/generic/makecontext.c: New file.
4292 * sysdeps/generic/swapcontext.c: New file.
4293 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
4294
4295 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
4296
4297 * resource/sys/resource.h: Remove #include of ulimit.h which is
4298 not allowed by SUSv2 and not available on other systems.
4299 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
4300
4301 * streams/Makefile: New file.
4302 * streams/stropts.h: New file.
4303 * sysdeps/generic/bits/stropts.h: New file.
4304 * sysdeps/generic/isastream.c: New file.
4305 * sysdeps/generic/getmsg.c: New file.
4306 * sysdeps/generic/getpmsg.c: New file.
4307 * sysdeps/generic/putmsg.c: New file.
4308 * sysdeps/generic/putpmsg.c: New file.
4309 * sysdeps/generic/fattach.c: New file.
4310 * sysdeps/generic/fdetach.c: New file.
4311 * sysdeps/unix/inet/Subdirs: Add streams.
4312 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
4313 __t_uscalar_t.
4314 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4315 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4316 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
4318
4319 * sysdeps/mach/_strerror.c: Follow changes of generic version to
4320 handle small buffers correctly.
4321
4322 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
4323
4324 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
4325 Remove the 3rd arg and add declaration for _dl_runtime_resolve
4326 and _dl_runtime_profile.
4327
4328 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
4329
4330 * include/cpio.h: New file. Mainly copied from GNU cpio.
4331 * posix/Makefile (headers): Add cpio.h.
4332
4333 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4334
4335 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
4336 to routines.
4337 * nis/nis_cache.c: New file.
4338 * nis/nis_cache2.h: New file.
4339 * nis/nis_cache2_xdr.c: New file.
4340 * nis/nis_call.c: Changes for cache2_info parameter.
4341 * nis/nis_checkpoint.c: Likewise.
4342 * nis/nis_intern.h: Likewise.
4343 * nis/nis_mkdir.c: Likewise.
4344 * nis/nis_ping.c: Likewise.
4345 * nis/nis_rmdir.c: Likewise.
4346 * nis/nis_server.c: Likewise.
4347 * nis/nis_util.c: Likewise.
4348
4349 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4350
4351 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
4352 return/errnop codes.
4353 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4354 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4355 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4356 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4357 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4358 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4359 * nis/nss_nisplus/nisplus-rpc.c: Likewise
4360 * nis/nss_nisplus/nisplus-service.c: Likewise.
4361 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4362
4363 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4364
4365 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
4366 * nis/nss_nis/nis-ethers.c: Likewise.
4367 * nis/nss_nis/nis-grp.c: Likewise.
4368 * nis/nss_nis/nis-hosts.c: Likewise.
4369 * nis/nss_nis/nis-network.c: Likewise.
4370 * nis/nss_nis/nis-proto.c: Likewise.
4371 * nis/nss_nis/nis-hosts.c: Likewise.
4372 * nis/nss_nis/nis-network.c: Likewise.
4373 * nis/nss_nis/nis-proto.c: Likewise.
4374 * nis/nss_nis/nis-publickey.c: Likewise.
4375 * nis/nss_nis/nis-pwd.c: Likewise.
4376 * nis/nss_nis/nis-rpc.c: Likewise.
4377 * nis/nss_nis/nis-service.c: Likewise.
4378 * nis/nss_nis/nis-spwd.c: Likewise.
4379
4380 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
4381
4382 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
4383 Added to follow latest kernel development.
4384
4385 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
4386
4387 * nss/db-Makefile: Handle empty and comment lines better.
4388 ($(VAR_DB)/services.db): Generate entries with missing protocol
4389 value.
4390
4391 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4392
4393 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
4394 NULL.
4395 (getservbyname): Allow proto == NULL.
4396 Pointed out by David N. Welton <davidw@gate.cks.com>.
4397 [PR libc/430].
4398
4399 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
4400
4401 * nis/nislib/nislib.h: Finally removed.
4402
4403 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
4404 C compiler. From Kaveh Ghazi.
4405 (TYPE_MINIMUM): Define.
4406 (TYPE_MAXIMUM): Define.
4407 (TIME_T_MIN): Use TYPE_MINIMUM.
4408 (TIME_T_MAX): Use TYPE_MAXIMUM.
4409 Patch by Jim Meyering <meyering@ascend.com>.
4410
4411 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
4412
4413 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
4414 __pread64, __pwrite64, and __getpid.
4415
4416 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
4417 versions.
4418
4419 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4420
4421 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
4422 cancelable socket functions as __libc_xxx with __xxx as weak
4423 alias.
4424 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4425 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4426
4427 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
4428 redefined.
4429 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4430 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
4431 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4433
4434 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
4435 and __xxx a weak alias.
4436 * sysdeps/unix/sysv/linux/connect.S: Likewise.
4437 * sysdeps/unix/sysv/linux/recv.S: Likewise.
4438 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4439 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4440 * sysdeps/unix/sysv/linux/send.S: Likewise.
4441 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4442 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4443
4444 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4445
4446 * locale/langinfo.h: Add defines.
4447
4448 * dirent/dirent.h: Add defines for DT_*, check also for
4449 _DIRENT_HAVE_D_TYPE.
4450 Suggested by Roland McGrath.
4451
4452 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4453
4454 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
4455 Update from Linux 2.1.73+79.
4456
4457 * README.template: Update information about possible
4458 configurations.
4459
4460 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
4461 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
4462 [PR libc/417].
4463
4464 * manual/time.texi (Priority): Correct description of
4465 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
4466 [PR libc/416].
4467
4468 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
4469
4470 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
4471 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
4472
4473 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
4474
4475 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
4476 Andreas Jaeger.
4477
4478 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
4479
4480 * locale/programs/ld-collate.c: Little optimizations.
4481
4482 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
4483
4484 * string/Makefile (tests): Add tst-inlcall.
4485 * string/tst-inlcall.c: New file.
4486
4487 * string/strsignal.c: Add support for real-time signals.
4488
4489 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
4490 presense of small buffer.
4491
4492 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
4493
4494 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
4495 for i686.
4496
4497 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
4498 _NSIG + 1.
4499
4500 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
4501
4502 * Rules: Add explicit rule for dummy.o; at least one library needs
4503 it and it isn't autogenerated by the default rules.
4504
4505 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4506
4507 * math/libm-test.c: Tweak epsilons.
4508
4509 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4510
4511 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
4512 child.
4513 (feenv_mask_test): Likewise.
4514
4515 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4516
4517 * Makeconfig: Don't export CPPFLAGS.
4518
4519 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4520
4521 * sunrpc/rpc_main.c (parseargs): Use perror to print error
4522 message.
4523
4524 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4525
4526 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
4527 terminating null in key size.
4528
4529 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4530
4531 * nss/nss_files/files-service.c: Fix allocation size to include
4532 length of PROTO.
4533
4534 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
4535 applicable. Fix return value and error checking.
4536 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
4537 unparsable lines.
4538 (DB_LOOKUP): Allocate space for terminating null byte.
4539
4540 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
4541 uids specially.
4542
4543 * db2/makedb.c (process_input): Continue processing if a duplicate
4544 key is encountered.
4545
4546 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
4547
4548 * time/tzfile.h: Updated from tzcode1998b.
4549 * time/zdump.c: Likewise.
4550 * time/zic.c: Likewise.
4551 * time/africa: Update from tzdata1998b.
4552 * time/antarctica: Likewise.
4553 * time/asia: Likewise.
4554 * time/australasia: Likewise.
4555 * time/etcetera: Likewise.
4556 * time/europe: Likewise.
4557 * time/leapseconds: Likewise.
4558 * time/northamerica: Likewise.
4559 * time/southamerica: Likewise.
4560
4561 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4562
4563 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
4564 lookups ignoring case.
4565 * nss/nss_files/files-network.c: Do network lookups ignoring
4566 case.
4567 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
4568 case.
4569 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
4570 case insensitive comparing.
4571 Patches by Cristian Gafton <gafton@redhat.com>.
4572
4573 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4574
4575 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
4576 by Roland McGrath. [PR libc/395]
4577
4578 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4579
4580 * manual/arith.texi (Parsing of Integers): Correct description of
4581 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
4582 [PR libc/396]
4583
4584 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
4585
4586 * misc/lsearch.c (lsearch): Return a pointer to the new element
4587 if one was "allocated".
4588
4589 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4590
4591 * string/strsignal.c: NSIG is not a valid index into
4592 _sys_siglist. Don't zap the last character of the "Unknown
4593 signal" message.
4594
4595 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
4596
4597 * locale/programs/charmap.c (parse_charmap): Correct parsing of
4598 ellipsis expressions.
4599
4600 * locale/programs/charset.c (insert_char): Correctly insert value
4601 of eliipsis expression.
4602
4603 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
4604
4605 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
4606 <bits/setjmp.h>.
4607 * sysdeps/powerpc/setjmp.S: Likewise.
4608 Patches by Matt McLean <keys@keys.got.net>.
4609
4610 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
4611
4612 * Makefile: Undo last patch.
4613 (distribute): Add test-installation.pl.
4614
4615 * configure.in: Correct handling of --enable-add-ons without parameter.
4616 Correct address of WWW pages.
4617
4618 * libc.map: Add _nl_domain_bindings.
4619
4620 * db2/mutex/tsl_parisc.s: New file.
4621
4622 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
4623 and extra-module.mk.
4624
4625 * localedata/Makefile (distribute): New. Add all the files.
4626
4627 * stdlib/Makefile (headers): Add inttypes.h.
4628 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
4629 * sysdeps/generic/inttypes.h: New file.
4630 * sysdeps/generic/strtoimax.c: New file.
4631 * sysdeps/generic/strtoumax.c: New file.
4632 * sysdeps/generic/wcstoimax.c: New file.
4633 * sysdeps/generic/wcstoumax.c: New file.
4634 * sysdeps/wordsize-32/Dist: Removed.
4635 * sysdeps/wordsize-32/Makefile: Removed.
4636 * sysdeps/wordsize-64/Dist: Removed.
4637 * sysdeps/wordsize-64/Makefile: Removed.
4638 * sysdeps/generic/bits/environments.h: New file.
4639
4640 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
4641 header is still not correct.
4642
4643 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
4644 * posix/unistd.h: Likewise.
4645 * sysdeps/generic/sys/mman.h: Likewise.
4646 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
4647
4648 * manual/arith.texi: Change definition of mul macro.
4649 * manual/math.texi: Likewise.
4650
4651 * misc/Makefile (routines): Add mmap64.
4652 * sysdeps/generic/mmap64.c: New file.
4653 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
4655 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
4656 aliases to mmap.
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4658
4659 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
4660
4661 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
4662
4663 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
4664
4665 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
4666 FOPEN_MAX also when included by limits.h.
4667 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
4668
4669 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
4670 and netrom/netrom.h.
4671 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
4672 oldsiglist to sysdep_routines, not aux.
4673 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
4674
4675 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
4676 and SOL_NETROM definition.
4677
4678 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
4679
4680 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
4681 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
4682
4683 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
4684
4685 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
4686
4687 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
4688 sa_handler with k_sa_handler.
4689 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
4690 strong alias.
4691 Reported by a sun.
4692
4693 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
4694 __libc_have_rt_sigs here.
4695 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
4696 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4697 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
4698 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4699
4700 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
4701
4702 * sysdeps/powerpc/atomicity.h: New file.
4703 * sysdeps/mach/powerpc/machine-lock.h: New file.
4704
4705 * Rules: Use -fpic to build anything that might end up in a users'
4706 shared library.
4707
4708 * sysdeps/powerpc/s_fdim.c: New file.
4709 * sysdeps/powerpc/s_fdimf.c: New file.
4710 * sysdeps/powerpc/s_fmax.S: New file.
4711 * sysdeps/powerpc/s_fmaxf.S: New file.
4712 * sysdeps/powerpc/s_fmin.S: New file.
4713 * sysdeps/powerpc/s_fminf.S: New file.
4714 * sysdeps/powerpc/s_llrint.c: Now is for double.
4715 * sysdeps/powerpc/s_llrintf.c: New file.
4716 * sysdeps/powerpc/s_llround.c: Now is for double.
4717 * sysdeps/powerpc/s_llroundf.c: New file.
4718 * sysdeps/powerpc/s_lrint.c: Now is for double.
4719 * sysdeps/powerpc/s_lrintf.S: New file.
4720 * sysdeps/powerpc/s_lround.c: Now is for double.
4721 * sysdeps/powerpc/s_lroundf.c: New file.
4722 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
4723 lrintf, fdim, fdimf.
4724
4725 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
4726 file directly, use its parent.
4727
4728 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
4729 (for the third time).
4730
4731 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
4732
4733 * posix/sched.h: timespec is in <time.h>.
4734
4735 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
4736
4737 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
4738
4739 * configure.in: Stop with error if --disable-static is used when
4740 the shared lib uses this library.
4741
4742 * gen-FAQ.pl: I've perl installed in /usr/bin.
4743
4744 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
4745
4746 Fix Unix98 conformance problems in the headers.
4747 * catgets/nl_types.h: Define nl_item.
4748 * grp/grp.h: Define gid_t.
4749 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
4750 * include/nl_types.h: New file.
4751 * include/ulimit.h: New file.
4752 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
4753 constants in POSIX mode.
4754 * io/utime.h: Get definition for time_t.
4755 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
4756 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
4757 * libio/stdio.h: Define va_list. Make snprintf also available is
4758 __USE_UNIX98. Declare getopt function and variables.
4759 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
4760 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
4761 * math/math.h: Defined M_* constants as double for Unix98 mode.
4762 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
4763 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
4764 * posix/regex.h: Define REG_NOSYS.
4765 * posix/wordexp.h: Define WRDE_NOSYS.
4766 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
4767 500 for Unix98.
4768 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
4769 somewhere else as well. Define clock_t for Unix98.
4770 * posix/sys/wait.h: Define pid_t.
4771 * pwd/pwd.h: Define gid_t, uid_t.
4772 * resource/Makefile (headers): Add ulimit.h.
4773 * resource/ulimit.h: New file.
4774 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
4775 instead of second argument.
4776 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
4777 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
4778 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
4779 * signal/signal.h: Define pid_t.
4780 * string/string.h: Don't declare BSD string functions in POSIX mode.
4781 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
4782 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
4783 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
4784 and POSIX.
4785
4786 * inet/test_ifindex.c: Change test so that it does not fail for
4787 interface aliases.
4788
4789 * locale/programs/locale.c (show_info): Use correct cast sequence
4790 for 64bit machines.
4791
4792 * malloc/malloc.c: __malloc_initialized now signals three states:
4793 uninitialized, initializing, initialized. Used in mcheck.
4794 * malloc/mcheck.c (mabort): Add '\n' to messages.
4795 (mcheck): Allow installation when malloc is uninitialized or is
4796 just initializing.
4797
4798 * manual/memory.texi: Explain mtrace output a bit more.
4799
4800 * math/libm-test.c: Add more epsilons.
4801
4802 * misc/regexp.h (compile): Remove __ prefix from parameter names.
4803
4804 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
4805 instead of strcpy for security.
4806 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
4807 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
4808 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
4809
4810 * nss/digits_dots.c: Pretty print.
4811
4812 * posix/getconf.c (vars): Add symbols for programming environment
4813 recognition. Recognize --version.
4814
4815 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
4816 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
4817 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
4818
4819 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
4820 __need_FOPEN_MAX.
4821 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
4822 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
4823 __need_FOPEN_MAX.
4824
4825 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
4826 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
4827
4828 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
4829 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
4831 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
4832 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4833 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
4834
4835 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
4836 SCNu*.
4837 * sysdeps/wordsize-64/inttypes.h: Likewise.
4838
4839 * time/africa: Update from tzdata1997j.
4840 * time/antarctica: Likewise.
4841 * time/asia: Likewise.
4842 * time/australasia: Likewise.
4843 * time/backward: Likewise.
4844 * time/etcetera: Likewise.
4845 * time/europe: Likewise.
4846 * time/factory: Likewise.
4847 * time/northamerica: Likewise.
4848 * time/pacificnew: Likewise.
4849 * time/southamerica: Likewise.
4850
4851 * time/tzfile.h: Update from tzcode1997h.
4852 * time/zic.c: Likewise.
4853
4854 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
4855 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
4856 isw*() functions for Unix98.
4857 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
4858 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
4859 is defined.
4860
4861 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4862
4863 * locale/duplocale.c: Increase usage_count only if less than
4864 MAX_USAGE_COUNT.
4865 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
4866 MAX_USAGE_COUNT.
4867 * locale/setlocale.c: Likewise.
4868
4869 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4870
4871 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
4872 dependency to make it easier to install it selectively.
4873
4874 * Makerules (.SUFFIXES): Don't define any suffixes.
4875
4876 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4877
4878 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
4879 * sysdeps/generic/statfs64.c: Emulate using statfs.
4880 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
4881 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
4882 * sysdpes/generic/ftruncate64.c: New file.
4883 * sysdpes/generic/truncate64.c: New file.
4884
4885 * sysdeps/generic/bits/stat.h: Add LFS support.
4886 * sysdeps/generic/bits/statfs.h: Likewise.
4887
4888 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
4889 [__USE_FILE_OFFSET64]: Make long long constant.
4890 (RLIM64_INFINITY): Likewise.
4891
4892 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
4893 for LFS support.
4894 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
4895 * sysdeps/generic/bits/resource.h: Likewise.
4896
4897 * misc/Makefile (routines): Add truncate64 and ftruncate64.
4898
4899 * include/features.h: Don't prevent LFS support from defining BSD
4900 and SYSV things.
4901
4902 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
4903 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
4904 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
4905
4906 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
4907 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
4908 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4909
4910 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
4911 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
4912 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
4913 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
4914 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
4915 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
4916 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
4917 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
4918 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
4919 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
4920 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
4921 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
4922 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
4923 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
4924 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
4925 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
4926 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
4927 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
4928 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
4930
4931 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
4932 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
4933 * sysdeps/unix/sysv/linux/xstat64.c: New file.
4934 * sysdeps/unix/sysv/linux/readdir64.c: New file.
4935 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
4936
4937 * sysdeps/unix/sysv/linux/getdents64.c: New file.
4938 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
4939 [$(subdir)=dirent]: Add getdents64.
4940 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
4941
4942 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
4943
4944 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
4945
4946 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
4947
4948 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
4949 * sysdeps/generic/getrlimit64.c: Likewise.
4950 * sysdeps/generic/setrlimit.c: Likewise.
4951 * sysdeps/generic/setrlimit64.c: Likewise.
4952
4953 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
4954
4955 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
4956 using versioning.
4957
4958 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
4959
4960 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
4961
4962 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4963
4964 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
4965 after the codeset name.
4966
4967 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4968
4969 * libc.map: Add get_kernel_syms.
4970
4971 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4972
4973 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
4974 static.
4975 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
4976 Likewise. Fix condition.
4977
4978 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4979
4980 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
4981
4982 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4983
4984 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
4985 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
4986
4987 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4988
4989 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
4990 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
4991 instead. Oops.
4992
4993 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4994
4995 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
4996
4997 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4998
4999 * math/libm-test.c (catanh_test): Change epsilon.
5000 Reported by H.J. Lu.
5001
5002 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
5003
5004 * libc.map (__getpid): Added for linuxthreads.
5005
5006 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
5007
5008 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
5009 it if gcc uses static variable in DWARF2 unwind information
5010 for exception support.
5011
5012 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
5013
5014 * elf/soinit.c (__libc_global_ctors, _fini): Handle
5015 HAVE_DWARF2_UNWIND_INFO_STATIC.
5016
5017 * libc.map (__register_frame*, __deregister_frame*): Make them
5018 global.
5019
5020 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5021
5022 * math/libm-test.c: Add more tests for "normal" values.
5023
5024 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5025
5026 * stdio-common/printf_fphex.c: Fix printing of long double number
5027 with a biased exponent of zero. Fix rounding.
5028
5029 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5030
5031 * sunrpc/rpc_main.c: Accept new flag -$.
5032 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
5033
5034 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5035
5036 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
5037 dynamic linker first, in case the interface has changed.
5038
5039 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5040
5041 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
5042 order.
5043
5044 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5045
5046 * math/tgmath.h: Check for double first, for architectures where
5047 sizeof (long double) == sizeof (double).
5048
5049 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5050
5051 * math/libm-test.c: New tests for "normal" values added for most
5052 functions.
5053
5054 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
5055
5056 * version.h (VERSION): Bump to 2.0.91.
5057
5058 * db2/makedb.c (process_input): Fix typo in message.
5059 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
5060
5061 * elf/dynamic-link.h: Pretty print.
5062
5063 * elf/rtld.c: Allow multiple preloading of a shared object.
5064
5065 * include/limits.h: Prevent multiple inclusion.
5066
5067 * malloc/Makefile (headers): Add mcheck.h.
5068 (distribute): Remove it here.
5069 * malloc/mcheck.h: Pretty print.
5070 * malloc/mtrace.c (mallenv): Make `const'.
5071 * malloc/mtrace.pl: Don't print table head for memory leaks if there
5072 are none.
5073 * manual/memory.texi: Update descriptor of malloc hooks.
5074
5075 * posix/Makefile (routines): Add waitid.
5076 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
5077 on __id_t.
5078 * posix/sys/wait.h: Define idtype_t type.
5079 Add prototype for waitid.
5080 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
5081 * sysdeps/generic/waitid.c: Stub for waitid.
5082 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
5083 the __need_siginfo_t defined.
5084 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
5085 * sysdeps/generic/bits/types.h: Define __id_t.
5086 Correct definition of __FDMASK.
5087 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5088 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5090
5091 * sysdeps/posix/waitid.c: New file.
5092 Provided by Zack Weinberg.
5093
5094 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
5095
5096 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5097 Add missing parameters.
5098
5099 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
5100 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
5101 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
5102 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
5103 initialized.
5104
5105 * sysdeps/i386/dl-machine.h: Little cleanup.
5106
5107 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
5108 (__finite): Mark function as const.
5109 Add inline code for __ieee754_atan2.
5110
5111 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
5112 (but don't use it now).
5113 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
5114 __atan.
5115 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
5116 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
5117 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
5118 real part.
5119 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
5120 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
5121 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
5122 __ieee754_atan2 to base 10.
5123 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
5124 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
5125
5126 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
5127 old_kernel_sigaction.
5128
5129 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
5130
5131 * wctype/Makefile (routines): Add wctype_l.
5132 * wctype/wctype.h: Add declaration of __wctype_l.
5133 * wctype/wctype_l.c: New file.
5134
5135 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
5136
5137 * locale/C-ctype.c: Correct data for isw* functions.
5138 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
5139 byte order.
5140 * wctype/test_wctype.c: Add test for isw* functions.
5141 * wctype/wctype.c: Return value with expected byte order.
5142
5143 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5144
5145 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
5146
5147 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
5148
5149 * iconvdata/Makefile: Fix a typo.
5150
5151 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
5152 oldsiglist for shared library.
5153
5154 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
5155 sys_sigabbrev): Make them as the default version GLIBC_2.1.
5156
5157 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
5158 sys_siglist, sys_sigabbrev): New file. Make them as the old
5159 version GLIBC_2.0.
5160
5161 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
5162 to GLIBC_2.1.
5163
5164 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
5165
5166 * libio/iofgets.c (_IO_fgets): Return an error only if there
5167 is a new error.
5168 * libio/iogets.c (_IO_gets): Ditto.
5169
5170 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
5171
5172 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
5173
5174 * libio/Makefile (routines, shared-only-routines): Add
5175 oldiofdopen.
5176
5177 * libio/fileops.c: Don't use _IO_FILE_complete.
5178 * libio/iofdopen.c: Ditto.
5179 * libio/iofopen.c: Ditto.
5180 * libio/iofopen64.c: Ditto.
5181 * libio/iopopen.c: Ditto.
5182 * libio/iovdprintf.c: Ditto.
5183
5184 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
5185
5186 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
5187 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
5188
5189 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
5190 _IO_old_fdopen, _IO_new_fdopen): New declaration.
5191
5192 * libio/libio.h (_IO_FILE): Add more fields.
5193 (_IO_FILE_complete): Defined and make _IO_FILE be the old
5194 one if _IO_USE_OLD_IO_FILE is defined
5195 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
5196 them _IO_FILE_complete.
5197
5198 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
5199 to adjust vtable.
5200 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
5201 _IO_JUMPS.
5202 (_IO_FILE_complete): Commented out.
5203
5204 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
5205 * libio/oldiofclose.c: Ditto.
5206 * libio/oldiofopen.c: Ditto.
5207 * libio/oldstdfiles.c: Ditto.
5208
5209 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
5210 for the old _IO_FILE.
5211
5212 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
5213 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
5214 and stderr.
5215
5216 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
5217 and remove INAME.
5218
5219 * libio/stdio.c (stdin, stdout, stdin): Don't use
5220 _IO_FILE_complete.
5221
5222 * libio/oldiofdopen.c: New.
5223
5224 * stdio-common/vfprintf.c (buffered_vfprintf): Set
5225 hp->_vtable_offset to 0.
5226
5227 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
5228
5229 * libc.map (_IO_file_open): Added.
5230
5231 * libio/libioP.h (_IO_file_open): Declared.
5232
5233 * libio/fileops.c (_IO_file_open): New.
5234 (_IO_file_fopen): Call _IO_file_open ().
5235
5236 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
5237 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5238
5239 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5240
5241 * signal/signal.h: Fix selection of signal semantics to match
5242 comment.
5243
5244 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5245
5246 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
5247 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
5248 rt_sigreturn.
5249 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
5250 [$(subdir)=signal]: Remove rt_sigreturn.
5251 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
5252 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
5253 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
5254
5255 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5256
5257 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
5258 declarations.
5259
5260 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5261
5262 * iconvdata/extra-module.mk: Expand extra-objs now.
5263
5264 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5265
5266 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
5267 inline functions by feature tests to avoid warning about missing
5268 prototype declarations.
5269
5270 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5271
5272 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
5273 return code for non existent +name entries.
5274 * nis/nss_compat/compat-pwd.c: Likewise.
5275 * nis/nss_compat/compat-spwd.c: Likewise.
5276
5277 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
5278
5279 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
5280 (EIO): Likewise.
5281 (ENOSPC): Likewise.
5282 (EEXIST): Likewise.
5283 (__errno_location): Likewise.
5284
5285 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
5286
5287 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
5288
5289 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5290
5291 * sunrpc/publickey.c: Use new NSS interface.
5292
5293 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
5294
5295 * manual/malloc.texi: Document mtrace/muntrace and the concept.
5296
5297 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5298
5299 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
5300 value, to match spirit of the standard.
5301 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
5302 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
5303 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
5304
5305 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5306
5307 * manual/signal.texi (Signal Stack): Remove spurious @item.
5308
5309 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5310
5311 * rt/aio.h: Remove double semicolon.
5312
5313 * rt/librt.map: Add aio_init.
5314
5315 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
5316
5317 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
5318 * Makefile (subdirs): Replace rt by $(rt).
5319
5320 * shlib-versions: Use version .2 for NSS modules.
5321
5322 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
5323 argument.
5324 * pwd/fgetpwent_r.c: Likewise.
5325 * spwd/fgetspent_r.c: Likewise.
5326 * spwd/sgetspent_r.c: Likewise.
5327 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
5328 Store error number in *ERRNOP. Little optimization.
5329 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
5330 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
5331 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
5332 (__internal_getnetgrent_r): New argument.
5333 Call __internal_setnetgrent_reuse with new argument.
5334 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
5335 * inet/netgroup.h: Add argument to prototypes.
5336 * nis/nisplus-parser.h: Likewise.
5337 * nis/nss_compat/compat-grp.c: Change everything to store error
5338 code through provided pointer and not use errno.
5339 * nis/nss_compat/compat-pwd.c: Likewise.
5340 * nis/nss_compat/compat-spwd.c: Likewise.
5341 * nis/nss_nis/nis-alias.c: Likewise.
5342 * nis/nss_nis/nis-ethers.c: Likewise.
5343 * nis/nss_nis/nis-grp.c: Likewise.
5344 * nis/nss_nis/nis-hosts.c: Likewise.
5345 * nis/nss_nis/nis-netgrp.c: Likewise.
5346 * nis/nss_nis/nis-network.c: Likewise.
5347 * nis/nss_nis/nis-proto.c: Likewise.
5348 * nis/nss_nis/nis-publickey.c: Likewise.
5349 * nis/nss_nis/nis-pwd.c: Likewise.
5350 * nis/nss_nis/nis-rpc.c: Likewise.
5351 * nis/nss_nis/nis-service.c: Likewise.
5352 * nis/nss_nis/nis-spwd.c: Likewise.
5353 * nis/nss_nisplus/nisplus-alias.c: Likewise.
5354 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5355 * nis/nss_nisplus/nisplus-grp.c: Likewise.
5356 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5357 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
5358 * nis/nss_nisplus/nisplus-network.c: Likewise.
5359 * nis/nss_nisplus/nisplus-parser.c: Likewise.
5360 * nis/nss_nisplus/nisplus-proto.c: Likewise.
5361 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5362 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5363 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5364 * nis/nss_nisplus/nisplus-service.c: Likewise.
5365 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5366 * nss/nss_db/db-XXX.c: Likewise.
5367 * nss/nss_db/db-alias.c: Likewise.
5368 * nss/nss_db/db-netgrp.c: Likewise.
5369 * nss/nss_files/files-XXX.c: Likewise
5370 * nss/nss_files/files-alias.c: Likewise
5371 * nss/nss_files/files-netgrp.c: Likewise
5372 * nss/nss_files/files-parse.c: Likewise
5373 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
5374 parameter of get functions.
5375 * nss/getXXent_r.c: Likewise.
5376
5377 * localedata/tst-fmon.c: Print debug info if test fails.
5378
5379 * rt/Makefile (routines): Add aio_notify.
5380 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
5381 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
5382 * rt/aio_fsync.c: Likewise.
5383 * rt/aio_misc.c: Likewise.
5384 * rt/aio_misc.h: Likewise.
5385 * rt/aio_read.c: Likewise.
5386 * rt/aio_read64.c: Likewise.
5387 * rt/aio_suspend.c: Likewise.
5388 * rt/aio_write.c: Likewise.
5389 * rt/aio_write64.c: Likewise.
5390 * rt/lio_listio.c: Likewise.
5391 * rt/lio_listio64.c: Likewise.
5392 * rt/aio_notify.c: New file.
5393
5394 * sysdeps/generic/bits/sigset.h: Pretty print.
5395
5396 * sysdeps/posix/pwrite.c: Define weak alias only if function is
5397 really defined as __pwrite.
5398
5399 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
5400 instead of pread64.
5401 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5402
5403 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
5404 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
5405 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
5406 size in syscall.
5407 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5408 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5409 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
5410 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5411 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5412 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5413 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
5414 for ACT being NULL.
5415 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
5416 RT signals.
5417 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
5418 __NR_pread is not defined.
5419 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
5420 __NR_pwrite is not defined.
5421
5422 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5423
5424 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
5425 handle for /etc/group back in some more cases.
5426 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
5427 handle for /etc/passwd back in some more cases.
5428 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
5429 handle for /etc/shadow back in some more cases.
5430
5431 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
5432
5433 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
5434 beyound its size.
5435 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
5436 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
5437
5438 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
5439
5440 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
5441 handling. Don't use macros, we need functions. Use inline functions
5442 for optimization.
5443 * sysdeps/wordsize-64/inttypes.h: Likewise.
5444 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
5445 and wcstoumax.
5446 * sysdeps/wordsize-64/Makefile: Likewise.
5447 * sysdeps/wordsize-32/Dist: Likewise.
5448 * sysdeps/wordsize-64/Dist: Likewise.
5449 * sysdeps/wordsize-32/strtoimax.c: New file.
5450 * sysdeps/wordsize-32/strtoumax.c: New file.
5451 * sysdeps/wordsize-32/wcstoimax.c: New file.
5452 * sysdeps/wordsize-32/wcstoumax.c: New file.
5453 * sysdeps/wordsize-64/strtoimax.c: New file.
5454 * sysdeps/wordsize-64/strtoumax.c: New file.
5455 * sysdeps/wordsize-64/wcstoimax.c: New file.
5456 * sysdeps/wordsize-64/wcstoumax.c: New file.
5457
5458 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
5459
5460 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
5461 that transparent union works.
5462 * sysdeps/generic/wait4.c (__wait4): Likewise.
5463 * sysdeps/generic/wait.c (__wait): Likewise.
5464
5465 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
5466 size_t.
5467
5468 * sysdeps/generic/syscall.c (syscall): Return value and arg are
5469 long, to match prototype.
5470
5471 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
5472 have mremap() yet.
5473
5474 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
5475
5476 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
5477
5478 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
5479
5480 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
5481 __rlim_t.
5482
5483 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
5484
5485 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
5486
5487 * io/sys/stat.h (S_ISLNK): Always false if we don't have
5488 __S_IFLNK.
5489
5490 * sysdeps/standalone/close.c (_STDIO_H): Define before including
5491 <bits/stdio_lim.h>.
5492 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
5493
5494 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
5495
5496 * posix/sys/wait.h: Don't use transparent unions in C++.
5497
5498 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5499
5500 * time/time.h: Add strfxtime.
5501
5502 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
5503 sysv_signal, strfxtime, pread64, pwrite64.
5504
5505 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
5506
5507 Alpha changes for EGCS:
5508 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
5509 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
5510 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
5511 (_start): Likewise.
5512 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
5513
5514 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
5515
5516 The kernel expects the arguments in a different order.
5517 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
5518 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
5519
5520 * FAQ.in: New file.
5521 * gen-FAQ.pl: New file.
5522 * Makefile (FAQ): Add rule to generate from FAQ.in.
5523
5524 * iconvdata/Makefile: Treat libJIS like the other modules.
5525
5526 * rt/librt.map: New file.
5527
5528 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
5529 inclusion.
5530 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
5531 comment.
5532
5533 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
5534
5535 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
5536 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5537 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
5538 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5539
5540 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5541
5542 * string/bits/string2.h: Fix spellings.
5543
5544 * string/string.h: Fix spellings.
5545
5546 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5547
5548 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
5549 declaration to __syscall_rt_sigaction.
5550
5551 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
5552 non-existant <sigcontext.h>.
5553
5554 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5555
5556 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
5557 typo.
5558
5559 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5560
5561 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
5562
5563 * Makeconfig (shared-thread-library): Correct spelling.
5564
5565 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
5566 <asm/pci.h>.
5567
5568 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5569
5570 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
5571 constants from Linux headers. Pointed out by
5572 csmall@scooter.o.i.net. [PR libc/369]
5573
5574 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5575
5576 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
5577
5578 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
5579
5580 * configure.in: If --enable-add-ons is given without an
5581 argument, set the addons list to all subdirs with a configure
5582 script.
5583
5584 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
5585
5586 * Makeconfig: Add shared-thread-library variable.
5587
5588 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
5589 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
5590 here.
5591 * sysdeps/m68k/fpu/e_acos.c: Likewise.
5592 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
5593 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
5594 * sysdeps/m68k/fpu/e_pow.c: Likewise.
5595 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
5596 * sysdeps/m68k/fpu/k_cos.c: Likewise.
5597 * sysdeps/m68k/fpu/k_sin.c: Likewise.
5598 * sysdeps/m68k/fpu/k_tan.c: Likewise.
5599 * sysdeps/m68k/fpu/s_atan.c: Likewise.
5600 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
5601 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
5602 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
5603 * sysdeps/m68k/fpu/s_csin.c: Likewise.
5604 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
5605 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
5606 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
5607 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
5608 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
5609 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
5610 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
5611 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
5612 * sysdeps/m68k/fpu/s_modf.c: Likewise.
5613 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
5614 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
5615 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
5616
5617 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
5618 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
5619 * signal/Makefile (headers): Add bits/siginfo.h.
5620 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
5621 (distribute): Add testrtsig.h.
5622 * signal/allocrtsig.c: New file.
5623 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
5624 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
5625 __libc_current_sigrtmax.
5626 * sysdeps/generic/sigqueue.c: New file.
5627 * sysdeps/generic/sigtimedwait.c: New file.
5628 * sysdeps/generic/sigwaitinfo.c: New file.
5629 * sysdeps/generic/testrtsig.h: New file.
5630 * sysdeps/generic/bits/siginfo.h: New file.
5631 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
5632 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
5633 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
5634 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
5635 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
5636 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
5637 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
5638 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
5639 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
5640 * sysdeps/unix/sysv/linux/sigpending.c: New file.
5641 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
5642 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
5643 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
5644 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
5645 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
5646 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
5647 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
5648 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
5649 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
5650 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
5651 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
5652 and _POSIX_REALTIME_SIGNALS.
5653 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
5654 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
5655 update _NSIG.
5656 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
5657 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
5658 definitions.
5659
5660 * Makefile (subdirs): Add rt.
5661 * shlib-versions: Add entry for librt.
5662 * rt/Makefile: New file.
5663 * rt/aio.h: New file.
5664 * rt/aio_cancel.c: New file.
5665 * rt/aio_error.c: New file.
5666 * rt/aio_fsync.c: New file.
5667 * rt/aio_misc.c: New file.
5668 * rt/aio_misc.h: New file.
5669 * rt/aio_read.c: New file.
5670 * rt/aio_read64.c: New file.
5671 * rt/aio_return.c: New file.
5672 * rt/aio_suspend.c: New file.
5673 * rt/aio_write.c: New file.
5674 * rt/aio_write64.c: New file.
5675 * rt/lio_listio.c: New file.
5676 * rt/lio_listio64.c: New file.
5677 * sysdeps/generic/aio_sigqueue.c: New file.
5678 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
5679 * sysdeps/unix/sysv/linux/Dist: Add new files
5680 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
5681 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
5682 rt_sigqueueinfo, rt_sigaction.
5683
5684 * posix/Makefile (headers): Add bits/environments.h.
5685 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
5686 and _CS_LFS_CFLAGS on 64bit platforms.
5687 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
5688 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
5689 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
5690 compilation modules.
5691 * sysdeps/wordsize-32/bits/environments.h: New file.
5692 * sysdeps/wordsize-64/bits/environments.h: New file.
5693
5694 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
5695 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
5696 __libc_pid.
5697 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
5698 0xf00baa.
5699
5700 * string/string.h: Add declaration of __strverscmp.
5701 * string/strverscmp.c: Rename function ot __strverscmp and make old
5702 name weak alias.
5703
5704 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
5705 * sysdeps/generic/enbl-secure.c: Likewise.
5706 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5707
5708 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
5709
5710 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
5711
5712 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
5713
5714 * posix/sys/wait.h: Use __transparent_union__ instead of
5715 transparent_union. Reported by Roland McGrath.
5716
5717 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5718
5719 * resolv/inet_neta.c (inet_neta): Change type of first parameter
5720 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
5721 [PR libc/366].
5722
5723 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
5724
5725 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
5726
5727 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5728
5729 * grp/initgroups.c: Increase buffer if it is too small.
5730
5731 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
5732
5733 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
5734 fields, this is no ISO C. Reported by Andreas Jaeger.
5735
5736 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5737
5738 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
5739
5740 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
5741
5742 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
5743 _SYS_UTSNAME_H not _UTSNAME_H.
5744
5745 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5746
5747 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
5748 computing s_scale.
5749
5750 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5751
5752 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
5753 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
5754 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
5755
5756 * math/libm-test.c (csqrt_test): Add testcase.
5757
5758 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
5759
5760 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
5761 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
5762 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
5763
5764 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5765
5766 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
5767
5768 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5769
5770 * math/libm-test.c (acos_test): Add more tests.
5771 (asin_test): Likewise.
5772 (atan_test): Likewise.
5773 (exp_test): Likewise.
5774 (sin_test): Likewise.
5775 (sqrt_test): Likewise.
5776 (cpow_test): Likewise.
5777 (csqrt_test): Likewise.
5778 (cexp_test): Correct typo in gcc version test.
5779
5780 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
5781
5782 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
5783 <bits/setjmp.h>.
5784 * sysdeps/arm/setjmp.S: Likewise.
5785
5786 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
5787
5788 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
5789
5790 * stdio/stdio.h: Add prototype for tmpfile64().
5791
5792 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
5793
5794 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
5795 prototype to keep in step with libio version.
5796
5797 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
5798
5799 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
5800
5801 * sysdeps/generic/Makefile: Don't try to use make_siglist if
5802 cross-compiling.
5803
5804 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
5805
5806 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
5807 load GOT ptr before jumping to _exit.
5808 Reported by Xavier Leroy.
5809
5810 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
5811
5812 * Makefile (subdirs): Add iconvdata and localedata.
5813
5814 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
5815
5816 * iconv/gconv_conf.c (read_conf_file): Little optimization.
5817
5818 * iconvdata/8bit-gap.c: New file.
5819 * iconvdata/8bit-generic.c: Renamed from ...
5820 * iconvdata/iso8859-generic.c: ...this.
5821 * iconvdata/configure: Removed.
5822 * iconvdata/Makefile: Add new modules and better rules.
5823 * iconvdata/iso6937.c: Minor bug fixes.
5824 * iconvdata/iso8859-1.c: Likewise.
5825 * iconvdata/t61.c: Likewise.
5826 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
5827 Minor bug fixes.
5828 * iconvdata/iso8859-3.c: Likewise.
5829 * iconvdata/iso8859-4.c: Likewise.
5830 * iconvdata/iso8859-5.c: Likewise.
5831 * iconvdata/iso8859-6.c: Likewise.
5832 * iconvdata/iso8859-7.c: Likewise.
5833 * iconvdata/iso8859-8.c: Likewise.
5834 * iconvdata/iso8859-9.c: Likewise.
5835 * iconvdata/iso8859-10.c: Likewise.
5836 * iconvdata/ebcdic-at-de-a.c: New file.
5837 * iconvdata/ebcdic-at-de.c: New file.
5838 * iconvdata/ebcdic-ca-fr.c: New file.
5839 * iconvdata/hp-roman8.c: New file.
5840 * iconvdata/koi-8.c: New file.
5841 * iconvdata/koi8-r.c: New file.
5842 * iconvdata/koi8-h.c: New file.
5843 * iconvdata/latin-greek-1.c: New file.
5844 * iconvdata/latin-greek-1.h: New file.
5845 * iconvdata/latin-greek.c: New file.
5846 * iconvdata/latin-greek.h: New file.
5847 * iconvdata/jis0201.c: New file.
5848 * iconvdata/jis0201.h: New file.
5849 * iconvdata/jis0208.c: New file.
5850 * iconvdata/jis0208.h: New file.
5851 * iconvdata/jis0212.c: New file.
5852 * iconvdata/jis0212.h: New file.
5853 * iconvdata/sjis.c: New file.
5854 * iconvdata/gap.pl: New file. Script to generate table header.
5855 * iconvdata/gaptab.pl: New file.
5856 * iconvdata/gconv-modules: Add info about new modules.
5857
5858 * locale/programs/charmap.c: Also examine alias names given in charmap
5859 files.
5860
5861 * localedata/*: Add to here from add-on. We need the information
5862 to generate tables for iconv.
5863
5864 Update from db-2.3.14.
5865 * db2/Makefile: Updated.
5866 * db2/config.h: Likewise.
5867 * db2/db.h: Likewise.
5868 * db2/db_int.h: Likewise.
5869 * db2/btree/bt_cursor.c: Likewise.
5870 * db2/btree/bt_delete.c: Likewise.
5871 * db2/btree/bt_put.c: Likewise.
5872 * db2/btree/bt_search.c: Likewise.
5873 * db2/btree/bt_split.c: Likewise.
5874 * db2/btree/btree_auto.c: Likewise.
5875 * db2/common/db_appinit.c: Likewise.
5876 * db2/common/db_apprec.c: Likewise.
5877 * db2/common/db_err.c: Likewise.
5878 * db2/common/db_region.c: Likewise.
5879 * db2/db/db_auto.c: Likewise.
5880 * db2/db/db_dispatch.c: Likewise.
5881 * db2/db/db_ret.c: Likewise.
5882 * db2/dbm/dbm.c: Likewise.
5883 * db2/hash/hash_auto.c: Likewise.
5884 * db2/include/btree_ext.h: Likewise.
5885 * db2/include/common_ext.h: Likewise.
5886 * db2/include/db.h.src: Likewise.
5887 * db2/include/db_cxx.h: Likewise.
5888 * db2/include/db_ext.h: Likewise.
5889 * db2/include/db_int.h.src: Likewise.
5890 * db2/include/lock.h: Likewise.
5891 * db2/include/log.h: Likewise.
5892 * db2/include/mp.h: Likewise.
5893 * db2/include/mp_ext.h: Likewise.
5894 * db2/include/os_ext.h: Likewise.
5895 * db2/include/os_func.h: Likewise.
5896 * db2/lock/lock.c: Likewise.
5897 * db2/lock/lock_deadlock.c: Likewise.
5898 * db2/log/log.c: Likewise.
5899 * db2/log/log_archive.c: Likewise.
5900 * db2/log/log_auto.c: Likewise.
5901 * db2/log/log_get.c: Likewise.
5902 * db2/log/log_put.c: Likewise.
5903 * db2/mp/mp_bh.c: Likewise.
5904 * db2/mp/mp_fget.c: Likewise.
5905 * db2/mp/mp_fopen.c: Likewise.
5906 * db2/mp/mp_fput.c: Likewise.
5907 * db2/mp/mp_fset.c: Likewise.
5908 * db2/mp/mp_open.c: Likewise.
5909 * db2/mp/mp_pr.c: Likewise.
5910 * db2/mp/mp_region.c: Likewise.
5911 * db2/mp/mp_sync.c: Likewise.
5912 * db2/mutex/README: Likewise.
5913 * db2/mutex/mutex.c: Likewise.
5914 * db2/os/os_open.c: Likewise.
5915 * db2/os/os_func.c: Removed.
5916 * db2/os/os_config.c: New file.
5917 * db2/os/os_spin.c: New file.
5918 * db2/txn/txn.c: Likewise.
5919 * db2/txn/txn_auto.c: Likewise.
5920
5921 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
5922
5923 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
5924 __typeof for C++ since this fails for class members.
5925 Reported by Neal Becker <neal@ctd.comsat.com>.
5926
5927 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
5928
5929 * configure.in: Check for a working makeinfo (3.11 or better).
5930 * config.make.in: Add MAKEINFO to be substituted.
5931 * manual/Makefile: Don't update info if makeinfo is too old.
5932
5933 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
5934
5935 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
5936 * sysdeps/alpha/__longjmp.S: Likewise.
5937 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
5938 not <bits/termios.h>.
5939
5940 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
5941 __llseek and make llseek and lseek64 weak aliases.
5942 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5943 Patches by a sun <asun@zoology.washington.edu>.
5944
5945 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
5946
5947 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
5948 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5950 * misc/sys/syslog.h: Clean up BSD header.
5951
5952 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5953
5954 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
5955
5956 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
5957 for ctan(+-inf,x).
5958 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
5959 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
5960
5961 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
5962 csqrt (-1), ctanh(i*pi/4).
5963
5964 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5965
5966 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
5967
5968 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
5969
5970 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
5971
5972 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5973
5974 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
5975
5976 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
5977
5978 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
5979 and use. Define GETCWD_RETURN_TYPE instead and use it.
5980 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
5981 of GETCWD_STORYGE_CLASS and put the return type and the
5982 `internal_function' in the right order for gcc 2.7.2.
5983
5984 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5985
5986 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
5987 incompatible with Linux 2.1.x. Packages using modules
5988 (e.g. modutils) should/do provide their own version. Suggested by
5989 Richard Henderson.
5990
5991 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
5992
5993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
5994 [$(subdir)=socket]: Remove sys/module.h.
5995
5996 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
5997
5998 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
5999 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
6000
6001 * iconv/gconv_close.c: Correct freeing of descriptor data.
6002 * iconv/gconv_simple.c: Return correct error values for illegal or
6003 incomplete characters.
6004
6005 * Makefile (iconvdata/%): Special goal to simplify iconvdata
6006 development.
6007 * iconvdata/Makefile: New file.
6008 * iconvdata/configure: Likewise.
6009 * iconvdata/extra-module.mk: Likewise.
6010 * iconvdata/gconv-modules: Likewise.
6011 * iconvdata/iso6937.c: Likewise.
6012 * iconvdata/iso8859-1.c: Likewise.
6013 * iconvdata/iso8859-10.c: Likewise.
6014 * iconvdata/iso8859-10.h: Likewise.
6015 * iconvdata/iso8859-2.c: Likewise.
6016 * iconvdata/iso8859-2.h: Likewise.
6017 * iconvdata/iso8859-3.c: Likewise.
6018 * iconvdata/iso8859-3.h: Likewise.
6019 * iconvdata/iso8859-4.c: Likewise.
6020 * iconvdata/iso8859-4.h: Likewise.
6021 * iconvdata/iso8859-5.c: Likewise.
6022 * iconvdata/iso8859-5.h: Likewise.
6023 * iconvdata/iso8859-6.c: Likewise.
6024 * iconvdata/iso8859-6.h: Likewise.
6025 * iconvdata/iso8859-7.c: Likewise.
6026 * iconvdata/iso8859-7.h: Likewise.
6027 * iconvdata/iso8859-8.c: Likewise.
6028 * iconvdata/iso8859-8.h: Likewise.
6029 * iconvdata/iso8859-9.c: Likewise.
6030 * iconvdata/iso8859-9.h: Likewise.
6031 * iconvdata/iso8859-generic.c: Likewise.
6032 * iconvdata/t61.c: Likewise.
6033
6034 * string/Makefile (routines): Add strcasestr.
6035 * string/string.h: Add prototype for strcasestr.
6036 * sysdeps/generic/strcasestr.c: New file.
6037 * wcsmbs/mbrtowc.c: Simplify special case a bit.
6038 * wcsmbs/wcrtomb.c: Likewise.
6039 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
6040 * wcsmbs/wcsnrtombs.c: Likewise.
6041 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
6042 partial character is read.
6043 * wcsmbs/wcsrtombs.c: Likewise.
6044 * wcsmbs/wmemrtombs.c: Likewise.
6045 * wcsmbs/wmemrtowcs.c: Likewise.
6046
6047 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
6048 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
6049 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
6050 * sysdeps/i386/elf/setjmp.S: Likewise.
6051 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
6052 <bits/termios.h>.
6053
6054 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
6055 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
6056
6057 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
6058 * sysvipc/sys/ipc.h: Likewise.
6059 * sysvipc/sys/msg.h: Likewise.
6060 * sysvipc/sys/sem.h: Likewise.
6061 * sysvipc/sys/shm.h: Likewise.
6062
6063 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
6064 used directly.
6065 * sysdeps/alpha/bits/setjmp.h: Likewise.
6066 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6067 * sysdeps/arm/bits/endian.h: Likewise.
6068 * sysdeps/arm/bits/setjmp.h: Likewise.
6069 * sysdeps/generic/bits/byteswap.h: Likewise.
6070 * sysdeps/generic/bits/confname.h: Likewise.
6071 * sysdeps/generic/bits/dirent.h: Likewise.
6072 * sysdeps/generic/bits/dlfcn.h: Likewise.
6073 * sysdeps/generic/bits/endian.h: Likewise.
6074 * sysdeps/generic/bits/fenv.h: Likewise.
6075 * sysdeps/generic/bits/huge_val.h: Likewise.
6076 * sysdeps/generic/bits/in.h: Likewise.
6077 * sysdeps/generic/bits/ioctl-types.h: Likewise.
6078 * sysdeps/generic/bits/ioctls.h: Likewise.
6079 * sysdeps/generic/bits/ipc.h: Likewise.
6080 * sysdeps/generic/bits/msq.h: Likewise.
6081 * sysdeps/generic/bits/poll.h: Likewise.
6082 * sysdeps/generic/bits/resource.h: Likewise.
6083 * sysdeps/generic/bits/sched.h: Likewise.
6084 * sysdeps/generic/bits/sem.h: Likewise.
6085 * sysdeps/generic/bits/setjmp.h: Likewise.
6086 * sysdeps/generic/bits/shm.h: Likewise.
6087 * sysdeps/generic/bits/sigaction.h: Likewise.
6088 * sysdeps/generic/bits/sigcontext.h: Likewise.
6089 * sysdeps/generic/bits/socket.h: Likewise.
6090 * sysdeps/generic/bits/stat.h: Likewise.
6091 * sysdeps/generic/bits/statfs.h: Likewise.
6092 * sysdeps/generic/bits/stdio_lim.h: Likewise.
6093 * sysdeps/generic/bits/termios.h: Likewise.
6094 * sysdeps/generic/bits/time.h: Likewise.
6095 * sysdeps/generic/bits/uio.h: Likewise.
6096 * sysdeps/generic/bits/utmp.h: Likewise.
6097 * sysdeps/generic/bits/utmpx.h: Likewise.
6098 * sysdeps/generic/bits/utsname.h: Likewise.
6099 * sysdeps/generic/bits/waitflags.h: Likewise.
6100 * sysdeps/generic/bits/waitstatus.h: Likewise.
6101 * sysdeps/gnu/bits/utmp.h: Likewise.
6102 * sysdeps/gnu/bits/utmpx.h: Likewise.
6103 * sysdeps/i386/bits/byteswap.h: Likewise.
6104 * sysdeps/i386/bits/endian.h: Likewise.
6105 * sysdeps/i386/bits/huge_val.h: Likewise.
6106 * sysdeps/i386/bits/setjmp.h: Likewise.
6107 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6108 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6109 * sysdeps/m68k/bits/byteswap.h: Likewise.
6110 * sysdeps/m68k/bits/endian.h: Likewise.
6111 * sysdeps/m68k/bits/setjmp.h: Likewise.
6112 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
6113 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
6114 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
6115 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6116 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
6117 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
6118 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
6119 * sysdeps/mips/bits/dlfcn.h: Likewise.
6120 * sysdeps/mips/bits/endian.h: Likewise.
6121 * sysdeps/mips/bits/setjmp.h: Likewise.
6122 * sysdeps/mips/dec/bits/endian.h: Likewise.
6123 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
6124 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
6125 * sysdeps/mips/p40/bits/endian.h: Likewise.
6126 * sysdeps/powerpc/bits/endian.h: Likewise.
6127 * sysdeps/powerpc/bits/fenv.h: Likewise.
6128 * sysdeps/powerpc/bits/setjmp.h: Likewise.
6129 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
6130 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
6131 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
6132 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
6133 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
6134 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
6135 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6136 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
6137 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
6138 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6139 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
6140 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
6141 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
6142 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
6143 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
6144 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
6145 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
6146 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
6147 * sysdeps/unix/common/bits/dirent.h: Likewise.
6148 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
6149 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6150 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6151 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6152 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
6153 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6154 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
6155 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
6156 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6157 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
6158 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6159 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6160 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6161 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
6162 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6163 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
6164 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
6165 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6166 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6167 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6168 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6169 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6170 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6171 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6172 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
6173 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
6174 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6175 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6176 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
6177 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6178 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6179 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6180 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
6181 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
6182 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6183 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6184 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6185 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
6186 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
6187 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
6188 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
6189 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6190 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6191 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
6192 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6193 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6194 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
6195 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6196 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6200 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
6201 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6203 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
6205 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
6206 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
6207 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
6208 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
6209 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
6210 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
6211 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
6212 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
6213 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6214 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6215 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
6216 * sysdeps/vax/bits/huge_val.h: Likewise.
6217 * sysdeps/vax/bits/setjmp.h: Likewise.
6218 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
6219 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
6220
6221 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6222
6223 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
6224
6225 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
6226
6227 * strftime.c (strftime):
6228 No longer any need to undef or declare if emacs is defined.
6229 (my_strftime): When checking a -1 returned by mktime, don't blow up
6230 if localtime_r returns NULL.
6231
6232 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6233
6234 * README.template: Fix spelling.
6235
6236 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6237
6238 * configure.in: Enhance --enable-add-ons description a wee bit.
6239
6240 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6241
6242 * glibcbug.in: Add more information of build environment and flags.
6243
6244 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6245
6246 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
6247 it into ENOENT.
6248
6249 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
6250
6251 * elf/dl-support.c: Call __libc_init_secure to make sure
6252 __libc_enable_secure is defined early.
6253 * sysdeps/generic/enbl-secure.c: Change function name to
6254 __libc_init_secure and make it global instead of a constructor.
6255
6256 * iconv/gconv.c: Fix lots of bugs.
6257 * iconv/gconv.h: Likewise.
6258 * iconv/gconv_builtin.h: Likewise.
6259 * iconv/gconv_close.c: Likewise.
6260 * iconv/gconv_conf.c: Likewise.
6261 * iconv/gconv_db.c: Likewise.
6262 * iconv/gconv_dl.c: Likewise.
6263 * iconv/gconv_open.c: Likewise.
6264 * iconv/gconv_simple.c: Likewise.
6265 * iconv/iconv.c: Likewise.
6266 * iconv/iconv_close.c: Likewise.
6267 * iconv/iconv_open.c: Likewise.
6268
6269 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
6270 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
6271 * wcsmbs/wmemrtombs.c: New file.
6272 * wcsmbs/wmemrtowcs.c: New file.
6273
6274 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
6275
6276 * iconv/gconv_simple.c: Fix lots of bugs.
6277 * iconv/iconv_open.c: Normalize names before passing them to
6278 __gconv_open.
6279
6280 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
6281
6282 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
6283 * stdio-common/test-popen.c: Add test for above change.
6284
6285 * math/libm-test.c: Print test results also using %a format,
6286 specified in PRINTF_XEXPR macro.
6287 * math/test-double.c: Define PRINTF_XEXPR.
6288 * math/test-float.c: Likewise.
6289 * math/test-ldouble.c: Likewise.
6290 * math/test-idouble.c: Likewise.
6291 * math/test-ifloat.c: Likewise.
6292 * math/test-ildoubl.c: Likewise.
6293
6294 * stdio-common/vfscanf.c: Recognize a in format specifier only as
6295 modifier if used before s, S, or [. Otherwise it's the hexadecimal
6296 FP number format.
6297
6298 * stdlib/strtod.c: Little code cleanup.
6299
6300 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
6301 compiling in math subdir.
6302
6303 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
6304 instead of __LIBC_M81_MATH_INLINES.
6305 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
6306 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6307 * sysdeps/m68k/fpu/e_pow.c: Likewise.
6308 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
6309 * sysdeps/m68k/fpu/k_cos.c: Likewise.
6310 * sysdeps/m68k/fpu/k_sin.c: Likewise.
6311 * sysdeps/m68k/fpu/k_tan.c: Likewise.
6312 * sysdeps/m68k/fpu/s_atan.c: Likewise.
6313 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
6314 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
6315 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
6316 * sysdeps/m68k/fpu/s_csin.c: Likewise.
6317 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
6318 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6319 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6320 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6321 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
6322 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
6323 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
6324 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
6325 * sysdeps/m68k/fpu/s_modf.c: Likewise.
6326 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
6327 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
6328 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
6329 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
6330 __LIBC_INTERNAL_MATH_INLINES is defined.
6331
6332 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
6333 of compare macros from ISO C 9X. Optimize generic versions a bit.
6334 Define __signbit inline functions and __ieee754_sqrt which can be
6335 used if the ompiler is fixed.
6336
6337 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
6338
6339 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6340
6341 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
6342 sysdeps/generic in the whole dep file, not only in the first line.
6343
6344 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6345
6346 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
6347
6348 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6349
6350 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
6351 place.
6352
6353 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6354
6355 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
6356 is non-empty.
6357
6358 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
6359
6360 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
6361 return value.
6362
6363 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
6364
6365 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
6366 readlink succeeds but the return value is too long.
6367
6368 * stdio-common/printf_fphex.c: Determine sign of number correctly.
6369
6370 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
6371
6372 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
6373 __remqu for Alpha.
6374
6375 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
6376
6377 * sysdeps/generic/sys/ucontext.h: Stub context file.
6378
6379 * libio/iofprintf.c: Removed. We use the stdio-common version.
6380
6381 * manual/Makefile (distribute): Add stdio-fp.c.
6382
6383 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
6384
6385 * db2/Makefile (distribute): Add include/os_func.h, README and
6386 mutex/tsl_parisc.s.
6387
6388 * hesiod/Makefile (distribute): Add README.hesiod.
6389
6390 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
6391
6392 * iconv/gconv.c: Correctly call transformation function.
6393
6394 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
6395
6396 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6397
6398 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
6399 wrong results for e.g. remquo (3,2, &x)).
6400 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
6401 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
6402
6403 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6404
6405 * configure.in (ld --version-script): Test if the same symbol
6406 maybe defined in all versions (needed by recent changes to
6407 libc.map and supported with binutils 2.8.1.0.17) and issue warning
6408 if versioning is not supported/enabled.
6409 (bash test): Correct test case.
6410
6411 * math/libm-test.c: Added counting/reporting of number of test cases.
6412
6413 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
6414 use awk instead.
6415
6416 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
6417
6418 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6419
6420 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
6421
6422 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
6423
6424 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
6425 Replace revoke call by use of REVOKE.
6426 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
6427 empty and #include generic version.
6428 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6429
6430 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
6431
6432 * libc.map: Add socket functions with __libc_* names.
6433 Reported by Andreas Jaeger.
6434
6435 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6436
6437 * libc.map: Tidy up (remove duplicates, sort entries).
6438
6439 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6440
6441 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
6442
6443 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
6444
6445 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
6446 again after successful call.
6447 Patch by Marc Lehmann <pcg@goof.com>.
6448
6449 1997-11-17 Paul Eggert <eggert@twinsun.com>
6450
6451 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
6452 as some hosts need this to declare localtime_r properly.
6453
6454 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
6455
6456 * libc.map: Add iconv_open, iconv, and iconv_close.
6457
6458 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
6459
6460 * iconv/Makefile: New file.
6461 * iconv/gconv.c: New file.
6462 * iconv/gconv.h: New file.
6463 * iconv/gconv_builtin.c: New file.
6464 * iconv/gconv_builtin.h: New file.
6465 * iconv/gconv_close.c: New file.
6466 * iconv/gconv_conf.c: New file.
6467 * iconv/gconv_db.c: New file.
6468 * iconv/gconv_dl.c: New file.
6469 * iconv/gconv_open.c: New file.
6470 * iconv/gconv_simple.c: New file.
6471 * iconv/iconv.c: New file.
6472 * iconv/iconv.h: New file.
6473 * iconv/iconv_close.c: New file.
6474 * iconv/iconv_open.c: New file.
6475 * include/gconv.h: New file.
6476
6477 * Makeconfig: Define gconvdir.
6478 * Makefile (subdirs): Add iconv.
6479
6480 * string/bits/string2.h: Add optimization for strtok_r.
6481
6482 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
6483 for NULL.
6484 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6485 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
6486
6487 * configure.in: Correct test for bash2.
6488 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6489
6490 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
6491 (CFLAGS-locfile.c): Likewise.
6492 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6493
6494 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
6495 non-existing entry if the table is full.
6496
6497 * posix/regex.h: Pretty print.
6498
6499 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
6500
6501 * sysdeps/posix/ctermid.c: Simplify a bit.
6502
6503 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
6504
6505 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6506
6507 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
6508 <sys/types.h> instead of <asm/types.h>.
6509
6510 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6511
6512 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
6513
6514 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
6515
6516 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
6517 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
6518 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
6519 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
6520 fclose): Added to GLIBC_2.1.
6521
6522 * libio/Makefile (routines, shared-only-routines): Add
6523 oldiofclose. Remove oldfreopen.
6524
6525 * libio/freopen.c (freopen): When PIC is defined, call
6526 _IO_old_freopen () for old stdio.
6527
6528 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
6529 (_IO_fclose, fclose): Use _IO_new_fclose as default version
6530 for GLIBC_2.1.
6531
6532 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
6533 instead of _IO_file_close_it.
6534
6535 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
6536 to _IO_2_1_stdxxx_.
6537 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
6538 is defined.
6539
6540 * libio/libioP.h (_IO_old_do_flush): New.
6541
6542 * libio/oldfileops.c (_IO_old_file_close_it,
6543 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
6544 Call _IO_old_do_flush () instead of _IO_do_flush ().
6545 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
6546 _IO_do_write ().
6547
6548 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
6549 instead of _IO_file_init ().
6550 Bind old symbols to version GLIBC_2.0.
6551
6552 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
6553 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
6554 _IO_stdxxx_.
6555 (_IO_check_libio): New function in .init.
6556
6557 * libio/oldiofclose.c: New file.
6558
6559 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
6560 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
6561 (DEF_STDFILE): Don't use default_symbol_version.
6562
6563 * libio/stdio.c (stdin, stdout, stderr): Set to
6564 _IO_2_1_stdxxx_._
6565 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
6566 stdxxx.
6567
6568 * csu/Makefile (distribute): Add init.c.
6569 (extra-objs): Add init.o for ELF.
6570 (start-installed-name): Add $(objpfx)init.o.
6571
6572 * csu/init.c: New file.
6573
6574 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
6575
6576 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
6577 definition as the default.
6578
6579 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
6580
6581 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
6582
6583 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6584
6585 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
6586 (PR 351).
6587
6588 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
6589
6590 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
6591 to preserve condition codes on function call.
6592
6593 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6594
6595 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
6596
6597 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6598
6599 * math/libm-test.c (asin_test): Add epsilon for float.
6600 (tan_test): Add epsilon for float.
6601 (log1p_test): Add epsilon for float.
6602 (inverse_functions): Add epsilons.
6603
6604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
6605 net/if_packet.h.
6606
6607 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
6608
6609 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6610
6611 * md5-crypt/Makefile (extra-objs): Make recursively expanded
6612 variable, since $(object-suffixes) is not defined yet.
6613
6614 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6615
6616 * db2/Makefile (distribute): db185/db185_int.src ->
6617 db185/db185_int.h.
6618
6619 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6620
6621 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
6622 exactly one.
6623
6624 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6625
6626 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
6627 name.
6628 * sysdeps/generic/e_acosl.c: Likewise.
6629 * sysdeps/generic/e_asinl.c: Likewise.
6630 * sysdeps/generic/e_atan2l.c: Likewise.
6631 * sysdeps/generic/e_expl.c: Likewise.
6632 * sysdeps/generic/e_fmodl.c: Likewise.
6633 * sysdeps/generic/e_j0l.c: Likewise.
6634 * sysdeps/generic/e_j1l.c: Likewise.
6635 * sysdeps/generic/e_jnl.c: Likewise.
6636 * sysdeps/generic/e_lgammal_r.c: Likewise.
6637 * sysdeps/generic/e_log10l.c: Likewise.
6638 * sysdeps/generic/e_logl.c: Likewise.
6639 * sysdeps/generic/e_powl.c: Likewise.
6640 * sysdeps/generic/e_sqrtl.c: Likewise.
6641 * sysdeps/generic/e_exp2l.c: Likewise.
6642
6643 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6644
6645 * Make-dist (+sysdep-names): Remove extra paren.
6646 * Makefile (distribute): Add stub-tag.h.
6647 * elf/Makefile (distribute): Add atomicity.h.
6648 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
6649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
6650 [$(subdir)=socket]: Add net/if_packet.h.
6651 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
6652 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
6653 net/if_packet.h, scsi/sg.h.
6654
6655 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6656
6657 * Makefile (install): Quote $(CC) expansion.
6658
6659 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6660
6661 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
6662 working /proc cwd and no restrictions on path length. Following
6663 some ideas from Andi Kleen <ak@muc.de> (PR 350).
6664
6665 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6666
6667 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
6668 * nis/nss_compat/compat-pwd.c: Likewise.
6669 * nis/nss_compat/compat-spwd.c: Likewise.
6670
6671 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
6672
6673 * sysdeps/libm-i387/s_fdim.S: New file.
6674 * sysdeps/libm-i387/s_fdimf.S: New file.
6675 * sysdeps/libm-i387/s_fdiml.S: New file.
6676 * sysdeps/libm-i387/i686/s_fdim.S: New file.
6677 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
6678 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
6679
6680 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6681
6682 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
6683 pointer to unsigned char.
6684
6685 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6686
6687 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
6688
6689 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
6690
6691 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
6692
6693 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6694
6695 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
6696 ilogb(0/NaN).
6697 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
6698 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
6699
6700 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
6701
6702 * sysdeps/libm-i387/s_fmin.S: New file.
6703 * sysdeps/libm-i387/s_fminf.S: New file.
6704 * sysdeps/libm-i387/s_fminl.S: New file.
6705 * sysdeps/libm-i387/s_fmax.S: New file.
6706 * sysdeps/libm-i387/s_fmaxf.S: New file.
6707 * sysdeps/libm-i387/s_fmaxl.S: New file.
6708 * sysdeps/libm-i387/i686/s_fmin.S: New file.
6709 * sysdeps/libm-i387/i686/s_fminf.S: New file.
6710 * sysdeps/libm-i387/i686/s_fminl.S: New file.
6711 * sysdeps/libm-i387/i686/s_fmax.S: New file.
6712 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
6713 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
6714
6715 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
6716
6717 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
6718 * sysdeps/unix/sysv/linux/send.S: Likewise.
6719 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6720 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6721 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6722 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6723 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6724 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6725 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
6726
6727 See ChangeLog.7 for earlier changes.