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