]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
7e2e42b1655a93b9c6cbece6cc6e87bf2fa4b28e
[thirdparty/glibc.git] / ChangeLog
1 1998-07-31 11:10 Ulrich Drepper <drepper@cygnus.com>
2
3 * elf/elf.h: Add lots of new symbols from Irix and Solaris.
4
5 * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
6 definition.
7
8 1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9
10 * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
11
12 1998-07-30 21:06 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
13
14 * sysdeps/generic/glob.c: Undefine strdup before defining it,
15 because bits/string2.h may have defined it already.
16
17 1998-07-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
18
19 * stdio-common/vfscanf.c: Optimize looking for type modifiers.
20 Fix recognition of 'a' modifier vs. 'a' format.
21 (TYPEMOD): Removed.
22
23 * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
24 for type modifiers. Fix recognition of 'hh' modifier.
25
26 1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
27
28 * sunrpc/svc_unix.c: Fix typo.
29
30 1998-07-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
31
32 * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
33 syscall.
34
35 1998-07-30 12:38 Ulrich Drepper <drepper@cygnus.com>
36
37 * sysdeps/i386/ffs.c: Add ffsl entry point.
38 * sysdeps/i386/i686/ffs.c: Likewise.
39 * sysdeps/m68k/ffs.c: Likewise.
40 * sysdeps/powerpc/ffs.c: Likewise.
41
42 * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
43 on i686.
44
45 1998-07-30 Richard Henderson <rth@cygnus.com>
46
47 * elf/Makefile (ld-map): Move initialization below Makeconfig include.
48
49 * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
50 work around gcc bug.
51
52 * string/string.h (ffsl, ffsll): Prototype.
53 * string/Version (GLIBC_2.1): Add them.
54 * sysdeps/alpha/ffs.S: Schedule for EV5. Add ffsl and ffsll
55 entry points.
56 * sysdeps/alpha/ffsll.S: New file. Empty.
57 * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
58 * sysdeps/generic/ffsll.c: New file.
59 * string/Makefile (routines): Add ffsll.
60
61 1998-07-30 10:03 Ulrich Drepper <drepper@cygnus.com>
62
63 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
64 strictly ISO C compliant programs.
65 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
66
67 1998-07-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
68
69 * inet/protocols/rwhod.h: Correct typo in comment.
70
71 * configure.in: Use better regex for gettext.
72
73 1998-07-29 21:29 Ulrich Drepper <drepper@cygnus.com>
74
75 * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
76 EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
77
78 * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
79
80 * elf/sprof.c: Implement -c/--call-pairs option to emit list with
81 caller/callee and the number of calls.
82
83 1998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
84
85 * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
86 (__getpid): New function.
87 (abort): New function.
88
89 1998-07-29 15:07 Ulrich Drepper <drepper@cygnus.com>
90
91 * sysdeps/arm/fpu/Dist: New file. Add ieee754.h.
92
93 * nis/nis_cache2_xdr.c: Removed.
94 * nis/nis_cache.c: Removed.
95 * nis/nis_cache2.h: Removed.
96
97 1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
98
99 * Rules (tests): Depend on tests-static only if build-static == yes.
100
101 * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
102 only if build-static == yes.
103
104 1998-07-29 12:58 Ulrich Drepper <drepper@cygnus.com>
105
106 * sysdeps/generic/glob.c: Winblowz compatibility stuff.
107 Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
108
109 1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
110
111 * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
112 statement, fix typo.
113 * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
114
115 1998-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
116
117 * manual/pattern.texi (More Flags for Globbing): Fix typo.
118
119 * manual/math.texi (Special Functions): Fix typo.
120
121 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
122 constant from Linux 2.1.112.
123
124 * posix/Makefile (install-lib): Compile libposix.a only if
125 build-static == yes.
126
127 1998-07-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
128
129 * sysdeps/generic/glob.c: Maintain const correctness. Move extern
130 declarations to file level. Cope with unsupported
131 _SC_GETPW_R_SIZE_MAX.
132
133 1998-07-29 Ulrich Drepper <drepper@cygnus.com>
134
135 * stdio-common/tst-printf.c: %z is now recognized by printf.
136
137 * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
138 errors.
139 * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
140 * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
141 Patch by Stephen L Moshier <moshier@mediaone.net>.
142
143 * math/libm-test.c (csqrt_test): Correct typo in one test, add
144 another one.
145
146 * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
147 latest kernel change.
148
149 1998-07-29 6:39 Kazushige Goto <goto@statabo.rim.or.jp>
150
151 * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
152 inputs near DBL_MIN.
153
154 1998-07-28 Ulrich Drepper <drepper@cygnus.com>
155
156 * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
157 warnings when DNSSEC related records are received.
158 * resolv/gethnamaddr.c (getanswer): Likewise.
159 Patch by Brian Wellington <bwelling@anomaly.munge.com>.
160
161 * signal/signal.h: Add prototype for sysv_signal.
162
163 * math/libm-test.c (tgamma_test): Remove redundant tests.
164
165 * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
166 where foo does not exist in any of the subdirectories.
167 Reported by Paul D. Smith <psmith@BayNetworks.COM>.
168
169 * posix/globtest.sh: Add test for this bug.
170
171 * posix/glob.h: Add GLOB_TILDE_CHECK.
172 * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
173 * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
174 * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
175
176 1998-07-28 Mark Kettenis <kettenis@phys.uva.nl>
177
178 * io/sys/statfs.h: Fix typos.
179 * io/sys/statvfs.h: Fix typos.
180
181 1998-07-28 Ulrich Drepper <drepper@cygnus.com>
182
183 * version.h (VERSION): Bump to 2.0.95.
184
185 * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
186 * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
187 * math/libm-test.c: Split old gamma_test and move half of it in new
188 function tgamma_test.
189 * math/bits/mathcalls.h: Add declaration of tgamma.
190 * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
191 tgamma errors.
192 * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
193 and rename to ...
194 * sysdeps/libm-ieee754/w_tgamma.c: ... this. New file.
195 * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
196 and rename to ...
197 * sysdeps/libm-ieee754/w_tgammaf.c: ... this. New file.
198 * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
199 and rename to ...
200 * sysdeps/libm-ieee754/w_tgammal.c: ... this. New file.
201 * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
202 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
203 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
204
205 * stgdio-common/printf-parse.h: Implement handling of j, t, and z
206 modifiers.
207 * stdio-common/vfprintf.c: Likewise.
208 * stdio-common/vfscanf.c: Likewise.
209 * manual/stdio.texi: Document new printf/scanf modifiers.
210
211 * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
212 * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
213
214 1998-07-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
215
216 * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
217 * sunrpc/Versions: Add new *unix_create functions.
218 * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
219 * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
220 * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
221 with keyserv daemon.
222 * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
223 * sunrpc/rpc/svc.h: Likewise.
224 * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
225 * sunrpc/svc_tcp.c: Fix typos.
226 * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
227
228 * nis/Makefile: Remove currently not working cache functions.
229 * nis/Versions: Add __nisbind_* functions for rpc.nisd.
230 * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
231 CLIENT handles.
232 * nis/nis_file.c: Fix memory leaks.
233 * nis/nis_intern.h: Move internal structs from here ...
234 * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
235 * nis/nis_lookup.c: Try at first if last client handle works.
236 * nis/nis_table.c: Likewise.
237 * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
238 * nis/nis_mkdir.c: Likewise.
239 * nis/nis_ping.c: Likewise.
240 * nis/nis_rmdir.c: Likewise.
241 * nis/nis_server.c: Likewise.
242 * nis/nis_util.c: Likewise.
243 * nis/nis_findserv.c (__nis_findfastest): Little optimization.
244
245 1998-07-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
246
247 * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
248 define as LONG_MAX.
249
250 1998-07-28 09:31 Ulrich Drepper <drepper@cygnus.com>
251
252 * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
253 Correct test whether writev send all data.
254 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
255 received all data.
256
257 1998-07-28 Mark Kettenis <kettenis@phys.uva.nl>
258
259 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
260
261 1998-07-28 Mark Kettenis <kettenis@phys.uva.nl>
262
263 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
264 allow mode to be 0.
265 (__xstat): New function.
266 (__fxstat): New function.
267 (_dl_sysdep_read_whole_file): Removed. The implementation in
268 `elf/dl-misc.c' now also works for the Hurd.
269
270 1998-07-27 22:25 Ulrich Drepper <drepper@cygnus.com>
271
272 * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
273
274 * posix/globtest.sh: Also add directories with NSS modules into the
275 library path.
276
277 1998-07-27 17:42 Ulrich Drepper <drepper@cygnus.com>
278
279 * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
280 strtol.
281 (INT_FIELD_MAYBE_NULL): Likewise.
282
283 * posix/globtest.c: Rewrite for extended test suite.
284 * posix/globtest.sh: More tests.
285 Patch by Brian Wellington <bwelling@anomaly.munge.com>.
286
287 * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
288 Use new macro.
289
290 * sysdeps/generic/readv.c: Correct return type.
291 * sysdeps/generic/writev.c: Likewise.
292
293 1998-07-24 Gordon Matzigkeit <gord@fig.org>
294
295 * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
296 program_invocation_name when compiling outside of glibc.
297
298 1998-07-26 Philip Blundell <philb@gnu.org>
299
300 * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
301 like `@' in .type directives.
302
303 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
304 FE_TONEAREST exists for this platform before using it.
305 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
306
307 * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
308 debugging code. Correct handling of PC24 relocs.
309
310 * elf/Makefile (ld-map): Only define if versioning is in use.
311
312 * sysdeps/arm/fpu_control.h: Move to ...
313 * sysdeps/arm/fpu/fpu_control.h: ... here.
314 * sysdeps/generic/fpu_control.h: Made usable as a dummy
315 implementation.
316
317 * sysdeps/unix/sysv/linux/arm/brk.c: New file.
318
319 * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
320 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
321 implementation.
322 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
323 Based on patch from Scott Bambrough and Pat Beirne.
324
325 * shlib-versions: Add appropriate definitions for ARM machines.
326
327 * README.template: Mention that Linux/ARM with ELF works now.
328
329 1998-07-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
330
331 * Makerules: Generate compilation rules for all object suffixes,
332 not only those currently selected, for sources in the current or
333 object directory.
334
335 1998-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
336
337 * posix/fnmatch.c (fnmatch): Allow `/' in character class. Don't
338 match `/' in filename by a character class if requested.
339 * posix/testfnm.c: Rewritten.
340 * posix/testfnm.args: Removed.
341
342 1998-07-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
343
344 * posix/annexc.c (limits_syms): Add missing symbols.
345 (stdarg_syms): Move va_list to `maybe' list.
346 (stdio_syms): Add FOPEN_MAX.
347
348 1998-07-25 Ulrich Drepper <drepper@cygnus.com>
349
350 * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
351 prevent conflict with __bswap_32.
352
353 1998-07-24 21:29 Ulrich Drepper <drepper@cygnus.com>
354
355 * nscd/connections.c (pw_send_answer): Make one single writev call.
356 (gr_send_answer): Do the work in two writev calls. This change
357 changes the protocol.
358
359 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
360 We now can do the job using two readv calls.
361
362 1998-07-24 Ulrich Drepper <drepper@cygnus.com>
363
364 * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
365 Reported by Brian Wellington <bwelling@anomaly.munge.com>.
366
367 * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
368 and Elf64_Vernaux.
369
370 1998-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371
372 * configure.in: Recognize pgcc as compiler.
373 Reported by sauron@angband.ee.ualberta.ca.
374
375 1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
376
377 * nscd/dbg_log.c: Make sure, that debug message is really written.
378 * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
379
380 1998-07-23 Ulrich Drepper <drepper@cygnus.com>
381
382 * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
383 Reported by bwelling@anomaly.munge.com [PR libc/720].
384
385 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
386 SVID more for gamma(x) with x integer <= 0.
387 Reported by Stephen L Moshier <moshier@mediaone.net>.
388
389 * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
390 Correct test for SVID version of gamma.
391
392 * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
393 emulation mode.
394 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
395 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
396
397 * string/string.h: Don't use string function optimization for C++
398 as long as we use macros.
399
400 1998-07-22 23:47 Ulrich Drepper <drepper@cygnus.com>
401
402 * posix/fnmatch.c: Fix completely broken range matching.
403
404 1998-07-22 23:19 Ulrich Drepper <drepper@cygnus.com>
405
406 * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
407
408 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
409
410 * Makefile (headers2_0): Add sigstack.h.
411
412 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
413
414 1998-07-22 11:43 Ulrich Drepper <drepper@cygnus.com>
415
416 * libio/fileops.c (_IO_file_sync): Don't lock stream here.
417 Reported by Thorsten Kukuk.
418
419 * string/strcoll.c: Correct problem with empty strings.
420 * string/strxfrm.c: Likewise.
421 Reported by vbzoli@hbrt.hu [PR libc/719].
422
423 1998-07-21 18:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
424
425 * sysdeps/posix/tempname.c: Use the random-name generator
426 already used by mktemp/mkstemp. Honor TMPDIR.
427
428 1998-07-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
429
430 * hurd/Makefile (routines): Remove cthreads.
431 * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
432
433 * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
434
435 * manual/Makefile (distribute): Add summary.texi.
436
437 1998-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
438
439 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
440
441 1998-07-21 Ulrich Drepper <drepper@cygnus.com>
442
443 * configure.in: Correct expression to match gcc version.
444
445 * configure.in: Move test for available port after machine
446 variable is defined.
447
448 1998-07-21 16:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
449
450 * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
451 message, copy the buffer and resize it to what the kernel
452 wants to see. Bug found and analyzed by Thorsten Kukuk
453 <kukuk@weber-eb.uni-paderborn.de>
454
455 1998-07-20 Jose M. Moya <josem@gnu.org>
456
457 * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
458 value.
459
460 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
461
462 * sysdeps/mach/hurd/getdomain.c: New file.
463 * sysdeps/mach/hurd/setdomain.c: New file.
464
465 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>
466
467 * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
468 a weak alias.
469
470 1998-07-20 18:23 Ulrich Drepper <drepper@cygnus.com>
471
472 * libio/libioP.h: Use __PMT in typedef.
473 * libio/strfile.h: Likewise.
474
475 1998-07-20 18:20 Ulrich Drepper <drepper@cygnus.com>
476
477 * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
478 buffer is too small.
479 Reported by John Levon <j_levon@ncc.co.uk>.
480
481 1998-07-20 17:09 Ulrich Drepper <drepper@cygnus.com>
482
483 * shlib-versions: Remove definition for libSegFault.
484
485 * memory.texi: Comment out the relocating allocator description.
486 * manual/signal.texi: Remove reference to relocating allocator.
487 * manual/top-menu.texi: Regenerated.
488
489 * posix/fnmatch.c: Implement [: :] and change to recognize
490 ^ as negation only when not _POSIXLY_CORRECT.
491
492 * sysdeps/generic/glob.c: Add several optimizations.
493
494 * posix/glob.h: Undefine __PMT to prevent warnings.
495 Reported by Roland McGrath.
496
497 * posix/regex.c: Define namespace macros only for _LIBC.
498
499 * sysdeps/arm/dl-machine.h: Fix typo.
500
501 * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
502 * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
503 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
504 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
505 sigpending, sigqueue, and sigtimedwait.
506 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
507
508 * timezone/leapseconds: Update from tzdata1998f.
509
510 1998-07-18 Mark Kettenis <kettenis@phys.uva.nl>
511
512 * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
513 * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
514 * libio/stdio.h: Fix typo.
515
516 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
517
518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
519 magic memobj port arg parsing stuff. Fix it someday when we are ready
520 to really use it.
521 (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
522 (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
523
524 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
525
526 * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
527
528 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
529
530 * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
531 a weak alias.
532 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
533 * sysdeps/generic/sigsuspend.c: Likewise.
534
535 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
536
537 * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
538
539 1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
540
541 * Makerules (map-file): Don't use $(wildcard) to find the
542 generated version script, instead look in $(version-maps).
543 ($(common-objpfx)libc.so): Only depend on libc.map if versioning
544 is used.
545 * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
546 if versioning is used. Don't use $(wildcard) to find the
547 generated version script, instead look in $(verson-maps).
548
549 1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
550
551 * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove
552 unused function handle.
553 * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
554 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
555 * debug/catchsegv.sh: Fix argument processing, quoting and various
556 typos. Put the crash info always in the current directory. Find
557 program in $PATH if it contains no directory component.
558 * Makerules (install-lib.so-versioned,
559 install-lib.so-unversioned): New variables.
560 (install-lib-nosubdir): Depend on unversioned libs in
561 slibdir, not libdir.
562
563 1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
564
565 * Make-dist (+tsrcs): Remove references to %-map variables and
566 *.map files. Add Versions in subdirs.
567 * Makerules (distinfo-vars): Don't write out %-map variables.
568
569 1998-07-20 13:55 Ulrich Drepper <drepper@cygnus.com>
570
571 * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
572 Include <paths.h> instead.
573 * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
574 * sysdeps/unix/sysv/linux/paths.h: Likewise.
575 Reported by Dale Scheetz <dwarf@polaris.net>.
576
577 1998-07-17 21:44 Ulrich Drepper <drepper@cygnus.com>
578
579 * catgets/open_catalog.c: Strictly check whether catalog file is
580 larger enough for the data. Reported by Andries.Brouwer@cwi.nl.
581
582 1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
583
584 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
585
586 * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
587
588 1998-07-17 Ulrich Drepper <drepper@cygnus.com>
589
590 * debug/catchsegv.sh: Fix several stupid bugs.
591
592 * shlib-versions: Define version for libSegFault.
593 * debug/Makefile: Replace shared lib version number while rewriting.
594
595 1998-07-17 Mark Kettenis <kettenis@phys.uva.nl>
596
597 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
598 Suggested by Roland McGrath.
599
600 1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
601
602 * timezone/Makefile: Remove '-L (leapseconds)' for testdata
603 generation to control environment.
604
605 1998-07-17 09:21 Ulrich Drepper <drepper@cygnus.com>
606
607 * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
608 Patch by John Tobey <jtobey@banta-im.com>.
609
610 * manual/llio.texi: Document readv/writev and mmap functions.
611 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
612
613 1998-07-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
614
615 * manual/Makefile (texis): Depend on texis.awk.
616 (nonexamples): Filter out add-on chapters.
617 (chapters.% top-menu.%): Depend on libc-texinfo.sh.
618 (stamp-summary): Depend on $(texis) except summary.texi.
619 ($(inst_infodir)/libc.info): Simplify command.
620 * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
621 Fix the generation of the detailed node listing to make it
622 complete again.
623 * manual/math.texi: Fix signature of lgamma_r.
624
625 1998-07-16 23:06 Ulrich Drepper <drepper@cygnus.com>
626
627 * debug/Makefile (distribute): Add sigcontextinfo.h.
628 Add rules to generate and install catchsegv.
629 * debug/catchsegv.sh: New file.
630
631 1998-07-16 Mark Kettenis <kettenis@phys.uva.nl>
632
633 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
634 port instead of a Mach memory object.
635 (__open): Likewise.
636 (__libc_read): New function.
637 (__mmap): Change to take a Hurd I/O port instead of a Mach memory
638 object.
639
640 1998-07-16 20:01 Ulrich Drepper <drepper@cygnus.com>
641
642 * debug/Makefile (routines): Add backtracesymsfd.
643 Add rules to generate libSegFault.
644 * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
645 * debug/execinfo.h: Declare backtrace_symbols_fd.
646 * sysdeps/generic/backtracesymsfd.c: New file.
647 * sysdeps/generic/elf/backtracesymsfd.c: New file.
648 * sysdeps/generic/segfault.c: New file.
649 * sysdeps/generic/sigcontextinfo.h: New file.
650 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
651
652 * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
653
654 1998-07-16 19:27 Ulrich Drepper <drepper@cygnus.com>
655
656 * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
657 (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
658
659 1998-07-16 13:44 Ulrich Drepper <drepper@cygnus.com>
660
661 * argp/argp-fmtstream.c: Fix warnings introduced in last change.
662 * assert/assert-perr.c: Likewise.
663 * assert/assert.c: Likewise.
664 * gconv_conf.c: Likewise.
665 * libio/iofputs_u.c: Likewise.
666 * malloc/mtrace.c: Likewise.
667 * malloc/obstack.c: Likewise.
668 * misc/error.c: Likewise.
669 * misc/syslog.c: Likewise.
670 * stdio-common/asprintf.c: Likewise.
671 * stdio-common/dprintf.c: Likewise.
672 * stdio-common/getw.c: Likewise.
673 * stdio-common/putw.c: Likewise.
674 * stdio-common/snprintf.c: Likewise.
675 * stdio-common/sprintf.c: Likewise.
676 * stdio-common/sscanf.c: Likewise.
677 * sunrpc/svc_simple.c: Likewise.
678 * sysdeps/generic/abort.c: Likewise.
679
680 * rt/aio_cancel.c: Don't define ECANCELED here.
681 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
682
683 1998-07-16 10:23 Ulrich Drepper <drepper@cygnus.com>
684
685 * argp/argp-fmtstream.c: Unify names of used global functions.
686 * argp/argp-help.c: Likewise.
687 * assert/assert-perr.c: Likewise
688 * assert/assert.c: Likewise
689 * dirent/scandir.c: Likewise
690 * dirent/scandir64.c: Likewise
691 * dirent/versionsort.c: Likewise
692 * dirent/versionsort64.c: Likewise
693 * gmon/bb_exit_func.c: Likewise.
694 * gmon/gmon.c: Likewise.
695 * grp/initgroups.c: Likewise.
696 * iconv/gconv_conf.c: Likewise.
697 * inet/getnameinfo.c: Likewise.
698 * inet/getnetgrent_r.c: Likewise.
699 * inet/inet_ntoa.c: Likewise.
700 * inet/rcmd.c: Likewise.
701 * inet/rexec.c: Likewise.
702 * inet/ruserpass.c: Likewise.
703 * io/fts.c: Likewise.
704 * io/ftw.c: Likewise.
705 * io/ftw64.c: Likewise.
706 * io/getdirname.c: Likewise.
707 * io/getwd.c: Likewise.
708 * io/lockf.c: Likewise.
709 * libio/iofdopen.c: Likewise.
710 * libio/iopopen.c: Likewise.
711 * login/utmp_daemon.c: Likewise.
712 * malloc/mtrace.c: Likewise.
713 * malloc/obstack.c
714 * misc/daemon.c: Likewise.
715 * misc/efgcvt_r.c: Likewise.
716 * misc/err.c: Likewise.
717 * misc/error.c: Likewise.
718 * misc/fstab.c: Likewise.
719 * misc/getpass.c: Likewise.
720 * misc/getttyent.c: Likewise.
721 * misc/mntent_r.c: Likewise.
722 * misc/search.h: Likewise.
723 * misc/syslog.c: Likewise.
724 * nscd/nscd_getgr_r.c: Likewise.
725 * nscd/nscd_getpw_r.c: Likewise.
726 * posix/getpgrp.c: Likewise.
727 * posix/wordexp.c: Likewise.
728 * pwd/fgetpwent_r.c: Likewise.
729 * pwd/getpw.c: Likewise.
730 * resolv/herror.c: Likewise.
731 * resolv/res_init.c: Likewise.
732 * shadow/fgetspent_r.c: Likewise.
733 * shadow/lckpwdf.c: Likewise.
734 * signal/sigrelse.c: Likewise.
735 * stdio-common/asprintf.c: Likewise.
736 * stdio-common/dprintf.c: Likewise.
737 * stdio-common/getw.c: Likewise.
738 * stdio-common/putw.c: Likewise.
739 * stdio-common/snprintf.c: Likewise.
740 * stdio-common/sprintf.c: Likewise.
741 * stdio-common/sscanf.c: Likewise.
742 * stdlib/lrand48_r.c: Likewise.
743 * stdlib/mrand48_r.c: Likewise.
744 * string/argz-replace.c: Likewise.
745 * string/envz.c: Likewise.
746 * sunrpc/auth_des.c: Likewise.
747 * sunrpc/auth_unix.c: Likewise.
748 * sunrpc/bindrsvprt.c: Likewise.
749 * sunrpc/clnt_gen.c: Likewise.
750 * sunrpc/clnt_perr.c: Likewise.
751 * sunrpc/clnt_simp.c: Likewise.
752 * sunrpc/clnt_tcp.c: Likewise.
753 * sunrpc/clnt_udp.c: Likewise.
754 * sunrpc/get_myaddr.c: Likewise.
755 * sunrpc/key_call.c: Likewise.
756 * sunrpc/netname.c: Likewise.
757 * sunrpc/openchild.c: Likewise.
758 * sunrpc/pmap_rmt.c: Likewise.
759 * sunrpc/rpc_dtable.c: Likewise.
760 * sunrpc/rtime.c: Likewise.
761 * sunrpc/svc_run.c: Likewise.
762 * sunrpc/svc_simple.c: Likewise.
763 * sunrpc/svc_tcp.c: Likewise.
764 * sunrpc/svc_udp.c: Likewise.
765 * sunrpc/svcauth_des.c: Likewise.
766 * sunrpc/xdr_array.c: Likewise.
767 * sunrpc/xdr_rec.c: Likewise.
768 * sunrpc/xdr_ref.c: Likewise.
769 * sunrpc/xdr_stdio.c: Likewise.
770 * sysdeps/generic/abort.c: Likewise.
771 * sysdeps/generic/dl-sysdep.c: Likewise.
772 * sysdeps/generic/fstatfs64.c: Likewise.
773 * sysdeps/generic/ftruncate64.c: Likewise.
774 * sysdeps/generic/getrlimit64.c: Likewise.
775 * sysdeps/generic/glob.c: Likewise.
776 * sysdeps/generic/prof-freq.c: Likewise.
777 * sysdeps/generic/putenv.c: Likewise.
778 * sysdeps/generic/statfs64.c: Likewise.
779 * sysdeps/generic/ttyname_r.c: Likewise.
780 * sysdeps/generic/utmp_file.c: Likewise.
781 * sysdeps/generic/vlimit.c: Likewise.
782 * sysdeps/generic/vtimes.c: Likewise.
783 * sysdeps/posix/cuserid.c: Likewise.
784 * sysdeps/posix/euidaccess.c: Likewise.
785 * sysdeps/posix/mkstemp.c: Likewise.
786 * sysdeps/posix/mktemp.c: Likewise.
787 * sysdeps/posix/pread.c: Likewise.
788 * sysdeps/posix/pread64.c: Likewise.
789 * sysdeps/posix/profil.c: Likewise.
790 * sysdeps/posix/pwrite.c: Likewise.
791 * sysdeps/posix/pwrite64.c: Likewise.
792 * sysdeps/posix/sigblock.c: Likewise.
793 * sysdeps/posix/sigpause.c: Likewise.
794 * sysdeps/posix/ttyname.c: Likewise.
795 * sysdeps/posix/ttyname_r.c: Likewise.
796 * sysdeps/posix/waitid.c: Likewise.
797 * sysdeps/unix/getlogin_r.c: Likewise.
798 * sysdeps/unix/grantpt.c: Likewise.
799 * sysdeps/unix/rewinddir.c: Likewise.
800 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
801 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
802 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
803 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
804 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
805 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
806 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
807 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
808 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
809 * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
810 * sysvipc/sys/shm.h: Likewise.
811 * time/ctime_r.c: Likewise.
812 * time/strptime.c: Likewise.
813 * wcsmbs/mbrlen.c: Likewise.
814 * wcsmbs/wcsdup.c: Likewise.
815 * wcsmbs/wcsxfrm.c: Likewise.
816 * wctype/wcfuncs.c: Likewise.
817
818 * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
819 * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
820 * sysdeps/unix/sysv/linux/bind.S: Likewise.
821 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
822 * sysdeps/unix/sysv/linux/listen.S: Likewise.
823 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
824 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
825 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
826
827 * grp/fgetgrent_r.c: Use explicit locking of the stream.
828
829 * elf/Makefile (rtld-routines): Add dl-environ.
830 * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
831 to...
832 * sysdeps/generic/dl-environ.c: here. New file.
833
834 * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
835 * libio/Versions: Add fputs_unlocked.
836 * libio/iofputs_u.c: New file.
837 * libio/stdio.h: Add prototype for fputs_unlocked.
838
839 * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
840 * sunrpc/rpc/clnt.h: Likewise.
841 * sunrpc/rpc/pmap_clnt.h: Likewise.
842 * sunrpc/rpc/svc.h: Likewise.
843 * sunrpc/rpc/xdr.h: Likewise.
844
845 * sysdeps/i386/memchr.S: Correct for more strict gas.
846 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
847 * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
848 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
849 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
850
851 1998-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
852
853 * configure.in: Change message for binutils version from
854 2.8.1.0.17->2.8.1.0.23.
855
856 1998-07-15 Ulrich Drepper <drepper@cygnus.com>
857
858 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
859 Patch by John Tobey <jtobey@banta-im.com>.
860
861 1998-07-14 Ulrich Drepper <drepper@cygnus.com>
862
863 * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
864 instead of sysconf.
865
866 1998-07-14 19:39 Ulrich Drepper <drepper@cygnus.com>
867
868 * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
869 [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
870 (conv_error): Likewise.
871 (input_error): Likewise.
872 (memory_error): Likewise.
873
874 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
875
876 * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
877 implementation. Include <entry.h>. Replace references to symbol
878 _start with macro ENTRY_POINT.
879 (__libc_uid): Remove.
880 (__libc_multiple_libcs): New variable.
881 (__libc_stack_end): New variable.
882 (_dl_hwcap_mask): New variable.
883 (_dl_important_hwcaps): New function.
884 (_dl_show_auxv): Mark internal.
885
886 1998-07-14 Mark Kettenis <kettenis@phys.uva.nl>
887
888 * mach/Makefile: Create target directory before generating
889 mach-syscalls.mk.
890 * mach/Machrules: Invoke awk using AWK variable. Create target
891 directory before generating server stubs.
892
893 1998-07-14 Ulrich Drepper <drepper@cygnus.com>
894
895 * wcsmbs/wcslen.c (__wcslen): Fix comment.
896
897 * configure.in: Allow egcs-2.92.
898
899 1998-07-10 18:14 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
900
901 * manual/Makefile: Overhauled. Generate libc.texinfo from the
902 chapter files. Exorcise the chapters, chapters-incl mess.
903 Support inserting doc chapters from add-on modules.
904 (chapters): New variable.
905 (add-chapters): New variable.
906 (appendices): New variable.
907 (libc.texinfo): New target.
908 (clean): Fix bugs.
909 (realclean): Fix bugs.
910
911 * manual/texis.awk: New file.
912 * manual/libc-texinfo.sh: New file.
913 * manual/libc-texinfo.in: New file.
914
915 * manual/conf.texi (top @node): Remove next pointer.
916 * manual/lang.texi (top @node): Remove prev pointer.
917
918 * manual/job.texi (top @node): Add explicit pointers.
919 * manual/message.texi (top @node): Add explicit pointers.
920 * manual/nss.texi (top @node): Add explicit pointers.
921 * manual/process.texi (top @node): Add explicit pointers.
922 * manual/startup.texi (top @node): Add explicit pointers.
923 * manual/terminal.texi (top @node): Add explicit pointers.
924 * manual/users.texi (top @node): Add explicit pointers.
925
926 * manual/arith.texi: Add %MENU% tag.
927 * manual/conf.texi: Add %MENU% tag.
928 * manual/contrib.texi: Add %MENU% tag.
929 * manual/ctype.texi: Add %MENU% tag.
930 * manual/errno.texi: Add %MENU% tag.
931 * manual/filesys.texi: Add %MENU% tag.
932 * manual/header.texi: Add %MENU% tag.
933 * manual/install.texi: Add %MENU% tag.
934 * manual/intro.texi: Add %MENU% tag.
935 * manual/io.texi: Add %MENU% tag.
936 * manual/job.texi: Add %MENU% tag.
937 * manual/lang.texi: Add %MENU% tag.
938 * manual/llio.texi: Add %MENU% tag.
939 * manual/locale.texi: Add %MENU% tag.
940 * manual/maint.texi: Add %MENU% tag.
941 * manual/math.texi: Add %MENU% tag.
942 * manual/mbyte.texi: Add %MENU% tag.
943 * manual/memory.texi: Add %MENU% tag.
944 * manual/message.texi: Add %MENU% tag.
945 * manual/nss.texi: Add %MENU% tag.
946 * manual/pattern.texi: Add %MENU% tag.
947 * manual/pipe.texi: Add %MENU% tag.
948 * manual/process.texi: Add %MENU% tag.
949 * manual/search.texi: Add %MENU% tag.
950 * manual/setjmp.texi: Add %MENU% tag.
951 * manual/signal.texi: Add %MENU% tag.
952 * manual/socket.texi: Add %MENU% tag.
953 * manual/startup.texi: Add %MENU% tag.
954 * manual/stdio.texi: Add %MENU% tag.
955 * manual/string.texi: Add %MENU% tag.
956 * manual/sysinfo.texi: Add %MENU% tag.
957 * manual/terminal.texi: Add %MENU% tag.
958 * manual/time.texi: Add %MENU% tag.
959 * manual/users.texi: Add %MENU% tag.
960
961 1998-07-13 Ulrich Drepper <drepper@cygnus.com>
962
963 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
964 Update.
965
966 1998-07-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
967
968 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
969 style declaration to avoid warning.
970 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
971
972 1998-07-04 Mark Kettenis <kettenis@phys.uva.nl>
973
974 * elf/rtld.c (process_dl_debug): Add missing continue.
975
976 1998-07-12 Mark Kettenis <kettenis@phys.uva.nl>
977
978 * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
979 code needs it.
980
981 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
982
983 * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
984 sysd-dirs-done.
985 * Makerules: Don't generate version maps too early.
986 ($(common-objpfx)sysd-versions): Force regeneration if the list of
987 subdirs has changed.
988
989 1998-07-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
990
991 * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
992
993 1998-07-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
994
995 * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
996 * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
997 return value.
998
999 1998-07-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1000
1001 * elf/dl-open.c (dl_open_worker): New function.
1002 (_dl_open): Call it to do the actual work while catching errors.
1003 * elf/dl-close.c (_dl_close): Only call termination function if
1004 the initialisation function was called.
1005
1006 1998-07-13 Ulrich Drepper <drepper@cygnus.com>
1007
1008 * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1009 Reported by Felix von Leitner <leitner@amdiv.de>.
1010
1011 1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1012
1013 * Make-dist (+sysdep-tsrcs): Add Versions.
1014
1015 1998-07-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1016
1017 * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1018 __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1019 * sysdeps/powerpc/Versions: New file.
1020 * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1021 and __errno_location.
1022 * misc/Versions: Add brk and sbrk.
1023 * posix/Versions: Add environ, __environ and _environ.
1024 * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1025
1026 1998-07-10 11:58 Ulrich Drepper <drepper@cygnus.com>
1027
1028 * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1029 Patch by Zack Weinberg.
1030
1031 1998-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1032
1033 * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1034 (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1035 (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1036
1037 1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1038
1039 * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1040
1041 1998-07-09 Ulrich Drepper <drepper@cygnus.com>
1042
1043 * posix/unistd.h: Simplify #ifdefs.
1044
1045 * libio/libio.h: Undo last change due to possible C++ problems.
1046 * libio/fileops.h: Likewise.
1047
1048 1998-07-09 13:34 Ulrich Drepper <drepper@cygnus.com>
1049
1050 * grp/grp.h: Define gid_t also for __USE_XOPEN.
1051 * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1052 * io/utime.h: Define time_t also for __USE_XOPEN.
1053 * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1054 Define *_t types except for pid_t also for __USE_XOPEN.
1055 Define S_* macros also for __USE_XOPEN.
1056 * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1057 THOUSEP also for __USE_XOPEN.
1058 * math/math.c: Define M_* macros also for __USE_XOPEN.
1059 * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1060 * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1061 defined.
1062 * posix/glob.h: Likewise for GLOB_NOSYS.
1063 * posix/regex.h: Likewise for REG_NOSYS.
1064 * posix/wordexp.h: Likewise for WRDE_NOSYS.
1065 * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1066 * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1067 * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1068 * signal/signal.h: Define pid_t also for __USE_XOPEN.
1069 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1070 for __USE_POSIX199309.
1071 * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1072 constants also for __USE_XOPEN.
1073 * wcsmbs/wchar.h: For XPG4 include wctype.h.
1074
1075 * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1076 * locale/setlocale.c (new_composite_name): Likewise for last_len.
1077
1078 * libio/stdio.h: Don't declare fclose_unlocked.
1079
1080 * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1081
1082 1998-07-08 Mark Kettenis <kettenis@phys.uva.nl>
1083
1084 * stdio/stdio.h: Add prototypes for fflush_unlocked,
1085 getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1086 fgets_unlocked, fread_unlocked, fwrite_unlocked,
1087 clearerr_unlocked, feof_unlocked, ferror_unlocked,
1088 fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1089 [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr. Add
1090 prototype for getopt.
1091 * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1092 * stdio/feof.c (feof_unlocked): Weak alias for feof.
1093 * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1094 * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1095 * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1096 * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1097 * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1098 * stdio/fread.c (fread_unlocked): Weak alias for fread.
1099 * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1100 * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1101 * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1102 * stdio/putc.c (putc_unlocked): Weak alias for putc.
1103 * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1104 * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1105 feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1106 fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1107 getc_unlocked, getchar_unlocked, putc_unlocked and
1108 putchar_unlocked.
1109
1110 * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1111 from here ...
1112 * stdio-common/Versions: ... to here.
1113
1114 1998-07-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1115
1116 * Makerules (versioning): Correct typo.
1117
1118 1998-07-08 22:18 Ulrich Drepper <drepper@cygnus.com>
1119
1120 * elf/Versions: Add _dl_mcount_wrapper_check.
1121 * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1122 _dl_mcount_wrapper_check.
1123 * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1124
1125 * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1126 internal_function.
1127 * elf/ldsodefs.h: Likewise.
1128
1129 * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1130
1131 * libio/stdio.h: Make sure va_list is defined for X/Open.
1132 Define P_tmpdir for X/Open.
1133
1134 * posix/regex.h: Fix typo.
1135
1136 * posix/unistd.h: Define intptr_t if not already happened.
1137 Add pthread_atfork prototype.
1138 * sysdeps/generic/bits/types.h: Define __intptr_t.
1139 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1140 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1141 * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1142 * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1143 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1144 * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1145 * sysdeps/wordsize-64/stdint.h: Likewise.
1146
1147 * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1148
1149 * signal/Makefile (headers): Add bits/sigthread.h.
1150 * signal/signal.h: Include bits/sigthread.h.
1151 * sysdeps/generic/bits/sigthread.h: New file.
1152
1153 * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1154
1155 * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1156 * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1157 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1158 * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1159
1160 * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1161
1162 * elf/rtld.c: Remove preloading and loadpath variables in SUID
1163 programs.
1164 * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1165 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1166 names.
1167
1168 * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1169
1170 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1171 Remove O_READ and O_WRITE definition.
1172
1173 * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1174 and RLIM_SAVED_CUR.
1175
1176 * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1177
1178 1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1179
1180 * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1181 scripts directory. Pass move-if-change to awk.
1182 (common-generated): Add $(version-maps) and sysd-versions.
1183 * versions.awk: Moved to...
1184 * scripts/versions.awk: ... here. Use move-if-change to void
1185 touching unchanged files. Print "version-maps = ..." instead of
1186 "all-version-maps = ..." and without $(common-objpfx). Explain
1187 expected variable names.
1188 * Makefile (distribute): Updated.
1189
1190 1998-07-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1191
1192 * misc/getttyent.c (getttyent): Don't return with locked stream.
1193 * misc/mntent_r.c (__getmntent_r): Likewise.
1194
1195 1998-07-07 18:24 Ulrich Drepper <drepper@cygnus.com>
1196
1197 * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1198 if stream is line buffered.
1199 (_io_file_overflow): Likewise.
1200 * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1201 streams writing '\n' flushes the string.
1202
1203 1998-07-07 17:28 Ulrich Drepper <drepper@cygnus.com>
1204
1205 * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1206 * elf/dl-support.c: Define it here...
1207 * elf/rtld.c: ...and here.
1208
1209 1998-07-07 16:28 Ulrich Drepper <drepper@cygnus.com>
1210
1211 * grp/initgroups.c: Handle directives from nsswitch.conf file.
1212
1213 1998-07-07 Ulrich Drepper <drepper@cygnus.com>
1214
1215 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1216 __ino64_t definition.
1217 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1218 __off64_t. Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1219
1220 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1221 script if lddlibc4 failed.
1222 Reported by B. D. Elliott <bde@accessone.com>.
1223
1224 1998-07-06 Ulrich Drepper <drepper@cygnus.com>
1225
1226 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1227 Improve generated strings a bit.
1228
1229 1998-07-06 14:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1230
1231 * posix/Makefile (generated): Remove $(objpfx) from the names.
1232
1233 1998-07-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1234
1235 * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1236 format string.
1237
1238 * libio/iofread_u.c: Include <stdio.h> for prototype.
1239 * libio/iofwrite_u.c: Likewise.
1240
1241 1998-07-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1242
1243 * db2/Versions: New file.
1244
1245 1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1246
1247 * Makefile (lib-noranlib): Don't depend on sysd-versions.
1248 ($(common-objpfx)sysd-versions): Remove rule.
1249 * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1250 Pass name of Versions.def file to script and redirect output to
1251 target. Include it and make all generated version maps depend on
1252 it.
1253 * versions.awk: Print out variable definition containing all
1254 generated version maps. Print error messages to stderr. Remove
1255 temp file.
1256
1257 1998-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1258
1259 * posix/annexc.c (check_header): Terminate macro name before
1260 comparing.
1261 (get_null_defines): Allow builtin macros with parameters.
1262 (fmt, testfmt): Add -D_LIBC.
1263 * posix/Makefile: Remove bogus duplicate include directories from
1264 annexc test command.
1265
1266 1998-07-06 12:04 Ulrich Drepper <drepper@cygnus.com>
1267
1268 * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1269 password scheme.
1270 (_nss_nis_getpwnam_r): Likewise.
1271 (_nss_nis_getpwuid_r): Likewise.
1272
1273 1998-07-05 Mark Kettenis <kettenis@phys.uva.nl>
1274
1275 * libio/Versions: Move symbols whose source lives in
1276 stdio-common to ...
1277 * stdio-common/Versions: ... here.
1278 * stdio/Versions: Add missing symbols.
1279
1280 1998-07-05 Ulrich Drepper <drepper@cygnus.com>
1281
1282 * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1283 __syscall_sendmsg.
1284 * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1285 __syscall_recvmsg.
1286 * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1287 and make __recvmsg and recvmsg weak aliases.
1288 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1289 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1290 and __syscall_sendmsg.
1291
1292 1998-07-05 11:49 Ulrich Drepper <drepper@cygnus.com>
1293
1294 * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1295 stream.
1296 * inet/ruserpass.c (token): Likewise.
1297 * nss/nsswitch.c (nss_parse_file): Likewise.
1298 * intl/localealias.c: Likewise. Also for ferror.
1299 * time/getdate.c (__getdate_r): Likewise.
1300
1301 * libio/Makefile (routines): Add iofgets_u.
1302 * libio/iofgets_u.c: New file.
1303 * libio/Versions: Add fgets_unlocked.
1304 * libio/stdio.h: Add prototype for fgets_unlocked.
1305
1306 * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1307 * misc/getusershell.c (initshells): Likewise.
1308 * misc/mntent_r.c (__getmntent_r): Explicitly lock stream. Use
1309 fgets_unlocked.
1310 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1311 * resolv/res_init.c (res_init): Likewise.
1312 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1313
1314 1998-05-23 Philip Blundell <Philip.Blundell@pobox.com>
1315
1316 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1317 * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1318
1319 1998-07-05 Ulrich Drepper <drepper@cygnus.com>
1320
1321 * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1322 _unlocked functions.
1323
1324 * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1325 is a private FILE.
1326
1327 1998-07-04 17:11 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1328
1329 * csu/Makefile: Build crt files in lib pass.
1330 * db2/Makefile (distribute): Add mutex/sco.cc.
1331 * mach/Machrules: Don't generate .udeps files if no_deps is set.
1332 * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1333 s-proto.d if avoid-generated is set.
1334
1335 * sysdeps/alpha/Dist: List only one file per line.
1336 * sysdeps/generic/Dist: Likewise.
1337 * sysdeps/m68k/fpu/switch/Dist: Likewise.
1338 * sysdeps/sparc/sparc32/Dist: Likewise.
1339 * sysdeps/unix/Dist: Likewise.
1340 * sysdeps/unix/sysv/irix4/Dist: Likewise.
1341
1342 * sysdeps/mach/hurd/i386/Dist: New file.
1343 * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1344 getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1345 * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1346 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1347
1348 1998-07-04 10:14 Ulrich Drepper <drepper@cygnus.com>
1349
1350 * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1351 * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1352
1353 * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1354
1355 * time/tzfile.c (decode): Optimize by using bswap_32.
1356 (__tzfile_read): Use _unlocked stream functions. Correct setting of
1357 __tzname array values.
1358 (__tzfile_compute): Correct setting of __tzname array values.
1359 * time/tzset.c (__tzstring): Clean up a bit.
1360
1361 1998-06-29 19:01 Jim Wilson <wilson@cygnus.com>
1362
1363 * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1364
1365 1998-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1366
1367 * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1368 that fd can be bigger than FD_SETSIZE.
1369
1370 1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1371
1372 * nscd/grpcache.c: Include <unistd.h>.
1373 * nscd/pwdcache.c: Likewise.
1374
1375 * nis/nis_modify.c: Include <string.h>.
1376 * nis/nis_add.c: Likewise.
1377 * nis/nis_checkpoint.c: Likewise.
1378 * posix/runptests.c: Likewise.
1379 * sysdeps/generic/statvfs64.c: Likewise.
1380 * sysdeps/generic/fstatvfs64.c: Likewise.
1381
1382 1998-07-03 13:16 Ulrich Drepper <drepper@cygnus.com>
1383
1384 * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1385 to match data from Unicode.
1386 Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1387
1388 1998-07-03 11:45 Ulrich Drepper <drepper@cygnus.com>
1389
1390 * stdio-common/printf.h: Define printf_function and
1391 printf_arginfo_function types using __PMT not __P.
1392 Reported by Marc Lehmann.
1393
1394 1998-07-02 14:07 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1395
1396 * assert/test-assert.c: New test.
1397 * assert/test-assert-perr.c: New test.
1398 * assert/Makefile (tests): Add test-assert and test-assert-perr.
1399
1400 1998-07-02 13:45 Zack Weinberg <zack@rabi.phys.columbia.edu>
1401
1402 BSD-style SCM_CREDS support.
1403
1404 * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1405 SCM_CREDS.
1406 * sysdeps/unix/sysv/linux/sendmsg.c: New file. Convert user
1407 visible SCM_CREDS packet to what the kernel wants.
1408 * sysdeps/unix/sysv/linux/recvmsg.c: New file. Convert
1409 SCM_CREDS packet output by kernel to what users want.
1410
1411 * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1412 * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1413 * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1414 * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1415
1416 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1417 __sendmsg and __recvmsg to sysdep_routines.
1418 * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1419
1420 1998-07-02 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1421
1422 * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1423 * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1424 * nscd/nscd.c: Check, if pthread_create fails.
1425
1426 1998-07-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1427
1428 * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1429 format strings.
1430 * stdio-common/bug1.c (main): Likewise.
1431 * stdio-common/bug5.c (main): Likewise.
1432 * stdio-common/tstgetln.c (main): Likewise.
1433 * elf/sprof.c (generate_call_graph): Likewise.
1434 (load_shobj): Likewise.
1435 * posix/runptests.c (main): Likewise.
1436 * string/tst-strlen.c (main): Likewise.
1437
1438 * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1439 variable q3.
1440 * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1441
1442 1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1443
1444 * wctype/Versions: Add __towctrans.
1445 Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1446
1447 1998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
1448
1449 * grp/initgroups.c (compat_call): Only call dynamically loaded
1450 functions if they are really present.
1451
1452 1998-07-02 Mark Kettenis <kettenis@phys.uva.nl>
1453
1454 * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1455 #ifdef that contains __BEGIN_DECLS.
1456
1457 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1458
1459 * libio/iofwrite.c: Fix return value when size == 0.
1460
1461 1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1462
1463 * posix/Makefile (distribute): Add annexc.c.
1464 (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1465
1466 1998-07-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1467
1468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1469 bits/pthreadtypes.h here, and do not clobber headers.
1470
1471 * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1472
1473 1998-07-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1474
1475 * timezone/tst-timezone.c: Add tests for tzname variable.
1476
1477 1998-07-03 12:17 Zack Weinberg <zack@rabi.phys.columbia.edu>
1478
1479 * Makefile [versioning=yes]: Build the mapfiles with a pattern
1480 rule that lists all of them as targets.
1481 (sysd-versions): Depend only on Versions.def. Write a Makefile
1482 fragment that defines $(vers-libs) based on contents of that file;
1483 then include it.
1484 (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1485 (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1486 Predicate all this on avoid-generated unset as well as versioning.
1487
1488 1998-07-03 14:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1489
1490 * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1491
1492 1998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com>
1493
1494 * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1495 a copy.
1496 * Makefile: Add rules to generate map files.
1497 (distribute): Remove libc.map, add Versions.def and versions.awk.
1498 * Makerules: Change rules to find map files on common-objpfx.
1499 * elf/Makefile: Likewise.
1500 * md5-crypt/Makefile: Likewise.
1501 * nis/Makefile (libnsl-map): Remove.
1502 * Versions.def: New file.
1503 * versions.awk: New file.
1504 * argp/Versions: New file.
1505 * assert/Versions: New file.
1506 * catgets/Versions: New file.
1507 * csu/Versions: New file.
1508 * ctype/Versions: New file.
1509 * db/Versions: New file.
1510 * debug/Versions: New file.
1511 * dirent/Versions: New file.
1512 * elf/Versions: New file.
1513 * gmon/Versions: New file.
1514 * grp/Versions: New file.
1515 * hesiod/Versions: New file.
1516 * hurd/Versions: New file.
1517 * iconv/Versions: New file.
1518 * inet/Versions: New file.
1519 * intl/Versions: New file.
1520 * io/Versions: New file.
1521 * libio/Versions: New file.
1522 * linuxthreads/Versions: New file.
1523 * locale/Versions: New file.
1524 * login/Versions: New file.
1525 * malloc/Versions: New file.
1526 * math/Versions: New file.
1527 * md5-crypt/Versions: New file.
1528 * misc/Versions: New file.
1529 * nis/Versions: New file.
1530 * nss/Versions: New file.
1531 * posix/Versions: New file.
1532 * pwd/Versions: New file.
1533 * resolv/Versions: New file.
1534 * resource/Versions: New file.
1535 * rt/Versions: New file.
1536 * setjmp/Versions: New file.
1537 * shadow/Versions: New file.
1538 * signal/Versions: New file.
1539 * socket/Versions: New file.
1540 * stdio/Versions: New file.
1541 * stdio-common/Versions: New file.
1542 * stdlib/Versions: New file.
1543 * streams/Versions: New file.
1544 * string/Versions: New file.
1545 * sunrpc/Versions: New file.
1546 * sysdeps/alpha/Versions: New file.
1547 * sysdeps/alpha/fpu/Versions: New file.
1548 * sysdeps/i386/Versions: New file.
1549 * sysdeps/sparc/Versions: New file.
1550 * sysdeps/unix/sysv/Versions: New file.
1551 * sysdeps/unix/sysv/linux/Versions: New file.
1552 * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1553 * sysdeps/unix/sysv/linux/i386/Versions: New file.
1554 * sysdeps/unix/sysv/linux/mips/Versions: New file.
1555 * sysvipc/Versions: New file.
1556 * termios/Versions: New file.
1557 * time/Versions: New file.
1558 * wcsmbs/Versions: New file.
1559 * wctype/Versions: New file.
1560 * libc.map: Removed.
1561 * db/libdb.map: Removed.
1562 * elf/libdl.map: Removed.
1563 * hesiod/libnss_hesiod.map: Removed.
1564 * hurd/libhurduser.map: Removed.
1565 * hurd/libmachuser.map: Removed.
1566 * linuxthreads/libpthread.map: Removed.
1567 * locale/libBrokenLocale.map: Removed.
1568 * login/libutil.map: Removed.
1569 * math/libm.map: Removed.
1570 * md5-crypt/libcrypt.map: Removed.
1571 * nis/libnsl.map: Removed.
1572 * nis/libnsl_compat.map: Removed.
1573 * nis/libnss_nis.map: Removed.
1574 * nis/libnss_nisplus.map: Removed.
1575 * nss/libnss_db.map: Removed.
1576 * nss/libnss_files.map: Removed.
1577 * resolv/libnss_dns.map: Removed.
1578 * resolv/libresolv.map: Removed.
1579 * rt/librt.map: Removed.
1580
1581 * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1582 Fix typos.
1583
1584 * elf/rtld.c (process_dl_debug): Recognize 'all'.
1585 (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1586
1587 * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1588 correct size.
1589
1590 1998-07-01 Ulrich Drepper <drepper@cygnus.com>
1591
1592 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1593 in comment.
1594
1595 * nscd/nscd.c: Include unistd.h.
1596
1597 1998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com>
1598
1599 * math/libm-test.c: Adjust delta for indentities1_test because gcc
1600 became cleverer.
1601
1602 1998-06-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1603
1604 * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1605
1606 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1607
1608 * scripts/test-installation.pl: Include <stdio.h> in test program
1609 to make it strictly conforming.
1610
1611 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1612
1613 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1614 not a strong alias.
1615 * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1618 * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1619
1620 1998-06-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1621
1622 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1623 not a strong alias.
1624
1625 1998-06-30 Ulrich Drepper <drepper@cygnus.com>
1626
1627 * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1628 * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1629 bits/pthreadtypes.h.
1630
1631 1998-06-30 11:47 Ulrich Drepper <drepper@cygnus.com>
1632
1633 * include/aio.h: New file.
1634 * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1635 (tests): Build and run annexc program.
1636 * posix/annexc.c: New file.
1637 * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1638 * rt/aio.h: Remove __need_timespec_t. We can include the whole time.h.
1639 * rt/aio_misc.c: Include limits.h.
1640 * rt/aio_notify.c: Include errno.h.
1641 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1642 Define size_t.
1643 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1644 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1646 * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1647 kernel doesn't do this.
1648 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1649 __USE_LARGEFILE64 is defined.
1650 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file. Empty.
1651 * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1652 if requested.
1653 * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1654
1655 * stdlib/isomac.c: Avoid include_next warning.
1656
1657 1998-06-29 12:27 Ulrich Drepper <drepper@cygnus.com>
1658
1659 * argp/argp.h: Use __PMT instead of __P for function pointer.
1660 * iconv/gconv.h: Likewise.
1661 * io/fts.h: Likewise.
1662 * io/ftw.h: Likewise.
1663 * libio/libio.h: Likewise.
1664 * malloc/mcheck.h: Likewise.
1665 * misc/search.h: Likewise.
1666 * posix/glob.h: Likewise.
1667 * resolv/resolv.h: Likewise.
1668 * signal/signal.h: Likewise.
1669 * stdlib/stdlib.h: Likewise.
1670 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1671 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1672
1673 1998-06-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1674
1675 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1676
1677 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1678
1679 * posix/wordexp.c (parse_param): Fix memory leak.
1680
1681 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1682
1683 * libc.map: Export _IO_ftrylockfile.
1684
1685 1998-06-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1686
1687 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1688 __get[pu]id.
1689
1690 1998-06-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1691
1692 * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1693
1694 * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1695 same search list twice.
1696
1697 1998-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1698
1699 * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1700 used to optimize loop/select.
1701
1702 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1703
1704 * sysdeps/generic/init-first.c: Don't define __libc_pid.
1705 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1706 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1707 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1708 * sysdeps/arm/init-first.c: Likewise.
1709 * posix/getopt_init.c: Don't use __libc_pid.
1710 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1711 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1712 * libc.map: Remove __libc_uid and __libc_pid.
1713
1714 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1715
1716 * sunrpc/rtime.c (rtime): Use poll instead of select.
1717
1718 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1719
1720 * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1721 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1722 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1723 Patches from FreeBSD current.
1724
1725 1998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1726
1727 * nscd/connections.c (handle_new_request): Handle POLLHUP
1728 correctly.
1729 (close_sockets): Correct parameter to dbg_log.
1730
1731 1998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com>
1732
1733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1734 Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1735 (elf_machine_fixup_plt): Likewise.
1736 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1737 _dl_pagesize not set, use system call to always get correct answer.
1738 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1739 (__syscall_getpagesize): Add
1740
1741 1998-06-27 Ulrich Drepper <drepper@cygnus.com>
1742
1743 * resolv/res_send.c (res_send): Fix typo.
1744
1745 1998-06-25 Andi Kleen <ak@muc.de>
1746
1747 * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1748 * resolv/res_send.c (res_send): Likewise.
1749
1750 1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
1751
1752 * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1753 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1754
1755 1998-06-27 7:07 Richard Henderson <rth@cygnus.com>
1756
1757 * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1758 * math/atest-exp2.c (exp_mpn, main): Likewise.
1759 * math/atest-sincos.c (main): Likewise.
1760
1761 * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move
1762 base handling away from strtoul. Always reset errno.
1763
1764 * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1765
1766 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1767 _dl_profile_map if _dl_name_match_p.
1768 (RTLD_START): Fix .prologue. Set __libc_stack_end.
1769 * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start.
1770
1771 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1772 as early-clobber.
1773
1774 * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1775 * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1776 * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1777
1778 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1779
1780 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1781
1782 1998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1783
1784 * nis/nis_call.c: Don't copy server structure.
1785 * nis/nis_intern.h: Remove unused entries.
1786 * nis/nis_table.c: Rewrite __create_ib_request.
1787
1788 1998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com>
1789
1790 * configure.in: Check for -fexceptions.
1791 * config.make.in: Define exceptions, not no-exceptions.
1792 * misc/sys/cdefs.h: Define __PMT. When using modern g++ define
1793 __P to use throw().
1794 * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1795 $(exceptions).
1796 * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1797 * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1798 lfind, and lsearch prototpypes.
1799 * stdlib/stdlib.h: Likewise for bsearch and qsort.
1800
1801 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1802
1803 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1804
1805 1998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1806
1807 * Makefile (remove-old-headers): Make phony.
1808
1809 * configure.in: Substitute @old_glibc_headers@.
1810
1811 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1812
1813 * libc.map: Remove __libc_uid.
1814
1815 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1816
1817 * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1818 typos.
1819
1820 1998-06-26 Ulrich Drepper <drepper@cygnus.com>
1821
1822 * libc.map: Add Alpha-specific io function from protected namespace.
1823
1824 1998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com>
1825
1826 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1827 * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1828 CPPFLAGS.
1829
1830 * libc.map: Export __sigaction.
1831
1832 1998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1833
1834 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1835 (from Linux 2.1.107).
1836
1837 1998-06-24 Ulrich Drepper <drepper@cygnus.com>
1838
1839 * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1840 position when file was opened here.
1841 Reported by Howard Chu <hyc@platinum.com>.
1842
1843 * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1844 undefined in a second inclusion.
1845
1846 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
1847
1848 * sysdeps/mach/hurd/i386/Makefile: New file.
1849 * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1850 __libc_init_secure.
1851 (_hurd_stack_setup): Renamed
1852 from __libc_init_first.
1853 (__libc_init_first): New function.
1854 * sysdeps/mach/hurd/i386/static-start.S: New file.
1855
1856 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
1857
1858 * sysdeps/mach/hurd/i386/init-first.c
1859
1860 1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1861
1862 * grp/initgroups.c: Use _CALL_DL_FCT.
1863
1864 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
1865
1866 * elf/rtld.c (process_dl_debug): Add missing continue.
1867
1868 1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
1869
1870 * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1871
1872 1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1873
1874 * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1875
1876 1998-06-23 Ulrich Drepper <drepper@cygnus.com>
1877
1878 * config.make.in: Remove LDAP support.
1879 * nss/Makefile: Likewise.
1880
1881 1998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com>
1882
1883 * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1884 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1885 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1886 * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1887
1888 1998-06-02 Gordon Matzigkeit <gord@profitpress.com>
1889
1890 * mach/Makefile: Change `mv' invocations to `mv -f'.
1891 * mach/Machrules: Likewise.
1892
1893 1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1894
1895 * config.make.in (old-glibc-headers): Add it.
1896
1897 * configure.in: Add test for glibc 2.0.x headers.
1898
1899 * Makefile (headers2_0): New variable - contains so far only
1900 Linux/Intel glibc 2.0.x headers.
1901 (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1902 (install): Depend on remove-old-headers.
1903
1904 1998-06-19 Mark Kettenis <kettenis@phys.uva.nl>
1905
1906 * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1907 make ftruncate a weak alias.
1908 * sysdeps/mach/hurd/ftruncate.c: Really define function as
1909 __ftruncate.
1910 * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1911 (truncate): Fix function defenition to match prototype.
1912
1913 1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
1914
1915 * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1916 unlockpt, ptsname, ptsname_r, openpty and forkpty.
1917
1918 1998-06-22 Ulrich Drepper <drepper@cygnus.com>
1919
1920 * sysdeps/generic/glob.c: Make it possible to include glob.h
1921 before loading glob.c.
1922 Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1923
1924 1998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1925
1926 * nscd/connections.c: Use poll() instead of select().
1927
1928 1998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1929
1930 * sysdeps/generic/Dist: Fix typo.
1931
1932 1998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1933
1934 * nis/nis_add.c: Avoid unnecessary strlen () calls.
1935 * nis/nis_addmember.c: Likewise.
1936 * nis/nis_call.c: Likewise.
1937 * nis/nis_creategroup.c: Likewise.
1938 * nis/nis_destroygroup.c: Likewise.
1939 * nis/nis_findserv.c: Likewise.
1940 * nis/nis_ismember.c: Likewise.
1941 * nis/nis_print.c: Likewise.
1942 * nis/nis_print_group_entry.c: Likewise.
1943 * nis/nis_removemember.c: Likewise.
1944 * nis/nis_verifygroup.c: Likewise.
1945 * nis/ypclnt.c: Likewise.
1946
1947 * nis/nis_file.c: Close file handles.
1948
1949 * nis/nis_callback.c: Fix typo.
1950
1951 1998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1952
1953 * nis/Makefile: Add nis-initgroups and compat-initgroups.
1954 * nis/libnss_compat.map: Add _nss_compat_initgroups.
1955 * nis/libnss_nis.map: Add _nss_nis_initgroups.
1956 * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1957 * nis/nss_nis/nis-initgroups.c: Likewise.
1958 * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1959 __nss_lookup_function and make it public.
1960 * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1961 module if exists, else use old method.
1962
1963 1998-06-19 Ulrich Drepper <drepper@cygnus.com>
1964
1965 * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1966 definition.
1967 * nss/getXXent_r.c (set_function, end_function, get_function):
1968 Likewise. Reported by Thorsten Kukuk.
1969
1970 * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1971
1972 1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1973
1974 * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1975 1998-06-16 and distribute kernel_termios.h.
1976
1977 * nis/Makefile (distribute): Add nis_xdr.h.
1978
1979 1998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1980
1981 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1982 kernels that don't have sigaltstack.
1983
1984 1998-06-19 Ulrich Drepper <drepper@cygnus.com>
1985
1986 * sysdeps/generic/bits/sem.h: Don't define union semun.
1987
1988 * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1989
1990 * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1991 here.
1992 * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1993 definition here.
1994
1995 1998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com>
1996
1997 * signal/signal.h: Add prototype for __sigaltstack.
1998 * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1999 Remove sigstack entry.
2000 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2001 * sysdeps/unix/sysv/linux/sigstack.c: New file.
2002
2003 * sysdeps/i386/backtrace.c: Add casts.
2004
2005 1998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com>
2006
2007 * intl/dcgettext.c: use complete type name.
2008 * intl/hash-string.h: Likewise.
2009
2010 * intl/localealias.c: Undo patch from 1998-04-29.
2011 * intl/l10nflist.c: Likewise.
2012 * intl/loadinfo.h: Likewise.
2013
2014 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
2015
2016 * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2017
2018 1998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com>
2019
2020 * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2021 _dl_mcount, _dl_mcount_wrapper.
2022 * elf/Makefile (routines): Add dl-profstub.
2023 * elf/dl-profstub.c: New file.
2024 * elf/dl-support.c: Don't define _dl_profile_map.
2025 * elf/rtld.c: Likewise.
2026 * elf/dlfcn.h: Define DL_CALL_FCT macro.
2027 * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2028 Define _CALL_DL_FCT.
2029 * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2030 loaded object.
2031 * iconv/gconv_db.c: Likewise.
2032 * iconv/skeleton.c: Likewise.
2033 * nss/getXXbyYY_r.c: Likewise.
2034 * nss/getXXent_r.c: Likewise.
2035 * nss/nsswitch.c: Likewise.
2036
2037 1998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com>
2038
2039 * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2040 * sysdeps/libm-i387/e_scalbf.S: Likewise.
2041 * sysdeps/libm-i387/e_scalbl.S: Likewise.
2042
2043 1998-06-18 Ulrich Drepper <drepper@cygnus.com>
2044
2045 * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2046 longestdbl.
2047
2048 1998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com>
2049
2050 * iconvdata/Makefile (modules): Add MACINTOSH.
2051 (MACINTOSH-routines): New variable.
2052 (distribute): Add macintosh.c.
2053 (awk-generated-headers): Add macintosh.h.
2054 Add rule for macintosh.h generation.
2055 * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2056 * iconvdata/macintosh.c: New file.
2057
2058 1998-06-17 Ulrich Drepper <drepper@cygnus.com>
2059
2060 * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2061
2062 * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2063 only should happen for cy != 0.
2064
2065 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2066 glob.h.
2067
2068 1998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2069
2070 * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2071 to compare stack addresses.
2072
2073 1998-06-17 Ulrich Drepper <drepper@cygnus.com>
2074
2075 * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2076 defining prototypes.
2077
2078 1998-06-16 David S. Miller <davem@dm.cobaltmicro.com>
2079
2080 * sysdeps/sparc/sparc32/dl-machine.h
2081 (elf_machine_fixup_plt): During rtld bootstrap, always perform
2082 flushes as the kernel will emulate it when the underlying cpu does
2083 not implement flush.
2084
2085 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2086 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2087
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2090 trampoline code.
2091
2092 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2093 (__clone): Branch to label .Lerror not __clone_syscall_error.
2094 (.Lerror): Fixup EINVAL setting.
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2097 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2098 (__syscall_getgroups, __syscall_setgroups): Add.
2099
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2101 (__sigaction): Member name is k_sa_handler. Use memcpy to copy
2102 around sa_mask data.
2103
2104 1998-06-16 Ulrich Drepper <drepper@cygnus.com>
2105
2106 * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2107
2108 * string/Makefile: Make sure test-ffs does not use builtins.
2109
2110 1998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2111
2112 * sunrpc/svc.c: Check for NULL pointer.
2113
2114 * nis/libnsl.map: Add public NIS+ xdr functions.
2115
2116 * nis/rpcsvc/nis_callback.h: New file.
2117 * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2118 * nis/nis_xdr.h: ... here.
2119
2120 * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2121 pointers, use NIS+ defines where possible.
2122 * nis/nis_cache.c: Likewise.
2123 * nis/nis_cache2_xdr.c: Likewise.
2124 * nis/nis_call.c: Likewise.
2125 * nis/nis_checkpoint.c: Likewise.
2126 * nis/nis_clone_dir.c: Likewise.
2127 * nis/nis_clone_obj.c: Likewise.
2128 * nis/nis_clone_res.c: Likewise.
2129 * nis/nis_creategroup.c: Likewise.
2130 * nis/nis_file.c: Likewise.
2131 * nis/nis_free.c: Likewise.
2132 * nis/nis_getservlist.c: Likewise.
2133 * nis/nis_local_names.c: likewise.
2134 * nis/nis_lookup.c: Likewise.
2135 * nis/nis_mkdir.c: Likewise.
2136 * nis/nis_modify.c: Likewise.
2137 * nis/nis_ping.c: Likewise.
2138 * nis/nis_print.c: Likewise.
2139 * nis/nis_remove.c: Likewise.
2140 * nis/nis_removemember.c: Likewise.
2141 * nis/nis_rmdir.c: Likewise.
2142 * nis/nis_server.c: Likewise.
2143 * nis/nis_table.c: Likewise.
2144 * nis/nis_util.c: Likewise.
2145 * nis/nis_verifygroup.c: Likewise.
2146 * nis/nis_xdr.c: Likewise.
2147 * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2148 * nis/nis_xdr.c: ... to here.
2149
2150 1998-06-15 18:07 Ulrich Drepper <drepper@cygnus.com>
2151
2152 * iconvdata/ksc5601.h: Clean up a bit.
2153
2154 1998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com>
2155
2156 * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2157 and process incoming data.
2158 * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2159 fragments as invalid.
2160 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2161
2162 1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2163
2164 Removal of duplicates like "the the".
2165 * manual/time.texi (TZ Variable): Likewise.
2166 * manual/users.texi (Manipulating the Database): Likewise.
2167 * manual/sysinfo.texi (Filesystem handling): Likewise.
2168 * manual/signal.texi (Signaling Yourself): Likewise.
2169 * manual/message.texi (Message Translation): Likewise.
2170 (Common Usage): Likewise.
2171 * manual/llio.texi: Likewise.
2172 * manual/arith.texi (Old-style number conversion): Likewise.
2173 * manual/argp.texi (Argp): Likewise.
2174 (Argp Parsers): Likewise.
2175 (Argp Help Filtering): Likewise.
2176
2177 * hesiod/README.hesiod: Correct typo.
2178
2179 * manual/llio.texi: Correct typos.
2180 * manual/sysinfo.texi: Likewise.
2181
2182 1998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2183
2184 * rt/aio.h: Rename __op to __operation for g++.
2185
2186 1998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2187
2188 * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed
2189 script.
2190 * iconvdata/gen-8bit-gap-1.sh: Likewise.
2191 * iconvdata/gen-8bit.sh: Clean up sed script.
2192
2193 * iconvdata/Makefile: Remove all PERL conditionals; build all
2194 the modules all the time. Export AWK.
2195 (gen-8bit-gap): Delete setting of PERL.
2196 (gen-8bit-gap-1): Likewise.
2197 (perl-generated-headers): Renamed awk-generated-headers.
2198
2199 * iconvdata/gap.pl: Removed.
2200 * iconvdata/gaptab.pl: Removed.
2201 * iconvdata/gap.awk: New file.
2202 * iconvdata/gaptab.awk: New file.
2203
2204 1998-06-15 Ulrich Drepper <drepper@cygnus.com>
2205
2206 * sysdeps/generic/Dist: Add errno-loc.c.
2207
2208 * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2209 __new_* functions.
2210
2211 1998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2212
2213 * stdio-common/bug12.c: New test for fread()/fseek().
2214 * stdio-common/Makefile (tests): Add bug12.
2215
2216 1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2217
2218 * sysdeps/generic/elf/backtracesyms.c: Make array elements
2219 constant.
2220 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
2221 * debug/execinfo.h: Update declaration.
2222
2223 1998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2224
2225 * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2226 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
2227 * debug/execinfo.h: Update declaration.
2228
2229 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2230
2231 * manual/llio.texi: Fix spelling.
2232 * manual/sysinfo.texi: Fix spelling.
2233
2234 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2235
2236 * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2237 alias for old name. Put this on __libc_subfreeres.
2238 * misc/search.h: Declare it.
2239
2240 1998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2241
2242 * string/bits/string2.h (strcmp): Add missing parens around macro
2243 parameters.
2244
2245 1998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com>
2246
2247 * manual/arith.texi: Fix problem with @math and texinfo.tex.
2248
2249 * manual/filesys.texi: Document LFS functions.
2250 * manual/llio.texi: Likewise.
2251 * manual/stdio.texi: Likewise.
2252 * manual/time.texi: Likewise.
2253
2254 * manual/llio.texi: Document AIO functions.
2255
2256 * resource/sys/resource.h: Mark second argument of setrlimit as const.
2257 * sysdeps/generic/setrlimit.c: Likewise.
2258 * sysdeps/generic/setrlimit64.c: Likewise.
2259 * sysdeps/mach/hurd/setrlimit.c: Likewise.
2260 * sysdeps/unix/sysv/setrlimit.c: Likewise.
2261
2262 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2263
2264 * sysdeps/generic/getenv.c: Fix last change.
2265
2266 1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2267
2268 * sysdeps/generic/backtrace.c: Provide generic implementation.
2269
2270 1998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2271
2272 * configure.in: Give visual feedback of the default directories we
2273 added.
2274
2275 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2276
2277 * io/fts.c (fts_build): Define oflag only if needed.
2278
2279 1998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2280
2281 * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2282
2283 1998-06-11 Ulrich Drepper <drepper@cygnus.com>
2284
2285 * libc.map: Don't export argp's fmtstream handling functions.
2286
2287 * manual/sysinfo.texi: Document fstab and mtab handling functions.
2288 * manual/llio.texi: Document more LFS functions and start documenting
2289 the AIO functions.
2290
2291 1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
2292
2293 * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2294 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2295 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2296 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2297
2298 1998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
2299
2300 * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2301 makes it easier to undump emacs.
2302 * sysdeps/powerpc/bits/endian.h: Use more informative error message
2303 for when the endianness can't be determined.
2304
2305 1998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au>
2306
2307 * nss/Makefile: Add files publickey database support.
2308 * nss/libnss_files.map: Export the required functions.
2309 * nss/nss_files/files-key.c: Implement it.
2310 * sunrpc/rpc/auth_des.h: Correct typos in comments.
2311
2312 1998-06-10 Ulrich Drepper <drepper@cygnus.com>
2313
2314 * iconv/gconv_builtin.h: Add aliases for CORBA.
2315 * iconvdata/gconv-modules: Likewise.
2316
2317 1998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2318
2319 * math/libm-test.c (main): Call exp10_test.
2320 (exp10_test): New function which tests exp10.
2321
2322 1998-06-10 Ulrich Drepper <drepper@cygnus.com>
2323
2324 * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2325 sigstack.
2326
2327 * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2328 SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2329 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2330
2331 1998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2332
2333 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2334 in the variable, not its GOT slot.
2335
2336 1998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2337
2338 * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2339 inline.
2340 * sysdeps/m68k/fpu/e_exp10.c: New file.
2341 * sysdeps/m68k/fpu/e_exp10f.c: New file.
2342 * sysdeps/m68k/fpu/e_exp10l.c: New file.
2343
2344 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2345 _dl_profile_map only if the name matches.
2346 (_dl_start_user): Remember stack address.
2347 * sysdeps/m68k/elf/start.S: Pass new argument to
2348 __libc_start_user.
2349
2350 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2351 definition.
2352 (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2353 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2354 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2355 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2356 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2357
2358 1998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com>
2359
2360 * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2361 * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2362 * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2363 * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2364 prototypes.
2365 * sysdeps/libm-i387/e_exp10.S: New file.
2366 * sysdeps/libm-i387/e_exp10f.S: New file.
2367 * sysdeps/libm-i387/e_exp10l.S: New file.
2368 * sysdeps/libm-ieee754/e_exp10.c: New file.
2369 * sysdeps/libm-ieee754/e_exp10f.c: New file.
2370 * sysdeps/libm-ieee754/e_exp10l.c: New file.
2371 * sysdeps/libm-ieee754/w_exp10.c: New file.
2372 * sysdeps/libm-ieee754/w_exp10f.c: New file.
2373 * sysdeps/libm-ieee754/w_exp10l.c: New file.
2374 * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2375
2376 1998-05-25 22:18 H.J. Lu <hjl@gnu.org>
2377
2378 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2379 sys/elf.h and sys/reg.h.
2380 * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2381 * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2382 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2383 * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2384
2385 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2386 PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2387
2388 1998-06-09 Ulrich Drepper <drepper@cygnus.com>
2389
2390 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2391 __data member only for gcc. Reported by ak@muc.de.
2392
2393 * misc/mntent.h: Undo last patch.
2394 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2395 * misc/tst/mntent.c: Adjust code for this change.
2396
2397 * io/fts.c: Updated from a slightly more recent BSD version.
2398 * io/fts.h: Likewise.
2399
2400 * libc.map: Add __libc_stack_end.
2401
2402 * db2/Makefile (routines): Add lock_region.
2403 * db2/config.h: Update from db-2.4.14.
2404 * db2/db.h: Likewise.
2405 * db2/db_185.h: Likewise.
2406 * db2/db_int.h: Likewise.
2407 * db2/btree/bt_close.c: Likewise.
2408 * db2/btree/bt_compare.c: Likewise.
2409 * db2/btree/bt_conv.c: Likewise.
2410 * db2/btree/bt_cursor.c: Likewise.
2411 * db2/btree/bt_delete.c: Likewise.
2412 * db2/btree/bt_open.c: Likewise.
2413 * db2/btree/bt_page.c: Likewise.
2414 * db2/btree/bt_put.c: Likewise.
2415 * db2/btree/bt_rec.c: Likewise.
2416 * db2/btree/bt_recno.c: Likewise.
2417 * db2/btree/bt_rsearch.c: Likewise.
2418 * db2/btree/bt_search.c: Likewise.
2419 * db2/btree/bt_split.c: Likewise.
2420 * db2/btree/bt_stat.c: Likewise.
2421 * db2/btree/btree.src: Likewise.
2422 * db2/btree/btree_auto.c: Likewise.
2423 * db2/clib/getlong.c: Likewise.
2424 * db2/common/db_appinit.c: Likewise.
2425 * db2/common/db_apprec.c: Likewise.
2426 * db2/common/db_byteorder.c: Likewise.
2427 * db2/common/db_err.c: Likewise.
2428 * db2/common/db_log2.c: Likewise.
2429 * db2/common/db_region.c: Likewise.
2430 * db2/common/db_salloc.c: Likewise.
2431 * db2/common/db_shash.c: Likewise.
2432 * db2/db/db.c: Likewise.
2433 * db2/db/db.src: Likewise.
2434 * db2/db/db_auto.c: Likewise.
2435 * db2/db/db_conv.c: Likewise.
2436 * db2/db/db_dispatch.c: Likewise.
2437 * db2/db/db_dup.c: Likewise.
2438 * db2/db/db_overflow.c: Likewise.
2439 * db2/db/db_pr.c: Likewise.
2440 * db2/db/db_rec.c: Likewise.
2441 * db2/db/db_ret.c: Likewise.
2442 * db2/db/db_thread.c: Likewise.
2443 * db2/db185/db185.c: Likewise.
2444 * db2/db185/db185_int.h: Likewise.
2445 * db2/dbm/dbm.c: Likewise.
2446 * db2/hash/hash.c: Likewise.
2447 * db2/hash/hash.src: Likewise.
2448 * db2/hash/hash_auto.c: Likewise.
2449 * db2/hash/hash_conv.c: Likewise.
2450 * db2/hash/hash_debug.c: Likewise.
2451 * db2/hash/hash_dup.c: Likewise.
2452 * db2/hash/hash_func.c: Likewise.
2453 * db2/hash/hash_page.c: Likewise.
2454 * db2/hash/hash_rec.c: Likewise.
2455 * db2/hash/hash_stat.c: Likewise.
2456 * db2/include/btree.h: Likewise.
2457 * db2/include/btree_ext.h: Likewise.
2458 * db2/include/clib_ext.h: Likewise.
2459 * db2/include/common_ext.h: Likewise.
2460 * db2/include/cxx_int.h: Likewise.
2461 * db2/include/db.h.src: Likewise.
2462 * db2/include/db_185.h.src: Likewise.
2463 * db2/include/db_am.h: Likewise.
2464 * db2/include/db_auto.h: Likewise.
2465 * db2/include/db_cxx.h: Likewise.
2466 * db2/include/db_dispatch.h: Likewise.
2467 * db2/include/db_ext.h: Likewise.
2468 * db2/include/db_int.h.src: Likewise.
2469 * db2/include/db_page.h: Likewise.
2470 * db2/include/db_shash.h: Likewise.
2471 * db2/include/db_swap.h: Likewise.
2472 * db2/include/hash.h: Likewise.
2473 * db2/include/hash_ext.h: Likewise.
2474 * db2/include/lock.h: Likewise.
2475 * db2/include/lock_ext.h: Likewise.
2476 * db2/include/log.h: Likewise.
2477 * db2/include/log_ext.h: Likewise.
2478 * db2/include/mp.h: Likewise.
2479 * db2/include/mp_ext.h: Likewise.
2480 * db2/include/mutex_ext.h: Likewise.
2481 * db2/include/os_ext.h: Likewise.
2482 * db2/include/os_func.h: Likewise.
2483 * db2/include/queue.h: Likewise.
2484 * db2/include/shqueue.h: Likewise.
2485 * db2/include/txn.h: Likewise.
2486 * db2/lock/lock.c: Likewise.
2487 * db2/lock/lock_conflict.c: Likewise.
2488 * db2/lock/lock_deadlock.c: Likewise.
2489 * db2/lock/lock_region.c: Likewise.
2490 * db2/lock/lock_util.c: Likewise.
2491 * db2/log/log.c: Likewise.
2492 * db2/log/log.src: Likewise.
2493 * db2/log/log_archive.c: Likewise.
2494 * db2/log/log_auto.c: Likewise.
2495 * db2/log/log_compare.c: Likewise.
2496 * db2/log/log_findckp.c: Likewise.
2497 * db2/log/log_get.c: Likewise.
2498 * db2/log/log_put.c: Likewise.
2499 * db2/log/log_rec.c: Likewise.
2500 * db2/log/log_register.c: Likewise.
2501 * db2/mp/mp_bh.c: Likewise.
2502 * db2/mp/mp_fget.c: Likewise.
2503 * db2/mp/mp_fopen.c: Likewise.
2504 * db2/mp/mp_fput.c: Likewise.
2505 * db2/mp/mp_fset.c: Likewise.
2506 * db2/mp/mp_open.c: Likewise.
2507 * db2/mp/mp_pr.c: Likewise.
2508 * db2/mp/mp_region.c: Likewise.
2509 * db2/mp/mp_sync.c: Likewise.
2510 * db2/mutex/68020.gcc: Likewise.
2511 * db2/mutex/mutex.c: Likewise.
2512 * db2/mutex/parisc.gcc: Likewise.
2513 * db2/mutex/parisc.hp: Likewise.
2514 * db2/mutex/sco.cc: Likewise.
2515 * db2/os/os_abs.c: Likewise.
2516 * db2/os/os_alloc.c: Likewise.
2517 * db2/os/os_config.c: Likewise.
2518 * db2/os/os_dir.c: Likewise.
2519 * db2/os/os_fid.c: Likewise.
2520 * db2/os/os_fsync.c: Likewise.
2521 * db2/os/os_map.c: Likewise.
2522 * db2/os/os_oflags.c: Likewise.
2523 * db2/os/os_open.c: Likewise.
2524 * db2/os/os_rpath.c: Likewise.
2525 * db2/os/os_rw.c: Likewise.
2526 * db2/os/os_seek.c: Likewise.
2527 * db2/os/os_sleep.c: Likewise.
2528 * db2/os/os_spin.c: Likewise.
2529 * db2/os/os_stat.c: Likewise.
2530 * db2/os/os_unlink.c: Likewise.
2531 * db2/progs/db_archive/db_archive.c: Likewise.
2532 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2533 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2534 * db2/progs/db_dump/db_dump.c: Likewise.
2535 * db2/progs/db_dump185/db_dump185.c: Likewise.
2536 * db2/progs/db_load/db_load.c: Likewise.
2537 * db2/progs/db_printlog/db_printlog.c: Likewise.
2538 * db2/progs/db_recover/db_recover.c: Likewise.
2539 * db2/progs/db_stat/db_stat.c: Likewise.
2540 * db2/txn/txn.c: Likewise.
2541 * db2/txn/txn.src: Likewise.
2542 * db2/txn/txn_auto.c: Likewise.
2543 * db2/txn/txn_rec.c: Likewise.
2544
2545 * elf/rtld.c: Move definition of __libc_stack_end to ...
2546 * sysdeps/generic/dl-sysdep.h: ...here.
2547
2548 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2549 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2550 * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2551
2552 * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2553 * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2554 before following it.
2555
2556 1998-06-08 21:44 Ulrich Drepper <drepper@cygnus.com>
2557
2558 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2559 from mntent correctly.
2560
2561 1998-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2562
2563 * sunrpc/Makefile (generated): Correct typo.
2564
2565 1998-06-04 Philip Blundell <philb@gnu.org>
2566
2567 * elf/elf.h (EM_ARM, et al.): New definitions.
2568 * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2569
2570 1998-06-08 21:33 Ulrich Drepper <drepper@cygnus.com>
2571
2572 * localedata/SUPPORTED: Add sk_SK.
2573 * localedata/locales/sk_SK: New file.
2574
2575 1998-06-08 18:57 Ulrich Drepper <drepper@cygnus.com>
2576
2577 * Makeconfig (subdirs): Add debug.
2578 * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2579 * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2580 backtrace_symbols.
2581 * sysdeps/generic/backtrace.c: New file.
2582 * sysdeps/generic/backtracesyms.c: New file.
2583 * sysdeps/generic/elf/backtracesyms.c: New file.
2584 * sysdeps/i386/backtrace.c: New file.
2585 * debug/Makefile: New file.
2586 * debug/backtrace-tst.c: New file.
2587 * debug/execinfo.h: New file.
2588
2589 1998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com>
2590
2591 * elf/sprof.c: Implement call graph profiling.
2592
2593 * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2594
2595 1998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2596
2597 * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2598 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2599 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2600 Noticed by Jake Garver <garver@valkyrie.net>.
2601
2602 1998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2603
2604 * libio/genops.c (__underflow): Read character from read pointer
2605 as unsigned.
2606 (__uflow): Likewise.
2607
2608 1998-06-07 13:32 Ulrich Drepper <drepper@cygnus.com>
2609
2610 * libc.map: Add _dl_profile.
2611 * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2612 this to ELF_DYNAMIC_RELOCATE.
2613 Always allocate array for relocation result if LD_PROFILE is defined.
2614 * elf/ldsodefs.h: Adjust prototypes.
2615 * elf/dl-open.c (_dl_open): Call relocation function with extra
2616 argument.
2617 * elf/rtld.c: Likewise.
2618 * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2619 Correct loop condition.
2620 * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2621 consider_profile to runtime setup function.
2622 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2623 _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2624
2625 * elf/dl-support.c: Define __libc_stack_end.
2626 * elf/rtld.c: Likewise.
2627 * sysdeps/generic/libc-start.c: Store last stack address in
2628 __libc_stack_end.
2629 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2630 * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2631
2632 * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2633 Include <stdint.h>, not <inttypes.h>.
2634
2635 * elf/sprof.c: Implement flat profiling.
2636
2637 * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2638 _IO_funlockfile explicitly.
2639 * libio/fileops.c: Likewise.
2640 * libio/fputc.c: Likewise.
2641 * libio/freopen.c: Likewise.
2642 * libio/freopen64.c: Likewise.
2643 * libio/fseek.c: Likewise.
2644 * libio/fseeko.c: Likewise.
2645 * libio/fseeko64.c: Likewise.
2646 * libio/ftello.c: Likewise.
2647 * libio/ftello64.c: Likewise.
2648 * libio/getc.c: Likewise.
2649 * libio/getchar.c: Likewise.
2650 * libio/iofclose.c: Likewise.
2651 * libio/iofflush.c: Likewise.
2652 * libio/iofgetpos.c: Likewise.
2653 * libio/iofgetpos64.c: Likewise.
2654 * libio/iofgets.c: Likewise.
2655 * libio/iofputs.c: Likewise.
2656 * libio/iofread.c: Likewise.
2657 * libio/iofsetpos.c: Likewise.
2658 * libio/iofsetpos64.c: Likewise.
2659 * libio/ioftell.c: Likewise.
2660 * libio/iofwrite.c: Likewise.
2661 * libio/iogetdelim.c: Likewise.
2662 * libio/iogets.c: Likewise.
2663 * libio/ioputs.c: Likewise.
2664 * libio/ioseekoff.c: Likewise.
2665 * libio/ioseekpos.c: Likewise.
2666 * libio/iosetbuffer.c: Likewise.
2667 * libio/iosetvbuf.c: Likewise.
2668 * libio/ioungetc.c: Likewise.
2669 * libio/iovsprintf.c: Likewise.
2670 * libio/iovsscanf.c: Likewise.
2671 * libio/oldfileops.c: Likewise.
2672 * libio/oldiofclose.c: Likewise.
2673 * libio/peekc.c: Likewise.
2674 * libio/putc.c: Likewise.
2675 * libio/putchar.c: Likewise.
2676 * libio/rewind.c: Likewise.
2677
2678 * malloc/mtrace.c: Pretty print.
2679
2680 * misc/mntent.h (struct mentent): Make string elements const char *.
2681
2682 * nis/nis_printf.c: Optimize I/O a little bit.
2683
2684 * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2685 * sysdeps/generic/sigset-cvt-mask.h: New file.
2686 * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2687 * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2688 * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2689 sigset-cvt-mask.h to do the dirty work.
2690 Patches by Joe Keane.
2691
2692 * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2693
2694 * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2695 syscall_error label in case of PIC anonymous.
2696 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2697 * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2698 * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2699 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2700 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2701 * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2702 * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2703
2704 1998-06-05 Ulrich Drepper <drepper@cygnus.com>
2705
2706 * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2707 we cannot declare the struct element as const.
2708 * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2709 * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2710
2711 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2712
2713 * manual/Makefile: Include ../Makeconfig earlier.
2714 (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2715 exist.
2716 (dir-add.texinfo): Remove useless $(SHELL).
2717
2718 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2719
2720 * Makefile (others): Build programs from install-bin.
2721 * configure.in: Modify config.make only if is was just created and
2722 move that command to second argument of AC_OUTPUT. Add command to
2723 set config_vars in config.status.
2724
2725 1998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2726
2727 * malloc/Makefile (address-width): Fix conditional.
2728
2729 1998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2730
2731 * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2732 putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2733 strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2734 version GLIBC_2.1.
2735
2736 1998-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2737
2738 * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2739 (Floating Point Parameters): Likewise.
2740
2741 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2742
2743 * hurd/Makefile (routines): Add cthreads.
2744
2745 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2746
2747 * login/login.c (login): Let pututline take care of finding the
2748 positin to insert the UTMP entry. This corrects a bug where ssh
2749 was not reusing UTMP entries marked as DEAD_PROCESS.
2750 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2751
2752 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2753
2754 * login/Makefile (tests): New variable, add tst-utmp and
2755 tst-utmpx.
2756 * login/tst-utmp.c: New file.
2757 * login/tst-utmpx.c: New file.
2758
2759 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2760
2761 * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2762 aliases for _hurd_nerr, for programs that don't use sys_errlist,
2763 but need sys_err.
2764
2765 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2766
2767 * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2768 * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2769
2770 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2771
2772 * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2773 make __read a weak alias. Use ANSI-style function definition.
2774 * sysdeps/mach/hurd/write.c: Likewise.
2775
2776 1998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
2777
2778 * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2779 _sys_errlist.
2780
2781 1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
2782
2783 * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2784 Renamed from librtld.so.
2785
2786 1998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2787
2788 * libc.map: Remove _IO_getline_info which was erroneously
2789 introduced in section GLIBC_2.0.
2790 Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2791
2792 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2793
2794 * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2795 created a weak alias.
2796 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2797
2798 1998-05-31 Gordon Matzigkeit <gord@profitpress.com>
2799
2800 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2801 ftruncate function, and create a weak alias to ftruncate.
2802
2803 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2804
2805 * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2806 * inet/getnetgrent_r.c: Likewise.
2807 * nss/getXXbyYY_r.c: Likewise.
2808 * nss/getXXent_r.c: Likewise.
2809 * pwd/fgetpwent_r.c: Likewise.
2810 * shadow/sgetspent_r.c: Likewise.
2811 * shadow/fgetspent_r.c: Likewise.
2812 * sunrpc/publickey.c: Likewise.
2813
2814 1998-06-01 Gordon Matzigkeit <gord@profitpress.com>
2815
2816 * hurd/libhurduser.map: New file.
2817 * mach/libmachuser.map: Likewise.
2818
2819 * libc.map: Add Hurd-specific functions to version 2.1.
2820 Add __flshfp and __fillbf.
2821
2822 1998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2823
2824 * manual/signal.texi (Basic Signal Handling): Fix typo.
2825 * manual/errno.texi (Error Codes): Likewise.
2826
2827 1998-06-02 Ulrich Drepper <drepper@cygnus.com>
2828
2829 * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2830 instead of <sys/socket.h>.
2831 Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2832
2833 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2834 Finally make it working.
2835 Patch by Mark Hatle <fray@kernel.crashing.org>.
2836
2837 1998-03-22 Paul Eggert <eggert@twinsun.com>
2838
2839 * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2840 a Solaris 2.6 bug.
2841
2842 1998-05-30 Philip Blundell <Philip.Blundell@pobox.com>
2843
2844 * stdlib/gmp-impl.h: Support strange mixed-endian double format
2845 used by ARM systems.
2846 * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2847 FE_EXCEPT_SHIFT.
2848 * sysdeps/arm/bits/fenv.h: Deleted.
2849 * sysdeps/arm/fpu/ieee754.h: New file.
2850 * sysdeps/arm/gmp-mparam.h: New file.
2851 * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2852 implementation.
2853
2854 1998-06-01 Ulrich Drepper <drepper@cygnus.com>
2855
2856 * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2857
2858 * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2859 of ((unused)). Reported by Bruno Haible.
2860
2861 1998-05-31 Philip Blundell <philb@gnu.org>
2862
2863 * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2864 referring to errno and _errno.
2865
2866 * sysdeps/arm/fpu/feholdexcpt.c: New file.
2867
2868 * sysdeps/i386/fpu_control.h: Fix typo.
2869
2870 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2871 (_JMPBUF_UNWINDS): Added.
2872 * sysdeps/arm/fpu/bits/setjmp.h: New file.
2873
2874 1998-05-25 Gordon Matzigkeit <gord@profitpress.com>
2875
2876 * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2877 order to build header files, not `generated'.
2878
2879 * Rules (before-compile): New target which depends on all
2880 $(before-compile) files.
2881
2882 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2883
2884 * nis/nis_call.c: Make directory search faster.
2885
2886 * nis/nis_callback.c: Insert public key of user in callback data.
2887
2888 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2889
2890 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2891
2892 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2893
2894 * nis/nis_intern.h: Remove duplicated prototype.
2895
2896 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2897
2898 * sunrpc/auth_des.c: Move prototypes from here ...
2899 * sunrpc/rpc/auth.h: ... to here.
2900
2901 * sunrpc/clnt_tcp.c: Add more control flags.
2902 * sunrpc/clnt_udp.c: Likewise.
2903
2904 * sunrpc/netname.c (host2netname): Remove prefixing dot from
2905 domainname.
2906
2907 * sunrpc/rpc/clnt.h: Document, which control flags are not
2908 implementable.
2909
2910 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2911
2912 1998-05-29 Ulrich Drepper <drepper@cygnus.com>
2913
2914 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2915 files crash the program.
2916
2917 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2918 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2919 Reported by Deborah Wallach <kerr@pa.dec.com>.
2920
2921 1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
2922
2923 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2924 on whether this is a stable release or not (keeps snapshot bug
2925 reports out of the database).
2926
2927 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2928 * sysdeps/arm/sysdep.h: Likewise.
2929 * sysdeps/i386/sysdep.h: Likewise.
2930 * sysdeps/m68k/sysdep.h: Likewise.
2931 * sysdeps/mach/mips/sysdep.h: Likewise.
2932 * sysdeps/mach/sys/reboot.h: Likewise.
2933 * sysdeps/mach/sysdep.h: Likewise.
2934 * sysdeps/unix/alpha/sysdep.h: Likewise.
2935 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2936 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2937 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2938 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2939 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2940 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2941 * sysdeps/unix/i386/sysdep.h: Likewise.
2942 * sysdeps/unix/mips/sysdep.h: Likewise.
2943 * sysdeps/unix/sparc/sysdep.h: Likewise.
2944 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2945 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2946 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2947 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2951 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2952
2953 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
2954
2955 * mach/Machrules: Use $(move-if-change).
2956
2957 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
2958
2959 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2960 * Makerules (lib%.so): Depend on $(+interp).
2961 (libc.so): Add interp.os to list of dependencies.
2962 (interp-obj): Remove variable.
2963 * mach/Machrules (+interp): Define to empty since libhurduser and
2964 libmachuser don't need to have the interpreter set.
2965
2966 1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2967
2968 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2969
2970 * resolv/gethnamaddr.c: Likewise.
2971
2972 * resolv/res_comp.c: Likewise.
2973
2974 1998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
2975
2976 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2977 so that transparent union works.
2978
2979 1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
2980
2981 * manual/texinfo.tex: Update to last available version.
2982
2983 * timezone/africa: Update from tzdata1998e.
2984 * timezone/antarctica: Likewise.
2985 * timezone/asia: Likewise.
2986 * timezone/australasia: Likewise.
2987 * timezone/europe: Likewise.
2988 * timezone/iso3166.tab: Likewise.
2989 * timezone/northamerica: Likewise.
2990 * timezone/tzselect.ksh: Likewise.
2991 * timezone/zone.tab: Likewise.
2992
2993 1998-05-27 Ulrich Drepper <drepper@cygnus.com>
2994
2995 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2996 Reported by Matt McLean <keys@brio.yikes.com>.
2997
2998 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2999
3000 * catgets/Makefile ($(objpfx)de.cat): Renamed from
3001 do-gencat-test. Use automatic variables.
3002 ($(objpfx)de.msg): Fix reference to po file.
3003
3004 1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3005
3006 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3007 $(move-if-change).
3008
3009 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3010
3011 * intl/dcgettext.c: Fix typo.
3012
3013 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3014
3015 * configure.in: Allow more make versions e.g 3.76.90.
3016
3017 1998-05-25 Ulrich Drepper <drepper@cygnus.com>
3018
3019 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3020
3021 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3022 for Hurd. Patch by Mark Kettenis.
3023
3024 1998-04-18 Gordon Matzigkeit <gord@profitpress.com>
3025
3026 * mach/Machrules (+preinit, +postinit): Define these variables to
3027 empty because libhurduser and libmachuser don't need startup
3028 files.
3029
3030 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
3031
3032 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3033 instead of a raw bitmask.
3034
3035 1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3036
3037 * Makeconfig (rpath-dirs): New variable.
3038 (rpath-link): Use it.
3039 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3040 (db-objpfx): Removed.
3041 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3042 * md5-crypt/Makefile: Likewise.
3043 * sysdeps/mach/hurd/Makefile: Likewise.
3044
3045 * Makeconfig (move-if-change): New variable.
3046 * iconvdata/Makefile (move-if-change): Removed.
3047 * manual/Makefile (move-if-change): Set only if undefined, use
3048 local script by default.
3049 * sunrpc/Makefile (move-if-change): Removed.
3050 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3051 $(move-if-change).
3052
3053 * elf/Makefile: Remove all references to obsolete file
3054 $(objpfx)rtldtbl.h.
3055 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
3056
3057 1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3058
3059 * elf/dl-close.c (_dl_close): Add debugging message.
3060
3061 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3062
3063 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3064 to get Linux version and not gcc version.
3065 Reported by Alan Curry <pacman@cqc.com>.
3066
3067 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3068
3069 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3070 pointers - return unknown error message instead.
3071 Reported by Alan Curry <pacman@cqc.com>.
3072
3073 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
3074
3075 * iconvdata/Makefile (modules, sed-generated-headers,
3076 perl-generated-headers): ibm424.h is perl generated. Make
3077 necessary modifications to compile without perl.
3078
3079 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
3080
3081 * hesiod/hesiod.c (read_config_file): Fix typo.
3082
3083 1998-05-24 Ulrich Drepper <drepper@cygnus.com>
3084
3085 * version.h: Bump VERSION.
3086
3087 * csu/Makefile (distribute): Add munch-tmpl.c.
3088
3089 1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3090
3091 * nis/nis_defaults.c: Fix buffer problems and typos.
3092
3093 1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
3094
3095 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3096 Patch by Fred Fish.
3097
3098 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
3099
3100 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3101 overwriting bugs.
3102
3103 * libio/strops.c (_IO_str_underflow): Read newly available
3104 character from buffer as unsigned.
3105
3106 1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
3107
3108 * catgets/Makefile (distribute): Add xopen-msg.h.
3109 (generated): Add de.msg and de.cat.
3110 (tests): Add do-gencat-test.
3111 (do-gencat-test): New goal. Run gencat on a generated msg file.
3112 * catgets/xopen-msg.h: New file.
3113
3114 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
3115
3116 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3117 functions. Optimize filename creation a bit.
3118
3119 1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
3120
3121 * stdlib/random_r.c: Help gcc to optimize the code.
3122 Patch by Joe Keane <jgk@jgk.org>.
3123
3124 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
3125
3126 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3127 tsearch calls.
3128
3129 1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3130
3131 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3132 it.
3133
3134 1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
3135
3136 * wcsmbs/wcsnrtombs.c: Correct computation of result.
3137 * wcsmbs/wcsrtombs.c: Likewise.
3138
3139 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3140 * wcsmbs/wcsmbs-tst1.c: New file.
3141
3142 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3143
3144 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3145 as 1.
3146
3147 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3148 weak.
3149
3150 1998-05-21 Philip Blundell <philb@gnu.org>
3151
3152 * sysdeps/arm/fpu_control.h: Replace stub file with real
3153 implementation.
3154 * sysdeps/arm/fpu/bits/fenv.h: New file.
3155 * sysdeps/arm/fpu/fesetround.c: Likewise.
3156 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3157 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3158 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3159 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3160 * sysdeps/arm/fpu/fegetenv.c: Likewise.
3161 * sysdeps/arm/fpu/fesetenv.c: Likewise.
3162
3163 1998-05-21 16:34 Richard Henderson <rth@cygnus.com>
3164
3165 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3166 read instead of mmap.
3167
3168 1998-05-21 8:16 Richard Henderson <rth@cygnus.com>
3169
3170 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3171 directly instead of include_next. Add missing semicolons.
3172 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3173 Add missing semicolons.
3174
3175 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
3176
3177 * iconvdata/gconv-modules: Add more aliases to please java
3178 environments.
3179
3180 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
3181
3182 * stdio-common/vfprintf.c (process_arg): Fix typo.
3183
3184 * iconvdata/TESTS: New tests for EUC-KR.
3185
3186 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3187 * iconvdata/testdata/EUC-KR: New file.
3188
3189 1998-05-20 07:26 H.J. Lu <hjl@gnu.org>
3190
3191 * math/libm-test.c (hypot_test): Fix a typo.
3192
3193 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
3194
3195 * stdio-common/vfprintf.c: When precision is specified for %ls or
3196 %S handle it correctly.
3197
3198 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3199
3200 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3201 the" in one line - fixed it.
3202 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3203 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3204 * posix/unistd.h: Likewise
3205
3206 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3207
3208 * Makeconfig (rpath-link): Add resolvobjdir.
3209 (resolvobjdir): New variable.
3210 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3211
3212 1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
3213
3214 * elf/dl-close.c: Call shared object terminators at the right time.
3215 Patch by Philippe Troin <phil@fifi.org>.
3216
3217 1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3218
3219 * Make-dist (+tsrcs): Also add *.map for every member of
3220 $(extra-libs).
3221
3222 * Makefile (distribute): Don't distribute scripts/printsources and
3223 scripts/=__ify. Distribute FAQ.in.
3224 (rpm/%): Don't pass subdirs to sub-make.
3225
3226 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3227 instead of $(no_deps).
3228
3229 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3230
3231 * sysdeps/generic/setenv.c: Protect against GNU C extension.
3232 (KNOWN_VALUE, STORE_VALUE): Do it right.
3233 (setenv): Remove unused variable.
3234
3235 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3236
3237 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3238 (CFLAGS-zdump.c): Add $(tz-cflags).
3239
3240 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
3241 return type.
3242
3243 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3244
3245 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
3246 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3247 if use_localtime.
3248 * time/tzset.c: Update prototype of __tzfile_compute.
3249 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
3250 tm_zone and tm_offset here if __use_tzfile.
3251
3252 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3253
3254 * Makerules: Install libc.a even if there are no object file.
3255
3256 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3257
3258 * Makerules (do-makelib): Don't force creating library from
3259 scratch, which is faster and gets correct behaviour if $(subdirs)
3260 is incomplete.
3261
3262 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3263
3264 * Makerules (do-stamp): Make it work when building in source
3265 directory.
3266
3267 1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
3268
3269 * elf/dl-load.c: Rename option and variable from ignore-rpath to
3270 inhibit-rpath.
3271 * elf/dl-support.c: Likewise.
3272 * elf/ldsodefs.h: Likewise.
3273 * elf/rtld.c: Likewise.
3274 * iconvdata/run-iconv-test.sh: Likewise.
3275
3276 1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
3277
3278 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3279 variable using the value.
3280 * elf/ldsodefs.h: Declare _dl_ignore_path.
3281 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3282 object against list in _dl_ignore_path and ignore RPATH if on the list.
3283 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3284 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3285 to make sure we get the correct helper libraries loaded.
3286
3287 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
3288 "RPATH" string in call to fillin_rpath instead.
3289 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3290
3291 1998-05-19 Ulrich Drepper <drepper@cygnus.com>
3292
3293 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3294 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3295
3296 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3297
3298 * manual/terminal.texi (I/O Queues): Fix typo.
3299
3300 * manual/stdio.texi (Closing Streams): Fix grammar.
3301
3302 * manual/arith.texi (Absolute Value): Correct typo.
3303 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3304
3305 1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
3306
3307 * elf/rtld.c (process_envvars): Fix typo. Don't handle
3308 LD_PROFILE_OUTPUT in SUID binaries.
3309 * intl/dcgettext.c: In SUID binaries don't let language part of
3310 locale value contain path elements.
3311 * intl/explodename.h: Define new function _nl_find_language.
3312 * intl/loadinfo.h: Declare _nl_find_language.
3313 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3314 language part it drop the value is path element is contained.
3315
3316 * locale/setlocale.c: Fix typo.
3317
3318 1998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
3319
3320 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3321
3322 * sysdeps/arm/strlen.S: Support both big and little endian processors.
3323
3324 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3325 log, not a byte-count.
3326
3327 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3328 a.out compatibility.
3329
3330 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3331
3332 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3333 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3334 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3335 * posix/unistd.h: Likewise.
3336 * math/math.h: Likewise.
3337 * manual/users.texi (Manipulating the Database): Likewise.
3338 * manual/signal.texi (Job Control Signals): Likewise.
3339 * manual/message.texi (The gencat program): Likewise.
3340 * manual/filesys.texi (Hard Links): Likewise.
3341 * manual/math.texi (SVID Random): Likewise.
3342 * manual/llio.texi (Waiting for I/O): Likewise.
3343 * manual/io.texi (File Name Errors): Likewise.
3344 * manual/conf.texi (String Parameters): Likewise.
3345 * manual/arith.texi (Infinity): Likewise.
3346 * malloc/malloc.c: Likewise.
3347 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3348 * csu/Makefile: Likewise.
3349
3350 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
3351
3352 * manual/memory.texi: Add back accidently removed line.
3353
3354 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
3355
3356 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3357 (timeout_handler): New function.
3358 (LOCK_FILE, UNLOCK_FILE): New macros.
3359 Implement file locking with timeout.
3360 (getutent_r_file, internal_getut_r, getutline_r_file,
3361 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3362 locking.
3363
3364 1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
3365
3366 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3367 directory.
3368
3369 1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3370
3371 * rpm/Makefile: Delete inclusion of version.mk.
3372
3373 1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3374
3375 * libc.map: Add all libio functions needed libstdc++ with version
3376 2.0, sort entries.
3377
3378 1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3379
3380 * iconvdata/Makefile (generated): Add *.stmp files.
3381
3382 1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3383
3384 * timezone/Makefile (testdata, build-testdata): New variables, use
3385 them in rules for test data.
3386 ($(objpfx)tst-timezone.out): Depend on test data.
3387 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3388 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3389 New rules to build test data.
3390 (tst-timezone-ENV): Pass TZDIR to point to test data.
3391
3392 1998-05-18 Ulrich Drepper <drepper@cygnus.com>
3393
3394 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3395 (the designation sequence is disturbing).
3396
3397 1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3398
3399 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3400 * sunrpc/xdr_rec.c: Likewise.
3401
3402 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3403
3404 * posix/Makefile (tests): Add runptests.
3405 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3406 (before-compile): Add ptestcases.h.
3407 (ptestscases.h): Add rule to generate from PTESTS.
3408 * posix/runptests.c: New file.
3409 * posix/PTESTS: New file.
3410 * posix/PTESTS2C.sed: New file.
3411
3412 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3413
3414 * iconv/loop.c: Let user add code to use and set paramaters.
3415
3416 * iconvdata/iso-2022-kr.c: Correct to-loop.
3417
3418 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3419 point to output buffer.
3420
3421 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3422 hanja.
3423
3424 * iconvdata/TESTS: Add ISO-2022-KR test.
3425 * iconvdata/testdata/ISO-2022-KR: New file.
3426
3427 1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
3428
3429 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3430 and internal_use.
3431 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3432 and internal_use.
3433 * wcsmbs/btowc.c: Likewise.
3434 * wcsmbs/mbrtowcs.c: Likewise.
3435 * wcsmbs/mbsnrtowcs.c: Likewise.
3436 * wcsmbs/mbsrtowcs.c: Likewise.
3437 * wcsmbs/wcrtomb.c: Likewise.
3438 * wcsmbs/wcsnrtombs.c: Likewise.
3439 * wcsmbs/wcsrtombs.c: Likewise.
3440 * wcsmbs/wctob.c: Likewise.
3441 * iconv/skeleton.c: Increment invocation_counter.
3442 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3443 sequence first.
3444
3445 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3446 * iconvdata/iso-2022-jp.c: Likewise.
3447 * iconvdata/iso646.c: Likewise.
3448
3449 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3450
3451 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3452
3453 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3454
3455 * sysdeps/generic/setenv.c (setenv): Remove optimization for
3456 overwriting existing values if it fits.
3457
3458 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
3459
3460 * posix/wordexp-test.c: Avoid duplicate messages.
3461
3462 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3463 tsearch. Correctly interpret values returned by those functions.
3464 (unsetenv): Store pointer to string, not pointer to string pointer.
3465
3466 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
3467 DST information and offset in them.
3468 * time/tzset.c (__tz_convert): Pass extra parameters to
3469 __tzfile_compute. Compute equivalent values for use of tz_rules.
3470
3471 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
3472
3473 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3474 stamp files to avoid unnecessary recompilation.
3475 (gen-8bit-gap-table): Likewise.
3476 (move-if-change): New variable.
3477 (all generated .h rules): Change to be .stmp rules.
3478 (%.h): New rule; depend on %.stmp; no commands.
3479 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3480 gen-8bit-gap-1.sh.
3481
3482 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
3483
3484 * Makerules (libc-map): Deleted.
3485 (load-map-file): Set to the appropriate compiler switch, not
3486 just the file name. If libfoo-map is not set, look for a
3487 libfoo.map in the current directory and $(..).
3488 (map-file): New variable, contains just the mapfile name.
3489 (build-shlib): Adjust for new value of load-map-file.
3490 (libc.so): Correct dependencies.
3491
3492 * extra-lib.mk: Correct shlib dependencies since libfoo-map
3493 may not be set anymore.
3494
3495 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3496 Delete libdl-map. Tweak ld.so link rule to work with changed
3497 variable settings in Makerules.
3498 * iconvdata/Makefile: Tweak build-module to work with changed
3499 variable settings in Makerules.
3500
3501 * db/Makefile: Delete libdb-map.
3502 * hesiod/Makefile: Delete libnss_hesiod-map.
3503 * linuxthreads/Makefile: Delete libpthread-map.
3504 * locale/Makefile: Delete libBrokenLocale-map.
3505 * login/Makefile: Delete libutil-map.
3506 * math/Makefile: Delete libm-map.
3507 * md5-crypt/Makefile: Delete libcrypt-map.
3508 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3509 libnss_nisplus-map, and libnss_compat-map.
3510 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3511 libnss_ldap-map.
3512 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3513 * rt/Makefile: Delete librt-map.
3514
3515 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
3516
3517 * configure.in: Instead of substituting `yes' or `no' for whether
3518 --no-whole-archive is available, set @no_whole_archive@ to the
3519 appropriate gcc switch or the empty string. Likewise for
3520 -fno-exceptions.
3521 * config.make.in: Replace have-no-whole-archive with
3522 no-whole-archive and have-no-exceptions with no-exceptions.
3523 * Makerules: Delete stanzas setting no-whole-archive and
3524 no-exceptions.
3525
3526 * sunrpc/Makefile: Use move-if-change to update generated .h
3527 and .c files.
3528
3529 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3530
3531 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3532 of strchr loop.
3533
3534 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3535
3536 * time/tzfile.c (__tzfile_read): Remove unused variable info.
3537 (__tzfile_compute): Likewise.
3538
3539 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3540
3541 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3542 defines from Linux 2.1.102.
3543
3544 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
3545
3546 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3547
3548 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
3549
3550 * inet/netinet/in.h: Add defines for multicast.
3551 Reported by Jeremy Hall <jhall@UU.NET>.
3552
3553 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3554 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3555 and unsetenv. Optimize _LIBC case.
3556 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3557 Define functions with leading __.
3558
3559 * time/tzfile.c: Correct handling of global variables daylight,
3560 timezone, and tzname.
3561 * time/tzset.c: Likewise.
3562 * timezone/Makefile (tests): Add tst-timezone.
3563 * timezone/tst-timezone.c: New file.
3564
3565 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
3566
3567 * timezone/asia: Update from tzdata1998d.
3568 * timezone/australasia: Likewise.
3569 * timezone/europe: Likewise.
3570
3571 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
3572
3573 * string/string.h: Don't use the optimized versions for the string
3574 functions if optimizing for space.
3575
3576 * stdlib/tst-strtod.c: Add test for -0.0.
3577
3578 * io/ftwtest-sh: Prevent tests from being run by root.
3579
3580 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3581 last addition. Patch by wkpark@chem.skku.ac.kr.
3582
3583 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3584
3585 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3586 table.
3587
3588 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3589
3590 * iconvdata/gen-8bit.sh: New file.
3591 * iconvdata/gen-8bit-gap.sh: New file.
3592 * iconvdata/gen-8bit-gap-1.sh: New file.
3593 * iconvdata/Makefile (generate-8bit-table): Use shell script
3594 instead of writing the commands directly.
3595 (generate-8bit-gap-table): Likewise.
3596 ($(objpfx)iso8859-7jp.h): Likewise.
3597 (generated headers): Depend on shell script instead of Makefile.
3598 (before-compile): Add $(perl-generated-headers) only if perl is
3599 available.
3600 (headers): Depend on $(perl-generated-headers) only if perl is
3601 available.
3602 (sed-generated-headers): Remove iso8859-7jp.h.
3603
3604 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3605
3606 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
3607 (/): Removed.
3608
3609 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
3610
3611 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3612 formed charset names to getfct. Let user override charset
3613 selection by mention charset in locale name.
3614
3615 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
3616
3617 * posix/glob.c: Move to ...
3618 * sysdeps/generic/glob.c: ...here.
3619 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3620 elements.
3621 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3622 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3623 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3624 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3625 subdir.
3626 * libc.map [GLIBC_2.1]: Add glob and globfree.
3627
3628 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
3629
3630 * sunrpc/Makefile (generated): Restore old list.
3631
3632 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3633
3634 * rt/Makefile (tests): Define only if we have a thread library.
3635
3636 * nis/ypclnt.c: Add: #include <errno.h>.
3637
3638 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
3639
3640 * configure.in: Define and substitute RELEASE as well as
3641 VERSION.
3642 * config.make.in: Add RELEASE and VERSION to be substituted.
3643 * Makeconfig: Delete all references to version.mk.
3644 * Make-dist: Likewise.
3645 * MakeTAGS: Likewise.
3646 * elf/Makefile: Likewise.
3647
3648 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3649
3650 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3651 yp_get_default_domain.
3652
3653 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
3654
3655 * sysdeps/posix/profil.c (__profil): Don't define act and timer
3656 variables as static. Patch by Joe Keane <jgk@jgk.org>.
3657
3658 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3659
3660 * malloc/malloc.c: Fix for NO_THREADS case.
3661
3662 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
3663
3664 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3665 Remove statfs and fstatfs.
3666 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3667 and pwrite as EXTRA.
3668 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3669
3670 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
3671
3672 * libc.map: Add capget and capset.
3673
3674 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
3675
3676 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3677 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3678 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
3679 and Matt McLean <keys@brio.yikes.com>.
3680
3681 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
3682
3683 * misc/Makefile (tests): Add tst-mntent.
3684 * misc/tst-mntent.c: New file.
3685
3686 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
3687
3688 * autolock.sh: Removed.
3689 * manual/move-if-change: Removed.
3690
3691 * scripts: New directory.
3692 * =__ify: Moved to scripts.
3693 * config.guess: Likewise.
3694 * config.sub: Likewise.
3695 * gen-FAQ.pl: Likewise.
3696 * install-sh: Likewise.
3697 * mkinstalldirs: Likewise.
3698 * move-if-change: Likewise.
3699 * printsources: Likewise.
3700 * rellns.sh: Likewise.
3701 * test-installation.pl: Likewise.
3702
3703 * configure.in: Look in scripts for config.guess, config.sub,
3704 install-sh.
3705 * Makefile: Distribute all above files in their
3706 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
3707 * manual/Makefile: Find mkinstalldirs and move-if-change in
3708 $(..)scripts. Drop them from distribute. Minor cleanups.
3709 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3710 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3711 * timezone/Makefile: Find rellns-sh in scripts.
3712
3713 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
3714
3715 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3716 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3717
3718 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
3719
3720 * Makefile (+subdir-inits): Delete variable.
3721 (+init_subdirs): Likewise.
3722 (aux): Likewise.
3723 (before-compile): Likewise.
3724 (libc-init): Delete stanza.
3725 (version-info.h): Delete rule and associated variable.
3726 (distribute): Don't distribute moved files.
3727 * Makerules (interp-obj): It lives in elf now. Only use it
3728 if $(elf) is set. Delete rule to build it.
3729 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
3730 version.o and version-info.h. Minor cleanups.
3731 (routines): Add libc-init, sysdep, version.
3732 (generated): Add version-info.h.
3733 * elf/Makefile: Build interp.os.
3734
3735 * interp.c: Moved to elf.
3736 * set-init.c: Moved to csu.
3737 * munch-init.c: Likewise.
3738 * munch.awk: Likewise.
3739 * version.c: Likewise.
3740
3741 * Rules: Unconfuse syntax highlighting with a fake comment.
3742
3743 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
3744
3745 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3746 syscalls.
3747
3748 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
3749
3750 * iconvdata/Makefile (generated): Set to *-generated-headers
3751 plus gconv-modules.
3752 (tests): Set to iconv-test.
3753 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3754 * posix/Makefile (generated): Set to wordexp-test-result*.
3755 * sunrpc/Makefile (generated): Remove rpcsvc/*.
3756 (generated-dirs): Add rpcsvc.
3757 * libio/Makefile: Clean up.
3758
3759 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
3760
3761 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3762 * Makerules: Likewise.
3763 (+depfiles): Also add sysdep-others.
3764 * Rules: Likewise.
3765 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3766 * iconvdata/Makefile (distribute): Add TESTS.
3767 * localedata/Makefile (repertoires): Rename to repertoiremaps.
3768 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3769 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3770 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3771 sysdep-others, not others.
3772 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3773 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3774
3775 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
3776
3777 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3778 cost_hi and cost_lo.
3779 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3780 Cost parameter and set cost_lo to INT_MAX.
3781 (add_module): Take new parameter and use it to initialize cost_lo.
3782 (read_conf_file): Count modules being loaded and use counter for
3783 new parameter to add_module.
3784 * iconv/gconv_db.c (find_derivation): When look for cost examine
3785 cost_hi and cost_lo.
3786
3787 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
3788
3789 * string/bits/string2.h: Don't use unsigned char * unless really
3790 necessary since this disturbs C++.
3791 * sysdeps/i386/i486/bits/string.h: Likewise.
3792 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3793
3794 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3795
3796 * malloc/malloc.c (top_check): Fix last change.
3797
3798 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
3799
3800 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3801 Patch by Matt McLean <keys@brio.yikes.com>.
3802
3803 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3804
3805 * Makerules (lib): Put back dependency on lib-noranlib.
3806 ($(subdirs-stamps)): Remove dependency on stamp.* again.
3807
3808 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
3809
3810 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3811 test in __pow2 implementation.
3812
3813 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
3814
3815 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3816 Still need *FLAGS-.o because we still sometimes build .o files.
3817 * db2/Makefile: Don't build libndbm.a if !build-static.
3818
3819 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3820
3821 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3822
3823 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
3824
3825 * configure.in: New test for broken gcc on PowerPC.
3826 * sysdeps/powerpc/atomicity.h: Use result of test.
3827 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3828
3829 * math/libm-test.c: Update many of the epsilon to match actual
3830 performance.
3831
3832 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3833 * sysdeps/libm-ieee754/e_expf.c: Likewise.
3834 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3835 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3836
3837 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3838
3839 * sysdeps/powerpc/elf/libc-start.c: New file.
3840 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3841 * sysdeps/powerpc/elf/start.c: Delete.
3842
3843 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3844 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
3845
3846 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3847 few patches.
3848
3849 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
3850
3851 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3852 test for integer.
3853
3854 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3855 * sysdeps/libm-i387/e_powl.S: Likewise.
3856
3857 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3858
3859 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3860 (malloc_check, free_check, realloc_check, memalign_check): Use
3861 them to improve overrun checking. Overruns of a single byte and
3862 corruption of the top chunk are now detected much more reliably.
3863
3864 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3865
3866 * math/libm-test.c (pow_test): Add test for special value from PR
3867 libc/590.
3868
3869 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
3870
3871 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3872 including linux/errno.h.
3873
3874 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
3875
3876 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3877 Use correct types.
3878 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3879 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3880
3881 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3882
3883 * Makerules (elide-routines.*): Fix assignments.
3884 (do-makelib): Fix typo.
3885 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3886 makefile.
3887
3888 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3889
3890 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3891 $(objpfx)sysd-dirs): Move them...
3892 * Makeconfig: ... here.
3893 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3894 (stubs): Fix circular depedency.
3895 (do-makelib): Clean up.
3896 (lib): Don't depend on lib-noranlib.
3897 ($(objpfx)stamp.oS): Remove special case for empty
3898 static-only-routines.
3899 (elide-routines.o): Add $(static-only-routines).
3900 (elide-routines$o): Define this instead of elide-routines.$o.
3901 * manual/Makefile (stubs): Fix circular dependency.
3902
3903 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3904
3905 * libio/Makefile (routines): Remove duplicate oldiofclose.
3906
3907 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3908
3909 * string/strcoll.c: Use uint32_t instead of u_int32_t.
3910
3911 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3912
3913 * libio/stdio.h: Fix typo in __REDIRECT.
3914 * io/sys/stat.h: Likewise.
3915 Reported by Myles Uyema <myles@uyema.nws.net>.
3916
3917 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3918
3919 * locale/programs/localedef.c (options): Fix help message.
3920
3921 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3922
3923 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3924 relocations. Patch by Joe Keane <jgk@jgk.org>.
3925
3926 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
3927
3928 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
3929 ptmalloc_unlock_all, but re-initializes the mutexes instead.
3930 (ptmalloc_init): Use new function in thread_at_fork call.
3931 (thread_atfork_static): Likewise.
3932 Suggested by Wolfram Gloger and Xavier Leroy.
3933
3934 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
3935
3936 * signal/signal.h: Move definitions of struct sigstack and
3937 struct sigaltstack into separate file and include it.
3938 * sysdeps/generic/bits/sigstack.h: New file.
3939 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3940 * signal/Makefile (headers): Add bits/sigstack.h.
3941
3942 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3943
3944 * elf/rtld.c (dl_main): Fix check for number of references to
3945 interpreter object.
3946
3947 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3948
3949 * elf/rtld.c (dl_main): Check has_interp after executing platform
3950 specific code.
3951
3952 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3953
3954 * iconvdata/run-iconv-test.sh: Fix typo.
3955
3956 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3957
3958 * Makerules (+depfiles): Add depfiles for $(tests-static).
3959 Simplified.
3960
3961 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3962
3963 * manual/terminal.texi (Special Characters): Fix description of
3964 c_cc indexes.
3965
3966 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3967
3968 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3969 array.
3970 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
3971 of c_cc array.
3972
3973 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
3974
3975 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3976
3977 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
3978
3979 * intl/locale.alias: Update russian entry.
3980
3981 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
3982
3983 * Makerules (static-only-routines): Reimplement in terms of
3984 elide-routines.os.
3985 (shared-only-routines): Reimplement in terms of
3986 elide-routines.X [where X is all object-suffixes except .os].
3987
3988 (stubs): Create stubs file inside the subdir.
3989 (common-mostlyclean): Remove stubs file from inside the subdir.
3990 * Makefile (subdir-stubs): Look for stubs files inside the
3991 subdirs.
3992 * manual/Makefile (stubs): Create dummy stubs file inside the
3993 subdir.
3994
3995 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
3996
3997 Build speed improvement: make ar less of a bottleneck.
3998
3999 * Makerules (stamp$o): Just record the object list for later
4000 use.
4001 (libc_foo.a): New rule, depends on subdir stamp files; builds
4002 and ranlibs the library from the lists saved in those files.
4003
4004 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4005 (subdirs-stamp-o): Likewise.
4006
4007 (ar-symtab-name): Delete variable.
4008 (lib%.a): Delete target.
4009 (libc_foo.a(bar.%)): Delete target.
4010 (libc_foo.a($(ar-symtab-name))): Delete target.
4011
4012 (objects objs): Just depend on libobjs and extra-objs.
4013 (libobjs): Depend on the stamp files, not the objects.
4014 (extra-objs): New target, just depends on the extra-objs list.
4015
4016 (CREATE_ARFLAGS): Kill the `ar S' hack.
4017
4018 * config.make.in (have-ar-S): Deleted.
4019 * configure.in: Delete test for `ar S'. Add test to determine
4020 whether ranlib does anything useful.
4021
4022 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
4023
4024 * inet/tst-ether_aton.c: Include <stdio.h>.
4025
4026 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
4027
4028 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4029
4030 * locale/Makefile (distribute): Add programs/repertoire.h.
4031 (localedef-modules): Add repertoire.
4032 (CPPFLAGS): Define REPERTOIREMAP_PATH.
4033 * locale/programs/repertoire.c: New file.
4034 * locale/programs/repertoire.h: New file.
4035 * locale/programs/charmap.c: Starting fixing character set handling
4036 to handle multi-byte encodings.
4037 * locale/programs/charset.c: Likewise.
4038 * locale/programs/charset.h: Likewise.
4039 * locale/programs/ld-collate.c: Likewise.
4040 * locale/programs/ld-ctype.c: Likewise.
4041 * locale/programs/linereader.c: Likewise.
4042 * locale/programs/localedef.c: Likewise.
4043 * locale/programs/locfile-kw.gperf: Likewise.
4044 * locale/programs/locfile-kw.h: Likewise.
4045 * locale/programs/locfile-token.h: Likewise.
4046 * locale/programs/locfile.h: Likewise.
4047 * locale/programs/stringtrans.c: Likewise.
4048
4049 * locale/programs/locfile.c: Interpret I18NPATH value as base of
4050 path, extended with "/locales/".
4051
4052 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
4053
4054 * sysdeps/arm/memset.S: Fix off by one error.
4055
4056 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4057 __syscall_error rather than syscall_error directly.
4058
4059 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
4060
4061 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4062 mmap() syscall for ARM.
4063
4064 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4065 binaries.
4066
4067 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
4068
4069 * locale/programs/localedef.c: Recognize repertoire-map option.
4070
4071 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
4072
4073 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4074 converting non-hex numbers.
4075 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4076
4077 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
4078
4079 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4080 check overflow.
4081 * resolv/Makefile (tests): New, add tst-aton.
4082 * resolv/tst-aton.c: New file.
4083
4084 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
4085
4086 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4087 semicolon.
4088
4089 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
4090
4091 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4092 by letting the later modify the variable computing the total directly.
4093 * wcsmbs/mbsrtowcs.c: Likewise.
4094 * wcsmbs/wcsnrtombs.c: Likewise.
4095 * wcsmbs/wcsrtombs.c: Likewise.
4096
4097 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4098 it is not used.
4099 * wcsmbs/wctoc.c: Likewise.
4100
4101 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4102 * wcsmbs/wcsrtombs.c: Likewise.
4103
4104 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4105
4106 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
4107
4108 * iconv/skeleton.c: Correct counting of actually converted
4109 characters.
4110
4111 * intl/localealias.c (read_alias_file): Use unsigned char for
4112 local variables. Remove unused variable tp.
4113 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4114 for type of codeset. For loosing Solaris systems.
4115 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4116 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4117 len if not needed.
4118 Patches by Jim Meyering.
4119
4120 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4121 wcsrtombs must put it into initial state.
4122
4123 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4124
4125 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
4126 argument of bswap_XX macro.
4127
4128 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4129
4130 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4131 variable name.
4132
4133 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
4134
4135 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4136 semun and use stdarg macros to get the value.
4137 * sysdeps/generic/semctl.c: Don't use union semun.
4138
4139 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4140
4141 * string/basename.c [!_LIBC]: Define function as gnu_basename.
4142
4143 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4144 strings.h.
4145
4146 * stdlib/grouping.h: Accept ungrouped numbers even if locale
4147 defines grouping.
4148
4149 * intl/hash-string.h: Don't include values.h.
4150
4151 * inet/Makefile (tests): Add tst-ether_aton.
4152 * inet/tst-ether_aton.c: New file.
4153
4154 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4155 in hex conversion.
4156 * inet/ether_aton.c (ether_aton): Declare result variable static.
4157 Reported by ahyung@unixg.ubc.ca.
4158
4159 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4160 Define macro _SEM_SEMUN_UNDEFINED instead.
4161 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4162
4163 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
4164 * stdio-common/Makefile (tests): Add tst-wc-printf.
4165
4166 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
4167
4168 * manual/stdio.texi (Variable Arguments Output): Correct variable
4169 name. Patch from Ewan Mellor <em@nexus.co.uk>
4170
4171 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
4172
4173 * intl/dcgettext.c: Remove unneeded definition of
4174 internal_function.
4175
4176 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4177
4178 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4179 instead of do-iconv-test.
4180 ($(objpfx)gconv-modules): Define rule only if objpfx is not
4181 empty.
4182
4183 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4184
4185 * string/string.h: Fix feature test.
4186
4187 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4188
4189 * iconvdata/iso646.c (BODY): Don't use character constants that
4190 depend on signedness of char.
4191
4192 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
4193
4194 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4195 (sysdep_routines): Add s_pread64 and s_pwrite64.
4196
4197 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
4198
4199 * iconvdata/Makefile (distribute): Remove generated .h files.
4200 * iconvdata/koi8-r.h: Removed.
4201 * iconvdata/latin-greek-1.h: Removed.
4202 * iconvdata/latin-greek.h: Removed.
4203
4204 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4205 * iconvdata/KOI-8: Likewise.
4206 * iconvdata/KOI-8..UTF8: Likewise.
4207 * iconvdata/KOI8-R: Likewise.
4208 * iconvdata/KOI8-R..UTF8: Likewise.
4209
4210 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4211
4212 * streams/Makefile (headers): Add sys/stropts.h.
4213 * streams/sys/stropts.h: New file.
4214
4215 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4216
4217 * sysdeps/unix/sysv/linux/ttyname.c,
4218 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4219 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4220
4221 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4222
4223 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4224 argument of _itoa_word.
4225
4226 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4227
4228 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4229 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4230 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4231 sigprocmask, resp., instead of EXTRA.
4232
4233 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4234 s_pread64 and s_pwrite64.
4235
4236 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
4237
4238 * iconvdata/Makefile: Correct rules to generate gap table.
4239 * iconvdata/gap.pl: Simplify.
4240
4241 * iconvdata/TESTS: Name new tests.
4242 * iconvdata/testdata/CP1250: New file.
4243 * iconvdata/testdata/CP1250..UTF8: New file.
4244 * iconvdata/testdata/CP1251: New file.
4245 * iconvdata/testdata/CP1251..UTF8: New file.
4246 * iconvdata/testdata/CP1252: New file.
4247 * iconvdata/testdata/CP1252..UTF8: New file.
4248 * iconvdata/testdata/CP1253: New file.
4249 * iconvdata/testdata/CP1253..UTF8: New file.
4250 * iconvdata/testdata/CP1254: New file.
4251 * iconvdata/testdata/CP1254..UTF8: New file.
4252 * iconvdata/testdata/CP1255: New file.
4253 * iconvdata/testdata/CP1255..UTF8: New file.
4254 * iconvdata/testdata/CP1256: New file.
4255 * iconvdata/testdata/CP1256..UTF8: New file.
4256 * iconvdata/testdata/CP1257: New file.
4257 * iconvdata/testdata/CP1257..UTF8: New file.
4258
4259 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
4260
4261 * iconvdata/Makefile: Add rules for ISO-2022-KR.
4262 * iconvdata/iso-2022-kr.c: New file.
4263
4264 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4265 and ISO-2022-KR.
4266
4267 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
4268
4269 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4270 iso8859-8 and iso8859-10.
4271 * iconvdata/iso8859-5.c: Change to use gap method.
4272 * iconvdata/iso8859-7.c: Likewise.
4273 * iconvdata/iso8859-8.c: Likewise.
4274 * iconvdata/iso8859-10.c: Likewise.
4275
4276 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4277 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4278 end of the loop.
4279 * iconvdata/iso-2022-jp.c: New file.
4280
4281 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4282 * iconvdata/ksc5601.h: Unify function interfaces.
4283 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4284 * iconvdata/uhc.c: Likewise.
4285
4286 * iconvdata/gb2312.h: Use correct types.
4287
4288 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4289 size elements of data.
4290
4291 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
4292
4293 * string/tst-svc.expect: Adapt for change in .input.
4294 * string/tst-svc.input: More tests.
4295
4296 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
4297
4298 * iconvdata/Makefile: Add rules for new modules.
4299 * iconvdata/gconv-modules: Likewise.
4300 * iconvdata/cp737.c: New file.
4301 * iconvdata/cp737.h: New file.
4302 * iconvdata/cp775.c: New file.
4303 * iconvdata/cp775.h: New file.
4304 * iconvdata/cp874.c: New file.
4305 * iconvdata/cp874.h: New file.
4306
4307 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
4308
4309 * iconvdata/Makefile: Create target directory before generating
4310 headers.
4311
4312 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4313
4314 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4315 __USER_LABEL_PREFIX__.
4316 (__ASMNAME, __ASMNAME2): New macros.
4317
4318 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
4319
4320 * elf/dl-load.c: Include sys/param.h for MAX.
4321
4322 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
4323
4324 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4325 __ftruncate the strong symbol, and add weak alias.
4326 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4327
4328 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
4329
4330 * termios/cfsetspeed.c: Make code cleaner and add missing const.
4331 Patch by Joe Keane <jgk@jgk.org>.
4332
4333 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4334 free()ing.
4335
4336 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
4337
4338 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4339 Patch by Thomas Bushnell, n/BSG.
4340
4341 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
4342
4343 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4344
4345 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
4346
4347 * iconvdata/Makefile: Put generated headers in build directory.
4348
4349 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
4350
4351 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4352 strsep as current directory.
4353
4354 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4355 Java. Add definitions for unicodelittle implementation.
4356 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4357 * iconv/gconv_simple.c: Define unicodelittle functions.
4358
4359 * iconv/iconv_prog.c: Make program print information about position
4360 of illegal character in input.
4361
4362 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4363 comparison of charset name.
4364 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4365 * iconvdata/ebcdic-at-de-a.c: Likewise.
4366 * iconvdata/ebcdic-at-de.c: Likewise.
4367 * iconvdata/ebcdic-ca-fr.c: Likewise.
4368 * iconvdata/euccn.c: Likewise.
4369 * iconvdata/eucjp.c: Likewise.
4370 * iconvdata/euckr.c: Likewise.
4371 * iconvdata/euctw.c: Likewise.
4372 * iconvdata/hp-roman8.c: Likewise.
4373 * iconvdata/iso6937.c: Likewise.
4374 * iconvdata/iso8859-1.c: Likewise.
4375 * iconvdata/iso8859-10.c: Likewise.
4376 * iconvdata/iso8859-2.c: Likewise.
4377 * iconvdata/iso8859-3.c: Likewise.
4378 * iconvdata/iso8859-4.c: Likewise.
4379 * iconvdata/iso8859-5.c: Likewise.
4380 * iconvdata/iso8859-6.c: Likewise.
4381 * iconvdata/iso8859-7.c: Likewise.
4382 * iconvdata/iso8859-8.c: Likewise.
4383 * iconvdata/iso8859-9.c: Likewise.
4384 * iconvdata/johab.c: Likewise.
4385 * iconvdata/koi-8.c: Likewise.
4386 * iconvdata/koi8-r.c: Likewise.
4387 * iconvdata/latin-greek-1.c: Likewise.
4388 * iconvdata/latin-greek.c: Likewise.
4389 * iconvdata/sjis.c: Likewise.
4390 * iconvdata/t61.c: Likewise.
4391 * iconvdata/uhc.c: Likewise.
4392
4393 * iconvdata/iso646.c: Add support for more ISO 646 variants.
4394 * iconvdata/TESTS: Add tests for ISO646 module.
4395 * iconvdata/gconv-modules: Add new modules.
4396 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4397 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4398 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4399 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4400 * iconvdata/testdate/DIN_66003: Likewise.
4401 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4402 * iconvdata/testdate/DS_2089: Likewise.
4403 * iconvdata/testdate/DS_2089..UTF8: Likewise.
4404 * iconvdata/testdate/ES: Likewise.
4405 * iconvdata/testdate/ES..UTF8: Likewise.
4406 * iconvdata/testdate/ES2: Likewise.
4407 * iconvdata/testdate/ES2..UTF8: Likewise.
4408 * iconvdata/testdate/GB_1988-80: Likewise.
4409 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4410 * iconvdata/testdate/IT: Likewise.
4411 * iconvdata/testdate/IT..UTF8: Likewise.
4412 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4413 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4414 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4415 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4416 * iconvdata/testdate/JUS_I.B1.002: Likewise.
4417 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4418 * iconvdata/testdate/KSC5636: Likewise.
4419 * iconvdata/testdate/KSC5636..UTF8: Likewise.
4420 * iconvdata/testdate/MSZ_7795.3: Likewise.
4421 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4422 * iconvdata/testdate/NC_NC00-10: Likewise.
4423 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4424 * iconvdata/testdate/NF_Z_62-010: Likewise.
4425 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4426 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4427 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4428 * iconvdata/testdate/NS_4551-1: Likewise.
4429 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4430 * iconvdata/testdate/NS_4551-2: Likewise.
4431 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4432 * iconvdata/testdate/PT: Likewise.
4433 * iconvdata/testdate/PT..UTF8: Likewise.
4434 * iconvdata/testdate/PT2: Likewise.
4435 * iconvdata/testdate/PT2..UTF8: Likewise.
4436 * iconvdata/testdate/SEN_850200_B: Likewise.
4437 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4438 * iconvdata/testdate/SEN_850200_C: Likewise.
4439 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4440
4441 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4442 * iconvdata/cns11643l1.h: Likewise.
4443 * iconvdata/latin-greek-1.h: Likewise.
4444 * iconvdata/latin-greek.h: Likewise.
4445 * iconvdata/koi8-r.h: Likewise.
4446 * iconvdata/jis0212.h: Likewise.
4447 * iconvdata/gb2312.h: Likewise.
4448 * iconvdata/ksc5601.h: Likewise.
4449
4450 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4451
4452 * iconvdata/Makefile: Add rules for lots of more modules.
4453 * iconvdata/cp1250.c: New file.
4454 * iconvdata/cp1251.c: New file.
4455 * iconvdata/cp1252.c: New file.
4456 * iconvdata/cp1253.c: New file.
4457 * iconvdata/cp1254.c: New file.
4458 * iconvdata/cp1255.c: New file.
4459 * iconvdata/cp1256.c: New file.
4460 * iconvdata/cp1257.c: New file.
4461 * iconvdata/ebcdic-dk-no-a.c: New file.
4462 * iconvdata/ebcdic-dk-no.c: New file.
4463 * iconvdata/ebcdic-es-a.c: New file.
4464 * iconvdata/ebcdic-es-s.c: New file.
4465 * iconvdata/ebcdic-es.c: New file.
4466 * iconvdata/ebcdic-fi-se-a.c: New file.
4467 * iconvdata/ebcdic-fi-se.c: New file.
4468 * iconvdata/ebcdic-fr.c: New file.
4469 * iconvdata/ebcdic-is-friss.c: New file.
4470 * iconvdata/ebcdic-it.c: New file.
4471 * iconvdata/ebcdic-pt.c: New file.
4472 * iconvdata/ebcdic-uk.c: New file.
4473 * iconvdata/ebcdic-us.c: New file.
4474 * iconvdata/ibm037.c: New file.
4475 * iconvdata/ibm038.c: New file.
4476 * iconvdata/ibm1004.c: New file.
4477 * iconvdata/ibm1026.c: New file.
4478 * iconvdata/ibm1047.c: New file.
4479 * iconvdata/ibm256.c: New file.
4480 * iconvdata/ibm273.c: New file.
4481 * iconvdata/ibm274.c: New file.
4482 * iconvdata/ibm275.c: New file.
4483 * iconvdata/ibm277.c: New file.
4484 * iconvdata/ibm278.c: New file.
4485 * iconvdata/ibm280.c: New file.
4486 * iconvdata/ibm281.c: New file.
4487 * iconvdata/ibm284.c: New file.
4488 * iconvdata/ibm285.c: New file.
4489 * iconvdata/ibm290.c: New file.
4490 * iconvdata/ibm297.c: New file.
4491 * iconvdata/ibm420.c: New file.
4492 * iconvdata/ibm423.c: New file.
4493 * iconvdata/ibm424.c: New file.
4494 * iconvdata/ibm437.c: New file.
4495 * iconvdata/ibm500.c: New file.
4496 * iconvdata/ibm850.c: New file.
4497 * iconvdata/ibm851.c: New file.
4498 * iconvdata/ibm852.c: New file.
4499 * iconvdata/ibm855.c: New file.
4500 * iconvdata/ibm857.c: New file.
4501 * iconvdata/ibm860.c: New file.
4502 * iconvdata/ibm861.c: New file.
4503 * iconvdata/ibm862.c: New file.
4504 * iconvdata/ibm863.c: New file.
4505 * iconvdata/ibm864.c: New file.
4506 * iconvdata/ibm865.c: New file.
4507 * iconvdata/ibm868.c: New file.
4508 * iconvdata/ibm869.c: New file.
4509 * iconvdata/ibm870.c: New file.
4510 * iconvdata/ibm871.c: New file.
4511 * iconvdata/ibm875.c: New file.
4512 * iconvdata/ibm880.c: New file.
4513 * iconvdata/ibm891.c: New file.
4514 * iconvdata/ibm903.c: New file.
4515 * iconvdata/ibm904.c: New file.
4516 * iconvdata/ibm905.c: New file.
4517 * iconvdata/ibm918.c: New file.
4518
4519 * locale/iso-4217.def: Update.
4520 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
4521
4522 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4523 formats.
4524
4525 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4526
4527 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4528 LD_LIBRARY_PATH.
4529
4530 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4531
4532 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4533 * Makefile: Likewise.
4534 * posix/Makefile: Likewise.
4535 * sysdeps/mach/hurd/Makefile: Likewise.
4536
4537 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4538
4539 * sysdeps/mach/hurd/bits/dirent.h: New file.
4540 * sysdeps/mach/hurd/readdir64.c: New file.
4541 * sysdeps/mach/hurd/readdir64_r.c: New file.
4542
4543 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
4544
4545 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4546 dprintf): Synchronize declarations with libio/stdio.h.
4547
4548 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
4549
4550 * elf/dlerror.c (dlerror): Don't assume that
4551 __libc_internal_tsd_get is defined. __libc_getspecific is already
4552 well-protected, so just use it directly.
4553
4554 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
4555
4556 * io/ftw.h (ftw): Fix typo.
4557
4558 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
4559
4560 * sysdeps/gnu/utmp_file.c: Fix typo.
4561
4562 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4563
4564 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
4565 one part of a test fails move on to the next test.
4566
4567 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
4568
4569 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4570
4571 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4572
4573 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4574 as pointers, not signed integers.
4575
4576 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4577
4578 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4579
4580 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
4581
4582 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4583 asm symbol name of functions.
4584 * include/features.h: Kill redundant test.
4585
4586 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4587 * io/ftw.h: Likewise.
4588 * io/sys/stat.h: Likewise.
4589 * io/sys/statfs.h: Likewise.
4590 * io/sys/statvfs.h: Likewise.
4591 * libio/stdio.h: Likewise.
4592 * resource/sys/resource.h: Likewise.
4593 * rt/aio.h: Likewise.
4594
4595 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4596 __FAVOR_BSD.
4597 * signal/signal.h: Use new macros for BSD vs. SysV signal().
4598
4599 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
4600 a dummy library.
4601 * misc/bsd-compat.c: Removed.
4602
4603 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
4604
4605 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4606 function declaration.
4607 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4608 and use them in conversion function.
4609 * iconvdata/Makefile (modules): Re-add ISO6446.
4610 * iconvdata/TEST: Add tests for ASCII variants.
4611 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4612 * iconvdata/testdata/ANSI_X3.4-1968: New file.
4613 * iconvdata/testdata/BS_4730: New file.
4614 * iconvdata/testdata/BS_4730..UTF8: New file.
4615
4616 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
4617
4618 * iconv/gconv.h (struct gconv_step): Add element stateful.
4619 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4620 to zero for all internal conversions.
4621 * iconv/skeleton.c: Initialize stateful depending on whether or not
4622 RESET_STATE is defined to one or zero respectively.
4623 * stdlib/mblen.c: Use stateful element of currently selected
4624 converter for result if S is NULL.
4625 * stdlib/mbtowc.c: Likewise.
4626 * stdlib/wctomb.c: Likewise.
4627
4628 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
4629
4630 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4631
4632 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4633
4634 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4635 character in comparison with uint32_t.
4636 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4637 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4638 Optimize BODY a bit.
4639
4640 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4641 be defined.
4642
4643 * iconv/skeleton.c: Also reset converted counter in case of an error.
4644 Call reset function using correct value for output buffer start.
4645
4646 * iconvdata/Makefile: Re-enable tests.
4647
4648 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4649 value for to-conversion.
4650
4651 * iconvdata/TESTS: Add new third column.
4652 * iconvdata/run-iconv-test.sh: Add support for charsets which are
4653 not ASCII based.
4654 * iconvdata/testdata/suntzus: New file.
4655
4656 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4657 while reading. Correctly used base. Little optimization.
4658 (__strtoul_internal): Likewise.
4659
4660 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4661 was wrong. Use explicit variable.
4662
4663 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
4664
4665 * configure.in: Check for awk.
4666 * config.make.in: Add AWK to be substituted.
4667
4668 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4669 * manual/users.texi: Fix typo exposed by above rewrite.
4670
4671 * Makefile: Invoke awk using AWK variable.
4672 * csu/Makefile: Likewise.
4673 * elf/Makefile: Likewise.
4674 * mach/Makefile: Likewise.
4675 * manual/Makefile: Likewise.
4676 * sysdeps/gnu/Makefile: Likewise.
4677 * sysdeps/mach/hurd/Makefile: Likewise.
4678 * sysdeps/unix/Makefile: Likewise.
4679 * timezone/Makefile: Likewise.
4680
4681 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
4682
4683 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4684 array index translation.
4685 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4686 these are defined.
4687
4688 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4689
4690 * sysdeps/mach/hurd/errlist.c: New file.
4691 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4692 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4693 semantics, so rename it.
4694
4695 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4696
4697 * iconvdata/run-iconv-test.sh: Make portable. Always test all
4698 conversions.
4699
4700 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
4701
4702 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4703 * wcsmbs/wcsnrtombs.c: Likewise.
4704
4705 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
4706
4707 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4708
4709 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4710
4711 * time/strftime.c (my_strftime): Initialize pad variable in
4712 declaration.
4713
4714 * iconvdata/big5.c: Don't use character constants in comparisons
4715 with unsigned value.
4716
4717 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
4718
4719 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4720 __libc_siglongjmp to GLIBC_2.1.
4721
4722 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4723 __strerror_r.
4724
4725 * iconv/Makefile: Don't run tests now.
4726
4727 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4728 with correct output buffer.
4729
4730 Major rewrite of the low-level gconv functionality.
4731 * iconv/gconv.c: Rewritten.
4732 * iconv/gconv.h: Likewise.
4733 * iconv/gconv_builtin.c: Likewise.
4734 * iconv/gconv_builtin.h: Likewise.
4735 * iconv/gconv_conf.c: Likewise.
4736 * iconv/gconv_int.h: Likewise.
4737 * iconv/gconv_open.c: Likewise.
4738 * iconv/gconv_simple.c: Likewise.
4739 * iconv/iconv.c: Likewise.
4740 * iconvdata/8bit-gap.c: Likewise.
4741 * iconvdata/8bit-generic.c: Likewise.
4742 * iconvdata/Makefile: Likewise.
4743 * iconvdata/big5.c: Likewise.
4744 * iconvdata/cns11643.c: Likewise.
4745 * iconvdata/cns11643.h: Likewise.
4746 * iconvdata/cns11643l1.c: Likewise.
4747 * iconvdata/cns11643l1.h: Likewise.
4748 * iconvdata/ebcdic-at-de-a.c: Likewise.
4749 * iconvdata/ebcdic-at-de.c: Likewise.
4750 * iconvdata/ebcdic-ca-fr.c: Likewise.
4751 * iconvdata/euccn.c: Likewise.
4752 * iconvdata/eucjp.c: Likewise.
4753 * iconvdata/euckr.c: Likewise.
4754 * iconvdata/euctw.c: Likewise.
4755 * iconvdata/gb2312.c: Likewise.
4756 * iconvdata/gb2312.h: Likewise.
4757 * iconvdata/hp-roman8.c: Likewise.
4758 * iconvdata/iso646.c: Likewise.
4759 * iconvdata/iso6937.c: Likewise.
4760 * iconvdata/iso8859-1.c: Likewise.
4761 * iconvdata/iso8859-10.c: Likewise.
4762 * iconvdata/iso8859-2.c: Likewise.
4763 * iconvdata/iso8859-3.c: Likewise.
4764 * iconvdata/iso8859-4.c: Likewise.
4765 * iconvdata/iso8859-5.c: Likewise.
4766 * iconvdata/iso8859-6.c: Likewise.
4767 * iconvdata/iso8859-7.c: Likewise.
4768 * iconvdata/iso8859-8.c: Likewise.
4769 * iconvdata/iso8859-9.c: Likewise.
4770 * iconvdata/jis0201.c: Likewise.
4771 * iconvdata/jis0201.h: Likewise.
4772 * iconvdata/jis0208.c: Likewise.
4773 * iconvdata/jis0208.h: Likewise.
4774 * iconvdata/jis0212.c: Likewise.
4775 * iconvdata/jis0212.h: Likewise.
4776 * iconvdata/johab.c: Likewise.
4777 * iconvdata/koi-8.c: Likewise.
4778 * iconvdata/koi8-r.c: Likewise.
4779 * iconvdata/ksc5601.c: Likewise.
4780 * iconvdata/ksc5601.h: Likewise.
4781 * iconvdata/latin-greek-1.c: Likewise.
4782 * iconvdata/latin-greek.c: Likewise.
4783 * iconvdata/run-iconv-test.sh: Likewise.
4784 * iconvdata/sjis.c: Likewise.
4785 * iconvdata/t61.c: Likewise.
4786 * iconvdata/uhc.c: Likewise.
4787 * wcsmbs/btowc.c: Likewise.
4788 * wcsmbs/mbrtowc.c: Likewise.
4789 * wcsmbs/mbsnrtowcs.c: Likewise.
4790 * wcsmbs/mbsrtowcs.c: Likewise.
4791 * wcsmbs/wcrtomb.c: Likewise.
4792 * wcsmbs/wcsmbsload.c: Likewise.
4793 * wcsmbs/wcsnrtombs.c: Likewise.
4794 * wcsmbs/wcsrtombs.c: Likewise.
4795 * wcsmbs/wctob.c: Likewise.
4796 * iconv/loop.c: New file.
4797 * iconv/skeleton.c: New file.
4798
4799 * stdlib/mblen.c: Handle empty input string correctly.
4800 * stdlib/mbtowc.c: Likewise.
4801
4802 * posix/getopt.c: Various cleanups.
4803
4804 * sysdeps/arm/bits/setjmp.h: Add copyright text.
4805 * sysdeps/i386/bits/setjmp.h: Likewise.
4806 * sysdeps/m68k/bits/setjmp.h: Likewise.
4807 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4808 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4809
4810 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4811 and make longjmp weak alias.
4812
4813 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
4814
4815 * iconv/Makefile (routines): Only include gconv_dl if building for
4816 an ELF system - dynamic linking is not available on a.out.
4817 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4818 due to above check.
4819 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4820 routines from gconv_dl.
4821
4822 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
4823
4824 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4825 we can compile without libio.
4826
4827 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
4828
4829 * sysdeps/mach/hurd/Subdirs: Remove login.
4830
4831 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
4832
4833 * db2/compat.h: Include <errno.h>, to make sure we get the
4834 definition of EFTYPE before we define it ourselves.
4835
4836 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
4837
4838 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4839 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4840 Fix typo to allow inclusion from sys/ioctl.h again.
4841
4842 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4843
4844 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
4845
4846 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4847
4848 * libc.map: Export __strerror_r. Remove _strerror_internal.
4849
4850 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4851
4852 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4853 Also undefine __strcasestr.
4854
4855 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4856
4857 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4858 aliases do not work with global variables due to copy relocations.
4859
4860 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
4861
4862 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
4863
4864 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
4865
4866 * signal/sighold.c: Include stddef.h for NULL definition.
4867 * signal/sigrelse.c: Likewise.
4868 * sysdeps/posix/sigignore.c: Likewise.
4869 * sysdeps/posix/sigset.c: Likewise.
4870 * sysdeps/posix/waitid.c: Likewise.
4871 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4872 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4873 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4874 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4875 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4876
4877 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
4878
4879 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4880 * login/getutent.c (getutxent): Remove alias.
4881 * login/getutent_r.c (setutxent, pututxline, endutxent):
4882 Remove aliases.
4883 * login/getutid.c (getutxid): Remove alias.
4884 * login/getutline.c (getutxline): Remove alias.
4885 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4886 __getutid, __getutline and __pututline.
4887 * login/utmpx.h: Moved to ...
4888 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
4889 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4890 and updwtmpx.
4891 * login/updwtmp.c: Moved to ...
4892 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
4893 allowing file name transformation.
4894 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
4895 additional file name transformation.
4896 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4897 * login/utmp_file.c: Moved to ...
4898 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
4899 Generalized by allowing file name transformation. Do not
4900 print error message. Library functions should not print them.
4901 Reported by Jim Meyering.
4902 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
4903 with additional file name transformation.
4904 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4905 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4906 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4907 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
4908 and bits/utmpx.h.
4909 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4910 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
4911 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
4912 Define if __USE_GNU.
4913 * sysdeps/generic/setutxent.c: New file.
4914 * sysdeps/generic/getutxent.c: New file.
4915 * sysdeps/generic/endutxent.c: New file.
4916 * sysdeps/generic/getutxid.c: New file.
4917 * sysdeps/generic/getutxline.c: New file.
4918 * sysdeps/generic/pututxline.c: New file.
4919 * sysdeps/generic/utmpxname.c: New file.
4920 * sysdeps/generic/updwtmpx.c: New file.
4921 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4922 * sysdeps/generic/bits/utmpx.h: Remove.
4923
4924 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
4925
4926 * posix/wordexp-test.c (main): Initialize ifs element of ts for
4927 ~root test.
4928
4929 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
4930
4931 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4932
4933 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
4934
4935 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4936 variable using _G_stat64.
4937 * libio/fileops.c: Remove macro definition of fstat, it is in the
4938 global header.
4939 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4940
4941 1998-04-17 Philip Blundell <pb@nexus.co.uk>
4942
4943 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4944 <willy@odie.barnet.ac.uk>.
4945
4946 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
4947
4948 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4949 required by IPv6 Basic API.
4950 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4951 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4952 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4953 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4954
4955 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
4956
4957 Don't name internal representation since it might be different from
4958 the external form (namely on little endian machines).
4959 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
4960 UCS4 into references to INTERNAL.
4961 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4962 Add endianess support to UCS functions. Change references to
4963 UCS4 into references to INTERNAL.
4964 * iconv/gconv_int.h: Change references to UCS4 into references to
4965 INTERNAL.
4966 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4967 * iconvdata/gconv-modules: Change accordingly.
4968 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4969
4970 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4971 overflow.
4972 * iconvdata/8bit-gap.c: Likewise.
4973 * iconvdata/8bit-generic.c: Likewise.
4974 * iconvdata/big5.c: Likewise.
4975 * iconvdata/euccn.c: Likewise.
4976 * iconvdata/eucjp.c: Likewise.
4977 * iconvdata/euckr.c: Likewise.
4978 * iconvdata/euctw.c: Likewise.
4979 * iconvdata/iso646.c: Likewise.
4980 * iconvdata/iso6937.c: Likewise.
4981 * iconvdata/iso8859-1.c: Likewise.
4982 * iconvdata/johab.c: Likewise.
4983 * iconvdata/sjis.c: Likewise.
4984 * iconvdata/t61.c: Likewise.
4985 * iconvdata/uhc.c: Likewise.
4986
4987 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4988 * iconvdata/8bit-generic.c: Likewise.
4989
4990 * iconvdata/TESTS: Add more tests.
4991
4992 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4993
4994 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
4995
4996 * iconvdata/Makefile: Better rules to run tests.
4997
4998 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4999 * iconvdata/testdata/ISO-8859-10: Likewise.
5000 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5001 * iconvdata/testdata/ISO-8859-2: Likewise.
5002 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5003 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5004 * iconvdata/testdata/ISO-8859-3: Likewise.
5005 * iconvdata/testdata/ISO-8859-4: Likewise.
5006 * iconvdata/testdata/ISO-8859-5: Likewise.
5007 * iconvdata/testdata/ISO-8859-6: Likewise.
5008 * iconvdata/testdata/ISO-8859-7: Likewise.
5009 * iconvdata/testdata/ISO-8859-8: Likewise.
5010 * iconvdata/testdata/ISO-8859-9: Likewise.
5011
5012 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
5013
5014 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5015 intermediate result (if available).
5016
5017 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5018 last change.
5019
5020 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5021 (distribute): Add run-iconv-test.sh and testdata/*.
5022
5023 * stdlib/testmb.c (main): Simplify mbc array handling.
5024
5025 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5026
5027 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
5028 return value on overflow.
5029
5030 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5031
5032 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5033 bits.
5034
5035 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5036
5037 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5038 of non-standard function setbuffer.
5039
5040 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5041
5042 * stdio-common/perror.c: Include <string.h> for __strerror_r.
5043
5044 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
5045
5046 * iconvdata/Makefile: Add rules to run tests.
5047 * iconvdata/TESTS: New file.
5048 * iconvdata/run-iconv-test.sh: New file.
5049 * iconvdata/testdata/ISO-8859-1: New file.
5050
5051 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5052 not stdout.
5053
5054 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
5055
5056 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5057 counter element of step.
5058
5059 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5060
5061 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5062 termination test.
5063 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
5064 ACTUALLY.
5065 (__gconv_transform_utf8_ucs4): Correct test for empty input.
5066
5067 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
5068
5069 * Makefile: Include makeconfig before defining rule to regenerate
5070 configure files.
5071
5072 * configure.in: Remove restriction on compiling without static
5073 libs.
5074
5075 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
5076
5077 * test-skeleton.c: Provide hook for initializing code before the fork.
5078 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5079 removed.
5080
5081 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5082 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5083 * libio/libioP.h: Adopt _IO_cleanup prototype.
5084
5085 * stdlib/Makefile (tests): Add test-canon2.
5086 * stdlib/test-canon2.c: New file.
5087 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5088 be NULL. Use __lxstat, not __lstat. Correctly recognize long
5089 symlink sequences.
5090 (__realpath): Make real function which checks RESOLVED parameter for
5091 not being NULL.
5092
5093 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
5094
5095 * catgets/open_catalog.c (__open_catalog): Fix problems with
5096 reading non-files. Always close file.
5097 Reported by Cristian Gafton <gafton@redhat.com>.
5098
5099 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5100
5101 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
5102
5103 * libc.map: Add various low-level I/O functions.
5104
5105 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
5106
5107 * string/Makefile (routines): Remove strerror_r.
5108 * string/strerror_r.c: Removed.
5109 * string/strerror.c: Call __strerror_r for doing the real work.
5110 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5111 add weak alias strerror_r.
5112 * sysdeps/mach/_strerror.c: Likewise.
5113 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5114 * elf/dl-error.c (_dl_signal_error): Likewise.
5115 * elf/dl-profile.c (_dl_start_profile): Likewise.
5116 * gmon/gmon.c (write_gmon): Likewise.
5117 * stdio-common/perror.c: Likewise.
5118 * stdio-common/vfprintf.c: Likewise.
5119
5120 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
5121
5122 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5123 (sysdep_headers): Add netatalk/at.h.
5124
5125 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5126
5127 * manual/socket.texi, manual/creature.texi, manual/time.texi:
5128 Formatting fixes.
5129
5130 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5131
5132 * posix/regex.c: Rename __re_syntax_options back to
5133 re_syntax_options, aliases do not work with global variables due
5134 to copy relocations.
5135 (regex_compile): Use syntax parameter instead of
5136 re_syntax_options.
5137
5138 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5139
5140 * configure.in: Document that enable-force-install is default.
5141
5142 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
5143
5144 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5145 all needed 36 bits.
5146 * sysdeps/posix/mkstemp.c: Likewise.
5147
5148 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
5149
5150 * iconvdata/8bit-gap.c: Simplify step data handling.
5151 * iconvdata/8bit-generic.c: Likewise.
5152 * iconvdata/big5.c: Likewise.
5153 * iconvdata/euccn.c: Likewise.
5154 * iconvdata/eucjp.c: Likewise.
5155 * iconvdata/euckr.c: Likewise.
5156 * iconvdata/euctw.c: Likewise.
5157 * iconvdata/iso6937.c: Likewise.
5158 * iconvdata/iso8859-1.c: Likewise.
5159 * iconvdata/jis0208.h: Likewise.
5160 * iconvdata/jis0212.c: Likewise.
5161 * iconvdata/jis0212.h: Likewise.
5162 * iconvdata/johab.c: Likewise.
5163 * iconvdata/ksc5601.h: Likewise.
5164 * iconvdata/sjis.c: Likewise.
5165 * iconvdata/t61.c: Likewise.
5166 * iconvdata/uhc.c: Likewise.
5167
5168 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
5169
5170 * manual/texinfo.texi: Updated from last version.
5171
5172 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
5173
5174 * iconvdata/cns11643.c: New file.
5175 * iconvdata/cns11643.h: New file.
5176 * iconvdata/cns11643l1.c: New file.
5177 * iconvdata/cns11643l1.h: New file.
5178 * iconvdata/euctw.c: New file.
5179 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5180 * iconvdata/gconv-modules: Likewise.
5181
5182 * iconvdata/eucjp.c: Several bug fixes and improvements.
5183 * iconvdata/gb2312.h: Likewise.
5184 * iconvdata/jis0201.h: Likewise.
5185 * iconvdata/jis0208.h: Likewise.
5186 * iconvdata/jis0212.h: Likewise.
5187
5188 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
5189
5190 * iconvdata/eucjp.c: New file.
5191 * iconvdata/euccn.c: New file.
5192 * iconvdata/gb2312.h: New file.
5193 * iconvdata/gb2312.c: New file.
5194 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5195 * iconvdata/gconv-modules: Likewise.
5196
5197 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5198
5199 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
5200
5201 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5202 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5203 Patch by Mark Hatle <fray@kernel.crashing.org>.
5204
5205 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
5206
5207 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5208 comment.
5209 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5210 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5211
5212 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
5213
5214 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5215
5216 * iconvdata/Makefile: Add rules for big5 conversion.
5217 * iconvdata/gconv-modules: Likewise.
5218 * iconvdata/big5.c: New file.
5219
5220 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5221 Patch by Jim Meyering.
5222
5223 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
5224
5225 * rt/tst-aio.c: Add test for aio_read and lio_listio.
5226
5227 * rt/lio_listio.c: Correct total counter handling.
5228
5229 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5230 from request queue.
5231
5232 * test-skeleton.c (main): Make stdout unbuffered. Improve message
5233 of signal on exit even more.
5234
5235 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5236 instead of call to pthread_cond_init.
5237 * rt/lio_listio.c (lio_listio): Likewise.
5238 * rt/lio_listio64.c (lio_listio64): Likewise.
5239
5240 * nis/nis_findserv.c: Include sys/socket.h.
5241
5242 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
5243
5244 * Makeconfig (rtobjdir): New variable.
5245 (rpath-link): Add rtobjdir and thread directory, if available.
5246
5247 * test-skeleton.c: Add support to remove temporary files.
5248 Always define test_dir. Improve message about expected signal.
5249
5250 * rt/Makefile (tests): Add tst-aio.
5251 Add rules for tst-aio to be linked with librt and thread library.
5252 * rt/aio_misc.c: Correct fundamental bugs.
5253 * rt/aio_suspend.c: Correct bug in test for available request.
5254 Initialize conditional variable.
5255 * rt/lio_listio.c: Initialize conditional variable.
5256 * rt/lio_listio64.c: Likewise.
5257 * rt/tst-aio.c: New file.
5258
5259 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5260 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
5261 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5262 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5263 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5264 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5265 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5266
5267 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
5268
5269 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5270
5271 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
5272
5273 * elf/dl-load.c (open_path): Use correct name for test whether
5274 directory in load path exists.
5275
5276 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5277 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5278 Patches by Tom Rini <trini@kernel.crashing.org>.
5279
5280 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5281 * wcsmbs/wcstod_l.c: Likewise.
5282 * wcsmbs/wcstold_l.c: Likewise.
5283
5284 * include/byteswap.h: New file.
5285
5286 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5287 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
5288
5289 * inet/getnameinfo.c (getnameinfo): Change parameter to match
5290 declaration. Patch by Richard Henderson.
5291
5292 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
5293
5294 * manual/process.texi (SIGCHLD example): Save errno.
5295
5296 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
5297
5298 * posix/regex.c: Define regerror really as __regerror.
5299 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5300 regerror and regfree.
5301
5302 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5303 * stdlib/strtod_l.c: Likewise.
5304 * stdlib/strtold_l.c: Likewise.
5305
5306 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5307
5308 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5309
5310 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5311 Patch by Christian Gafton.
5312
5313 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
5314
5315 * manual/socket.texi (Interface Naming): Correct @deftypefun line
5316 for if_indextoname.
5317
5318 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5319
5320 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5321
5322 * manual/socket.texi (Interface Naming): Fix typo.
5323
5324 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5325
5326 * manual/examples/filesrv.c (main): Remove filename first.
5327
5328 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5329 ?F_UNIX.
5330
5331 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5332 instead of PF_UNIX.
5333
5334 * manual/examples/filecli.c (main): Use AF_LOCAL
5335 instead of AF_UNIX.
5336
5337 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
5338
5339 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5340 signgam weak alias.
5341 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5342 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5343 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5344 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5345 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5346 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5347
5348 * login/utmp_daemon.c (open_socket): Use __connect not connect.
5349
5350 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5351
5352 * configure.in: Add new option --enable-force-install. Substitute
5353 force_install.
5354 * config.make.in (force-install): Set from configure.
5355 * Makerules (force-install): New phony target.
5356 * Makeconfig (+force): New variable.
5357 * Makefile: Use it in dependency list of installation targets.
5358 * db/Makefile: Likewise.
5359 * db2/Makefile: Likewise.
5360 * elf/Makefile: Likewise.
5361 * hurd/Makefile: Likewise.
5362 * iconv/Makefile: Likewise.
5363 * iconvdata/Makefile: Likewise.
5364 * intl/Makefile: Likewise.
5365 * localedata/Makefile: Likewise.
5366 * login/Makefile: Likewise.
5367 * po/Makefile: Likewise.
5368 * sunrpc/Makefile: Likewise.
5369 * sysdeps/mach/hurd/Makefile: Likewise.
5370 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5371 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5372 * timezone/Makefile: Likewise.
5373
5374 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5375
5376 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5377 alloc_size. Pass return value of getcwd syscall to realloc.
5378
5379 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5380
5381 * manual/socket.texi: Spelling fixes.
5382
5383 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5384
5385 * elf/dl-load.c (print_search_path): Remove unused variable.
5386
5387 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
5388
5389 * login/utmp_file.c: use __ftruncate not ftruncate.
5390 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5391 for system call and make ftruncate weak alias.
5392 * posix/unistd.h: Add prototype for __ftruncate.
5393 * login/utmp_daemon.c (open_socket): Use __socket not socket.
5394 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5395 instead of snprintf and readv.
5396 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5397 snprintf.
5398 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5399 directly.
5400
5401 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
5402
5403 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5404 * iconv/gconv_db.c: Use __ protected regex functions.
5405 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5406 * posix/getopt_init.c: Use __getpid not getpid.
5407 * posix/regex.c: Rename all global functions to start with __ and
5408 make old names weak aliases.
5409 * posix/regex.h: Adopt prototypes for this.
5410 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5411 a weak alias and use __getcwd instead of getcwd.
5412 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5413 * stdlib/strtod.c: Use __btowc instead of btowc.
5414 * stdlib/strtol.c: Likewise.
5415 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5416 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5417 and sys_errlist are weak.
5418 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5419 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5420 * wcsmbs/mbsnrtowcs.c: Likewise.
5421 * wcsmbs/mbsrtowcs.c: Likewise.
5422 * wcsmbs/wcsnrtombs.c: Likewise.
5423 * wcsmbs/wcsrtombs.c: Likewise.
5424 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5425 weak alias.
5426 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5427 * wctype/wctype.c: Define function as __wctype and make wctype
5428 weak alias.
5429 * wctype/wctype.h: Declare __wctype.
5430
5431 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
5432
5433 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5434
5435 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5436
5437 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5438 stat64.
5439 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5440 functions.
5441 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5442 for __llseek.
5443 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5444 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5445 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5446 make it a weak alias.
5447 * posix/unistd.h: Declare __lseek64.
5448
5449 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5450 (_IO_file_stat): Fix typo.
5451 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
5452 block size from the file. Use __mempcpy if _LIBC.
5453
5454 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
5455
5456 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5457 * wcsmbs/mbrtowc.c: Likewise.
5458 * wcsmbs/mbsnrtowcs.c: Likewise.
5459 * wcsmbs/mbsrtowcs.c: Likewise.
5460 * wcsmbs/wcrtomb.c: Likewise.
5461 * wcsmbs/wcsnrtombs.c: Likewise.
5462 * wcsmbs/wcsrtombs.c: Likewise.
5463 * wcsmbs/wctob.c: Likewise.
5464
5465 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5466 position of next output character correctly.
5467 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5468
5469 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5470
5471 * stdlib/strtod.c: Don't use mbtowc.
5472
5473 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
5474
5475 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5476 what we want is smaller than a buffer.
5477
5478 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
5479
5480 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5481 this function.
5482
5483 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
5484
5485 * configure.in: Recognize --with-headers flag and determine
5486 commandline options to be used in compilation.
5487 * Makeconfig (+includes): Use $(sysincludes).
5488 * config.make.in (sysincludes): Define from SYSINCLUDES.
5489 * glibcbug.in: Use SYSINCLUDES information.
5490 Patches by Zack Weinberg.
5491
5492 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
5493
5494 * glibcbug.in: On linux, report version of kernel headers seen
5495 by compiler.
5496
5497 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
5498
5499 * libc.map: Add __asprintf to GLIBC_2.1.
5500 * elf/dlerror.c: Use __asprintf, not asprintf.
5501 * libio/stdio.h: Declare __asprintf.
5502 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5503 a weak alias.
5504
5505 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5506 to avoid inclusion from libc_pic.a.
5507
5508 * elf/dl-runtime.c: Undo last patch.
5509
5510 * stdlib/strtod.c: Don't use mbtowc, use btowc.
5511
5512 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5513 as default, use NULL.
5514
5515 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5516
5517 * resolv/Makefile: Include ../Makeconfig - needed for building
5518 static NSS module.
5519
5520 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5521
5522 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5523 static-nss since we don't want hesiod in the static NSS.
5524
5525 * nss/Makefile: Build only nss_files as static.
5526
5527 * nss/function.def: Remove support for service db.
5528
5529 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
5530
5531 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5532
5533 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
5534
5535 * posix/wordexp-test.c: Make IFS per test-case.
5536
5537 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
5538
5539 * glibcbug.in: Report version of gcc in use. Remove unused variable
5540 ENVIRONMENT.
5541
5542 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
5543
5544 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5545 `-print-file-name' to find as and ld.
5546
5547 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
5548
5549 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5550 template is wrong. Remove unused varaible `ignored'.
5551
5552 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5553
5554 * libc.map: Export __libc_sa_len.
5555
5556 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5557
5558 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
5559
5560 * iconv/gconv.c: Take care for NULL arguments.
5561 * iconv/gconv_dl.c: Make find_func function global.
5562 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5563 Add prototypes for ASCII conversion functions.
5564 * iconv/gconv_simple.c: Add ASCII conversion functions.
5565 * locale/C-ctype.c: Correct charset name.
5566
5567 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5568 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5569 wcsmbsload.
5570 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5571 * wcsmbs/mbrtowc.c: Likewise.
5572 * wcsmbs/mbsnrtowcs.c: Likewise.
5573 * wcsmbs/mbsrtowcs.c: Likewise.
5574 * wcsmbs/wcrtomb.c: Likewise.
5575 * wcsmbs/wcsnrtombs.c: Likewise.
5576 * wcsmbs/wcsrtombs.c: Likewise.
5577 * wcsmbs/wctob.c: Likewise.
5578 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
5579 prototypes for wmemr*.
5580 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5581 * wcsmbs/wcsnlen.c: New file.
5582 * wcsmbs/wcsmbsload.c: New file.
5583 * wcsmbs/wcsmbsload.h: New file.
5584
5585 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5586
5587 * manual/install.texi: Describe some more critical points.
5588
5589 * string/string.h: Add prototype for __strnlen.
5590 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5591
5592 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5593 much less predictable names.
5594 * sysdeps/posix/mkstemp.c: Likewise.
5595
5596 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5597
5598 * manual/libc.texinfo (Top): Change "file namespace" to "local
5599 namespace".
5600
5601 * manual/socket.texi: Change file namespace to local namespace.
5602 (Out-of-Band Data): Remove unneeded variable link.
5603 (Host Address Functions): Use uint32_t consequently and add a
5604 number of clarifications for IPv4/IPv6, classless addresses.
5605 (Internet Namespace): Added some paragraphs about IPv6.
5606 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5607
5608 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
5609
5610 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5611
5612 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5613 (NI_NUMERICHOST, et al.): Tidy up and add comments.
5614 (AI_NUMERICHOST): Define.
5615 (getnodebyname): New prototype.
5616 (AI_V4MAPPED, et al.): New constants.
5617
5618 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5619 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5620 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5621 for socket.
5622 * sysdeps/unix/sysv/linux/sa_len.c: New file.
5623 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5624
5625 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5626
5627 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5628 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5629 * socket/Makefile (headers): Add bits/sockunion.h.
5630 * socket/sys/socket.h: Include <bits/sockunion.h>
5631 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5632 <sys/socket.h>, to avoid getting sockaddr_union defined.
5633 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5634 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5635 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5636
5637 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5638 (2.2.x kernels won't have it).
5639
5640 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
5641
5642 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5643 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5644 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5645 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5646
5647 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
5648
5649 * manual/socket.texi (Socket Addresses): Fix a typo.
5650 (Interface Naming): New section.
5651
5652 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
5653
5654 * configure.in: Check for CC using $ac_tool_prefix, to handle
5655 cross-compilation. Use AC_CHECK_TOOL to find MiG.
5656 * config.make.in: Add MIG to be substituted.
5657 * mach/Machrules: Don't define MIG variable.
5658
5659 Patch by Gordon Matzigkeit <gord@profitpress.com>.
5660
5661 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
5662
5663 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5664 strdupa to copy rpath.
5665
5666 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5667
5668 * configure.in: Fix gcc version check.
5669
5670 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5671 confusing.
5672
5673 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
5674
5675 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5676 of ptsname_r.
5677
5678 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5679 like ttyname_r.
5680 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5681 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5682 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5683 of __ptsname_r accordingly.
5684 * login/openpty.c (openpty): Likewise.
5685
5686 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
5687
5688 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5689
5690 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5691
5692 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5693
5694 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5695
5696 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5697
5698 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5699 return value for better error checking.
5700
5701 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5702
5703 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5704 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5705
5706 * elf/elf.h (EM_SPARC64): Remove.
5707 (EM_SPARC32PLUS, EM_SPARCV9): Add.
5708 (HWCAP_SPARC_V9): Add.
5709
5710 * elf/ldsodefs.h (_dl_hwcap): Declare.
5711 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5712 Weaken so dlopen from static progies works.
5713 (WEAKADDR): New macro.
5714 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5715 (LD_SO_PRELOAD): New macro.
5716 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5717 (elf_machine_rela): Weaken _dl_rtld_map.
5718
5719 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5720 to __clone, and remove the later's alias.
5721 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5722
5723 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5724 the kernel's structure.
5725
5726 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5727 Sparc needs a custom value of __KERNEL_NCCS.
5728
5729 1998-04-06 Richard Henderson <rth@cygnus.com>
5730
5731 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5732
5733 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5735
5736 1998-04-06 Richard Henderson <rth@cygnus.com>
5737
5738 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5739 as the buffer is not properly aligned.
5740 Reported by Juan Cespedes <cespedes@debian.org>.
5741
5742 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5743
5744 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5745 instead of AF_FILE.
5746
5747 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
5748
5749 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5750 and wc*tomb* functions.
5751
5752 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
5753
5754 * sysdeps/unix/start.c: Fix typo.
5755
5756 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
5757
5758 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5759
5760 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
5761
5762 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5763 expressions and using array variables.
5764 * sysdeps/libm-ieee754/e_asin.c: Likewise.
5765 * sysdeps/libm-ieee754/e_j0.c: Likewise.
5766 * sysdeps/libm-ieee754/e_j1.c: Likewise.
5767 * sysdeps/libm-ieee754/e_log.c: Likewise.
5768 * sysdeps/libm-ieee754/e_pow.c: Likewise.
5769 * sysdeps/libm-ieee754/k_cos.c: Likewise.
5770 * sysdeps/libm-ieee754/k_sin.c: Likewise.
5771 * sysdeps/libm-ieee754/k_tan.c: Likewise.
5772 * sysdeps/libm-ieee754/s_atan.c: Likewise.
5773 * sysdeps/libm-ieee754/s_erf.c: Likewise.
5774 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5775 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5776 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5777
5778 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
5779
5780 * iconv/gconv.c: Rewrite of the low-level of gconv.
5781 * iconv/gconv.h: Likewise.
5782 * iconv/gconv_builtin.h: Likewise.
5783 * iconv/gconv_close.c: Likewise.
5784 * iconv/gconv_db.: Likewise.
5785 * iconv/gconv_dl.c: Likewise.
5786 * iconv/gconv_int.h: Likewise.
5787 * iconv/gconv_open.c: Likewise.
5788 * iconv/gconv_simple.c: Likewise.
5789 * iconvdata/8bit-gap.c: Adapt for rewrite.
5790 * iconvdata/8bit-generic.c: Likewise.
5791 * iconvdata/euckr.c: Likewise.
5792 * iconvdata/iso646.c: Likewise.
5793 * iconvdata/iso6937.c: Likewise.
5794 * iconvdata/iso8859-1.c: Likewise.
5795 * iconvdata/johab.c: Likewise.
5796 * iconvdata/sjis.c: Likewise.
5797 * iconvdata/t61.c: Likewise.
5798 * iconvdata/uhc.c: Likewise.
5799
5800 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
5801
5802 * iconv/gconv_int.h: New file. Internal header.
5803 * iconv/Makefile (distribute): Add gconv_int.h.
5804 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5805 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5806 * iconv/gconv_close.c: Likewise.
5807 * iconv/gconv_conf.c: Likewise.
5808 * iconv/gconv_db.c: Likewise.
5809 * iconv/gconv_dl.c: Likewise.
5810 * iconv/gconv_int.h: Likewise.
5811 * iconv/gconv_open.c: Likewise.
5812 * iconv/iconv.c: Likewise.
5813 * iconv/iconv_close.c: Likewise.
5814 * iconv/iconv_open.c: Likewise.
5815 * iconv/iconv_prog.c: Likewise.
5816
5817 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
5818
5819 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5820 missing braces.
5821
5822 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5823
5824 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5825
5826 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
5827
5828 Based on patch from Pat Beirne:
5829 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5830 PIC and non-PIC now. Correctly negate error number.
5831 (errno): Use `%' not `@' in .type directives.
5832
5833 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
5834
5835 * sysdeps/i386/strtok.S: Change to use single exit point.
5836 * sysdeps/i386/i686/strtok.S: Likewise.
5837
5838 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5839
5840 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5841 default.
5842
5843 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5844
5845 * Makerules (installed-libcs): Fix typo.
5846
5847 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5848
5849 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5850 (UHC-routines): Remove ksc5601.
5851
5852 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
5853
5854 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5855 introduced in last change.
5856
5857 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
5858
5859 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5860 before 2.1.92.
5861
5862 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5863
5864 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5865
5866 * stdlib/isomac.c: Use -isystem instead of -I for system include
5867 dir.
5868
5869 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
5870
5871 * resolv/res_comp.c (underscorechar): New.
5872 (middlechar): Allow '_'.
5873
5874 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5875
5876 * intl/explodename.c (stdlib.h): Include that file only if
5877 STDC_HEADERS or _LIBC.
5878 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5879 Patch by Philippe De Muyter <phdm@macqel.be>.
5880
5881 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
5882
5883 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5884 (AC_PROG_CHECK_VER): New macro.
5885 * configure.in: Use AC_PROG_CHECK_VER to check versions of
5886 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
5887
5888 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
5889
5890 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5891 * sysdeps/i386/i686/strtok.S: New file
5892 * sysdeps/i386/i686/strtok_r.S: New file
5893
5894 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
5895
5896 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5897 type to __off64_t.
5898 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5899 parameter as __off64_t instead of __off_t.
5900 (ftello): Make alias for ftello64 instead of ftello. Change
5901 return type to __off64_t.
5902
5903 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5904
5905 * sysdeps/i386/bits/string.h: Fix various typos.
5906 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5907
5908 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5909
5910 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
5911
5912 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5913 lchown syscall correctly. [PR libc/541].
5914
5915 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
5916
5917 * localedata/Makefile: Correct testsuite rules.
5918
5919 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5920 * iconvdata/iso646.c: Fix conversion from UCS4.
5921
5922 * elf/ldsodefs.h: Mark internal function with internal_function.
5923 * elf/dl-addr.c: Likewise.
5924 * elf/dl-close.c: Likewise.
5925 * elf/dl-debug.c: Likewise.
5926 * elf/dl-deps.c: Likewise.
5927 * elf/dl-error.c: Likewise.
5928 * elf/dl-fini.c: Likewise.
5929 * elf/dl-init.c: Likewise.
5930 * elf/dl-load.c: Likewise.
5931 * elf/dl-lookup.c: Likewise.
5932 * elf/dl-object.c: Likewise.
5933 * elf/dl-open.c: Likewise.
5934 * elf/dl-profile.c: Likewise.
5935 * elf/dl-reloc.c: Likewise.
5936 * elf/dl-runtime.c: Likewise.
5937 * elf/dl-symbol.c: Likewise.
5938 * elf/dl-version.c: Likewise.
5939 * elf/dlerror.c: Likewise.
5940 * sysdeps/generic/dl-sysdep.c: Likewise.
5941 * sysdeps/i386/dl-machine.h: Likewise.
5942 * intl/finddomain.c: Likewise.
5943 * intl/gettextP.h: Likewise.
5944 * intl/loadmsgcat.c: Likewise.
5945
5946 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
5947
5948 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5949 * iconv/gconv_builtin.h: Add definitions for new builtins.
5950 * iconv/gconv.h: Add prototypes for new builtins.
5951
5952 * iconvdata/Makefile (modules): Add ISO646.
5953 Add rules for ISO646 module.
5954 (distribute): Add iso646.c.
5955 * iconvdata/gconv-modules: Add module and alias definition for
5956 ISO646 charsets.
5957 * iconvdata/iso646.c: New file.
5958
5959 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
5960
5961 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5962 * iconv/iconv_prog.c: Implement --list option to print available
5963 coded character sets.
5964
5965 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
5966
5967 Make fread() read large blocks straight to the user buffer.
5968
5969 * libio/fileops.c (_IO_file_xsgetn): New function.
5970 (_IO_file_jumps): Use it.
5971 * libio/libioP.h: Prototype it.
5972
5973 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5974
5975 * iconv/gconv_conf.c (builtin_aliases): New variable.
5976 (__gconv_read_conf): Add builtin aliases.
5977 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5978 noop macro before including gconv_builtin.h.
5979 * iconv/gconv_builtin.h: Add alias names.
5980
5981 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5982 number of converted bytes correctly.
5983
5984 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5985
5986 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5987 we only wait for a replay.
5988
5989 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
5990
5991 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5992 EUC-KR modules.
5993
5994 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
5995
5996 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5997 use PLTJMP() rather than explicit (PLT).
5998
5999 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6000 __libc_start_main().
6001
6002 Based on patch from Pat Beirne:
6003 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6004 Always define, not only #ifndef PIC.
6005 (DO_CALL): Pass fifth argument correctly in R4.
6006 (PSEUDO): Correct test for error, call syscall_error through PLT
6007 if PIC.
6008
6009 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
6010
6011 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6012 definitions.
6013
6014 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
6015
6016 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6017 JOHAB.so.
6018
6019 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
6020
6021 * io/Makefile (static-only-routines): Add stat64, fstat64 and
6022 lstat64.
6023
6024 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6025
6026 * manual/Makefile: Use object-suffixes-for-libc instead of
6027 object-suffixes.
6028 * rpm/Makefile (install-lib): Likewise.
6029
6030 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6031
6032 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6033
6034 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6035 `m68*', not only `m68k'.
6036
6037 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6038
6039 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6040
6041 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6042 install lddlibc4.
6043
6044 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
6045
6046 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6047 EUC-KR.
6048
6049 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6050 comment.
6051
6052 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
6053
6054 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6055 the init stuff.
6056
6057 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
6058
6059 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6060 adjtimex syscall.
6061 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6062 adjtimex.
6063 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6064
6065 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6066
6067 * Makerules (install): Change comment for libc.so following the
6068 libc_nonshared changes.
6069
6070 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
6071
6072 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6073
6074 * iconvdata/gap.pl: Avoid using %#06x.
6075
6076 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
6077
6078 * Makerules: Use $? instead of S^ when invoking ar.
6079
6080 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
6081
6082 * db2/compat.h: Allow EFTYPE being defined.
6083 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6084 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6085 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6086 * sysdeps/mach/bits/libc-lock.h: Fix typo.
6087 (__libc_once): Correctly unlock semaphore.
6088 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6089 * sysdeps/unix/bsd/getpt.c: Fix typo.
6090 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6091
6092 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
6093
6094 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6095 macros.
6096
6097 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
6098
6099 * include/mntent.h: New file.
6100
6101 * elf/Makefile (trusted-dirs.h): Append slash to filename.
6102 * elf/dl-load.c: Rewrite search path handling.
6103 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6104 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6105 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6106 * elf/ldsodefs.h: Add prototype.
6107
6108 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
6109
6110 * nss/nsswitch.c (__nss_lookup): Adjust comment.
6111
6112 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6113 function.
6114
6115 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6116
6117 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6118 New function.
6119 (HWCAP_IMPORTANT): New definition.
6120
6121 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
6122
6123 * elf/dl-open.c (_dl_open): Fix a typo.
6124 (_dl_global_scope_alloc): Make it static.
6125
6126 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
6127
6128 * Makerules: Remove duplicate rules to handle stamp.oS.
6129
6130 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6131
6132 * manual/examples/inetsrv.c (main): Change prototype of
6133 make_socket following change in mkisock.c.
6134
6135 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6136 example host.
6137 (main): Change prototype of init_sockaddr following change in
6138 isockadd.c.
6139
6140 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6141 * manual/examples/isockad.c (init_sockaddr): Likewise.
6142
6143 * manual/examples/mkfsock.c (make_named_socket): Removed blank
6144 lines for clarification.
6145 (make_named_socket): Use strncpy instead of strcpy.
6146 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6147
6148 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
6149
6150 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6151 determining libs to remove.
6152 (postclean): Add soversions.mk.
6153 * Makerules (common-mostlyclean): Add tests-static and generated
6154 files.
6155
6156 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
6157
6158 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6159 scanning for \0.
6160 (__strncat_g): Add i686 specific code.
6161
6162 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6163
6164 * manual/install.texi (Reporting Bugs): Ask to include section
6165 names in reports.
6166
6167 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6168
6169 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6170 guard against direct inclusion.
6171
6172 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6173
6174 Rework support for libc_nonshared.a:
6175 * Makeconfig (object-suffixes-for-libc): New variable.
6176 * Rules: Remove handling of static-only and shared-only routines.
6177 * Makerules: Handle them here instead. Use
6178 object-suffixes-for-libc instead of object-suffixes when dealing
6179 with libc objects.
6180 (object-suffixes-for-rules): Remove variable.
6181 (elide-routines.oS): Elide all routines except static-only
6182 routines.
6183 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6184 empty.
6185 (installed-libcs): Remove special case for .oS.
6186 (rmobjs): Likewise.
6187
6188 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6189
6190 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6191 do-tst-rpmatch): New targets.
6192 (test): Use them.
6193 (install-locales): Ignore comment lines.
6194
6195 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6196
6197 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6198 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6199 ($(objpfx)rtldtbl.h): Likewise.
6200 (CPPFLAGS-dl-load.c): Fix reference to object directory.
6201
6202 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
6203
6204 * manual/string.texi (Finding Tokens in a String): Extend strsep
6205 description and correct example.
6206
6207 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6208
6209 * manual/socket.texi: Remove misguided explicit line breaks and
6210 fix the formatting problem instead by reformulating the
6211 paragraphs.
6212 * manual/filesys.texi: Likewise.
6213 * manual/conf.texi: Likewise. Don't typeset table with index
6214 fonts, that looks worse than a minimally overfull line.
6215
6216 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6217
6218 * nscd/Makefile (nscd-modules): Move definition outside of
6219 conditional.
6220
6221 * pwd/Makefile: Use have-thread-library to test for thread
6222 library.
6223
6224 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6225
6226 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6227
6228 * iconvdata/uhc.c (gconv): Remove unused variable idx.
6229
6230 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
6231
6232 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6233
6234 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
6235
6236 * nss/getXXent_r.c: Correctly handle failing setXXent function.
6237
6238 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6239 Reported by Andreas Jaeger.
6240
6241 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
6242
6243 * elf/Makefile: Fix typo.
6244 (distribute): Add dl-librecon.h.
6245 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6246 * elf/ldd.sh.in: Likewise.
6247 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6248 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6249 Use strsep correctly.
6250 (process_envvars): Allow platform specific variables.
6251 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6252 (_dl_load_cache_lookup): Test cache IDs found against
6253 _dl_correct_cache_id.
6254 * sysdeps/generic/dl-librecon.h: New file.
6255 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6256
6257 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6258
6259 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
6260
6261 * config.make.in (ldd-rewrite-script): New variable.
6262 * configure.in: Substitute ldd-rewrite-script.
6263 * elf/Makefile: Rewrite rules to generate ldd script.
6264 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6265 * elf/ldd.sh.in: Likewise.
6266 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6267 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6268 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6269 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6270 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6271
6272 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
6273
6274 * inet/rcmd.c (iruserok): Remain setuid to the local user
6275 while .rhosts is actually read, to make .rhosts-over-NFS work
6276 (PR libc/524). Use iruserfopen() for security checks on both
6277 hosts.equiv and .rhosts. General cleanup.
6278 (iruserfopen): New function, performs careful checking on
6279 hosts.equiv/.rhosts files. Disallows all the old forbidden
6280 stuff plus hard links to files.
6281
6282 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
6283
6284 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6285
6286 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6287
6288 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
6289
6290 * sysdeps/i386/i486/bits/string.h: Fix typos.
6291
6292 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
6293
6294 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6295 strong alias.
6296
6297 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6298
6299 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6300 Added. Used by libm.so on alpha.
6301
6302 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6303
6304 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6305 defined.
6306
6307 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
6308
6309 * Makerules (object-suffixes-for-rules): Add .oS only for
6310 building shared library.
6311 Add ranlib rule for nonshared library.
6312 (rmobjs): Fix typo.
6313
6314 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6315 into for shared library only.
6316 (CPPFLAGS-.oS): Add -DPIC.
6317 (libtypes): Use $(object-suffixes-for-rules) instead of
6318 $(object-suffixes).
6319
6320 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
6321
6322 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6323 and install lddlibc4.
6324
6325 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
6326
6327 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6328 hash.
6329 * iconvdata/gaptab.pl: Likewise.
6330
6331 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
6332
6333 * Rules: Allow Makefiles to specify test-static for tests which
6334 cannot be linked dynamically.
6335 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6336 tests-static.
6337
6338 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6339
6340 * misc/error.c: Pretty print.
6341
6342 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6343
6344 * Makerules (libc_nonshared-name): Remove variable.
6345 (installed-libcs): Use libc-name instead.
6346 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
6347 dynamic linker.
6348
6349 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6350 libc.a. Remove explicit reference to dynamic linker.
6351
6352 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
6353
6354 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6355 to wchar_t.
6356 * iconv/iconv_prog.c: Correctly test for write failure.
6357 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6358 * iconvdata/gconv-modules: Likewise.
6359 * iconvdata/euckr.c: New file.
6360 * iconvdata/johab.c: New file.
6361 * iconvdata/ksc5601.c: New file.
6362 * iconvdata/ksc5601.h: New file.
6363 * iconvdata/uhc.c: New file.
6364 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6365
6366 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6367 * stdio/fopen.c: Correct handling of 'x' flag.
6368 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6369
6370 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6371
6372 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6373 * sunrpc/rpcsvc/key_prot.x: Likewise.
6374 * sunrpc/key_prot.c: Likewise.
6375
6376 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
6377
6378 * sysdeps/i386/bits/string.h: Correct things which never worked.
6379 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6380 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6381
6382 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
6383
6384 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6385 defined. Reported by Thorsten Kukuk.
6386
6387 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
6388
6389 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6390
6391 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6392
6393 * manual/install.texi (Supported Configurations): Add
6394 arm-linuxaout and arm-none.
6395
6396 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
6397
6398 * version.h (VERSION): Bump to 2.0.93.
6399
6400 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
6401
6402 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6403
6404 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6405
6406 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6407 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6408
6409 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
6410
6411 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6412
6413 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6414
6415 Put the static-only routines in a separate library.
6416 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6417 variables.
6418 (all-object-suffixes): Add .oS.
6419 * Makerules (libc_static-name): New variable.
6420 (installed-libcs): Add libc_nonshared.a.
6421 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6422 (object-suffixes-for-rules): New variable. Use it instead of
6423 object-suffixes for generating compilation rules.
6424 (rmobjs): Also remove *.oS.
6425 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6426 ($(objpfx)stamp.oS): New target.
6427
6428 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
6429
6430 * Makefile (FAQ): Automatically check in regenerated FAQ.
6431
6432 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
6433
6434 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6435
6436 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
6437
6438 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6439 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6440
6441 * sysdeps/generic/stub_warning: Removed.
6442
6443 * Makefile (distribute): Add include/des.h.
6444
6445 * manual/Makefile (distribute): Change dir-add.texi to
6446 dir-add.texinfo.
6447
6448 * glibcbug.in: Create files safely when mktemp is not available.
6449
6450 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6451 Patch by a sun <asun@saul1.u.washington.edu>.
6452
6453 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6454
6455 * libc.map: Rename getname to getnetname.
6456
6457 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
6458
6459 * manual/maint.texi: Use supported platform in examples.
6460
6461 * manual/install.texi: Document some installation tips.
6462
6463 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
6464
6465 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6466 Fix a bug so that it returns an error if a numeric parameter is
6467 unset and WRDE_UNDEF is set.
6468 Patch by Andreas Schwab and Tim Waugh.
6469 * posix/wordexp-test.c: Add new new test.
6470
6471 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
6472
6473 * posix/regex.c (regex_compile): Last patch wasn't entirely
6474 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6475
6476 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6477
6478 * manual/filesys.texi (Scanning Directory Content): Fix typo.
6479
6480 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
6481
6482 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6483 clobbered registers don't appear as operands.
6484
6485 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6486
6487 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6488 Solaris' sake.
6489
6490 * posix/regex.c (regex_compile): Don't allow non-alphabet
6491 characters in character set name.
6492
6493 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
6494
6495 * posix/wordexp.c (w_newword): New function.
6496 (do_parse_glob): New function.
6497 (parse_glob): Use do_parse_glob. Now handles the case where a
6498 variable expansion causes a field-split.
6499 (wordexp): Use w_newword.
6500 (parse_arith): Likewise.
6501 (exec_comm): Likewise.
6502 (parse_comm): Likewise.
6503 (parse_param): Likewise.
6504 (parse_backtick): Likewise.
6505
6506 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
6507
6508 * posix/wordexp-tst.sh: Another test.
6509
6510 * posix/wordexp-test.c: Two new tests.
6511
6512 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6513 directly (the code using realloc was buggy).
6514 (parse_param): Fix typo in comment.
6515
6516 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6517
6518 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6519
6520 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6521
6522 * libc.map: Add more rpc auth functions/variables.
6523
6524 * nscd/nscd.c: Add -g option to argp options.
6525
6526 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6527
6528 * configure.in: Be prepared for gcc 2.9.10 and up.
6529 * configure.in: Add missing disabling of quote characters in
6530 compiler version check. Reported by HJ Lu.
6531
6532 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6533
6534 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6535
6536 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6537
6538 * intl/locale.alias: Fix spelling of romanian.
6539
6540 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6541 (distribute): Remove des.h.
6542 * include/des.h: New file.
6543 * sunrpc/des.h: Moved to ...
6544 * sunrpc/rpc/rpc_des.h: ...here.
6545
6546 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
6547
6548 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6549 Fix paren.
6550
6551 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6552
6553 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6554 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6555
6556 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
6557
6558 * elf/ldsodesf.h: New file.
6559 * elf/Makefile (distribute): Add ldsodefs.h.
6560 * elf/link.h: Separate internal information in exter header.
6561 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6562 * elf/dl-minimal.c: Likewise.
6563 * sysdeps/generic/dl-sysdep.c: Likewise.
6564 * elf/sprof.c: Likewise.
6565 * elf/dlsym.c: Likewise.
6566 * elf/dlvsym.c: Likewise.
6567 * elf/dlerror.c: Likewise.
6568 * elf/dladdr.c: Likewise.
6569 * elf/dlclose.c: Likewise.
6570 * elf/dlopen.c: Likewise.
6571 * elf/dl-addr.c: Likewise.
6572 * elf/dl-close.c: Likewise.
6573 * elf/dl-debug.c: Likewise.
6574 * elf/dl-deps.c: Likewise.
6575 * elf/dl-error.c: Likewise.
6576 * elf/dl-fini.c: Likewise.
6577 * elf/dl-init.c: Likewise.
6578 * elf/dl-load.c: Likewise.
6579 * elf/dl-lookup.c: Likewise.
6580 * elf/dl-object.c: Likewise.
6581 * elf/dl-open.c: Likewise.
6582 * elf/dl-profile.c: Likewise.
6583 * elf/dl-reloc.c: Likewise.
6584 * elf/dl-runtime.c: Likewise.
6585 * elf/dl-support.c: Likewise.
6586 * elf/dl-symbol.c: Likewise.
6587 * elf/dl-version.c: Likewise.
6588 * sysdeps/generic/dl-cache.c: Likewise.
6589 * sysdeps/generic/libc-start.c: Likewise.
6590 * iconv/gconv_dl.c: Likewise.
6591 * nss/nsswitch.c: Likewise.
6592
6593 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
6594
6595 * manual/nss.texi: The database is not called network but networks.
6596 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6597
6598 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6599
6600 * configure.in: Correct test for compiler version.
6601 Check that LD_LIBRARY_PATH doesn't contain current path.
6602
6603 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
6604
6605 * elf/dl-close.c (_dl_close): Fix byte count while removing
6606 the shared object from the global scope list and optimize
6607 a little bit.
6608
6609 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6610
6611 * manual/filesys.texi (Scanning Directory Content): Add missing
6612 closing brace.
6613 (Scanning Directory Content): Fix text.
6614
6615 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6616
6617 * manual/memory.texi (Heap Consistency Checking): Add paragraph
6618 explaining difference of -lmcheck and MALLOC_CHECK_.
6619
6620 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6621
6622 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6623 typos in comments.
6624
6625 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6626
6627 * test-skeleton.c (main): Fix test for exit signal.
6628
6629 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6630
6631 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6632
6633 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6634
6635 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6636 appropriate.
6637
6638 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6639
6640 * libc.map: Export __strtok_r.
6641
6642 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
6643
6644 * posix/regex.c (re_compile_fastmap): Remove unused variable
6645 num_regs and adjust comment.
6646 Patch by Jim Meyering <meyering@ascend.com>.
6647
6648 * math/math.h (M_*l): Extend long double constants to be usable
6649 for 128 bit floats. Patch by Richard Henderson.
6650
6651 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6652
6653 * sysdeps/m68k/m68020/wordcopy.S: New file.
6654
6655 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
6656
6657 * posix/wordexp.c: Rewrite parse_param.
6658 Patch by Tim Waugh and Andreas Schwab.
6659
6660 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
6661
6662 * Rules: Update timestamps on empty object files.
6663
6664 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
6665
6666 * manual/filesys.texi (Scanning Directory Content): Add description
6667 of 64 bits scandir function and friends.
6668
6669 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6670
6671 * glibcbug.in: Use mktemp to generate unique file name for
6672 temporary files.
6673
6674 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6675 ptsname_r. Use cast for execve call.
6676
6677 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
6678
6679 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6680 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6681 * io/sys/statvfs.h: New file.
6682 * sysdeps/generic/fstatvfs.h: New file.
6683 * sysdeps/generic/statvfs.h: New file.
6684 * sysdeps/generic/fstatvfs64.h: New file.
6685 * sysdeps/generic/statvfs64.h: New file.
6686 * sysdeps/generic/bits/statvfs.h: New file.
6687 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6688 * sysdeps/unix/sysv/linux/statvfs.c: New file.
6689 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6690
6691 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6692 and f_ffree elements.
6693
6694 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
6695 mount options in enum.
6696
6697 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6698
6699 * configure.in: Check for recent egcs/gcc.
6700
6701 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6702
6703 * libc.map: Add alphasort64, scandir64, versionsort64.
6704 * dirent/Makefile (routines): Add scandir64, alphasort64, and
6705 versionsort64.
6706 * dirent/alphasort64.c: New file.
6707 * dirent/scandir64.c: New file.
6708 * dirent/versionsort64.c: New file.
6709 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6710 versionsort.
6711 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6712 old name weak alias.
6713 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6714
6715 * dirent/alphasort.c: Use strcoll instead of strcmp.
6716
6717 * dirent/scandir.c: Optimize a bit.
6718
6719 * dirent/versionsort.c: Pretty print.
6720
6721 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6722
6723 * string/string.h: Add prototype for __strtok_r.
6724
6725 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6726
6727 * posix/Makefile: Fix typo in last change.
6728
6729 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
6730
6731 * dirent/dirent.h (scandir): Make argument of select function const.
6732 * dirent/scandir.c (scandir): Likewise.
6733 Reported by David.Faure@insa-lyon.fr [PR libc/512].
6734
6735 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
6736
6737 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6738 weak alias.
6739 * sysdeps/i386/strtok_r.c: Likewise.
6740
6741 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6742 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6743 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6744 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6745 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6746 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6747
6748 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6749
6750 * intl/localealias.c: Remove unneeded define for strdup.
6751
6752 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
6753
6754 * manual/argp.texi: Adjust for better TeX output.
6755 * manual/arith.texi: Likewise.
6756 * manual/conf.texi: Likewise.
6757 * manual/filesys.texi: Likewise.
6758 * manual/header.texi: Likewise.
6759 * manual/lgpl.texinfo: Likewise.
6760 * manual/math.texi: Likewise.
6761 * manual/message.texi: Likewise.
6762 * manual/pattern.texi: Likewise.
6763 * manual/process.texi: Likewise.
6764 * manual/signal.texi: Likewise.
6765 * manual/socket.texi: Likewise.
6766 * manual/startup.texi: Likewise.
6767 * manual/stdio.texi: Likewise.
6768 * manual/terminal.texi: Likewise.
6769 * manual/examples/rprintf.c: Likewise.
6770 * manual/examples/testopt.c: Likewise.
6771 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6772
6773 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
6774
6775 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6776 parameter name after seeing a digit if it's enclosed in braces.
6777
6778 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6779
6780 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6781
6782 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6783
6784 * manual/memory.texi (Heap Consistency Checking): Document
6785 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
6786
6787 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
6788
6789 * manual/Makefile: Add missing rules.
6790
6791 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6792
6793 * timezone/Makefile (generated): Define to remove all stamp files.
6794
6795 * sysdeps/generic/strsep.c: Also undefine __strsep.
6796
6797 * string/strdup.c: Undefine __strdup and strdup first.
6798 * string/strndup.c: Likewise.
6799
6800 * string/bits/string2.h: Correct strtok_r and strsep.
6801 Add strndup optimization.
6802
6803 * sysdeps/generic/strsep.c: Little optimization.
6804
6805 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
6806
6807 * string/bits/string2.h: Add optimization for strdup.
6808 Always define __strsep and __strtok_r and make real names available
6809 when feature select macros are defined.
6810
6811 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6812
6813 * manual/install.texi (Installation): Use i486-linux as example
6814 instead of the unsupported sunos4.
6815 (Reporting Bugs): Mention glibcbug script.
6816 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6817
6818 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6819
6820 * posix/wordexp-tst.sh: Make portable. Add more tests.
6821
6822 * posix/Makefile (do-globtest do-wordexp-test): New targets.
6823
6824 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
6825
6826 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6827 * sysdeps/generic/libc-start.c: ...here, replacing former content.
6828
6829 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6830 netpacket/packet.h.
6831
6832 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6833
6834 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6835
6836 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6837 in enumerator for strict standard compliance.
6838 * sysdeps/generic/bits/resource.h: Likewise.
6839
6840 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
6841
6842 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6843 (PLTJMP): New macro.
6844
6845 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6846 longjmp() when floating point enabled.
6847 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6848 * sysdeps/arm/__longjmp.S: Remove floating point code.
6849 * sysdeps/arm/setjmp.S: Likewise.
6850
6851 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6852 * sysdeps/arm/bsd-_setjmp.S: Likewise.
6853
6854 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6855 memset().
6856
6857 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6858 prototype.
6859
6860 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
6861
6862 Based on patches from Pat Beirne and Scott Bambrough:
6863
6864 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6865
6866 * sysdeps/arm/bits/fenv.h: New file.
6867
6868 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
6869 * sysdeps/arm/elf/setjmp.S: Likewise.
6870 * sysdeps/arm/elf/start.S: Likewise.
6871 * sysdeps/arm/init-first.c: Likewise.
6872 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6873 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
6874 comment about floating point to reflect current reality.
6875
6876 * sysdeps/unix/arm/brk.S: Support PIC.
6877 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6878 re-entrant code.
6879 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6880 return; call syscall_error through PLT.
6881 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6882
6883 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
6884
6885 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6886 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6888
6889 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6890
6891 * dirent/list.c (test): Return error value.
6892 (main): Exit with error value.
6893
6894 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6895
6896 * Makefile (distribute): Add test-skeleton.c.
6897 * test-skeleton.c: New file.
6898 * dirent/Makefile (tests): Add opendir-tst1.
6899 * dirent/opendir-tst1.c: New file.
6900
6901 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
6902
6903 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6904 Optimize memory handling.
6905 * sysdeps/unix/closedir.c: Optmize memory handling.
6906
6907 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
6908
6909 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6910 handling. Optimize a bit.
6911
6912 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
6913
6914 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6915 (parse_param): Fold in Andreas' fixes to do with when the end of
6916 the parameter name has been reached, and quoting inside ${...}.
6917 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6918 $((echo);(ls)).
6919
6920 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
6921
6922 * manual/maint.texi: Split out installation and contribution
6923 sections to their own appendices. Misc cleanups.
6924 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
6925 * manual/contrib.texi: New file.
6926 * manual/libc.texinfo: Pull in new appendices.
6927 * manual/header.texi: Correct node pointer.
6928
6929 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6930
6931 * manual/process.texi (Process Completion): Clarify return value
6932 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
6933
6934 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6935
6936 * posix/wordexp-test.c: Add more tests.
6937 (testit): Fix logic.
6938
6939 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6940 /dev/null instead of closing it, close pipe. Always chop off all
6941 trailing newlines. Kill and reap child before returning error.
6942 (w_addword, parse_glob): Fix memory leak.
6943 (wordexp): Fix dangling pointer problem.
6944
6945 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
6946
6947 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6948
6949 * posix/wordexp-test.c (main): Fix little thinkos and typos.
6950
6951 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6952 directory index by only the language.
6953
6954 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
6955
6956 * posix/wordexp-tst.sh: Store test results in the
6957 ${common_objpfx}posix directory.
6958
6959 * posix/wordexp-test.c: Remove temporary directory afterwards.
6960
6961 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6962
6963 * libc.map: Export internal versions of cancelable functions.
6964
6965 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6966
6967 * Makerules (MAKEFLAGS): Append `r'.
6968
6969 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6970
6971 * Makeconfig: Define have-thread-library, shared-thread-library
6972 and static-thread-library if a thread library is available. Don't
6973 define rt.
6974 * nscd/Makefile: Compile nscd if have-thread-library. Rename
6975 nscd-routines to nscd-modules. Use shared-thread-library and
6976 static-thread-library in dependencies.
6977 * rt/Makefile: Only compile librt if have-thread-library is
6978 defined.
6979 * Makefile (subdirs): Always include rt subdir.
6980
6981 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6982
6983 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6984
6985 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
6986
6987 * configure.in: Recognize variations for 32 MIPS processors.
6988 Don't assume ELF systems always have .weak, test for .weakext.
6989
6990 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
6991
6992 * configure.in: Irix6 is an ELF platform.
6993
6994 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
6995
6996 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6997 unmapping the last loaded segment.
6998
6999 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
7000
7001 * configure.in: Set base_os for Irix6.
7002 Correct test for .weakext.
7003
7004 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7005
7006 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7007 (new_line) to _dl_debug_message call.
7008
7009 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
7010
7011 * posix/wordexp.c (parse_param): Perform field-splitting after
7012 expanding positional parameter.
7013
7014 * posix/wordexp-tst.sh: Test that field-splitting is performed
7015 after expanding positional parameter.
7016
7017 * posix/wordexp.c (parse_param): Fixed memory leak in
7018 field-splitting after parameter expansion.
7019
7020 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
7021
7022 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7023 (get_toplvl_escape): Correctly terminate loop at EOF.
7024 Patch by Cristian Gafton <gafton@redhat.com>.
7025
7026 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
7027
7028 * string/tester.c (test_strpbrk): Add more strpbrk tests.
7029 (test_strsep): Likewise. Correct horrible bugs.
7030
7031 * string/bits/string2.h (strcspn): Optimize also reject string of
7032 length 2 and 3.
7033 (strspn): Likewise.
7034 (strpbrk): Likewise.
7035 (strsep): Likewise. Correct bug with successive separators and
7036 separators at the end of the string.
7037 * sysdeps/generic/strsep.c: Correct bug with successive separators
7038 and separators at the end of the string.
7039
7040 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
7041
7042 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7043 etc) now handled, as well as $$ (pid).
7044
7045 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7046 (distribute): Add wordexp-tst.sh.
7047
7048 * posix/wordexp-tst.sh: New file.
7049
7050 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7051 number of positional parameters. Renamed substitute_length to
7052 seen_hash.
7053 Don't free(env) is env is NULL.
7054
7055 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
7056
7057 * libc.map: Add pthread_attr_init to GLIBC_2.1.
7058
7059 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
7060
7061 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7062 for output file replacing gmon.out.
7063 Patch by Dean Gaudet <dgaudet@arctic.org>.
7064
7065 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7066
7067 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
7068 up namespace. Optimize finding end of line.
7069
7070 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7071
7072 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7073 securely. Optimized.
7074 (process_dl_debug): Add ':' to list of separators. Optimized.
7075
7076 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7077
7078 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7079 isless, islessequal, islessgreater, isunordered): Return zero or
7080 one.
7081
7082 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
7083
7084 * posix/wordexp-test.c: More tests.
7085 (main): Set up arena for pathname expansion tests (in a temporary
7086 directory).
7087 (testit): Don't check word count or word vector if return value is
7088 non-zero.
7089
7090 * posix/wordexp.c (exec_comm): Always chop off terminating
7091 linefeed (just like bash does).
7092 (parse_param): Change lots of occurrences of "if (!*env)" to "if
7093 (!env || !*env)".
7094 (parse_param): For assignment inside parameter expansion, use all
7095 expanded words in assignment rather than just the first.
7096 (parse_param): Corrected return value for parameter expansion of
7097 an unset variable when WRDE_UNDEF is in effect.
7098 (parse_dollars): Don't field-split if quoted.
7099 (wordexp): Opening brace character isn't allowed unquoted.
7100
7101 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
7102
7103 * elf/dlerror.c: Fix concurrency problems with error string and
7104 number.
7105
7106 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7107 filter/auxiliary are being loaded.
7108
7109 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
7110
7111 * elf/dlerror.c (last_object_name): Removed.
7112 (dlerror): Don't use last_object_name.
7113 (_dl_error_run): Omit second argument to _dl_catch_error.
7114 * elf/dl-error.c (struct catch): Remove objname member.
7115 (_dl_signal_error): Construct string including objname when given.
7116 (_dl_catch_error): Remove objname handling.
7117 * elf/link.h (_dl_catch_error): Fix prototype and comment.
7118 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7119 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7120 * nss/nsswitch.c (nss_dlerror_run): Likewise.
7121 * iconv/gconv_dl.c (dlerror_run): Likewise.
7122 [Corrects PR libc/501].
7123
7124 1998-03-12 Matthias Urlichs <smurf@noris.de>
7125
7126 * nscd/nscd.c: Ignore SIGPIPE.
7127
7128 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
7129
7130 * nscd/nscd_getgr_r.c: Use __ protected names.
7131 * nscd/nscd_getpw_r.c: Likewise.
7132
7133 1998-03-12 Matthias Urlichs <smurf@noris.de>
7134
7135 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7136 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7137 null bytes are not transmitted.
7138
7139 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7140
7141 * powerpc/syscalls.list: Correct typo.
7142 * alpha/syscalls.list: Likewise.
7143 * mips/syscalls.list: Likewise.
7144
7145 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
7146
7147 * socket/sys/socket.h: Add prototype for __socket.
7148
7149 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
7150
7151 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7152
7153 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7154 constants.
7155
7156 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7157 definition here.
7158 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7159 definition here.
7160
7161 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7162 AF_* and PF_* constants.
7163
7164 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7165
7166 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
7167
7168 * elf/rtld.c: Update help message.
7169 Install link maps for preloaded objects using main_map as loader.
7170
7171 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7172 * elf/dl-profile.c: Likewise.
7173
7174 * elf/dlsym.c: Little optimization.
7175 * elf/dlvsym.c: Likewise.
7176
7177 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
7178
7179 * posix/wordexp-test.c: Move test for parameter list at the very
7180 beginning.
7181
7182 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
7183
7184 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7185 WRDE_REUSE flag is set.
7186 (parse_param): Allow `*', `@', and numbers in parameter names.
7187 (parse_dollars): Differentiate between arithmetic expansion and a
7188 command substitution that starts immediately with a sub-shell
7189 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7190 (parse_param): Memory allocated with __alloca in a block was
7191 referenced outside that block. Adjusted to use malloc/free.
7192 (parse_param): Adjusted field-splitting algorithm so that there is
7193 not necessarily a field split at the end of a parameter expansion.
7194
7195 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
7196
7197 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7198 don't free words that have already been allocated.
7199 (parse_param): A dollar sign on its own will never have a pattern
7200 associated with it (like "${HOME%%/}" has), so don't try to free it.
7201 (parse_glob): Attempt to glob when an unquoted `[' is found
7202 (rather than an unquoted '{' (!)). Also for unquoted '?'.
7203 (parse_glob): Sorted out quoting in a glob-able word.
7204 (parse_param): Added $* and $@ handling.
7205
7206 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
7207
7208 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7209 parsing it.
7210
7211 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7212
7213 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7214 _dl_debug_message.
7215
7216 1998-03-12 Matthias Urlichs <smurf@noris.de>
7217
7218 * elf/dl-misc.c: Default for debug output should be stderr.
7219 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7220 * elf/dl-lookup.c: reference_name may be NULL or empty.
7221
7222 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7223
7224 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7225
7226 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
7227
7228 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7229
7230 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7231
7232 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7233
7234 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7236
7237 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7238
7239 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7240 init stuff.
7241
7242 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
7243
7244 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7245 flag.
7246
7247 * misc/syslog.c (vsyslog): Don't try to send if not connected to
7248 syslog daemon.
7249 (closelog_internal): Don't do anything if not connected.
7250
7251 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
7252
7253 * libc.map: Add _dl_debug_message.
7254 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
7255 before every line.
7256 * elf/fini.c: Correctly use new _dl_debug_message function.
7257 * elf/init.c: Likewise.
7258 * elf/dl-lookup.c: Likewise.
7259 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7260 * elf/dl-load.c: Likewise. Add more debugging prints.
7261 * elf/dl-reloc.c: Likewise.
7262 * elf/dl-version.c: Likewise.
7263 * elf/dl-support.c: Add variables for debugging.
7264 * elf/rtld.c: Likewise. Recognize new debug options.
7265 * elf/link.h: Declare new variables.
7266
7267 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7268
7269 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
7270
7271 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7272 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
7273
7274 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
7275
7276 * posix/wordexp-test.c (command_line_test): New function to allow
7277 testing of specific cases from the command-line.
7278
7279 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
7280
7281 * elf/dl-init.c (_dl_init_next): Print nicer messages.
7282 * elf/dl-fini.c (_dl_fini): Likewise.
7283 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7284
7285 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7286 symbol in debug message.
7287 (_dl_lookup_versioned_symbol_skip): Likewise.
7288
7289 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
7290
7291 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7292 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7293 * manual/filesys/texi: Document this.
7294
7295 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
7296
7297 * manual/filesys.texi: Document the change below.
7298
7299 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7300
7301 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7302 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7303
7304 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
7305
7306 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7307 instead scope. If debugging display information about symbol
7308 resolving.
7309 (_dl_lookup_symbol): Call do_lookup with correct parameters.
7310 (_dl_lookup_symbol_skip): Likewise.
7311 (_dl_lookup_versioned_symbol): Likewise.
7312 (_dl_lookup_versioned_symbol_skip): Likewise.
7313 * elf/dl-support.c: Define _dl_debug_symbols.
7314 * elf/link.h: Add declaration for _dl_debug_symbols.
7315 * elf/rtld.c: Define _dl_debug_symbols.
7316 (process_dl_debug): Recognize symbols option.
7317
7318 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
7319
7320 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7321 in correct format.
7322 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7323 with correct parameters.
7324 [!PIC]: Initialize __libc_multiple_libcs.
7325
7326 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
7327
7328 * elf/dl-support.c (_dl_debug_bindings): Add definition.
7329 * elf/rtld.c (_dl_debug_bindings): Add definition.
7330 (process_dl_debug): Recognize bindings option. Update help message.
7331 * elf/link.h (struct link_map): Add l_versyms member.
7332 (_dl_debug_bindings): Add declaration.
7333 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7334 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7335 and l_reloc_result.
7336 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7337 (sym_val): Remove a member, add m as link_map.
7338 (do_lookup): Return result appropriately.
7339 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7340 Call do_lookup correctly.
7341 (_dl_lookup_symbol_skip): Likewise.
7342 (_dl_lookup_versioned_symbol): Likewise.
7343 (_dl_lookup_versioned_symbol_skip): Likewise.
7344
7345 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
7346
7347 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7348 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7349
7350 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7351 * libc.map: Add chown to GLIBC_2.1.
7352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7353 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7354
7355 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7356
7357 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7358 weak alias.
7359 * sysdeps/alpha/ffs.c: Likewise.
7360 * sysdeps/am29k/ffs.c: Likewise.
7361 * sysdeps/i386/ffs.c: Likewise.
7362 * sysdeps/i960/ffs.c: Likewise.
7363 * sysdeps/m68k/ffs.c: Likewise.
7364 * sysdeps/m88k/ffs.c: Likewise.
7365 * sysdeps/powerpc/ffs.c: Likewise.
7366 * sysdeps/rs6000/ffs.c: Likewise.
7367 * sysdeps/vax/ffs.s: Likewise.
7368 * string/string.h: Declare __ffs.
7369 * libc.map: Export it.
7370 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7371 __builtin_ffs, which is not guaranteed to be namespace clean.
7372
7373 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7374
7375 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7376 table, which is much more likely to exist than debugging symbols.
7377 (printsym): Remove const.
7378 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
7379 header table.
7380
7381 * libc.map: Export __profile_frequency, used by elf/sprof, to
7382 avoid infinite recursion during startup.
7383
7384 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7385
7386 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7387 Readd lost negate.
7388
7389 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7390
7391 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
7392
7393 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7394
7395 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
7396
7397 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7398 LD_PRELOAD, and LD_VERBOSE.
7399 (dl_main): Use global variables set by process_envvars instead of
7400 calling getenv.
7401 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7402 LD_LIBRARY_PATH value, this comes with the parameter.
7403 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7404 ("LD_LIBRARY_PATH") to _dl_init_paths.
7405
7406 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
7407
7408 * elf/rtld.c (dl_main): Delay initialization of path structure if
7409 the dynamically linker is invoked implicitly until we read the
7410 dynamic section.
7411
7412 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
7413
7414 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7415
7416 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7417
7418 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7419 Linux 2.0 and 2.1.
7420
7421 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7422
7423 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
7424
7425 * Makeconfig (nisobjdir): Set to path to nis directory.
7426 (rpath-link): Add nisobjdir.
7427 Patch by Sven Verdoolaege <skimo@kotnet.org>.
7428
7429 * elf/Makefile: Pretty print.
7430 * elf/dl-lookup.c: Include unistd.h.
7431 * elf/dl-runtime.c: Likewise.
7432
7433 * localedata/Makefile (test-srcs): Add tst-rpmatch.
7434 (distribute): Add tst-rpmatch.sh.
7435 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7436
7437 New tests for rpmatch function by
7438 Jochen Hein <jochen.hein@delphi.central.de>.
7439 * localedata/tst-rpmatch.c: New file.
7440 * localedata/tst-rpmatch.sh: New file.
7441
7442 * localedata/locales/de_DE: Correct yesexpr and noexpr.
7443 * localedata/locales/de_AT: Likewise.
7444
7445 * posix/getopt.c: Update contact address.
7446 * posix/getopt1.c: Pretty print.
7447
7448 * sysdeps/generic/libc-start.c: Do most of the initialization now
7449 here instead of in start.S.
7450 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7451 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7452
7453 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7454 profil_counter to be public.
7455
7456 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
7457
7458 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7459 (parse_param): Coded parameter length expansion (${#var}).
7460 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7461 (parse_param): Cleaned up (fixed) error handling.
7462
7463 * posix/wordexp-test.c: IFS now includes non-whitespace character
7464 (comma). Added more tests.
7465
7466 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
7467
7468 * elf/link.h: Fix typos.
7469 Reported by Andreas Jaeger.
7470
7471 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7472 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7473
7474 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
7475
7476 * argp/argp-help.c: Remove last bits of using gettext instead of
7477 dgettext.
7478
7479 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
7480
7481 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7482 __libc_start_main.
7483 * csu/Makefile (routines): Add libc-start.
7484 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
7485 * elf/dl-lookup.c: Likewise.
7486 * elf/dl-version.c: Likewise.
7487 * sysdeps/i386/dl-machine.h: Likewise.
7488 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7489 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
7490 _dl_sysdep_message macros which use _dl_sysdep_output.
7491 * elf/dl-fini.c: Write out which destructor is called while debugging.
7492 * elf/dl-init.c: Likewise for constructor.
7493 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7494 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7495 _dl_sysdep_message. Add _dl_sysdep_output.
7496 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
7497 this file can be opened.
7498 For LD_DEBUG=libs also set _dl_debug_impcalls.
7499 * sysdeps/generic/dl-cache.c: Include unistd.h.
7500 * sysdeps/generic/libc-start.c: New file.
7501 * sysdeps/unix/sysv/linux/libc-start.c: New file.
7502 * sysdeps/i386/elf/start.S: Don't call main directly, call
7503 __libc_start_main instead.
7504
7505 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7506
7507 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
7508
7509 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7510
7511 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
7512
7513 * argp/argp.h (struct argp): Add new field domain.
7514 * argp/argp-help.c: Change all gettext calls to dgettext and use
7515 domain field from appropriate argp in call.
7516 * argp/argp-parse.c: Likewise.
7517
7518 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
7519
7520 * posix/wordexp-test.c: Change testsuite so that it can run even
7521 for ~root != /root.
7522
7523 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7524
7525 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7526
7527 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7528
7529 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7530 Don't store into global errno if we already store through
7531 __errno_location.
7532 * sysdeps/unix/i386/sysdep.S: Likewise.
7533 * sysdeps/unix/alpha/sysdep.S: Likewise.
7534 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7535 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
7537 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7538 PIC).
7539
7540 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7541
7542 * sysdeps/generic/sysdep.h (L): Remove definition.
7543 * sysdeps/i386/sysdep.h (L): Define it here instead.
7544
7545 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7546
7547 * nis/nis_call.c (__do_niscall): Safe and reset errno.
7548
7549 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7550
7551 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7552
7553 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7554 declaration style to avoid warnings.
7555
7556 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
7557
7558 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7559 "LD_DEBUG".
7560
7561 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
7562
7563 * posix/Makefile (tests): Add wordexp-test.
7564 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
7565 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7566
7567 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
7568
7569 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7570 dependencies.
7571
7572 * elf/link.h (struct r_search_path_elem): Add two new field for
7573 lib path debugging.
7574 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7575 variable accordingly.
7576 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7577 is considered next along with information about load paths.
7578 * sysdeps/generic/dl-cache.c: Likewise.
7579 * elf/dl-support.c: Define _dl_debug_libs.
7580 * elf/genrtldtbl.awk: Add initializers for two new field in
7581 struct r_search_path_elem.
7582
7583 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7584
7585 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7586 * sysdeps/m68k/lshift.S: Likewise.
7587 * sysdeps/m68k/rshift.S: Likewise.
7588 * sysdeps/m68k/sub_n.S: Likewise.
7589 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7590 * sysdeps/m68k/m68020/mul_1.S: Likewise.
7591 * sysdeps/m68k/m68020/submul_1.S: Likewise.
7592
7593 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7594 [_LIBC_REENTRANT]: Don't store into global errno.
7595
7596 * sysdeps/m68k/sysdep.h: New file.
7597 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
7598 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7599 (DO_CALL): Change to expect syscall name as argument.
7600 (PSEUDO): Pass syscall_name to DO_CALL.
7601 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7602 errno.
7603
7604 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
7605
7606 * elf/rtld.c: Speed up processing of environment variables. Do
7607 only one run on the environment by avoiding to call getenv.
7608 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7609 function. Used by patch above.
7610
7611 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7612
7613 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7614 running nscd.
7615 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7616 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7617 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7618
7619 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
7620
7621 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7622 module cannot be found. Reported by Andreas Jaeger.
7623
7624 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7625
7626 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7627 on platforms which default to unsigned chars.
7628 * nscd/nscd_getpw_r.c: Likewise.
7629 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7630 defining it.
7631
7632 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7633
7634 * elf/Makefile (install-bin): Change = to += for sprof to install
7635 ldd also.
7636
7637 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
7638
7639 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7640
7641 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
7642
7643 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7644
7645 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7646
7647 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7648 that a failure to connect to nscd doesn't change errno.
7649
7650 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7651
7652 * manual/maint.texi (Reporting Bugs): Change
7653 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7654
7655 * locale/iso-4217.def: Likewise
7656
7657 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
7658
7659 * manual/texinfo.tex: Updated.
7660
7661 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7662
7663 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7664 value.
7665 * sysdeps/posix/pathconf.c: Likewise.
7666 * posix/getconf.c: Print `undefined' if pathconf returns -1
7667 without setting errno.
7668
7669 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
7670
7671 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7672 problem.
7673 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7674 Patches by Elliot Lee <sopwith@cuc.edu>.
7675
7676 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
7677
7678 * elf/link.h (struct link_map): Add new field l_reloc_result.
7679 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7680 of relocation for the object to be profiled.
7681 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7682 to NULL.
7683 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7684 array here.
7685 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7686 contains a result from a previous run use this instead of computing
7687 the value again.
7688 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7689
7690 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7691
7692 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7693 offsets into the GOT.
7694 (RTLD_START): Likewise.
7695
7696 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
7697
7698 * elf/sprof.c: Cleanup a bit.
7699
7700 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
7701
7702 * sysdeps/generic/sysdep.h (L): New. Define.
7703
7704 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7705
7706 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7707
7708 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7709 to have only one exit point for functions.
7710 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7711 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7712 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7713 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7714 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7715
7716 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7717
7718 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7719 reset errno so that errno isn't set to ENOSYS in the first call.
7720 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7721 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7722 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7723 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7724
7725 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
7726
7727 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7728 * sysdeps/i386/addmul_1.S: Likewise.
7729 * sysdeps/i386/lshift.S: Likewise.
7730 * sysdeps/i386/mul_1.S: Likewise.
7731 * sysdeps/i386/rshift.S: Likewise.
7732 * sysdeps/i386/sub_n.S: Likewise.
7733 * sysdeps/i386/submul_1.S: Likewise.
7734 * sysdeps/i386/i586/add_n.S: Likewise.
7735 * sysdeps/i386/i586/addmul_1.S: Likewise.
7736 * sysdeps/i386/i586/lshift.S: Likewise.
7737 * sysdeps/i386/i586/mul_1.S: Likewise.
7738 * sysdeps/i386/i586/rshift.S: Likewise.
7739 * sysdeps/i386/i586/sub_n.S: Likewise.
7740 * sysdeps/i386/i586/submul_1.S: Likewise.
7741
7742 * sysdeps/i386/sysdep.h: Extend last change.
7743
7744 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7745 to have only one exit point for functions.
7746
7747 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7748
7749 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
7750 search.
7751
7752 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
7753
7754 * Makerules: Generate libc.so with absolute paths for the used
7755 shared objects.
7756
7757 * config.make.in: Add MAKEINFO definition.
7758
7759 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7760
7761 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7762 (ENTRY): Use STABS_FUN.
7763 (END): Use STABS_FUN_END.
7764 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7765
7766 * elf/Makefile: Add rules to build sprof program.
7767 * elf/sprof.c: New file.
7768
7769 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7770
7771 * misc/syslog.c (openlog_internal): Insert missing closing brace.
7772
7773 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7774
7775 * configure.in: Check for working msgfmt version (from GNU gettext
7776 0.10 or later).
7777
7778 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7779
7780 * configure.in: Avoid //s in sysdirs.
7781 Patch by Roland McGrath.
7782
7783 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7784
7785 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
7786
7787 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7788 setting _dl_global_scope for RTLD_GLOBAL.
7789
7790 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7791
7792 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7793 possible lists of object-suffixes are taken care of.
7794
7795 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
7796
7797 * timezone/private.h: Update from tzcode1998c.
7798 * timezone/zic.c: Likewise.
7799 * timezone/antarctica: Updated from tzdata1998c.
7800 * timezone/asia: Likewise.
7801 * timezone/australasia: Likewise.
7802 * timezone/europe: Likewise.
7803 * timezone/southamerica: Likewise.
7804
7805 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
7806
7807 * posix/glob.c (glob_in_dir): Add support for cases insensitive
7808 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7809
7810 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
7811
7812 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7813 Changed type of TWO43, TWO52 from float to double.
7814 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7815 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7816 Changed type of TWO43 from float to double.
7817 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7818 Use __isinff.
7819
7820 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
7821
7822 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7823 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7824 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7825
7826 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
7827
7828 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7829 kernel_termios.h.
7830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7831 Clean up random whitespace.
7832 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7833 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7835 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7836
7837 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
7838
7839 * shlib-versions: Match alpha*.
7840 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7841 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7842
7843 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7844 Implement copysign* with and without __ prefix.
7845 Likewise for fabs; use builtin for gcc 2.8.
7846 (floor*): New.
7847 (fdim*): New.
7848
7849 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7850 (R_SPARC*): Match current v9 ABI.
7851
7852 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7853
7854 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7855 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7856 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7857 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7858 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7859 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7860 * sysdeps/unix/grantpt.c (argv): Fix consts.
7861 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7862 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7863
7864 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7865
7866 * misc/syslog.c: Change to allow user the interpretation of the
7867 outcome even with syslog having no return value.
7868
7869 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
7870
7871 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7872 that the number of program headers is >0 (which is wrong for the
7873 loader itself).
7874
7875 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7876
7877 * Makefile (distribute): Add README.libm.
7878
7879 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7880
7881 * time/clocktest.c (main): Correct typo: "--" -> "==".
7882
7883 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
7884
7885 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7886 inline function.
7887 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7888 inline functions.
7889
7890 * math/libm.map (__atan2): Added.
7891
7892 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7893
7894 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7895 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7896
7897 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7898 bug.
7899
7900 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7901
7902 * manual/arith.texi (Old-style number conversion): Correct
7903 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7904
7905 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7906
7907 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7908 but does not require it. Handle missing argv[] values gracefully.
7909 * posix/execl.c: Likewise.
7910 * posix/execle.c: Likewise.
7911
7912 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7913
7914 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7915 bit.
7916 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7917
7918 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
7919
7920 * libc.map: Add __adjtimex.
7921
7922 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7923
7924 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7925 Remove memset.
7926
7927 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
7928
7929 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7930 to 64.
7931
7932 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7933
7934 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7935 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7936
7937 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7938 for shared library.
7939
7940 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7941
7942 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7943 Added adjtimex and old_adjtimex.
7944
7945 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7946 New.
7947 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7948 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7949
7950 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7951 symbols only for shared library.
7952 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7953 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7954 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7955 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7956 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7957 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7958 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7959
7960 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7961 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7962 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7963 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7964 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7965 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7966 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7967 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7968
7969 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7970 rusage pointer.
7971
7972 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7973 New macros.
7974 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7975 timex and __adjtimex, respectively.
7976
7977 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7978
7979 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7980
7981 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
7982
7983 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7984 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7985
7986 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
7987
7988 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7989
7990 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
7991
7992 * Makefile.in: Disable built-in rules.
7993
7994 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7995
7996 * sysdeps/i386/fpu/t_exp.c: Move to ...
7997 * sysdeps/libm-i387/t_exp.c: ... here.
7998
7999 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
8000
8001 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8002 from __exp2_deltatable.
8003
8004 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
8005
8006 * nis/ypclnt.c (yp_master): Check result of strdup.
8007 Patch by Thorsten Kukuk.
8008
8009 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8010
8011 * nis/ypclnt.c: Give clnt handle after error checking free, change
8012 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8013
8014 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
8015
8016 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8017 Patch by Joe Keane <jgk@jgk.org>.
8018
8019 * misc/fstab.h (struct fstab): Change fs_type member to be const.
8020 * misc/fstab.c: Remove casts in fs_type assignments.
8021
8022 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8023
8024 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
8025 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
8026 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8027 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8028 * sysdeps/powerpc/bits/fenv.h: Likewise.
8029 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8030 * sysdeps/generic/bits/fenv.h: Likewise.
8031 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8032 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8033 * sysdeps/powerpc/test-arith.c (main): Likewise.
8034
8035 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
8036
8037 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8038 the comparison macros.
8039
8040 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
8041
8042 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8043 (__log2): Fixed return values.
8044 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8045
8046 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
8047
8048 * math/math.h (isunordered): Rename local variables to ensure
8049 correct code. Reported by HJ Lu.
8050
8051 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
8052
8053 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8054 isless, islessequal, islessgreater, isunordered): Fix syntax for
8055 fucompip instruction.
8056 (isless, islessequal): Fix logic.
8057
8058 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8059
8060 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8061 (comparisons_test): New tests for comparison macros.
8062
8063 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
8064
8065 * Makeconfig: Filter out frame-pointer effecting options when
8066 compiling profiling or debugging code.
8067 * config.h.in (internal_function): Don't define here if PROF is
8068 defined.
8069 * gmon/gmon.c (__moncontrol): Don't change state if already in error
8070 state.
8071 (__monstartup): If calloc fails set error state and mark array as
8072 not allocated.
8073 (_mcleanup): Don't call write_gmon if in error state. Don't try
8074 to free array if not successfully allocated.
8075
8076 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8077 Include elf.h to get macro definitions.
8078 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8079
8080 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
8081
8082 * elf/ldd.sh.in: Add compatibility for broken old shells.
8083 * elf/ldd.bash.in: Likewise.
8084
8085 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
8086
8087 * sunrpc/rpc_main.c (open_input): Check pipe return error.
8088
8089 * time/clocktest.c (main): Check signal return error.
8090
8091 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8092
8093 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8094 "/" and use do-install-program. Reported by Mark M. Kettenis.
8095 (subdir_install): Likewise.
8096
8097 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8098
8099 * sunrpc/rpc_sample.c: Fix typo.
8100
8101 * nscd/connections.c: Use locale.
8102 * nscd/grpcache.c: Add debug messages, gidtbl should get the
8103 calloc result.
8104 * nscd/nscd.c: Check if init functions fails.
8105 * nscd/nscd_conf.c: Allow disabling of group cache.
8106 * nscd/nscd_getgr_r.c: Fix return code if group not found.
8107 * nscd/pwdcache.c: Fix debug messages.
8108
8109 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8110
8111 * libc.map: Add __monstartup and _mcleanup for profiling support.
8112
8113 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8114
8115 * libc.map: Export __getpagesize, for binary compatibility with
8116 2.0.
8117
8118 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8119
8120 * posix/globtest.sh: Use --library-path instead of
8121 LD_LIBRARY_PATH.
8122 * localedata/sort-test.sh: Likewise.
8123 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
8124
8125 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8126
8127 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8128 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8129 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8130
8131 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8132 kernel_sigaction): Define.
8133 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8134 kernel_sigaction): Define.
8135
8136 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8137
8138 * math/libm-test.c: Change epsilons for libm-ieee754.
8139
8140 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
8141
8142 * sysdeps/i386/__longjmp.S: Fix race condition.
8143 Reported by Bruno Haible <haible@ilog.fr>.
8144
8145 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
8146
8147 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
8148 * iconvdata/8bit-gap.c: Likewise.
8149 * iconvdata/8bit-generic.c: Likewise.
8150 * iconvdata/iso6937.c: Likewise.
8151 * iconvdata/iso8859-1.c: Likewise.
8152 * iconvdata/sjis.c: Likewise.
8153 * iconvdata/t61.c: Likewise.
8154
8155 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8156
8157 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8158 feature tests by positive feature tests.
8159
8160 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8161
8162 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8163
8164 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
8165
8166 * elf/dlvsym.c (dlvsym_doit): More corrections.
8167 Patch by Andreas Jaeger.
8168
8169 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
8170
8171 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8172
8173 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
8174
8175 * libc.map: More reordering for GLIBC_2.1 symbols.
8176
8177 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8178
8179 * libc.map: Move some functions from version GLIBC_2.0 to
8180 GLIBC_2.1, reorder declarations.
8181
8182 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
8183
8184 * resolv/gethnamaddr.c (addrsort): Make this function extern.
8185 Patch by zab@thebrain.grumblesmurf.net.
8186
8187 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8188
8189 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8190 NIS+ functions with version GLIBC_2.1.
8191
8192 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
8193
8194 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8195 with 2.0 binaries. Reported by Thorsten Kukuk.
8196
8197 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8198
8199 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8200
8201 * elf/dlsym.c (dlsym_doit): Likewise.
8202
8203 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8204
8205 * elf/link.h: Correct typos.
8206
8207 * iconv/iconv_prog.c: Correct typo.
8208
8209 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
8210
8211 * iconv/Makefile: Add rules to build and install iconv program.
8212 * iconv/iconv_prog.c: New file.
8213
8214 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
8215
8216 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8217 _dl_lookup_symbol_skip call.
8218 * elf/dlvsym.c (dlvsym_doit): Likewise.
8219
8220 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
8221
8222 * libio/iovsscanf.c: Do not include errno.h.
8223
8224 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8225
8226 * elf/dl-load.c (add_name_to_object): Don't translate strings.
8227 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8228 pulling in the whole error list.
8229 (__dcgettext, dcgettext): Removed.
8230 * libc.map: Export _strerror_internal.
8231
8232 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
8233
8234 * sysdeps/i386/fpu/t_exp.c: New file.
8235
8236 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8237
8238 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8239 everything with version GLIBC_2.1.
8240 * hesiod/libnss_hesiod.map: Likewise.
8241
8242 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8243
8244 * manual/arith.texi (Old-style number conversion): This node is a
8245 section, not a subsection.
8246
8247 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8248
8249 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8250
8251 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8252
8253 * elf/rtld.c (dl_main): Make sure that the library search paths
8254 have been initialized before the first call to _dl_map_object.
8255
8256 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8257
8258 * Makerules (common-generated): Add libc_pic.os.
8259
8260 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8261
8262 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8263 of the executable.
8264
8265 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8266
8267 * sysdeps/m68k/fpu/t_exp.c: New file.
8268
8269 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
8270
8271 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8272 to global errno variable anymore.
8273
8274 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
8275
8276 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8277 If PRELOADED is nonzero check in case of an SUID application
8278 whether the shared object has the SUID bit set.
8279 Fix some other problems with handling shared objects in system
8280 specific directories.
8281 (_dl_map_object): Also take extra parameter and pass it to open_path.
8282 * elf/link.h (_dl_map_object): Correct prototype and comment.
8283 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8284 * elf/dl-open.c (_dl_open): Likewise.
8285 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8286
8287 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8288
8289 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
8290
8291 * math/libm-test.c (modf_test): Add test for 1.5.
8292
8293 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8294 0 to get always an int.
8295
8296 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8297
8298 * math/libm.map: Move all symbols that are new in glibc 2.1 to
8299 version GLIBC_2.1.
8300
8301 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
8302
8303 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8304 trying to read another character.
8305
8306 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8307
8308 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8309 name to lowercase.
8310
8311 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8312 name to lowercase, add test for big enough buffer.
8313
8314 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8315
8316 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8317 Make compatible with older kernels. Patch by Richard Henderson.
8318
8319 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
8320
8321 * elf/dl-load.c (open_path): Use __xstat instead of stat.
8322
8323 * localedata/tst-locale.sh: Comment out first test for now.
8324
8325 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
8326
8327 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8328 as 1.
8329 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8330 Likewise.
8331
8332 * libio/iogetline.c (_IO_getline_info): Renamed from
8333 _IO_getline.
8334 (_IO_getline): Just call _IO_getline_info.
8335
8336 * libio/libioP.h (_IO_getline_info): New declaration.
8337
8338 * libc.map (_IO_getline_info, __write): Added.
8339
8340 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8341
8342 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8343 const char* to shut up gcc.
8344
8345 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
8346
8347 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8348 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8349
8350 * math/math.h: Define M_* constants always as `double' and add new
8351 macros M_*l which are of type `long double'.
8352 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8353 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8354 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8355 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8356 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8357 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8358 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8359 * math/libm-tst.c: Likewise.
8360
8361 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8362 define as long double unconditionally.
8363
8364 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8365
8366 * manual/arith.texi (Old-style number conversion): Correct some
8367 typos.
8368
8369 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
8370
8371 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8372 Restore.
8373
8374 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8375
8376 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
8377
8378 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8379 on $(rtld-ldscript).
8380
8381 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8382 starting from 0 not only from `from'.
8383 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8384
8385 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
8386
8387 * elf/rtld.c (dl_main): Recognize --library-path parameter and
8388 pass value (or NULL) to _dl_init_paths.
8389 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8390 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
8391 environment variable.
8392 * elf/link.h: Change prototype for _dl_init_paths.
8393 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8394
8395 * localedata/Makefile (distribute): Add test files.
8396
8397 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8398
8399 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8400 test1.def, test2.def, test3.def, test4.def}: Simple input files
8401 for localedef. Contributed by Yung-Ching Hsiao
8402 <yhsiao@cae.wisc.edu>.
8403
8404 * localedata/Makefile (tests): Call tst-locale.sh.
8405
8406 * localedata/tst-locale.sh: New file, regression tests for some
8407 localedef problems.
8408
8409 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8410
8411 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8412
8413 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8414 terminated.
8415 * nis/nss_nisplus/nisplus-network.c: Likewise.
8416 * nis/nss_nisplus/nisplus-proto.c: Likewise.
8417 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8418 * nis/nss_nisplus/nisplus-service.c: Likewise.
8419
8420 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8421 and support generating thread safe RPC code.
8422 * sunrpc/rpc_main.c: Add changes.
8423 * sunrpc/rpc_clntout.c: Likewise.
8424 * sunrpc/rpc_cout.c: Likewise.
8425 * sunrpc/rpc_hout.c: Likewise.
8426 * sunrpc/rpc_parse.c: Likewise.
8427 * sunrpc/rpc_sample.c: Likewise.
8428 * sunrpc/rpc_scan.c: Likewise.
8429 * sunrpc/rpc_svcout.c: Likewise.
8430 * sunrpc/rpc_util.c: Likewise.
8431 * sunrpc/rpc_util.h: Add new structs and prototypes.
8432 * sunrpc/proto.h: Remove prototypes for static functions.
8433
8434 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8435
8436 * locale/programs/ld-messages.c (messages_finish): Don't skip
8437 error checking when being quiet.
8438 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8439 (set_class_defaults): Likewise.
8440 * locale/programs/charmap.c (parse_charmap): Likewise.
8441 * locale/programs/ld-collate.c (collate_finish): Likewise.
8442 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8443 * locale/programs/ld-time.c (time_finish): Likewise.
8444 * locale/programs/locfile.c (write_locale_data): Likewise.
8445
8446 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8447 unknown characters and empty ranges.
8448 * locale/programs/ld-collate.c (collate_order_elem): When
8449 processing an ellipsis properly form a linked list in the result
8450 table, fix typo when allocating ordering array.
8451 [PR libc/419]
8452
8453 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8454
8455 * elf/Makefile (ld-map): Define.
8456 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
8457 `$(rtld-ldscript)'.
8458 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
8459 on $(ld-map).
8460 (rtld-link): Combine the two versions of this definition. Fixed
8461 to make it work when no symbol versioning is used.
8462
8463 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
8464
8465 * Makeconfig (build-program-cmd): Use --library-path parameter to
8466 ld.so instead of environment variable.
8467
8468 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8469 * sunrpc/rpc_main.c: Remove support for -$$ option again.
8470
8471 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8472
8473 * Make-dist: Respect with-cvs setting.
8474 * MakeTAGS (all-pot): Likewise.
8475 * sysdeps/sparc/sparc32/Makefile: Likewise.
8476 * sysdeps/mach/hurd/Makefile: Likewise.
8477 * stdlib/Makefile: Likewise.
8478 * posix/Makefile: Likewise.
8479 * intl/Makefile: Likewise.
8480 * po/Makefile (linguas): Likewise
8481
8482 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8483
8484 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8485
8486 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
8487
8488 * libc.map: Add __strcasecmp.
8489
8490 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8491 module.
8492
8493 * nss/getXXent_r.c: If no more module is found don't try to call
8494 setXXent functions but leave unsuccessfully.
8495
8496 * malloc/obstack.h: Cleanups.
8497
8498 * sysdeps/wordsize-32/stdint.h: New file.
8499 * sysdeps/wordsize-64/stdint.h: New file.
8500 * sysdeps/generic/stdint.h: New file.
8501 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8502 * sysdeps/wordsize-64/inttypes.h: Likewise.
8503 * stdlib/Makefile (headers): Add stdint.h.
8504
8505 1998-02-03 Paul Eggert <eggert@twinsun.com>
8506
8507 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8508
8509 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
8510
8511 * timezone: New directory.
8512 * time/README, time/africa, time/antarctica, time/asia,
8513 time/australasia, time/backward, time/checktab.awk,
8514 time/etcetera, time/europe, time/factory, time/ialloc.c,
8515 time/iso3166.tab, time/leapseconds, time/northamerica,
8516 time/pacificnew, time/private.h, time/scheck.c,
8517 time/solar87, time/solar88, time/solar89, time/southamerica,
8518 time/systemv, time/test-tz.c, time/tzfile.h,
8519 time/tzselect.ksh, time/yearistype, time/zdump.c,
8520 time/zic.c, time/zone.tab: Moved to timezone.
8521 * time/tzfile.c: Include tzfile.h from timezone subdir.
8522 * time/tzset.c: Likewise.
8523 * time/Makefile: Cut out all code relating to timezones...
8524 * timezone/Makefile: ...and paste it in here.
8525 * Makefile (subdirs): Add timezone.
8526
8527 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
8528
8529 * libc.map (_sys_nerr): Added.
8530
8531 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8532 versioned symbol.
8533
8534 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
8535
8536 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8537 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8538 Reported by Craig Metz <cmetz@inner.net>.
8539
8540 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8541
8542 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8543 instead of strcasecmp.
8544 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8545
8546 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8547
8548 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
8549
8550 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8551 Patch by Dean Gaudet <dgaudet@arctic.org>.
8552
8553 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
8554
8555 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8556
8557 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
8558
8559 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8560 with no poll syscall, just include the BSD version.
8561 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8562 kernel without the syscall, include the stub version.
8563 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8564 * sysdeps/generic/getresuid.c: New file.
8565 * sysdeps/generic/getresgid.c: New file.
8566
8567 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
8568
8569 * stdio-common/vfscanf.c: Correct last change a bit.
8570
8571 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
8572
8573 * elf/Makefile: Don't use --version-script parameter to link ld.so
8574 unconditionally.
8575
8576 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
8577
8578 * math/Makefile: Add t_exp.
8579 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8580 constants.
8581 * math/test-reduce.c: Remove temporarily, it seems to be broken.
8582 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8583 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8584 better accuracy.
8585 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8586 algorithm for very large/very small arguments.
8587 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8588 correct algorithm for very large/very small arguments; adjust for
8589 new table.
8590 * sysdeps/libm-ieee754/t_exp.c: New file.
8591 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8592
8593 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8594 back, with comment that explains what breaks when you remove it :-(.
8595
8596 * localedata/xfrm-test.c: Avoid integer overflow.
8597
8598 * stdlib/strfmon.c: char is unsigned, sometimes.
8599
8600 * sysdeps/powerpc/Makefile: Remove quad float support.
8601 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8602 * sysdeps/powerpc/quad_float.h: Likewise.
8603 * sysdeps/powerpc/test-arith.c: Likewise.
8604 * sysdeps/powerpc/test-arithf.c: Likewise.
8605
8606 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8607 * sysdeps/generic/s_exp2f.c: Likewise.
8608
8609 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8610 don't try anything if _SOFT_FLOAT.
8611
8612 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8613
8614 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8615 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8616 * wctype/wctype.c: Likewise.
8617 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8618 changed. They are incompatible with the _ISxxx values from
8619 <ctype.h> on little endian machines.
8620 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8621 bit number. This fixes the real bug and restores the integrity of
8622 the ctype locale file.
8623 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8624 * wctype/wcfuncs_l.c: Likewise.
8625 * wctype/wcextra.c: Likewise.
8626 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8627 byte swapping.
8628
8629 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8630
8631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8632 into .bss segment instead of .common, so that aliases on it work.
8633
8634 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8635 .size directives, put into .bss segment instead of initializing it
8636 to 4.
8637
8638 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
8639
8640 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8641
8642 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8643 functions.
8644 Make names without __ weak aliases.
8645 (__libc_release, __libc_version): Make them static.
8646
8647 * include/gnu/libc-version.h: New file.
8648 * Makefile (headers): Add gnu/libc-version.h.
8649
8650 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
8651
8652 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8653 and use x for member name.
8654 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8655
8656 * stdlib/drand48.c: Change according to member name change.
8657 * stdlib/drand48_r.c: Likewise.
8658 * stdlib/lcong48_r.c: Likewise.
8659 * stdlib/lrand48.c: Likewise.
8660 * stdlib/lrand48_r.c: Likewise.
8661 * stdlib/mrand48.c: Likewise.
8662 * stdlib/mrand48_r.c: Likewise.
8663 * stdlib/seed48.c: Likewise.
8664 * stdlib/seed48_r.c: Likewise.
8665 * stdlib/srand48_r.c: Likewise.
8666
8667 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8668
8669 * nss/test-netdb.c: Add some more test cases.
8670
8671 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
8672
8673 * libio/iovsscanf.c: Undo last change modifying errno.
8674
8675 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8676
8677 * stdio-common/vfscanf.c: Never try to read another character
8678 after EOF. Don't decrement read_in after EOF, it wasn't
8679 incremented in the first place.
8680 (NEXT_WIDE_CHAR): Set First, not first.
8681
8682 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
8683
8684 * db/Makefile ($(inst_libdir)/libndbm.a,
8685 $(inst_libdir)/libndbm.so): New targets.
8686 * db2/Makefile: Likewise.
8687
8688 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
8689
8690 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8691 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8692
8693 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8694
8695 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8696 <streambuf.h>.
8697 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8698
8699 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8700
8701 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8702 versioned symbols.
8703
8704 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
8705
8706 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8707 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8708 Added for libdl.so.
8709
8710 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8711
8712 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8713 extra syscall.
8714
8715 * grp/Makefile: Fix logic when checking for thread package.
8716 * pwd/Makefile: Likewise.
8717
8718 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
8719
8720 * elf/Makefile (rtld-map): Replaced by libc-map.
8721
8722 * elf/rtld.map: Removed.
8723
8724 * libc.map (__libc_enable_secure, _dl_catch_error,
8725 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8726 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8727 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8728 _dl_object_relocation_scope, _dl_relocate_object,
8729 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8730 _r_debug): Added for ld.so.
8731
8732 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
8733
8734 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8735 DO_VERSIONING.
8736 * libio/iofdopen.c: Ditto.
8737 * libio/iofopen.c: Ditto.
8738 * libio/oldfileops.c: Ditto.
8739
8740 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8741 version GLIBC_2.1.
8742
8743 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8744 oldsiglist from sysdep_routines and shared-only-routines.
8745
8746 * sysdeps/unix/sysv/linux/errlist.c: New.
8747 * sysdeps/unix/sysv/linux/errlist.h: New.
8748 * sysdeps/unix/sysv/linux/sizes.h: New.
8749 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8750 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8751
8752 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8753
8754 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8755 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8756 directive.
8757
8758 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8759
8760 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8761 (oldsiglist.c): Removed.
8762
8763 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8764 (_sys_siglist): Use SYS_SIGLIST instead.
8765 (_sys_nerr): Use SYS_NERR instead.
8766
8767 * sysdeps/gnu/errlist.c: Rebuilt.
8768
8769 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
8770
8771 * elf/Makefile (others-static): New, set to ldconfig.
8772 ($(objpfx)ldconfig): Removed.
8773
8774 * Rules (binaries-all, binaries-static, binaries-shared): New.
8775 Create targets for $(binaries-static) and $(binaries-shared).
8776
8777 * Makeconfig (+link-static, link-libc-static,
8778 link-extra-libs-static): New for static linking.
8779
8780 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8781
8782 * manual/memory.texi (Using the Memory Debugger): Fix typo.
8783
8784 * math/libm-test.c (modf_test): Add one more test for modf.
8785
8786 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
8787
8788 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8789 Rename from __libc_have_rt_sigs and leave as COMMON data.
8790
8791 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
8792
8793 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8794 of __finite.
8795
8796 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
8797
8798 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8799
8800 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
8801
8802 * misc/tst-efgcvt.c: Add yet more tests.
8803 * misc/efgcvt_r.c: And correct for these tests again.
8804 Reported by HJ Lu.
8805
8806 * isomac.c: Move to...
8807 * stdlib/isomac.c: ...here.
8808 * Makefile: Move rules for handling isomac...
8809 * stdlib/Makefile: ...to here.
8810
8811 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
8812
8813 * misc/tst-efgcvt.c: Add more tests.
8814 * misc/efgcvt_r.c: Correct result for above new tests.
8815
8816 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
8817
8818 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8819 NDIGIT <= 0.
8820
8821 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
8822
8823 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8824 if the programs weren't built.
8825
8826 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
8827
8828 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8829 FE_TONEAREST, soldier on regardless and do the best we can.
8830 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8831
8832 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
8833
8834 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8835 _STDIO_H, before including <bits/stdio_lim.h>.
8836
8837 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8838
8839 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8840 exist.
8841
8842 * sysdeps/arm/sys/ucontext.h: New file.
8843
8844 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
8845
8846 * manual/stdio.texi (Formatted Output Functions): Explicitly say
8847 that the return value from snprintf() does not count the
8848 terminating NUL as a character.
8849
8850 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
8851
8852 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8853 add description for sete[ug]id and general cleanup.
8854 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8855
8856 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8857
8858 * Makefile (parent-clean): Don't remove makefile fragments here.
8859 (postclean): New variable.
8860 (clean): Remove makefile fragments here.
8861 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
8862 (generated): Add isomac and isomanc.out.
8863 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8864 avoid-generated is set.
8865 (postclean-generated): Add soversion.mk.
8866 ($(common-objpfx)version.mk): Don't include if avoid-generated is
8867 set.
8868 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8869 avoid-generated is set.
8870 (common-generated): Add libc.so and libc.so$(libc.so-version).
8871 (generated): Add versioned libraries.
8872 (common-mostlyclean): Also remove %.so and %_pic.a.
8873 * csu/Makefile (generated): Add abi-tag.h.
8874 * db2/Makefile (extra-objs): Add getlong.o.
8875 * elf/Makefile (generated): Add ld.so, ldd and
8876 $(rtld-installed-name).
8877 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8878 * malloc/Makefile (generated): Add mtrace.
8879 * po/Makefile: Don't include version.mk, not needed any more.
8880 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8881 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8882 syscall.h -> sys/syscall.h.
8883 (common-generated): Add s-proto.d.
8884 (postclean-generated): Add sysd-syscalls.
8885 * localedata/Makefile (test-output): Add all output files.
8886 (generated): Add test-input and test-output.
8887 (generated-dirs): Add all the dirs.
8888
8889 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8890
8891 * Makefile (test-output, generated, generated-dirs): New
8892 variables.
8893
8894 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
8895
8896 * resolv/nss_dns/dns-host.c: Various code cleanups.
8897
8898 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
8899
8900 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8901 From Philip Blundell <pb@nexus.co.uk>.
8902 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8903
8904 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8905
8906 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8907 Suggested by debian/sparc porters.
8908
8909 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8910
8911 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8912 for ecvt and fcvt.
8913
8914 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
8915
8916 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8917 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
8918
8919 * signal/signal.h: Always define sigset_t if __need_sigset_t is
8920 defined even if __USE_POSIX is not defined.
8921
8922 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
8923
8924 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8925 to support obsolete tty major numbers correctly.
8926
8927 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
8928
8929 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8930 directory first and ignore install error.
8931
8932 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8933 128 from ptyno and fix a typo for the BSD style pty.
8934
8935 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8936
8937 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8938 syscalls.list's.
8939
8940 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8941
8942 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8943 getresuid and getresgid.
8944
8945 * sysdeps/unix/sysv/linux/getresuid.c: New file.
8946 * sysdeps/unix/sysv/linux/getresgid.c: New file.
8947
8948 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8949 s_getres[ug]id.
8950
8951 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8952 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8953 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8954 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8955
8956 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
8957
8958 * nscd/grpcache.c: Include <stdlib.h>.
8959
8960 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
8961
8962 * stdlib/atoll.c: Fix comments.
8963
8964 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8965 * sysdeps/posix/ttyname_r.c: Ditto.
8966
8967 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8968
8969 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8970 __USE_MISC, independent of __USE_UNIX98.
8971
8972 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
8973
8974 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8975 Rename from __libc_have_rt_sigs and leave as COMMON data.
8976
8977 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
8978
8979 * Makeconfig (CFLAGS-.os): Kill -fno-common.
8980 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8981
8982 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8983 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
8984 version symbols.
8985 * include/libc-symbols.h (symbol_version, default_symbol_version):
8986 Provide asm versions and correct !DO_VERSIONING versions.
8987 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8988 the weak symbol list.
8989
8990 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8991 Rename from __libc_have_rt_sigs and leave as COMMON data.
8992 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8993 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8994 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8995
8996 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
8997
8998 * sunrpc/Makefile: Correct dependencies of rpcgen.
8999
9000 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
9001
9002 * nscd/Makefile: Fix test for available linuxthreads add-on.
9003 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9004
9005 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9006
9007 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9008
9009 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9010
9011 * sysdeps/gnu/Makefile: Respect with-cvs variable.
9012
9013 * manual/errno.texi (Error Messages): Correct description of
9014 strerror_r. Pointed out by jonas@bagge.se.
9015
9016 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9017
9018 * manual/socket.texi (Host Address Functions): Clarify description
9019 of inet_network.
9020
9021 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9022
9023 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9024 (grantpt): Delete superfluous cast.
9025
9026 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9027
9028 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9029 elf/ldso_install instead of elf/subdir_install.
9030 (elf/ldso_install): New target.
9031
9032 * elf/Makefile (ldso_install): New target.
9033
9034 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9035
9036 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9037 of 1998-01-06.
9038
9039 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9040
9041 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9042 constant expressions.
9043
9044 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9045
9046 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9047 for __nss_configure_lookup.
9048 (output_hostent): Remove unused variable.
9049
9050 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9051
9052 * string/tst-inlcall.c: Fix format string.
9053
9054 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9055
9056 * inet/netinet/in.h: Rename second parameter of bindresvport to
9057 avoid buggy gcc warning. [PR libc/412]
9058
9059 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
9060
9061 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9062 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9063
9064 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9065 Follow POSIX and make tv_sec a time_t.
9066 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9067 new tv64 syscall as well as fall back to tv32.
9068 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9069 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9070 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9071 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9072 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9073 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9074 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9075 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9076
9077 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
9078 * include/rpcsvc/nis_tags.h: Likewise.
9079 * include/rpcsvc/nislib.h: Likewise.
9080
9081 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
9082
9083 * libc.map: Add _h_errno.
9084 * inet/herrno.c: Make _h_errno weak alias.
9085
9086 * login/Makefile (distribute): Add pty-internal.h.
9087
9088 * nscd/Makefile (distribute): Add all the files missing.
9089
9090 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9091 are available.
9092
9093 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9094 and report status at the end.
9095
9096 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9097
9098 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9099 variable.
9100 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9103
9104 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
9105
9106 * configure.in: Fix --enable-add-ons code.
9107
9108 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9109
9110 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9111 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9112 [PR libc/441]
9113
9114 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9115 occurence in cache. Reported by Rudolf Leitgeb
9116 <leitgeb@leland.stanford.edu>.
9117 [PR libc/440]
9118
9119 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
9120
9121 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9122 that it never is EINTR (which is tested for in _IO_vfscanf).
9123
9124 * Makefile.in: Call sub-make with CVSOPTS.
9125
9126 * elf/Makefile (distribute): Add dl-procinfo.h.
9127
9128 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9129
9130 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
9131
9132 * version.h (VERSION): Bump to 2.0.92.
9133
9134 1998-01-31 Phil Blundell <philb@gnu.org>
9135
9136 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9137 alias for __new_sys_siglist.
9138
9139 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
9140
9141 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9142 getgrgid_r.c if thread package is available.
9143 * pwd/Makefile: Likewise.
9144 * grp/getgrnam_r.c: Remove USE_NSCD definition.
9145 * grp/getgrgid_r.c: Likewise.
9146 * pwd/getpwnam_r.c: Likewise.
9147 * pwd/getpwuid_r.c: Likewise.
9148
9149 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
9150
9151 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9152 with error to allow user intervention.
9153 * nss/getXXent_r.c: Likewise.
9154
9155 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
9156
9157 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9158 AT_PLATFORM string. Pretty print AT_BASE info.
9159
9160 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9161 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9162 * sysdeps/generic/dl-procinfo.h: New file.
9163 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9164
9165 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
9166
9167 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9168
9169 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9170 thread and not pthread_detach.
9171
9172 * nscd/nscd.c: Rewrite to use argp instead of getopt.
9173
9174 1998-01-31 Phil Blundell <philb@gnu.org>
9175
9176 * configure.in: Add --without-cvs option to suppress automatic
9177 checkin of regenerated files.
9178 * config.make.in: Likewise.
9179 * Makefile: Respect with-cvs setting.
9180 * Makerules: Likewise.
9181
9182 * configure.in: Allow the standalone ARM port to be configured.
9183
9184 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9185
9186 * grp/getgrgid_r.c: Define USE_NSCD.
9187 * grp/getgrnam_r.c: Likewise.
9188 * pwd/getpwuid_r.c: Likewise.
9189 * pwd/getpwnam_r.c: Likewise.
9190
9191 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9192
9193 * nss/getXXbyYY_r.c: Try at first nscd.
9194
9195 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9196 * nscd/connections.c: New file.
9197 * nscd/dbg_log.c: New file.
9198 * nscd/dbg_log.h: New file.
9199 * nscd/grpcache.c: New file.
9200 * nscd/nscd.c: New file.
9201 * nscd/nscd.h: New file.
9202 * nscd/nscd_conf.c: New file.
9203 * nscd/nscd_stat.c: New file.
9204 * nscd/pwdcache.c: New file.
9205
9206 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9207 * nscd/nscd_getpw_r.c: Likewise.
9208 * nscd/nscd_proto.h: New, prototypes for client functions.
9209
9210 * nscd/nscd.conf: New, example for a configuration file.
9211 * nscd/nscd.init: New, example for a startup script.
9212
9213 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9214 avoid deadlocks.
9215 * nscd/getgrnam_r.c: Likewise.
9216 * nscd/getpwnam_r.c: Likewise.
9217 * nscd/getpwuid_r.c: Likewise.
9218
9219 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
9220
9221 * intl/Makefile: Use CVSOPTS in cvs invocation.
9222 * po/Makefile: Likewise.
9223 * posix/Makefile: Likewise.
9224 * stdlib/Makefile: Likewise.
9225
9226 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
9227
9228 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9229 [PR libc/410]
9230 * misc/Makefile (tests): Add tst-efgcvt.
9231 * misc/tst-efgcvt.c: New file.
9232
9233 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
9234
9235 * posix/regex.c: Add some more cleanups by Akim Demaille.
9236
9237 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
9238
9239 * signal/signal.h: Revert last change.
9240 * string/strsignal.c: Regard signal number NSGI as illegal.
9241 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9242 members.
9243
9244 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
9245
9246 * Makefile.in: Add comment about CVSOPTS Makefile variable.
9247 * Makerules: Use CVSOPTS in cvs invocation.
9248 * Makefile: Likewise.
9249 * MakeTAGS: Likewise.
9250 * Make-dist: Likewise.
9251
9252 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
9253
9254 * sysdeps/generic/memmem.c: Correct last change.
9255
9256 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
9257
9258 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9259 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9260
9261 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9262
9263 * nis/ypclnt.c: Try at first to use the binding file from ypbind
9264 before using RPC.
9265
9266 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9267
9268 * manual/memory.texi (Heap Consistency Checking): mcheck is
9269 declared in <mcheck.h>.
9270 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9271
9272 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9273
9274 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9275 beginning of haystack.
9276
9277 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9278
9279 * nss/nss_files/files-service.c: Correct last patch.
9280
9281 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
9282
9283 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9284 __libc_have_rt_sigs.
9285 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9286 including <bits/setjmp.h>.
9287 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9288 Patch from the Debian glibc/SPARC package.
9289
9290 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
9291
9292 * sysdeps/alpha/bzero.S: Fix a typo.
9293 * sysdeps/alpha/htonl.S: Ditto.
9294 * sysdeps/alpha/htons.S: Ditto.
9295
9296 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9297
9298 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9299
9300 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
9301
9302 * include/cpio.h: Move to ...
9303 * posix/cpio.h: ...here.
9304
9305 * locale/programs/ld-collate.c: Fix typo.
9306
9307 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9308
9309 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9310
9311 * login/utmp_file.c (pututline_file): Don't always report success
9312 if similar entry is found. Patch by Mark M. Kettenis.
9313
9314 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
9315
9316 * manual/Makefile: Don't try to install the info files if makeinfo
9317 is not available.
9318
9319 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
9320
9321 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9322 kernel's network ioctls, rather than using <linux/sockios.h> to
9323 get them. This way we are sure of maintaining compatibility if
9324 the kernel interface should change.
9325
9326 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
9327
9328 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9329
9330 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
9331
9332 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9334
9335 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
9336
9337 Implement System V pseudoterminal handling.
9338
9339 * login/Makefile
9340 (routines): Add getpt, grantpt, unlockpt, ptsname.
9341 (libutil-routines): Remove pty. Add openpty, forkpty.
9342 (distribute): New internal header pty-internal.h.
9343 (others): Add the helper program, pt_chown.
9344 (install-others): Install it, in $(libexecdir), mode 4755.
9345
9346 * login/pty-internal.h: New file.
9347 * login/openpty.c: New file.
9348 * login/forkpty.c: New file.
9349 * login/programs/pt_chown.c: New file.
9350
9351 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9352 * stdlib/stdlib.h: Prototype them.
9353
9354 * config.make.in: Define $(libexecdir).
9355 * Makeconfig: Define $(inst_libexecdir).
9356
9357 * sysdeps/generic/pty.c: Removed.
9358 * sysdeps/unix/sysv/linux/pty.c: Removed.
9359
9360 * sysdeps/generic/getpt.c: Stub out.
9361 * sysdeps/generic/grantpt.c: Likewise.
9362 * sysdeps/generic/ptsname.c: Likewise.
9363 * sysdeps/generic/unlockpt.c: Likewise.
9364
9365 * sysdeps/unix/grantpt.c: New file.
9366 * sysdeps/unix/bsd/getpt.c: New file.
9367 * sysdeps/unix/bsd/unlockpt.c: New file.
9368 * sysdeps/unix/sysv/linux/getpt.c: New file.
9369 * sysdeps/unix/sysv/linux/ptsname.c: New file.
9370 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9371
9372 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
9373
9374 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
9375
9376 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9377
9378 * nss/Makefile (tests): Add rule for test-netdb.c.
9379
9380 * nss/test-netdb.c: New file.
9381
9382 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
9383
9384 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9385 really kept as a variable. Patch by Richard Henderson,
9386 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9387
9388 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9389 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9390 entries as not existing.
9391
9392 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9393
9394 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9395 zero in alternate form with precision of zero, which must produce
9396 "0". Add braces to avoid ambiguous `else'.
9397
9398 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9399
9400 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9401 problem with strncpy.
9402 * nis/nss_compat/compat-pwd.c: Likewise.
9403 * nis/nss_compat/comapt-spwd.c: Likewise.
9404
9405 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9406
9407 * assert/assert.h (assert_perror): Correct test for errnum. Patch
9408 by uch@nop.or.jp. [PR libc/437]
9409
9410 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9411
9412 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9413
9414 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9415
9416 * stdio-common/test-popen.c: Include <errno.h>.
9417
9418 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9419 close.
9420
9421 * inet/getnetgrent_r.c: Include <errno.h>.
9422
9423 * db2/db/db_conv.c: Include <string.h> for memcpy.
9424
9425 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9426 so that memcpy is declared.
9427
9428 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9429
9430 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9431
9432 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9433
9434 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9435 overflow while reading line with fgets.
9436 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9437
9438 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
9439
9440 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9441 unsigned short, not short.
9442 Reported by Andreas Jaeger.
9443
9444 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9445
9446 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9447 (ccept->accept).
9448
9449 * sysdeps/generic/inttypes.h: Fix spelling.
9450
9451 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9452
9453 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9454
9455 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9456
9457 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
9458
9459 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9460 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9461 field for hh modifier.
9462 * stdio-common/vfprint.c: Use is_char field and do not depend in
9463 is_short having the value 2.
9464 Bug reported by Andreas Jaeger.
9465
9466 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9467
9468 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9469 PIC && DO_VERSIONING.
9470
9471 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9472
9473 * Rules: Add rules for $(common-objpfx)dummy$o.
9474
9475 1998-01-26 Richard Henderson <rth@cygnus.com>
9476
9477 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9478 unimplemented OSF/1 definitions so that they are not accidentally seen.
9479
9480 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9481 of the trampoline function into the macro.
9482 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9483 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9484 kernel 2.1.82 has this fixed.
9485
9486 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9487 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9488
9489 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
9490
9491 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9492 support sigaction on kernels > 2.1.7x.
9493
9494 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
9495
9496 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9497 if it is empty.
9498
9499 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9500 Patch by David Engel <david@sw.ods.com>.
9501
9502 * configure.in: Fix another typo in --enable-add-ons code.
9503
9504 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
9505
9506 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9507
9508 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9509
9510 * nss/nss_files/files-network.c: Correct order of parameters for
9511 getnetbyaddr.
9512
9513 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
9514
9515 * db2/Makefile (routines): Add os_alloc.
9516 * db2/db.h: Update from db-2.3.16.
9517 * db2/db_185.h: Likewise.
9518 * db2/db_int.h: Likewise.
9519 * db2/btree/bt_close.c: Likewise.
9520 * db2/btree/bt_cursor.c: Likewise.
9521 * db2/btree/bt_delete.c: Likewise.
9522 * db2/btree/bt_open.c: Likewise.
9523 * db2/btree/bt_page.c: Likewise.
9524 * db2/btree/bt_put.c: Likewise.
9525 * db2/btree/bt_rec.c: Likewise.
9526 * db2/btree/bt_recno.c: Likewise.
9527 * db2/btree/btree_auto.c: Likewise.
9528 * db2/common/db_appinit.c: Likewise.
9529 * db2/common/db_apprec.c: Likewise.
9530 * db2/common/db_err.c: Likewise.
9531 * db2/common/db_region.c: Likewise.
9532 * db2/common/db_shash.c: Likewise.
9533 * db2/db/db.c: Likewise.
9534 * db2/db/db_auto.c: Likewise.
9535 * db2/db/db_conv.c: Likewise.
9536 * db2/db/db_dispatch.c: Likewise.
9537 * db2/db/db_dup.c: Likewise.
9538 * db2/db/db_pr.c: Likewise.
9539 * db2/db/db_rec.c: Likewise.
9540 * db2/db185/db185.c: Likewise.
9541 * db2/dbm/dbm.c: Likewise.
9542 * db2/hash/hash.c: Likewise.
9543 * db2/hash/hash_auto.c: Likewise.
9544 * db2/hash/hash_dup.c: Likewise.
9545 * db2/hash/hash_page.c: Likewise.
9546 * db2/hash/hash_rec.c: Likewise.
9547 * db2/include/btree_ext.h: Likewise.
9548 * db2/include/clib_ext.h: Likewise.
9549 * db2/include/common_ext.h: Likewise.
9550 * db2/include/db.h.src: Likewise.
9551 * db2/include/db_185.h.src: Likewise.
9552 * db2/include/db_am.h: Likewise.
9553 * db2/include/db_ext.h: Likewise.
9554 * db2/include/db_int.h.src: Likewise.
9555 * db2/include/hash_ext.h: Likewise.
9556 * db2/include/lock_ext.h: Likewise.
9557 * db2/include/log.h: Likewise.
9558 * db2/include/log_auto.h: Likewise.
9559 * db2/include/log_ext.h: Likewise.
9560 * db2/include/mp.h: Likewise.
9561 * db2/include/mp_ext.h: Likewise.
9562 * db2/include/mutex_ext.h: Likewise.
9563 * db2/include/os_ext.h: Likewise.
9564 * db2/include/os_func.h: Likewise.
9565 * db2/include/txn_ext.h: Likewise.
9566 * db2/lock/lock.c: Likewise.
9567 * db2/lock/lock_util.c: Likewise.
9568 * db2/log/log.c: Likewise.
9569 * db2/log/log.src: Likewise.
9570 * db2/log/log_archive.c: Likewise.
9571 * db2/log/log_auto.c: Likewise.
9572 * db2/log/log_get.c: Likewise.
9573 * db2/log/log_put.c: Likewise.
9574 * db2/log/log_rec.c: Likewise.
9575 * db2/log/log_register.c: Likewise.
9576 * db2/mp/mp_bh.c: Likewise.
9577 * db2/mp/mp_fget.c: Likewise.
9578 * db2/mp/mp_fopen.c: Likewise.
9579 * db2/mp/mp_fput.c: Likewise.
9580 * db2/mp/mp_pr.c: Likewise.
9581 * db2/mp/mp_sync.c: Likewise.
9582 * db2/mutex/mutex.c: Likewise.
9583 * db2/os/os_alloc.c: Likewise.
9584 * db2/os/os_config.c: Likewise.
9585 * db2/os/os_stat.c: Likewise.
9586 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9587 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9588 * db2/progs/db_load/db_load.c: Likewise.
9589 * db2/progs/db_printlog/db_printlog.c: Likewise.
9590 * db2/progs/db_recover/db_recover.c: Likewise.
9591 * db2/progs/db_stat/db_stat.c: Likewise.
9592 * db2/txn/txn.c: Likewise.
9593
9594 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9595 Unmap memory blocks in reverse order of allocation.
9596 Call munmap with load address added to offset.
9597 Bug reported by Miguel de Icaza.
9598
9599 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9600 up weight array.
9601
9602 * localedata/locales/cs_CZ: Update by Michael Mraka
9603 <michael@informatics.muni.cz>.
9604
9605 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
9606 __USE_BSD.
9607
9608 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9609 reading line with fgets.
9610 * nis/nss_compat/compat-pwd.c: Likewise.
9611 * nis/nss_compat/compat-spwd.c: Likewise.
9612 * nss/nss_files/files-XXX.c: Likewise.
9613 * nss/nss_files/files-alias.c: Likewise.
9614 * shadow/fgetspent_r.c: Likewise.
9615
9616 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
9617
9618 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9619 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9620 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9621
9622 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9623 FP register content in ucontext_t.
9624
9625 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9626
9627 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9628 calculation. Patch by Markus Schoder
9629 <Markus.Schoder@dresdner-bank.de>.
9630
9631 * math/libm-test.c (modf_test): Add more tests for modf.
9632
9633 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9634 munlock according to Unix98.
9635
9636 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9637
9638 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9639 AF_INET.
9640
9641 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
9642
9643 * sysdeps/posix/ttyname.c: Handle symbolic links.
9644 * sysdeps/posix/ttyname_r.c: Ditto.
9645
9646 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
9647
9648 * db2/makedb.c (process_input): Write terminating \0 for value.
9649 (print_database): Simply print value string, don't use length.
9650
9651 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9652
9653 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9654 exit of loop.
9655
9656 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9657
9658 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9659 close all sockets.
9660
9661 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
9662
9663 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9664 sigset.
9665 * signal/sighold.c: New file.
9666 * signal/sigrelse.c: New file.
9667 * sysdeps/generic/sigignore.c: New file.
9668 * sysdeps/generic/sigset.c: New file.
9669 * sysdeps/posix/sigignore.c: New file.
9670 * sysdeps/posix/sigset.c: New file.
9671 * signal/signal.h: Add prototypes for new functions.
9672
9673 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9674 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9675 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9676 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9677
9678 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
9679
9680 * posix/wordexp.c: Added IFS field-splitting in parameter and
9681 command substitution. Fixed an IFS-related bug that caused an
9682 infinite loop.
9683
9684 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
9685
9686 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9687 and swapcontext.
9688 * stdlib/ucontext.h: Correct prototypes.
9689 * sysdeps/generic/getcontext.c: New file.
9690 * sysdeps/generic/setcontext.c: New file.
9691 * sysdeps/generic/makecontext.c: New file.
9692 * sysdeps/generic/swapcontext.c: New file.
9693 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9694
9695 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
9696
9697 * resource/sys/resource.h: Remove #include of ulimit.h which is
9698 not allowed by SUSv2 and not available on other systems.
9699 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9700
9701 * streams/Makefile: New file.
9702 * streams/stropts.h: New file.
9703 * sysdeps/generic/bits/stropts.h: New file.
9704 * sysdeps/generic/isastream.c: New file.
9705 * sysdeps/generic/getmsg.c: New file.
9706 * sysdeps/generic/getpmsg.c: New file.
9707 * sysdeps/generic/putmsg.c: New file.
9708 * sysdeps/generic/putpmsg.c: New file.
9709 * sysdeps/generic/fattach.c: New file.
9710 * sysdeps/generic/fdetach.c: New file.
9711 * sysdeps/unix/inet/Subdirs: Add streams.
9712 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9713 __t_uscalar_t.
9714 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9715 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9716 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9718
9719 * sysdeps/mach/_strerror.c: Follow changes of generic version to
9720 handle small buffers correctly.
9721
9722 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
9723
9724 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9725 Remove the 3rd arg and add declaration for _dl_runtime_resolve
9726 and _dl_runtime_profile.
9727
9728 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
9729
9730 * include/cpio.h: New file. Mainly copied from GNU cpio.
9731 * posix/Makefile (headers): Add cpio.h.
9732
9733 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9734
9735 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9736 to routines.
9737 * nis/nis_cache.c: New file.
9738 * nis/nis_cache2.h: New file.
9739 * nis/nis_cache2_xdr.c: New file.
9740 * nis/nis_call.c: Changes for cache2_info parameter.
9741 * nis/nis_checkpoint.c: Likewise.
9742 * nis/nis_intern.h: Likewise.
9743 * nis/nis_mkdir.c: Likewise.
9744 * nis/nis_ping.c: Likewise.
9745 * nis/nis_rmdir.c: Likewise.
9746 * nis/nis_server.c: Likewise.
9747 * nis/nis_util.c: Likewise.
9748
9749 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9750
9751 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9752 return/errnop codes.
9753 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9754 * nis/nss_nisplus/nisplus-grp.c: Likewise.
9755 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9756 * nis/nss_nisplus/nisplus-proto.c: Likewise.
9757 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9758 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9759 * nis/nss_nisplus/nisplus-rpc.c: Likewise
9760 * nis/nss_nisplus/nisplus-service.c: Likewise.
9761 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9762
9763 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9764
9765 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9766 * nis/nss_nis/nis-ethers.c: Likewise.
9767 * nis/nss_nis/nis-grp.c: Likewise.
9768 * nis/nss_nis/nis-hosts.c: Likewise.
9769 * nis/nss_nis/nis-network.c: Likewise.
9770 * nis/nss_nis/nis-proto.c: Likewise.
9771 * nis/nss_nis/nis-hosts.c: Likewise.
9772 * nis/nss_nis/nis-network.c: Likewise.
9773 * nis/nss_nis/nis-proto.c: Likewise.
9774 * nis/nss_nis/nis-publickey.c: Likewise.
9775 * nis/nss_nis/nis-pwd.c: Likewise.
9776 * nis/nss_nis/nis-rpc.c: Likewise.
9777 * nis/nss_nis/nis-service.c: Likewise.
9778 * nis/nss_nis/nis-spwd.c: Likewise.
9779
9780 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
9781
9782 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9783 Added to follow latest kernel development.
9784
9785 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
9786
9787 * nss/db-Makefile: Handle empty and comment lines better.
9788 ($(VAR_DB)/services.db): Generate entries with missing protocol
9789 value.
9790
9791 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9792
9793 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9794 NULL.
9795 (getservbyname): Allow proto == NULL.
9796 Pointed out by David N. Welton <davidw@gate.cks.com>.
9797 [PR libc/430].
9798
9799 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
9800
9801 * nis/nislib/nislib.h: Finally removed.
9802
9803 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9804 C compiler. From Kaveh Ghazi.
9805 (TYPE_MINIMUM): Define.
9806 (TYPE_MAXIMUM): Define.
9807 (TIME_T_MIN): Use TYPE_MINIMUM.
9808 (TIME_T_MAX): Use TYPE_MAXIMUM.
9809 Patch by Jim Meyering <meyering@ascend.com>.
9810
9811 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
9812
9813 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9814 __pread64, __pwrite64, and __getpid.
9815
9816 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9817 versions.
9818
9819 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9820
9821 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9822 cancelable socket functions as __libc_xxx with __xxx as weak
9823 alias.
9824 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9825 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9826
9827 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9828 redefined.
9829 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9830 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9831 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9832 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9833
9834 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9835 and __xxx a weak alias.
9836 * sysdeps/unix/sysv/linux/connect.S: Likewise.
9837 * sysdeps/unix/sysv/linux/recv.S: Likewise.
9838 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9839 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9840 * sysdeps/unix/sysv/linux/send.S: Likewise.
9841 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9842 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9843
9844 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9845
9846 * locale/langinfo.h: Add defines.
9847
9848 * dirent/dirent.h: Add defines for DT_*, check also for
9849 _DIRENT_HAVE_D_TYPE.
9850 Suggested by Roland McGrath.
9851
9852 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9853
9854 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9855 Update from Linux 2.1.73+79.
9856
9857 * README.template: Update information about possible
9858 configurations.
9859
9860 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9861 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9862 [PR libc/417].
9863
9864 * manual/time.texi (Priority): Correct description of
9865 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9866 [PR libc/416].
9867
9868 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
9869
9870 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9871 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
9872
9873 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
9874
9875 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
9876 Andreas Jaeger.
9877
9878 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
9879
9880 * locale/programs/ld-collate.c: Little optimizations.
9881
9882 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9883
9884 * string/Makefile (tests): Add tst-inlcall.
9885 * string/tst-inlcall.c: New file.
9886
9887 * string/strsignal.c: Add support for real-time signals.
9888
9889 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9890 presense of small buffer.
9891
9892 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9893
9894 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9895 for i686.
9896
9897 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9898 _NSIG + 1.
9899
9900 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
9901
9902 * Rules: Add explicit rule for dummy.o; at least one library needs
9903 it and it isn't autogenerated by the default rules.
9904
9905 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9906
9907 * math/libm-test.c: Tweak epsilons.
9908
9909 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9910
9911 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9912 child.
9913 (feenv_mask_test): Likewise.
9914
9915 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9916
9917 * Makeconfig: Don't export CPPFLAGS.
9918
9919 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9920
9921 * sunrpc/rpc_main.c (parseargs): Use perror to print error
9922 message.
9923
9924 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9925
9926 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9927 terminating null in key size.
9928
9929 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9930
9931 * nss/nss_files/files-service.c: Fix allocation size to include
9932 length of PROTO.
9933
9934 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9935 applicable. Fix return value and error checking.
9936 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9937 unparsable lines.
9938 (DB_LOOKUP): Allocate space for terminating null byte.
9939
9940 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9941 uids specially.
9942
9943 * db2/makedb.c (process_input): Continue processing if a duplicate
9944 key is encountered.
9945
9946 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
9947
9948 * time/tzfile.h: Updated from tzcode1998b.
9949 * time/zdump.c: Likewise.
9950 * time/zic.c: Likewise.
9951 * time/africa: Update from tzdata1998b.
9952 * time/antarctica: Likewise.
9953 * time/asia: Likewise.
9954 * time/australasia: Likewise.
9955 * time/etcetera: Likewise.
9956 * time/europe: Likewise.
9957 * time/leapseconds: Likewise.
9958 * time/northamerica: Likewise.
9959 * time/southamerica: Likewise.
9960
9961 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9962
9963 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9964 lookups ignoring case.
9965 * nss/nss_files/files-network.c: Do network lookups ignoring
9966 case.
9967 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9968 case.
9969 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9970 case insensitive comparing.
9971 Patches by Cristian Gafton <gafton@redhat.com>.
9972
9973 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9974
9975 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
9976 by Roland McGrath. [PR libc/395]
9977
9978 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9979
9980 * manual/arith.texi (Parsing of Integers): Correct description of
9981 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9982 [PR libc/396]
9983
9984 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
9985
9986 * misc/lsearch.c (lsearch): Return a pointer to the new element
9987 if one was "allocated".
9988
9989 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9990
9991 * string/strsignal.c: NSIG is not a valid index into
9992 _sys_siglist. Don't zap the last character of the "Unknown
9993 signal" message.
9994
9995 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
9996
9997 * locale/programs/charmap.c (parse_charmap): Correct parsing of
9998 ellipsis expressions.
9999
10000 * locale/programs/charset.c (insert_char): Correctly insert value
10001 of eliipsis expression.
10002
10003 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
10004
10005 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10006 <bits/setjmp.h>.
10007 * sysdeps/powerpc/setjmp.S: Likewise.
10008 Patches by Matt McLean <keys@keys.got.net>.
10009
10010 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10011
10012 * Makefile: Undo last patch.
10013 (distribute): Add test-installation.pl.
10014
10015 * configure.in: Correct handling of --enable-add-ons without parameter.
10016 Correct address of WWW pages.
10017
10018 * libc.map: Add _nl_domain_bindings.
10019
10020 * db2/mutex/tsl_parisc.s: New file.
10021
10022 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10023 and extra-module.mk.
10024
10025 * localedata/Makefile (distribute): New. Add all the files.
10026
10027 * stdlib/Makefile (headers): Add inttypes.h.
10028 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10029 * sysdeps/generic/inttypes.h: New file.
10030 * sysdeps/generic/strtoimax.c: New file.
10031 * sysdeps/generic/strtoumax.c: New file.
10032 * sysdeps/generic/wcstoimax.c: New file.
10033 * sysdeps/generic/wcstoumax.c: New file.
10034 * sysdeps/wordsize-32/Dist: Removed.
10035 * sysdeps/wordsize-32/Makefile: Removed.
10036 * sysdeps/wordsize-64/Dist: Removed.
10037 * sysdeps/wordsize-64/Makefile: Removed.
10038 * sysdeps/generic/bits/environments.h: New file.
10039
10040 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
10041 header is still not correct.
10042
10043 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10044 * posix/unistd.h: Likewise.
10045 * sysdeps/generic/sys/mman.h: Likewise.
10046 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10047
10048 * manual/arith.texi: Change definition of mul macro.
10049 * manual/math.texi: Likewise.
10050
10051 * misc/Makefile (routines): Add mmap64.
10052 * sysdeps/generic/mmap64.c: New file.
10053 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10055 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10056 aliases to mmap.
10057 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10058
10059 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10060
10061 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10062
10063 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10064
10065 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10066 FOPEN_MAX also when included by limits.h.
10067 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10068
10069 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10070 and netrom/netrom.h.
10071 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10072 oldsiglist to sysdep_routines, not aux.
10073 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10074
10075 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10076 and SOL_NETROM definition.
10077
10078 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10079
10080 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10081 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10082
10083 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
10084
10085 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10086
10087 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10088 sa_handler with k_sa_handler.
10089 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10090 strong alias.
10091 Reported by a sun.
10092
10093 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10094 __libc_have_rt_sigs here.
10095 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10096 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10097 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10098 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10099
10100 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
10101
10102 * sysdeps/powerpc/atomicity.h: New file.
10103 * sysdeps/mach/powerpc/machine-lock.h: New file.
10104
10105 * Rules: Use -fpic to build anything that might end up in a users'
10106 shared library.
10107
10108 * sysdeps/powerpc/s_fdim.c: New file.
10109 * sysdeps/powerpc/s_fdimf.c: New file.
10110 * sysdeps/powerpc/s_fmax.S: New file.
10111 * sysdeps/powerpc/s_fmaxf.S: New file.
10112 * sysdeps/powerpc/s_fmin.S: New file.
10113 * sysdeps/powerpc/s_fminf.S: New file.
10114 * sysdeps/powerpc/s_llrint.c: Now is for double.
10115 * sysdeps/powerpc/s_llrintf.c: New file.
10116 * sysdeps/powerpc/s_llround.c: Now is for double.
10117 * sysdeps/powerpc/s_llroundf.c: New file.
10118 * sysdeps/powerpc/s_lrint.c: Now is for double.
10119 * sysdeps/powerpc/s_lrintf.S: New file.
10120 * sysdeps/powerpc/s_lround.c: Now is for double.
10121 * sysdeps/powerpc/s_lroundf.c: New file.
10122 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10123 lrintf, fdim, fdimf.
10124
10125 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10126 file directly, use its parent.
10127
10128 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10129 (for the third time).
10130
10131 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
10132
10133 * posix/sched.h: timespec is in <time.h>.
10134
10135 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10136
10137 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
10138
10139 * configure.in: Stop with error if --disable-static is used when
10140 the shared lib uses this library.
10141
10142 * gen-FAQ.pl: I've perl installed in /usr/bin.
10143
10144 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10145
10146 Fix Unix98 conformance problems in the headers.
10147 * catgets/nl_types.h: Define nl_item.
10148 * grp/grp.h: Define gid_t.
10149 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10150 * include/nl_types.h: New file.
10151 * include/ulimit.h: New file.
10152 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
10153 constants in POSIX mode.
10154 * io/utime.h: Get definition for time_t.
10155 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10156 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10157 * libio/stdio.h: Define va_list. Make snprintf also available is
10158 __USE_UNIX98. Declare getopt function and variables.
10159 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
10160 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10161 * math/math.h: Defined M_* constants as double for Unix98 mode.
10162 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
10163 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
10164 * posix/regex.h: Define REG_NOSYS.
10165 * posix/wordexp.h: Define WRDE_NOSYS.
10166 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
10167 500 for Unix98.
10168 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10169 somewhere else as well. Define clock_t for Unix98.
10170 * posix/sys/wait.h: Define pid_t.
10171 * pwd/pwd.h: Define gid_t, uid_t.
10172 * resource/Makefile (headers): Add ulimit.h.
10173 * resource/ulimit.h: New file.
10174 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10175 instead of second argument.
10176 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
10177 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10178 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10179 * signal/signal.h: Define pid_t.
10180 * string/string.h: Don't declare BSD string functions in POSIX mode.
10181 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
10182 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10183 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10184 and POSIX.
10185
10186 * inet/test_ifindex.c: Change test so that it does not fail for
10187 interface aliases.
10188
10189 * locale/programs/locale.c (show_info): Use correct cast sequence
10190 for 64bit machines.
10191
10192 * malloc/malloc.c: __malloc_initialized now signals three states:
10193 uninitialized, initializing, initialized. Used in mcheck.
10194 * malloc/mcheck.c (mabort): Add '\n' to messages.
10195 (mcheck): Allow installation when malloc is uninitialized or is
10196 just initializing.
10197
10198 * manual/memory.texi: Explain mtrace output a bit more.
10199
10200 * math/libm-test.c: Add more epsilons.
10201
10202 * misc/regexp.h (compile): Remove __ prefix from parameter names.
10203
10204 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10205 instead of strcpy for security.
10206 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10207 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10208 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10209
10210 * nss/digits_dots.c: Pretty print.
10211
10212 * posix/getconf.c (vars): Add symbols for programming environment
10213 recognition. Recognize --version.
10214
10215 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10216 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10217 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10218
10219 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10220 __need_FOPEN_MAX.
10221 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10222 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10223 __need_FOPEN_MAX.
10224
10225 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10226 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10227
10228 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10229 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10231 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10232 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10233 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10234
10235 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10236 SCNu*.
10237 * sysdeps/wordsize-64/inttypes.h: Likewise.
10238
10239 * time/africa: Update from tzdata1997j.
10240 * time/antarctica: Likewise.
10241 * time/asia: Likewise.
10242 * time/australasia: Likewise.
10243 * time/backward: Likewise.
10244 * time/etcetera: Likewise.
10245 * time/europe: Likewise.
10246 * time/factory: Likewise.
10247 * time/northamerica: Likewise.
10248 * time/pacificnew: Likewise.
10249 * time/southamerica: Likewise.
10250
10251 * time/tzfile.h: Update from tzcode1997h.
10252 * time/zic.c: Likewise.
10253
10254 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
10255 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
10256 isw*() functions for Unix98.
10257 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10258 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10259 is defined.
10260
10261 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10262
10263 * locale/duplocale.c: Increase usage_count only if less than
10264 MAX_USAGE_COUNT.
10265 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10266 MAX_USAGE_COUNT.
10267 * locale/setlocale.c: Likewise.
10268
10269 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10270
10271 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10272 dependency to make it easier to install it selectively.
10273
10274 * Makerules (.SUFFIXES): Don't define any suffixes.
10275
10276 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10277
10278 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10279 * sysdeps/generic/statfs64.c: Emulate using statfs.
10280 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10281 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10282 * sysdpes/generic/ftruncate64.c: New file.
10283 * sysdpes/generic/truncate64.c: New file.
10284
10285 * sysdeps/generic/bits/stat.h: Add LFS support.
10286 * sysdeps/generic/bits/statfs.h: Likewise.
10287
10288 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10289 [__USE_FILE_OFFSET64]: Make long long constant.
10290 (RLIM64_INFINITY): Likewise.
10291
10292 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10293 for LFS support.
10294 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10295 * sysdeps/generic/bits/resource.h: Likewise.
10296
10297 * misc/Makefile (routines): Add truncate64 and ftruncate64.
10298
10299 * include/features.h: Don't prevent LFS support from defining BSD
10300 and SYSV things.
10301
10302 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10303 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10304 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10305
10306 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10307 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10308 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10309
10310 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10311 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10312 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10313 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10314 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10315 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10316 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10317 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10318 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10319 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10320 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10321 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10323 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10324 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10326 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10327 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10329 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10330
10331 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10332 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10333 * sysdeps/unix/sysv/linux/xstat64.c: New file.
10334 * sysdeps/unix/sysv/linux/readdir64.c: New file.
10335 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10336
10337 * sysdeps/unix/sysv/linux/getdents64.c: New file.
10338 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10339 [$(subdir)=dirent]: Add getdents64.
10340 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10341
10342 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10343
10344 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
10345
10346 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10347
10348 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10349 * sysdeps/generic/getrlimit64.c: Likewise.
10350 * sysdeps/generic/setrlimit.c: Likewise.
10351 * sysdeps/generic/setrlimit64.c: Likewise.
10352
10353 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
10354
10355 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10356 using versioning.
10357
10358 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10359
10360 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10361
10362 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10363
10364 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10365 after the codeset name.
10366
10367 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10368
10369 * libc.map: Add get_kernel_syms.
10370
10371 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10372
10373 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10374 static.
10375 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10376 Likewise. Fix condition.
10377
10378 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10379
10380 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10381
10382 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10383
10384 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10385 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10386
10387 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10388
10389 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10390 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10391 instead. Oops.
10392
10393 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10394
10395 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10396
10397 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10398
10399 * math/libm-test.c (catanh_test): Change epsilon.
10400 Reported by H.J. Lu.
10401
10402 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
10403
10404 * libc.map (__getpid): Added for linuxthreads.
10405
10406 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
10407
10408 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10409 it if gcc uses static variable in DWARF2 unwind information
10410 for exception support.
10411
10412 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10413
10414 * elf/soinit.c (__libc_global_ctors, _fini): Handle
10415 HAVE_DWARF2_UNWIND_INFO_STATIC.
10416
10417 * libc.map (__register_frame*, __deregister_frame*): Make them
10418 global.
10419
10420 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10421
10422 * math/libm-test.c: Add more tests for "normal" values.
10423
10424 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10425
10426 * stdio-common/printf_fphex.c: Fix printing of long double number
10427 with a biased exponent of zero. Fix rounding.
10428
10429 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10430
10431 * sunrpc/rpc_main.c: Accept new flag -$.
10432 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10433
10434 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10435
10436 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10437 dynamic linker first, in case the interface has changed.
10438
10439 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10440
10441 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10442 order.
10443
10444 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10445
10446 * math/tgmath.h: Check for double first, for architectures where
10447 sizeof (long double) == sizeof (double).
10448
10449 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10450
10451 * math/libm-test.c: New tests for "normal" values added for most
10452 functions.
10453
10454 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
10455
10456 * version.h (VERSION): Bump to 2.0.91.
10457
10458 * db2/makedb.c (process_input): Fix typo in message.
10459 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10460
10461 * elf/dynamic-link.h: Pretty print.
10462
10463 * elf/rtld.c: Allow multiple preloading of a shared object.
10464
10465 * include/limits.h: Prevent multiple inclusion.
10466
10467 * malloc/Makefile (headers): Add mcheck.h.
10468 (distribute): Remove it here.
10469 * malloc/mcheck.h: Pretty print.
10470 * malloc/mtrace.c (mallenv): Make `const'.
10471 * malloc/mtrace.pl: Don't print table head for memory leaks if there
10472 are none.
10473 * manual/memory.texi: Update descriptor of malloc hooks.
10474
10475 * posix/Makefile (routines): Add waitid.
10476 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10477 on __id_t.
10478 * posix/sys/wait.h: Define idtype_t type.
10479 Add prototype for waitid.
10480 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10481 * sysdeps/generic/waitid.c: Stub for waitid.
10482 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
10483 the __need_siginfo_t defined.
10484 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10485 * sysdeps/generic/bits/types.h: Define __id_t.
10486 Correct definition of __FDMASK.
10487 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10488 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10489 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10490
10491 * sysdeps/posix/waitid.c: New file.
10492 Provided by Zack Weinberg.
10493
10494 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10495
10496 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10497 Add missing parameters.
10498
10499 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10500 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10501 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10502 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10503 initialized.
10504
10505 * sysdeps/i386/dl-machine.h: Little cleanup.
10506
10507 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10508 (__finite): Mark function as const.
10509 Add inline code for __ieee754_atan2.
10510
10511 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10512 (but don't use it now).
10513 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10514 __atan.
10515 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10516 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10517 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
10518 real part.
10519 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10520 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10521 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10522 __ieee754_atan2 to base 10.
10523 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10524 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10525
10526 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10527 old_kernel_sigaction.
10528
10529 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10530
10531 * wctype/Makefile (routines): Add wctype_l.
10532 * wctype/wctype.h: Add declaration of __wctype_l.
10533 * wctype/wctype_l.c: New file.
10534
10535 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
10536
10537 * locale/C-ctype.c: Correct data for isw* functions.
10538 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10539 byte order.
10540 * wctype/test_wctype.c: Add test for isw* functions.
10541 * wctype/wctype.c: Return value with expected byte order.
10542
10543 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10544
10545 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10546
10547 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
10548
10549 * iconvdata/Makefile: Fix a typo.
10550
10551 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10552 oldsiglist for shared library.
10553
10554 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10555 sys_sigabbrev): Make them as the default version GLIBC_2.1.
10556
10557 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10558 sys_siglist, sys_sigabbrev): New file. Make them as the old
10559 version GLIBC_2.0.
10560
10561 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10562 to GLIBC_2.1.
10563
10564 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
10565
10566 * libio/iofgets.c (_IO_fgets): Return an error only if there
10567 is a new error.
10568 * libio/iogets.c (_IO_gets): Ditto.
10569
10570 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
10571
10572 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10573
10574 * libio/Makefile (routines, shared-only-routines): Add
10575 oldiofdopen.
10576
10577 * libio/fileops.c: Don't use _IO_FILE_complete.
10578 * libio/iofdopen.c: Ditto.
10579 * libio/iofopen.c: Ditto.
10580 * libio/iofopen64.c: Ditto.
10581 * libio/iopopen.c: Ditto.
10582 * libio/iovdprintf.c: Ditto.
10583
10584 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10585
10586 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10587 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10588
10589 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10590 _IO_old_fdopen, _IO_new_fdopen): New declaration.
10591
10592 * libio/libio.h (_IO_FILE): Add more fields.
10593 (_IO_FILE_complete): Defined and make _IO_FILE be the old
10594 one if _IO_USE_OLD_IO_FILE is defined
10595 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10596 them _IO_FILE_complete.
10597
10598 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10599 to adjust vtable.
10600 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10601 _IO_JUMPS.
10602 (_IO_FILE_complete): Commented out.
10603
10604 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10605 * libio/oldiofclose.c: Ditto.
10606 * libio/oldiofopen.c: Ditto.
10607 * libio/oldstdfiles.c: Ditto.
10608
10609 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10610 for the old _IO_FILE.
10611
10612 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10613 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10614 and stderr.
10615
10616 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10617 and remove INAME.
10618
10619 * libio/stdio.c (stdin, stdout, stdin): Don't use
10620 _IO_FILE_complete.
10621
10622 * libio/oldiofdopen.c: New.
10623
10624 * stdio-common/vfprintf.c (buffered_vfprintf): Set
10625 hp->_vtable_offset to 0.
10626
10627 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
10628
10629 * libc.map (_IO_file_open): Added.
10630
10631 * libio/libioP.h (_IO_file_open): Declared.
10632
10633 * libio/fileops.c (_IO_file_open): New.
10634 (_IO_file_fopen): Call _IO_file_open ().
10635
10636 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10637 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10638
10639 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10640
10641 * signal/signal.h: Fix selection of signal semantics to match
10642 comment.
10643
10644 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10645
10646 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10647 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10648 rt_sigreturn.
10649 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10650 [$(subdir)=signal]: Remove rt_sigreturn.
10651 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10652 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10653 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10654
10655 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10656
10657 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
10658 declarations.
10659
10660 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10661
10662 * iconvdata/extra-module.mk: Expand extra-objs now.
10663
10664 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10665
10666 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10667 inline functions by feature tests to avoid warning about missing
10668 prototype declarations.
10669
10670 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10671
10672 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10673 return code for non existent +name entries.
10674 * nis/nss_compat/compat-pwd.c: Likewise.
10675 * nis/nss_compat/compat-spwd.c: Likewise.
10676
10677 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
10678
10679 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10680 (EIO): Likewise.
10681 (ENOSPC): Likewise.
10682 (EEXIST): Likewise.
10683 (__errno_location): Likewise.
10684
10685 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10686
10687 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10688
10689 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10690
10691 * sunrpc/publickey.c: Use new NSS interface.
10692
10693 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
10694
10695 * manual/malloc.texi: Document mtrace/muntrace and the concept.
10696
10697 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10698
10699 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10700 value, to match spirit of the standard.
10701 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10702 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10703 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10704
10705 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10706
10707 * manual/signal.texi (Signal Stack): Remove spurious @item.
10708
10709 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10710
10711 * rt/aio.h: Remove double semicolon.
10712
10713 * rt/librt.map: Add aio_init.
10714
10715 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
10716
10717 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10718 * Makefile (subdirs): Replace rt by $(rt).
10719
10720 * shlib-versions: Use version .2 for NSS modules.
10721
10722 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10723 argument.
10724 * pwd/fgetpwent_r.c: Likewise.
10725 * spwd/fgetspent_r.c: Likewise.
10726 * spwd/sgetspent_r.c: Likewise.
10727 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10728 Store error number in *ERRNOP. Little optimization.
10729 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10730 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10731 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10732 (__internal_getnetgrent_r): New argument.
10733 Call __internal_setnetgrent_reuse with new argument.
10734 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10735 * inet/netgroup.h: Add argument to prototypes.
10736 * nis/nisplus-parser.h: Likewise.
10737 * nis/nss_compat/compat-grp.c: Change everything to store error
10738 code through provided pointer and not use errno.
10739 * nis/nss_compat/compat-pwd.c: Likewise.
10740 * nis/nss_compat/compat-spwd.c: Likewise.
10741 * nis/nss_nis/nis-alias.c: Likewise.
10742 * nis/nss_nis/nis-ethers.c: Likewise.
10743 * nis/nss_nis/nis-grp.c: Likewise.
10744 * nis/nss_nis/nis-hosts.c: Likewise.
10745 * nis/nss_nis/nis-netgrp.c: Likewise.
10746 * nis/nss_nis/nis-network.c: Likewise.
10747 * nis/nss_nis/nis-proto.c: Likewise.
10748 * nis/nss_nis/nis-publickey.c: Likewise.
10749 * nis/nss_nis/nis-pwd.c: Likewise.
10750 * nis/nss_nis/nis-rpc.c: Likewise.
10751 * nis/nss_nis/nis-service.c: Likewise.
10752 * nis/nss_nis/nis-spwd.c: Likewise.
10753 * nis/nss_nisplus/nisplus-alias.c: Likewise.
10754 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10755 * nis/nss_nisplus/nisplus-grp.c: Likewise.
10756 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10757 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10758 * nis/nss_nisplus/nisplus-network.c: Likewise.
10759 * nis/nss_nisplus/nisplus-parser.c: Likewise.
10760 * nis/nss_nisplus/nisplus-proto.c: Likewise.
10761 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10762 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10763 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10764 * nis/nss_nisplus/nisplus-service.c: Likewise.
10765 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10766 * nss/nss_db/db-XXX.c: Likewise.
10767 * nss/nss_db/db-alias.c: Likewise.
10768 * nss/nss_db/db-netgrp.c: Likewise.
10769 * nss/nss_files/files-XXX.c: Likewise
10770 * nss/nss_files/files-alias.c: Likewise
10771 * nss/nss_files/files-netgrp.c: Likewise
10772 * nss/nss_files/files-parse.c: Likewise
10773 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10774 parameter of get functions.
10775 * nss/getXXent_r.c: Likewise.
10776
10777 * localedata/tst-fmon.c: Print debug info if test fails.
10778
10779 * rt/Makefile (routines): Add aio_notify.
10780 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
10781 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10782 * rt/aio_fsync.c: Likewise.
10783 * rt/aio_misc.c: Likewise.
10784 * rt/aio_misc.h: Likewise.
10785 * rt/aio_read.c: Likewise.
10786 * rt/aio_read64.c: Likewise.
10787 * rt/aio_suspend.c: Likewise.
10788 * rt/aio_write.c: Likewise.
10789 * rt/aio_write64.c: Likewise.
10790 * rt/lio_listio.c: Likewise.
10791 * rt/lio_listio64.c: Likewise.
10792 * rt/aio_notify.c: New file.
10793
10794 * sysdeps/generic/bits/sigset.h: Pretty print.
10795
10796 * sysdeps/posix/pwrite.c: Define weak alias only if function is
10797 really defined as __pwrite.
10798
10799 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10800 instead of pread64.
10801 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10802
10803 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10804 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10805 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10806 size in syscall.
10807 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10808 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10809 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10810 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10811 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10812 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10813 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
10814 for ACT being NULL.
10815 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10816 RT signals.
10817 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10818 __NR_pread is not defined.
10819 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10820 __NR_pwrite is not defined.
10821
10822 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10823
10824 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10825 handle for /etc/group back in some more cases.
10826 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10827 handle for /etc/passwd back in some more cases.
10828 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10829 handle for /etc/shadow back in some more cases.
10830
10831 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
10832
10833 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10834 beyound its size.
10835 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10836 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10837
10838 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
10839
10840 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10841 handling. Don't use macros, we need functions. Use inline functions
10842 for optimization.
10843 * sysdeps/wordsize-64/inttypes.h: Likewise.
10844 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10845 and wcstoumax.
10846 * sysdeps/wordsize-64/Makefile: Likewise.
10847 * sysdeps/wordsize-32/Dist: Likewise.
10848 * sysdeps/wordsize-64/Dist: Likewise.
10849 * sysdeps/wordsize-32/strtoimax.c: New file.
10850 * sysdeps/wordsize-32/strtoumax.c: New file.
10851 * sysdeps/wordsize-32/wcstoimax.c: New file.
10852 * sysdeps/wordsize-32/wcstoumax.c: New file.
10853 * sysdeps/wordsize-64/strtoimax.c: New file.
10854 * sysdeps/wordsize-64/strtoumax.c: New file.
10855 * sysdeps/wordsize-64/wcstoimax.c: New file.
10856 * sysdeps/wordsize-64/wcstoumax.c: New file.
10857
10858 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
10859
10860 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10861 that transparent union works.
10862 * sysdeps/generic/wait4.c (__wait4): Likewise.
10863 * sysdeps/generic/wait.c (__wait): Likewise.
10864
10865 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10866 size_t.
10867
10868 * sysdeps/generic/syscall.c (syscall): Return value and arg are
10869 long, to match prototype.
10870
10871 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10872 have mremap() yet.
10873
10874 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10875
10876 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10877
10878 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10879
10880 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10881 __rlim_t.
10882
10883 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10884
10885 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10886
10887 * io/sys/stat.h (S_ISLNK): Always false if we don't have
10888 __S_IFLNK.
10889
10890 * sysdeps/standalone/close.c (_STDIO_H): Define before including
10891 <bits/stdio_lim.h>.
10892 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10893
10894 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
10895
10896 * posix/sys/wait.h: Don't use transparent unions in C++.
10897
10898 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10899
10900 * time/time.h: Add strfxtime.
10901
10902 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10903 sysv_signal, strfxtime, pread64, pwrite64.
10904
10905 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
10906
10907 Alpha changes for EGCS:
10908 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10909 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10910 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10911 (_start): Likewise.
10912 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10913
10914 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
10915
10916 The kernel expects the arguments in a different order.
10917 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10918 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10919
10920 * FAQ.in: New file.
10921 * gen-FAQ.pl: New file.
10922 * Makefile (FAQ): Add rule to generate from FAQ.in.
10923
10924 * iconvdata/Makefile: Treat libJIS like the other modules.
10925
10926 * rt/librt.map: New file.
10927
10928 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10929 inclusion.
10930 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
10931 comment.
10932
10933 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
10934
10935 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10936 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10937 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10938 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10939
10940 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10941
10942 * string/bits/string2.h: Fix spellings.
10943
10944 * string/string.h: Fix spellings.
10945
10946 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10947
10948 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10949 declaration to __syscall_rt_sigaction.
10950
10951 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10952 non-existant <sigcontext.h>.
10953
10954 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10955
10956 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10957 typo.
10958
10959 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10960
10961 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10962
10963 * Makeconfig (shared-thread-library): Correct spelling.
10964
10965 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10966 <asm/pci.h>.
10967
10968 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10969
10970 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10971 constants from Linux headers. Pointed out by
10972 csmall@scooter.o.i.net. [PR libc/369]
10973
10974 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10975
10976 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10977
10978 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
10979
10980 * configure.in: If --enable-add-ons is given without an
10981 argument, set the addons list to all subdirs with a configure
10982 script.
10983
10984 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
10985
10986 * Makeconfig: Add shared-thread-library variable.
10987
10988 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10989 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10990 here.
10991 * sysdeps/m68k/fpu/e_acos.c: Likewise.
10992 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10993 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10994 * sysdeps/m68k/fpu/e_pow.c: Likewise.
10995 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10996 * sysdeps/m68k/fpu/k_cos.c: Likewise.
10997 * sysdeps/m68k/fpu/k_sin.c: Likewise.
10998 * sysdeps/m68k/fpu/k_tan.c: Likewise.
10999 * sysdeps/m68k/fpu/s_atan.c: Likewise.
11000 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11001 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11002 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11003 * sysdeps/m68k/fpu/s_csin.c: Likewise.
11004 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11005 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11006 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11007 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11008 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11009 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11010 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11011 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11012 * sysdeps/m68k/fpu/s_modf.c: Likewise.
11013 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11014 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11015 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11016
11017 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11018 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11019 * signal/Makefile (headers): Add bits/siginfo.h.
11020 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11021 (distribute): Add testrtsig.h.
11022 * signal/allocrtsig.c: New file.
11023 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
11024 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11025 __libc_current_sigrtmax.
11026 * sysdeps/generic/sigqueue.c: New file.
11027 * sysdeps/generic/sigtimedwait.c: New file.
11028 * sysdeps/generic/sigwaitinfo.c: New file.
11029 * sysdeps/generic/testrtsig.h: New file.
11030 * sysdeps/generic/bits/siginfo.h: New file.
11031 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11032 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11033 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11034 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11035 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11036 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11037 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11038 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11039 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11040 * sysdeps/unix/sysv/linux/sigpending.c: New file.
11041 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11042 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11043 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11044 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11045 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11046 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11047 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11048 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11049 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11050 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11051 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11052 and _POSIX_REALTIME_SIGNALS.
11053 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11054 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11055 update _NSIG.
11056 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11057 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11058 definitions.
11059
11060 * Makefile (subdirs): Add rt.
11061 * shlib-versions: Add entry for librt.
11062 * rt/Makefile: New file.
11063 * rt/aio.h: New file.
11064 * rt/aio_cancel.c: New file.
11065 * rt/aio_error.c: New file.
11066 * rt/aio_fsync.c: New file.
11067 * rt/aio_misc.c: New file.
11068 * rt/aio_misc.h: New file.
11069 * rt/aio_read.c: New file.
11070 * rt/aio_read64.c: New file.
11071 * rt/aio_return.c: New file.
11072 * rt/aio_suspend.c: New file.
11073 * rt/aio_write.c: New file.
11074 * rt/aio_write64.c: New file.
11075 * rt/lio_listio.c: New file.
11076 * rt/lio_listio64.c: New file.
11077 * sysdeps/generic/aio_sigqueue.c: New file.
11078 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11079 * sysdeps/unix/sysv/linux/Dist: Add new files
11080 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11081 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11082 rt_sigqueueinfo, rt_sigaction.
11083
11084 * posix/Makefile (headers): Add bits/environments.h.
11085 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11086 and _CS_LFS_CFLAGS on 64bit platforms.
11087 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
11088 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
11089 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11090 compilation modules.
11091 * sysdeps/wordsize-32/bits/environments.h: New file.
11092 * sysdeps/wordsize-64/bits/environments.h: New file.
11093
11094 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11095 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11096 __libc_pid.
11097 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11098 0xf00baa.
11099
11100 * string/string.h: Add declaration of __strverscmp.
11101 * string/strverscmp.c: Rename function ot __strverscmp and make old
11102 name weak alias.
11103
11104 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11105 * sysdeps/generic/enbl-secure.c: Likewise.
11106 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11107
11108 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11109
11110 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11111
11112 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
11113
11114 * posix/sys/wait.h: Use __transparent_union__ instead of
11115 transparent_union. Reported by Roland McGrath.
11116
11117 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11118
11119 * resolv/inet_neta.c (inet_neta): Change type of first parameter
11120 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11121 [PR libc/366].
11122
11123 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11124
11125 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11126
11127 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
11128
11129 * grp/initgroups.c: Increase buffer if it is too small.
11130
11131 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
11132
11133 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11134 fields, this is no ISO C. Reported by Andreas Jaeger.
11135
11136 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11137
11138 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11139
11140 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
11141
11142 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11143 _SYS_UTSNAME_H not _UTSNAME_H.
11144
11145 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11146
11147 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11148 computing s_scale.
11149
11150 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11151
11152 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11153 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11154 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11155
11156 * math/libm-test.c (csqrt_test): Add testcase.
11157
11158 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
11159
11160 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11161 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11162 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11163
11164 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11165
11166 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11167
11168 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11169
11170 * math/libm-test.c (acos_test): Add more tests.
11171 (asin_test): Likewise.
11172 (atan_test): Likewise.
11173 (exp_test): Likewise.
11174 (sin_test): Likewise.
11175 (sqrt_test): Likewise.
11176 (cpow_test): Likewise.
11177 (csqrt_test): Likewise.
11178 (cexp_test): Correct typo in gcc version test.
11179
11180 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
11181
11182 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11183 <bits/setjmp.h>.
11184 * sysdeps/arm/setjmp.S: Likewise.
11185
11186 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11187
11188 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
11189
11190 * stdio/stdio.h: Add prototype for tmpfile64().
11191
11192 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
11193
11194 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11195 prototype to keep in step with libio version.
11196
11197 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11198
11199 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
11200
11201 * sysdeps/generic/Makefile: Don't try to use make_siglist if
11202 cross-compiling.
11203
11204 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
11205
11206 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11207 load GOT ptr before jumping to _exit.
11208 Reported by Xavier Leroy.
11209
11210 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
11211
11212 * Makefile (subdirs): Add iconvdata and localedata.
11213
11214 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11215
11216 * iconv/gconv_conf.c (read_conf_file): Little optimization.
11217
11218 * iconvdata/8bit-gap.c: New file.
11219 * iconvdata/8bit-generic.c: Renamed from ...
11220 * iconvdata/iso8859-generic.c: ...this.
11221 * iconvdata/configure: Removed.
11222 * iconvdata/Makefile: Add new modules and better rules.
11223 * iconvdata/iso6937.c: Minor bug fixes.
11224 * iconvdata/iso8859-1.c: Likewise.
11225 * iconvdata/t61.c: Likewise.
11226 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11227 Minor bug fixes.
11228 * iconvdata/iso8859-3.c: Likewise.
11229 * iconvdata/iso8859-4.c: Likewise.
11230 * iconvdata/iso8859-5.c: Likewise.
11231 * iconvdata/iso8859-6.c: Likewise.
11232 * iconvdata/iso8859-7.c: Likewise.
11233 * iconvdata/iso8859-8.c: Likewise.
11234 * iconvdata/iso8859-9.c: Likewise.
11235 * iconvdata/iso8859-10.c: Likewise.
11236 * iconvdata/ebcdic-at-de-a.c: New file.
11237 * iconvdata/ebcdic-at-de.c: New file.
11238 * iconvdata/ebcdic-ca-fr.c: New file.
11239 * iconvdata/hp-roman8.c: New file.
11240 * iconvdata/koi-8.c: New file.
11241 * iconvdata/koi8-r.c: New file.
11242 * iconvdata/koi8-h.c: New file.
11243 * iconvdata/latin-greek-1.c: New file.
11244 * iconvdata/latin-greek-1.h: New file.
11245 * iconvdata/latin-greek.c: New file.
11246 * iconvdata/latin-greek.h: New file.
11247 * iconvdata/jis0201.c: New file.
11248 * iconvdata/jis0201.h: New file.
11249 * iconvdata/jis0208.c: New file.
11250 * iconvdata/jis0208.h: New file.
11251 * iconvdata/jis0212.c: New file.
11252 * iconvdata/jis0212.h: New file.
11253 * iconvdata/sjis.c: New file.
11254 * iconvdata/gap.pl: New file. Script to generate table header.
11255 * iconvdata/gaptab.pl: New file.
11256 * iconvdata/gconv-modules: Add info about new modules.
11257
11258 * locale/programs/charmap.c: Also examine alias names given in charmap
11259 files.
11260
11261 * localedata/*: Add to here from add-on. We need the information
11262 to generate tables for iconv.
11263
11264 Update from db-2.3.14.
11265 * db2/Makefile: Updated.
11266 * db2/config.h: Likewise.
11267 * db2/db.h: Likewise.
11268 * db2/db_int.h: Likewise.
11269 * db2/btree/bt_cursor.c: Likewise.
11270 * db2/btree/bt_delete.c: Likewise.
11271 * db2/btree/bt_put.c: Likewise.
11272 * db2/btree/bt_search.c: Likewise.
11273 * db2/btree/bt_split.c: Likewise.
11274 * db2/btree/btree_auto.c: Likewise.
11275 * db2/common/db_appinit.c: Likewise.
11276 * db2/common/db_apprec.c: Likewise.
11277 * db2/common/db_err.c: Likewise.
11278 * db2/common/db_region.c: Likewise.
11279 * db2/db/db_auto.c: Likewise.
11280 * db2/db/db_dispatch.c: Likewise.
11281 * db2/db/db_ret.c: Likewise.
11282 * db2/dbm/dbm.c: Likewise.
11283 * db2/hash/hash_auto.c: Likewise.
11284 * db2/include/btree_ext.h: Likewise.
11285 * db2/include/common_ext.h: Likewise.
11286 * db2/include/db.h.src: Likewise.
11287 * db2/include/db_cxx.h: Likewise.
11288 * db2/include/db_ext.h: Likewise.
11289 * db2/include/db_int.h.src: Likewise.
11290 * db2/include/lock.h: Likewise.
11291 * db2/include/log.h: Likewise.
11292 * db2/include/mp.h: Likewise.
11293 * db2/include/mp_ext.h: Likewise.
11294 * db2/include/os_ext.h: Likewise.
11295 * db2/include/os_func.h: Likewise.
11296 * db2/lock/lock.c: Likewise.
11297 * db2/lock/lock_deadlock.c: Likewise.
11298 * db2/log/log.c: Likewise.
11299 * db2/log/log_archive.c: Likewise.
11300 * db2/log/log_auto.c: Likewise.
11301 * db2/log/log_get.c: Likewise.
11302 * db2/log/log_put.c: Likewise.
11303 * db2/mp/mp_bh.c: Likewise.
11304 * db2/mp/mp_fget.c: Likewise.
11305 * db2/mp/mp_fopen.c: Likewise.
11306 * db2/mp/mp_fput.c: Likewise.
11307 * db2/mp/mp_fset.c: Likewise.
11308 * db2/mp/mp_open.c: Likewise.
11309 * db2/mp/mp_pr.c: Likewise.
11310 * db2/mp/mp_region.c: Likewise.
11311 * db2/mp/mp_sync.c: Likewise.
11312 * db2/mutex/README: Likewise.
11313 * db2/mutex/mutex.c: Likewise.
11314 * db2/os/os_open.c: Likewise.
11315 * db2/os/os_func.c: Removed.
11316 * db2/os/os_config.c: New file.
11317 * db2/os/os_spin.c: New file.
11318 * db2/txn/txn.c: Likewise.
11319 * db2/txn/txn_auto.c: Likewise.
11320
11321 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
11322
11323 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11324 __typeof for C++ since this fails for class members.
11325 Reported by Neal Becker <neal@ctd.comsat.com>.
11326
11327 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
11328
11329 * configure.in: Check for a working makeinfo (3.11 or better).
11330 * config.make.in: Add MAKEINFO to be substituted.
11331 * manual/Makefile: Don't update info if makeinfo is too old.
11332
11333 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
11334
11335 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11336 * sysdeps/alpha/__longjmp.S: Likewise.
11337 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11338 not <bits/termios.h>.
11339
11340 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11341 __llseek and make llseek and lseek64 weak aliases.
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11343 Patches by a sun <asun@zoology.washington.edu>.
11344
11345 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
11346
11347 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11348 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11349 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11350 * misc/sys/syslog.h: Clean up BSD header.
11351
11352 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11353
11354 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11355
11356 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11357 for ctan(+-inf,x).
11358 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11359 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11360
11361 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11362 csqrt (-1), ctanh(i*pi/4).
11363
11364 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11365
11366 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11367
11368 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
11369
11370 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11371
11372 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11373
11374 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11375
11376 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
11377
11378 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11379 and use. Define GETCWD_RETURN_TYPE instead and use it.
11380 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11381 of GETCWD_STORYGE_CLASS and put the return type and the
11382 `internal_function' in the right order for gcc 2.7.2.
11383
11384 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11385
11386 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
11387 incompatible with Linux 2.1.x. Packages using modules
11388 (e.g. modutils) should/do provide their own version. Suggested by
11389 Richard Henderson.
11390
11391 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11392
11393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11394 [$(subdir)=socket]: Remove sys/module.h.
11395
11396 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
11397
11398 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11399 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
11400
11401 * iconv/gconv_close.c: Correct freeing of descriptor data.
11402 * iconv/gconv_simple.c: Return correct error values for illegal or
11403 incomplete characters.
11404
11405 * Makefile (iconvdata/%): Special goal to simplify iconvdata
11406 development.
11407 * iconvdata/Makefile: New file.
11408 * iconvdata/configure: Likewise.
11409 * iconvdata/extra-module.mk: Likewise.
11410 * iconvdata/gconv-modules: Likewise.
11411 * iconvdata/iso6937.c: Likewise.
11412 * iconvdata/iso8859-1.c: Likewise.
11413 * iconvdata/iso8859-10.c: Likewise.
11414 * iconvdata/iso8859-10.h: Likewise.
11415 * iconvdata/iso8859-2.c: Likewise.
11416 * iconvdata/iso8859-2.h: Likewise.
11417 * iconvdata/iso8859-3.c: Likewise.
11418 * iconvdata/iso8859-3.h: Likewise.
11419 * iconvdata/iso8859-4.c: Likewise.
11420 * iconvdata/iso8859-4.h: Likewise.
11421 * iconvdata/iso8859-5.c: Likewise.
11422 * iconvdata/iso8859-5.h: Likewise.
11423 * iconvdata/iso8859-6.c: Likewise.
11424 * iconvdata/iso8859-6.h: Likewise.
11425 * iconvdata/iso8859-7.c: Likewise.
11426 * iconvdata/iso8859-7.h: Likewise.
11427 * iconvdata/iso8859-8.c: Likewise.
11428 * iconvdata/iso8859-8.h: Likewise.
11429 * iconvdata/iso8859-9.c: Likewise.
11430 * iconvdata/iso8859-9.h: Likewise.
11431 * iconvdata/iso8859-generic.c: Likewise.
11432 * iconvdata/t61.c: Likewise.
11433
11434 * string/Makefile (routines): Add strcasestr.
11435 * string/string.h: Add prototype for strcasestr.
11436 * sysdeps/generic/strcasestr.c: New file.
11437 * wcsmbs/mbrtowc.c: Simplify special case a bit.
11438 * wcsmbs/wcrtomb.c: Likewise.
11439 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11440 * wcsmbs/wcsnrtombs.c: Likewise.
11441 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11442 partial character is read.
11443 * wcsmbs/wcsrtombs.c: Likewise.
11444 * wcsmbs/wmemrtombs.c: Likewise.
11445 * wcsmbs/wmemrtowcs.c: Likewise.
11446
11447 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11448 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11449 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11450 * sysdeps/i386/elf/setjmp.S: Likewise.
11451 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11452 <bits/termios.h>.
11453
11454 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11455 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11456
11457 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11458 * sysvipc/sys/ipc.h: Likewise.
11459 * sysvipc/sys/msg.h: Likewise.
11460 * sysvipc/sys/sem.h: Likewise.
11461 * sysvipc/sys/shm.h: Likewise.
11462
11463 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11464 used directly.
11465 * sysdeps/alpha/bits/setjmp.h: Likewise.
11466 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11467 * sysdeps/arm/bits/endian.h: Likewise.
11468 * sysdeps/arm/bits/setjmp.h: Likewise.
11469 * sysdeps/generic/bits/byteswap.h: Likewise.
11470 * sysdeps/generic/bits/confname.h: Likewise.
11471 * sysdeps/generic/bits/dirent.h: Likewise.
11472 * sysdeps/generic/bits/dlfcn.h: Likewise.
11473 * sysdeps/generic/bits/endian.h: Likewise.
11474 * sysdeps/generic/bits/fenv.h: Likewise.
11475 * sysdeps/generic/bits/huge_val.h: Likewise.
11476 * sysdeps/generic/bits/in.h: Likewise.
11477 * sysdeps/generic/bits/ioctl-types.h: Likewise.
11478 * sysdeps/generic/bits/ioctls.h: Likewise.
11479 * sysdeps/generic/bits/ipc.h: Likewise.
11480 * sysdeps/generic/bits/msq.h: Likewise.
11481 * sysdeps/generic/bits/poll.h: Likewise.
11482 * sysdeps/generic/bits/resource.h: Likewise.
11483 * sysdeps/generic/bits/sched.h: Likewise.
11484 * sysdeps/generic/bits/sem.h: Likewise.
11485 * sysdeps/generic/bits/setjmp.h: Likewise.
11486 * sysdeps/generic/bits/shm.h: Likewise.
11487 * sysdeps/generic/bits/sigaction.h: Likewise.
11488 * sysdeps/generic/bits/sigcontext.h: Likewise.
11489 * sysdeps/generic/bits/socket.h: Likewise.
11490 * sysdeps/generic/bits/stat.h: Likewise.
11491 * sysdeps/generic/bits/statfs.h: Likewise.
11492 * sysdeps/generic/bits/stdio_lim.h: Likewise.
11493 * sysdeps/generic/bits/termios.h: Likewise.
11494 * sysdeps/generic/bits/time.h: Likewise.
11495 * sysdeps/generic/bits/uio.h: Likewise.
11496 * sysdeps/generic/bits/utmp.h: Likewise.
11497 * sysdeps/generic/bits/utmpx.h: Likewise.
11498 * sysdeps/generic/bits/utsname.h: Likewise.
11499 * sysdeps/generic/bits/waitflags.h: Likewise.
11500 * sysdeps/generic/bits/waitstatus.h: Likewise.
11501 * sysdeps/gnu/bits/utmp.h: Likewise.
11502 * sysdeps/gnu/bits/utmpx.h: Likewise.
11503 * sysdeps/i386/bits/byteswap.h: Likewise.
11504 * sysdeps/i386/bits/endian.h: Likewise.
11505 * sysdeps/i386/bits/huge_val.h: Likewise.
11506 * sysdeps/i386/bits/setjmp.h: Likewise.
11507 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11508 * sysdeps/ieee754/bits/huge_val.h: Likewise.
11509 * sysdeps/m68k/bits/byteswap.h: Likewise.
11510 * sysdeps/m68k/bits/endian.h: Likewise.
11511 * sysdeps/m68k/bits/setjmp.h: Likewise.
11512 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11513 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11514 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11515 * sysdeps/mach/hurd/bits/stat.h: Likewise.
11516 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11517 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11518 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11519 * sysdeps/mips/bits/dlfcn.h: Likewise.
11520 * sysdeps/mips/bits/endian.h: Likewise.
11521 * sysdeps/mips/bits/setjmp.h: Likewise.
11522 * sysdeps/mips/dec/bits/endian.h: Likewise.
11523 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11524 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11525 * sysdeps/mips/p40/bits/endian.h: Likewise.
11526 * sysdeps/powerpc/bits/endian.h: Likewise.
11527 * sysdeps/powerpc/bits/fenv.h: Likewise.
11528 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11529 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11530 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11531 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11532 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11533 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11534 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11535 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11536 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11537 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11538 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11539 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11540 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11541 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11542 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11543 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11544 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11545 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11546 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11547 * sysdeps/unix/common/bits/dirent.h: Likewise.
11548 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11549 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11550 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11551 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11552 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11553 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11554 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11555 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11556 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11557 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11558 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11559 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11560 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11561 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11562 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11563 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11564 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11565 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11566 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11567 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11568 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11569 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11570 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11571 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11572 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11573 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11574 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11575 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11576 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11577 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11578 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11579 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11580 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11581 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11582 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11583 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11584 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11585 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11586 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11587 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11588 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11589 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11590 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11591 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11592 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11593 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11594 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11595 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11596 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11597 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11598 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11600 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11601 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11602 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11603 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11605 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11606 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11607 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11608 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11609 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11610 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11611 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11612 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11613 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11614 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11615 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11616 * sysdeps/vax/bits/huge_val.h: Likewise.
11617 * sysdeps/vax/bits/setjmp.h: Likewise.
11618 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11619 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11620
11621 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11622
11623 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11624
11625 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
11626
11627 * strftime.c (strftime):
11628 No longer any need to undef or declare if emacs is defined.
11629 (my_strftime): When checking a -1 returned by mktime, don't blow up
11630 if localtime_r returns NULL.
11631
11632 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11633
11634 * README.template: Fix spelling.
11635
11636 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11637
11638 * configure.in: Enhance --enable-add-ons description a wee bit.
11639
11640 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11641
11642 * glibcbug.in: Add more information of build environment and flags.
11643
11644 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11645
11646 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11647 it into ENOENT.
11648
11649 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
11650
11651 * elf/dl-support.c: Call __libc_init_secure to make sure
11652 __libc_enable_secure is defined early.
11653 * sysdeps/generic/enbl-secure.c: Change function name to
11654 __libc_init_secure and make it global instead of a constructor.
11655
11656 * iconv/gconv.c: Fix lots of bugs.
11657 * iconv/gconv.h: Likewise.
11658 * iconv/gconv_builtin.h: Likewise.
11659 * iconv/gconv_close.c: Likewise.
11660 * iconv/gconv_conf.c: Likewise.
11661 * iconv/gconv_db.c: Likewise.
11662 * iconv/gconv_dl.c: Likewise.
11663 * iconv/gconv_open.c: Likewise.
11664 * iconv/gconv_simple.c: Likewise.
11665 * iconv/iconv.c: Likewise.
11666 * iconv/iconv_close.c: Likewise.
11667 * iconv/iconv_open.c: Likewise.
11668
11669 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11670 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11671 * wcsmbs/wmemrtombs.c: New file.
11672 * wcsmbs/wmemrtowcs.c: New file.
11673
11674 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
11675
11676 * iconv/gconv_simple.c: Fix lots of bugs.
11677 * iconv/iconv_open.c: Normalize names before passing them to
11678 __gconv_open.
11679
11680 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11681
11682 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11683 * stdio-common/test-popen.c: Add test for above change.
11684
11685 * math/libm-test.c: Print test results also using %a format,
11686 specified in PRINTF_XEXPR macro.
11687 * math/test-double.c: Define PRINTF_XEXPR.
11688 * math/test-float.c: Likewise.
11689 * math/test-ldouble.c: Likewise.
11690 * math/test-idouble.c: Likewise.
11691 * math/test-ifloat.c: Likewise.
11692 * math/test-ildoubl.c: Likewise.
11693
11694 * stdio-common/vfscanf.c: Recognize a in format specifier only as
11695 modifier if used before s, S, or [. Otherwise it's the hexadecimal
11696 FP number format.
11697
11698 * stdlib/strtod.c: Little code cleanup.
11699
11700 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11701 compiling in math subdir.
11702
11703 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11704 instead of __LIBC_M81_MATH_INLINES.
11705 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11706 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11707 * sysdeps/m68k/fpu/e_pow.c: Likewise.
11708 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11709 * sysdeps/m68k/fpu/k_cos.c: Likewise.
11710 * sysdeps/m68k/fpu/k_sin.c: Likewise.
11711 * sysdeps/m68k/fpu/k_tan.c: Likewise.
11712 * sysdeps/m68k/fpu/s_atan.c: Likewise.
11713 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11714 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11715 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11716 * sysdeps/m68k/fpu/s_csin.c: Likewise.
11717 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11718 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11719 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11720 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11721 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11722 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11723 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11724 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11725 * sysdeps/m68k/fpu/s_modf.c: Likewise.
11726 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11727 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11728 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11729 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11730 __LIBC_INTERNAL_MATH_INLINES is defined.
11731
11732 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11733 of compare macros from ISO C 9X. Optimize generic versions a bit.
11734 Define __signbit inline functions and __ieee754_sqrt which can be
11735 used if the ompiler is fixed.
11736
11737 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11738
11739 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11740
11741 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11742 sysdeps/generic in the whole dep file, not only in the first line.
11743
11744 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11745
11746 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11747
11748 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11749
11750 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11751 place.
11752
11753 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11754
11755 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11756 is non-empty.
11757
11758 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
11759
11760 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11761 return value.
11762
11763 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
11764
11765 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11766 readlink succeeds but the return value is too long.
11767
11768 * stdio-common/printf_fphex.c: Determine sign of number correctly.
11769
11770 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
11771
11772 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11773 __remqu for Alpha.
11774
11775 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
11776
11777 * sysdeps/generic/sys/ucontext.h: Stub context file.
11778
11779 * libio/iofprintf.c: Removed. We use the stdio-common version.
11780
11781 * manual/Makefile (distribute): Add stdio-fp.c.
11782
11783 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11784
11785 * db2/Makefile (distribute): Add include/os_func.h, README and
11786 mutex/tsl_parisc.s.
11787
11788 * hesiod/Makefile (distribute): Add README.hesiod.
11789
11790 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
11791
11792 * iconv/gconv.c: Correctly call transformation function.
11793
11794 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11795
11796 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11797
11798 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11799 wrong results for e.g. remquo (3,2, &x)).
11800 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11801 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11802
11803 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11804
11805 * configure.in (ld --version-script): Test if the same symbol
11806 maybe defined in all versions (needed by recent changes to
11807 libc.map and supported with binutils 2.8.1.0.17) and issue warning
11808 if versioning is not supported/enabled.
11809 (bash test): Correct test case.
11810
11811 * math/libm-test.c: Added counting/reporting of number of test cases.
11812
11813 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11814 use awk instead.
11815
11816 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11817
11818 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11819
11820 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11821
11822 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
11823
11824 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11825 Replace revoke call by use of REVOKE.
11826 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
11827 empty and #include generic version.
11828 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11829
11830 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
11831
11832 * libc.map: Add socket functions with __libc_* names.
11833 Reported by Andreas Jaeger.
11834
11835 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11836
11837 * libc.map: Tidy up (remove duplicates, sort entries).
11838
11839 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11840
11841 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11842
11843 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
11844
11845 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
11846 again after successful call.
11847 Patch by Marc Lehmann <pcg@goof.com>.
11848
11849 1997-11-17 Paul Eggert <eggert@twinsun.com>
11850
11851 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11852 as some hosts need this to declare localtime_r properly.
11853
11854 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
11855
11856 * libc.map: Add iconv_open, iconv, and iconv_close.
11857
11858 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
11859
11860 * iconv/Makefile: New file.
11861 * iconv/gconv.c: New file.
11862 * iconv/gconv.h: New file.
11863 * iconv/gconv_builtin.c: New file.
11864 * iconv/gconv_builtin.h: New file.
11865 * iconv/gconv_close.c: New file.
11866 * iconv/gconv_conf.c: New file.
11867 * iconv/gconv_db.c: New file.
11868 * iconv/gconv_dl.c: New file.
11869 * iconv/gconv_open.c: New file.
11870 * iconv/gconv_simple.c: New file.
11871 * iconv/iconv.c: New file.
11872 * iconv/iconv.h: New file.
11873 * iconv/iconv_close.c: New file.
11874 * iconv/iconv_open.c: New file.
11875 * include/gconv.h: New file.
11876
11877 * Makeconfig: Define gconvdir.
11878 * Makefile (subdirs): Add iconv.
11879
11880 * string/bits/string2.h: Add optimization for strtok_r.
11881
11882 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11883 for NULL.
11884 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11885 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11886
11887 * configure.in: Correct test for bash2.
11888 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11889
11890 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11891 (CFLAGS-locfile.c): Likewise.
11892 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11893
11894 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11895 non-existing entry if the table is full.
11896
11897 * posix/regex.h: Pretty print.
11898
11899 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11900
11901 * sysdeps/posix/ctermid.c: Simplify a bit.
11902
11903 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11904
11905 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11906
11907 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11908 <sys/types.h> instead of <asm/types.h>.
11909
11910 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11911
11912 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11913
11914 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
11915
11916 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11917 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11918 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11919 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11920 fclose): Added to GLIBC_2.1.
11921
11922 * libio/Makefile (routines, shared-only-routines): Add
11923 oldiofclose. Remove oldfreopen.
11924
11925 * libio/freopen.c (freopen): When PIC is defined, call
11926 _IO_old_freopen () for old stdio.
11927
11928 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11929 (_IO_fclose, fclose): Use _IO_new_fclose as default version
11930 for GLIBC_2.1.
11931
11932 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11933 instead of _IO_file_close_it.
11934
11935 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11936 to _IO_2_1_stdxxx_.
11937 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11938 is defined.
11939
11940 * libio/libioP.h (_IO_old_do_flush): New.
11941
11942 * libio/oldfileops.c (_IO_old_file_close_it,
11943 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11944 Call _IO_old_do_flush () instead of _IO_do_flush ().
11945 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11946 _IO_do_write ().
11947
11948 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11949 instead of _IO_file_init ().
11950 Bind old symbols to version GLIBC_2.0.
11951
11952 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11953 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11954 _IO_stdxxx_.
11955 (_IO_check_libio): New function in .init.
11956
11957 * libio/oldiofclose.c: New file.
11958
11959 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11960 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11961 (DEF_STDFILE): Don't use default_symbol_version.
11962
11963 * libio/stdio.c (stdin, stdout, stderr): Set to
11964 _IO_2_1_stdxxx_._
11965 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11966 stdxxx.
11967
11968 * csu/Makefile (distribute): Add init.c.
11969 (extra-objs): Add init.o for ELF.
11970 (start-installed-name): Add $(objpfx)init.o.
11971
11972 * csu/init.c: New file.
11973
11974 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
11975
11976 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11977 definition as the default.
11978
11979 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
11980
11981 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11982
11983 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11984
11985 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11986 (PR 351).
11987
11988 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
11989
11990 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11991 to preserve condition codes on function call.
11992
11993 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11994
11995 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11996
11997 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11998
11999 * math/libm-test.c (asin_test): Add epsilon for float.
12000 (tan_test): Add epsilon for float.
12001 (log1p_test): Add epsilon for float.
12002 (inverse_functions): Add epsilons.
12003
12004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12005 net/if_packet.h.
12006
12007 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12008
12009 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12010
12011 * md5-crypt/Makefile (extra-objs): Make recursively expanded
12012 variable, since $(object-suffixes) is not defined yet.
12013
12014 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12015
12016 * db2/Makefile (distribute): db185/db185_int.src ->
12017 db185/db185_int.h.
12018
12019 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12020
12021 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12022 exactly one.
12023
12024 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12025
12026 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12027 name.
12028 * sysdeps/generic/e_acosl.c: Likewise.
12029 * sysdeps/generic/e_asinl.c: Likewise.
12030 * sysdeps/generic/e_atan2l.c: Likewise.
12031 * sysdeps/generic/e_expl.c: Likewise.
12032 * sysdeps/generic/e_fmodl.c: Likewise.
12033 * sysdeps/generic/e_j0l.c: Likewise.
12034 * sysdeps/generic/e_j1l.c: Likewise.
12035 * sysdeps/generic/e_jnl.c: Likewise.
12036 * sysdeps/generic/e_lgammal_r.c: Likewise.
12037 * sysdeps/generic/e_log10l.c: Likewise.
12038 * sysdeps/generic/e_logl.c: Likewise.
12039 * sysdeps/generic/e_powl.c: Likewise.
12040 * sysdeps/generic/e_sqrtl.c: Likewise.
12041 * sysdeps/generic/e_exp2l.c: Likewise.
12042
12043 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12044
12045 * Make-dist (+sysdep-names): Remove extra paren.
12046 * Makefile (distribute): Add stub-tag.h.
12047 * elf/Makefile (distribute): Add atomicity.h.
12048 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12050 [$(subdir)=socket]: Add net/if_packet.h.
12051 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12052 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12053 net/if_packet.h, scsi/sg.h.
12054
12055 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12056
12057 * Makefile (install): Quote $(CC) expansion.
12058
12059 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12060
12061 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12062 working /proc cwd and no restrictions on path length. Following
12063 some ideas from Andi Kleen <ak@muc.de> (PR 350).
12064
12065 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
12066
12067 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12068 * nis/nss_compat/compat-pwd.c: Likewise.
12069 * nis/nss_compat/compat-spwd.c: Likewise.
12070
12071 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
12072
12073 * sysdeps/libm-i387/s_fdim.S: New file.
12074 * sysdeps/libm-i387/s_fdimf.S: New file.
12075 * sysdeps/libm-i387/s_fdiml.S: New file.
12076 * sysdeps/libm-i387/i686/s_fdim.S: New file.
12077 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12078 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12079
12080 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12081
12082 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12083 pointer to unsigned char.
12084
12085 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12086
12087 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12088
12089 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12090
12091 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12092
12093 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12094
12095 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12096 ilogb(0/NaN).
12097 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12098 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12099
12100 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
12101
12102 * sysdeps/libm-i387/s_fmin.S: New file.
12103 * sysdeps/libm-i387/s_fminf.S: New file.
12104 * sysdeps/libm-i387/s_fminl.S: New file.
12105 * sysdeps/libm-i387/s_fmax.S: New file.
12106 * sysdeps/libm-i387/s_fmaxf.S: New file.
12107 * sysdeps/libm-i387/s_fmaxl.S: New file.
12108 * sysdeps/libm-i387/i686/s_fmin.S: New file.
12109 * sysdeps/libm-i387/i686/s_fminf.S: New file.
12110 * sysdeps/libm-i387/i686/s_fminl.S: New file.
12111 * sysdeps/libm-i387/i686/s_fmax.S: New file.
12112 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12113 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12114
12115 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
12116
12117 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12118 * sysdeps/unix/sysv/linux/send.S: Likewise.
12119 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12120 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12121 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12122 * sysdeps/unix/sysv/linux/recv.S: Likewise.
12123 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12124 * sysdeps/unix/sysv/linux/connect.S: Likewise.
12125 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12126
12127 See ChangeLog.7 for earlier changes.