]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
099a6fbd
UD
11998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2
3 * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
4 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6 Patches from FreeBSD current.
7
e47315b4
UD
81998-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9
10 * nscd/connections.c (handle_new_request): Handle POLLHUP
11 correctly.
12 (close_sockets): Correct parameter to dbg_log.
13
549046b7
RH
141998-06-27 David S. Miller <davem@pierdol.cobaltmicro.com>
15
e47315b4
UD
16 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
17 Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
18 (elf_machine_fixup_plt): Likewise.
19 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
549046b7 20 _dl_pagesize not set, use system call to always get correct answer.
e47315b4
UD
21 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
22 (__syscall_getpagesize): Add
549046b7 23
08a76323
UD
241998-06-27 Ulrich Drepper <drepper@cygnus.com>
25
26 * resolv/res_send.c (res_send): Fix typo.
27
1401ecbb 281998-06-25 Andi Kleen <ak@muc.de>
cd68221f
UD
29
30 * inet/rcmd.c (rcmd): Change to use __poll instead of select.
31 * resolv/res_send.c (res_send): Likewise.
32
bfc73ba2
UD
331998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
34
35 * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
19c36e33 36 * sysdeps/unix/sysv/linux/poll.c: Likewise.
bfc73ba2 37
69bf5f75
UD
381998-06-27 7:07 Richard Henderson <rth@cygnus.com>
39
40 * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
41 * math/atest-exp2.c (exp_mpn, main): Likewise.
42 * math/atest-sincos.c (main): Likewise.
43
44 * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow. Move
45 base handling away from strtoul. Always reset errno.
46
47 * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
48
49 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
50 _dl_profile_map if _dl_name_match_p.
51 (RTLD_START): Fix .prologue. Set __libc_stack_end.
52 * sysdeps/alpha/elf/start.S: Pass sp as arg 7. Kill __data_start.
53
54 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
55 as early-clobber.
56
57 * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
58 * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
59 * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
60
db24ce47
UD
611998-06-26 Ulrich Drepper <drepper@cygnus.com>
62
1401ecbb 63 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
db24ce47 64
d6db1d53
UD
651998-06-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
66
67 * nis/nis_call.c: Don't copy server structure.
68 * nis/nis_intern.h: Remove unused entries.
69 * nis/nis_table.c: Rewrite __create_ib_request.
70
dff14448
UD
711998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com>
72
73 * configure.in: Check for -fexceptions.
74 * config.make.in: Define exceptions, not no-exceptions.
9c3a54d4 75 * misc/sys/cdefs.h: Define __PMT. When using modern g++ define
dff14448
UD
76 __P to use throw().
77 * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
78 $(exceptions).
79 * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
9c3a54d4 80 * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
dff14448
UD
81 lfind, and lsearch prototpypes.
82 * stdlib/stdlib.h: Likewise for bsearch and qsort.
83
841998-06-26 Ulrich Drepper <drepper@cygnus.com>
85
86 * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
87
881998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
89
90 * Makefile (remove-old-headers): Make phony.
91
92 * configure.in: Substitute @old_glibc_headers@.
93
941998-06-26 Ulrich Drepper <drepper@cygnus.com>
95
96 * libc.map: Remove __libc_uid.
97
981998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99
100 * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
101 typos.
102
1031998-06-26 Ulrich Drepper <drepper@cygnus.com>
104
105 * libc.map: Add Alpha-specific io function from protected namespace.
106
0ca7e46e
UD
1071998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com>
108
109 * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
110 * locale/Makefile: Define locale-CPPFLAGS instead of redefining
111 CPPFLAGS.
112
113 * libc.map: Export __sigaction.
114
1151998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
116
117 * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
118 (from Linux 2.1.107).
119
1201998-06-24 Ulrich Drepper <drepper@cygnus.com>
121
122 * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
123 position when file was opened here.
124 Reported by Howard Chu <hyc@platinum.com>.
125
126 * sysdeps/generic/glob.c: Also protect FNM_* macros from being
127 undefined in a second inclusion.
128
1291998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
130
131 * sysdeps/mach/hurd/i386/Makefile: New file.
132 * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
133 __libc_init_secure.
134 (_hurd_stack_setup): Renamed
135 from __libc_init_first.
136 (__libc_init_first): New function.
137 * sysdeps/mach/hurd/i386/static-start.S: New file.
138
1391998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
140
141 * sysdeps/mach/hurd/i386/init-first.c
142
1431998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
144
145 * grp/initgroups.c: Use _CALL_DL_FCT.
146
1471998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
148
149 * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
150
e951d340
UD
1511998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
152
153 * manual/terminal.texi (Pseudo-Terminals): Correct typos.
154
520e73a2
UD
1551998-06-23 Ulrich Drepper <drepper@cygnus.com>
156
157 * config.make.in: Remove LDAP support.
158 * nss/Makefile: Likewise.
159
a53bad16
UD
1601998-06-22 17:02 Ulrich Drepper <drepper@cygnus.com>
161
162 * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
163 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
164 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
165 * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
166
1671998-06-02 Gordon Matzigkeit <gord@profitpress.com>
168
169 * mach/Makefile: Change `mv' invocations to `mv -f'.
170 * mach/Machrules: Likewise.
171
1721998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
173
174 * config.make.in (old-glibc-headers): Add it.
175
176 * configure.in: Add test for glibc 2.0.x headers.
177
178 * Makefile (headers2_0): New variable - contains so far only
179 Linux/Intel glibc 2.0.x headers.
180 (remove-old-headers): New rule to remove headers from glibc 2.0.x.
181 (install): Depend on remove-old-headers.
182
1831998-06-19 Mark Kettenis <kettenis@phys.uva.nl>
184
185 * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
186 make ftruncate a weak alias.
187 * sysdeps/mach/hurd/ftruncate.c: Really define function as
188 __ftruncate.
189 * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
190 (truncate): Fix function defenition to match prototype.
191
1921998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
193
194 * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
195 unlockpt, ptsname, ptsname_r, openpty and forkpty.
196
1971998-06-22 Ulrich Drepper <drepper@cygnus.com>
198
199 * sysdeps/generic/glob.c: Make it possible to include glob.h
200 before loading glob.c.
201 Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
202
2031998-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
204
205 * nscd/connections.c: Use poll() instead of select().
206
2071998-06-22 14:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
208
209 * sysdeps/generic/Dist: Fix typo.
210
2111998-06-20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
212
213 * nis/nis_add.c: Avoid unnecessary strlen () calls.
214 * nis/nis_addmember.c: Likewise.
215 * nis/nis_call.c: Likewise.
216 * nis/nis_creategroup.c: Likewise.
217 * nis/nis_destroygroup.c: Likewise.
218 * nis/nis_findserv.c: Likewise.
219 * nis/nis_ismember.c: Likewise.
220 * nis/nis_print.c: Likewise.
221 * nis/nis_print_group_entry.c: Likewise.
222 * nis/nis_removemember.c: Likewise.
223 * nis/nis_verifygroup.c: Likewise.
224 * nis/ypclnt.c: Likewise.
225
226 * nis/nis_file.c: Close file handles.
227
228 * nis/nis_callback.c: Fix typo.
229
899d423e
UD
2301998-06-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
231
232 * nis/Makefile: Add nis-initgroups and compat-initgroups.
233 * nis/libnss_compat.map: Add _nss_compat_initgroups.
234 * nis/libnss_nis.map: Add _nss_nis_initgroups.
235 * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
236 * nis/nss_nis/nis-initgroups.c: Likewise.
237 * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
238 __nss_lookup_function and make it public.
239 * grp/initgroups.c: Rewrite, to use initgroups function from NSS
240 module if exists, else use old method.
241
2421998-06-19 Ulrich Drepper <drepper@cygnus.com>
243
244 * nss/getXXbyYY_r.c (lookup_function): Correct return in type
245 definition.
246 * nss/getXXent_r.c (set_function, end_function, get_function):
247 Likewise. Reported by Thorsten Kukuk.
248
249 * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
250
2511998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
252
253 * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
254 1998-06-16 and distribute kernel_termios.h.
255
256 * nis/Makefile (distribute): Add nis_xdr.h.
257
2581998-06-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
259
260 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
261 kernels that don't have sigaltstack.
262
977bfd77
UD
2631998-06-19 Ulrich Drepper <drepper@cygnus.com>
264
265 * sysdeps/generic/bits/sem.h: Don't define union semun.
266
267 * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
268
269 * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
270 here.
271 * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
272 definition here.
273
dfab448b
UD
2741998-06-18 21:45 Ulrich Drepper <drepper@cygnus.com>
275
276 * signal/signal.h: Add prototype for __sigaltstack.
277 * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
278 Remove sigstack entry.
279 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
280 * sysdeps/unix/sysv/linux/sigstack.c: New file.
281
282 * sysdeps/i386/backtrace.c: Add casts.
283
8cb569b7
UD
2841998-06-18 19:49 Ulrich Drepper <drepper@cygnus.com>
285
286 * intl/dcgettext.c: use complete type name.
287 * intl/hash-string.h: Likewise.
288
289 * intl/localealias.c: Undo patch from 1998-04-29.
290 * intl/l10nflist.c: Likewise.
291 * intl/loadinfo.h: Likewise.
292
3f121ed3
UD
2931998-06-18 Ulrich Drepper <drepper@cygnus.com>
294
295 * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
296
5ad49c07
UD
2971998-06-18 16:40 Ulrich Drepper <drepper@cygnus.com>
298
299 * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
300 _dl_mcount, _dl_mcount_wrapper.
301 * elf/Makefile (routines): Add dl-profstub.
302 * elf/dl-profstub.c: New file.
303 * elf/dl-support.c: Don't define _dl_profile_map.
304 * elf/rtld.c: Likewise.
305 * elf/dlfcn.h: Define DL_CALL_FCT macro.
306 * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
307 Define _CALL_DL_FCT.
308 * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
309 loaded object.
310 * iconv/gconv_db.c: Likewise.
311 * iconv/skeleton.c: Likewise.
312 * nss/getXXbyYY_r.c: Likewise.
313 * nss/getXXent_r.c: Likewise.
314 * nss/nsswitch.c: Likewise.
315
2827300f
UD
3161998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com>
317
318 * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
319 * sysdeps/libm-i387/e_scalbf.S: Likewise.
320 * sysdeps/libm-i387/e_scalbl.S: Likewise.
321
3221998-06-18 Ulrich Drepper <drepper@cygnus.com>
323
324 * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
325 longestdbl.
326
0c2b5752
UD
3271998-06-18 10:26 Ulrich Drepper <drepper@cygnus.com>
328
329 * iconvdata/Makefile (modules): Add MACINTOSH.
330 (MACINTOSH-routines): New variable.
331 (distribute): Add macintosh.c.
332 (awk-generated-headers): Add macintosh.h.
333 Add rule for macintosh.h generation.
334 * iconvdata/gconv-modules: Add definitions for MACINTOSH.
335 * iconvdata/macintosh.c: New file.
336
0e0316f4
UD
3371998-06-17 Ulrich Drepper <drepper@cygnus.com>
338
46827b5c
UD
339 * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
340
779515af
UD
341 * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
342 only should happen for cy != 0.
343
0e0316f4
UD
344 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
345 glob.h.
346
e021cda2
UD
3471998-06-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
348
349 * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
350 to compare stack addresses.
351
0751550d
UD
3521998-06-17 Ulrich Drepper <drepper@cygnus.com>
353
354 * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
355 defining prototypes.
356
bf47fa23
UD
3571998-06-16 David S. Miller <davem@dm.cobaltmicro.com>
358
359 * sysdeps/sparc/sparc32/dl-machine.h
360 (elf_machine_fixup_plt): During rtld bootstrap, always perform
361 flushes as the kernel will emulate it when the underlying cpu does
362 not implement flush.
363
364 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
365 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
366
367 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
368 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
369 trampoline code.
370
371 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
372 (__clone): Branch to label .Lerror not __clone_syscall_error.
373 (.Lerror): Fixup EINVAL setting.
374 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
375 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
376 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
377 (__syscall_getgroups, __syscall_setgroups): Add.
378
379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
380 (__sigaction): Member name is k_sa_handler. Use memcpy to copy
381 around sa_mask data.
382
b301e2eb
UD
3831998-06-16 Ulrich Drepper <drepper@cygnus.com>
384
bf47fa23
UD
385 * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
386
b301e2eb
UD
387 * string/Makefile: Make sure test-ffs does not use builtins.
388
91eee4dd
UD
3891998-06-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
390
391 * sunrpc/svc.c: Check for NULL pointer.
392
393 * nis/libnsl.map: Add public NIS+ xdr functions.
394
395 * nis/rpcsvc/nis_callback.h: New file.
396 * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
397 * nis/nis_xdr.h: ... here.
398
399 * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
400 pointers, use NIS+ defines where possible.
401 * nis/nis_cache.c: Likewise.
402 * nis/nis_cache2_xdr.c: Likewise.
403 * nis/nis_call.c: Likewise.
404 * nis/nis_checkpoint.c: Likewise.
405 * nis/nis_clone_dir.c: Likewise.
406 * nis/nis_clone_obj.c: Likewise.
407 * nis/nis_clone_res.c: Likewise.
408 * nis/nis_creategroup.c: Likewise.
409 * nis/nis_file.c: Likewise.
410 * nis/nis_free.c: Likewise.
411 * nis/nis_getservlist.c: Likewise.
412 * nis/nis_local_names.c: likewise.
413 * nis/nis_lookup.c: Likewise.
414 * nis/nis_mkdir.c: Likewise.
415 * nis/nis_modify.c: Likewise.
416 * nis/nis_ping.c: Likewise.
417 * nis/nis_print.c: Likewise.
418 * nis/nis_remove.c: Likewise.
419 * nis/nis_removemember.c: Likewise.
420 * nis/nis_rmdir.c: Likewise.
421 * nis/nis_server.c: Likewise.
422 * nis/nis_table.c: Likewise.
423 * nis/nis_util.c: Likewise.
424 * nis/nis_verifygroup.c: Likewise.
425 * nis/nis_xdr.c: Likewise.
426 * nis/nis_callback.c: Likewise, and move xdr functions from here ...
427 * nis/nis_xdr.c: ... to here.
428
fed8f7f7
UD
4291998-06-15 18:07 Ulrich Drepper <drepper@cygnus.com>
430
431 * iconvdata/ksc5601.h: Clean up a bit.
432
4331998-06-15 14:35 Ulrich Drepper <drepper@cygnus.com>
434
435 * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
436 and process incoming data.
437 * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
438 fragments as invalid.
439 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
440
4411998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
442
443 Removal of duplicates like "the the".
444 * manual/time.texi (TZ Variable): Likewise.
445 * manual/users.texi (Manipulating the Database): Likewise.
446 * manual/sysinfo.texi (Filesystem handling): Likewise.
447 * manual/signal.texi (Signaling Yourself): Likewise.
448 * manual/message.texi (Message Translation): Likewise.
449 (Common Usage): Likewise.
450 * manual/llio.texi: Likewise.
451 * manual/arith.texi (Old-style number conversion): Likewise.
452 * manual/argp.texi (Argp): Likewise.
453 (Argp Parsers): Likewise.
454 (Argp Help Filtering): Likewise.
455
456 * hesiod/README.hesiod: Correct typo.
457
458 * manual/llio.texi: Correct typos.
459 * manual/sysinfo.texi: Likewise.
460
4611998-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
462
463 * rt/aio.h: Rename __op to __operation for g++.
464
4651998-06-13 20:17 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
466
467 * iconvdata/gen-8bit-gap.sh: Use awk not perl. Clean up sed
468 script.
469 * iconvdata/gen-8bit-gap-1.sh: Likewise.
470 * iconvdata/gen-8bit.sh: Clean up sed script.
471
472 * iconvdata/Makefile: Remove all PERL conditionals; build all
473 the modules all the time. Export AWK.
474 (gen-8bit-gap): Delete setting of PERL.
475 (gen-8bit-gap-1): Likewise.
476 (perl-generated-headers): Renamed awk-generated-headers.
477
478 * iconvdata/gap.pl: Removed.
479 * iconvdata/gaptab.pl: Removed.
480 * iconvdata/gap.awk: New file.
481 * iconvdata/gaptab.awk: New file.
482
4831998-06-15 Ulrich Drepper <drepper@cygnus.com>
484
485 * sysdeps/generic/Dist: Add errno-loc.c.
486
487 * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
488 __new_* functions.
489
4901998-06-14 14:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
491
492 * stdio-common/bug12.c: New test for fread()/fseek().
493 * stdio-common/Makefile (tests): Add bug12.
494
c756c71c
UD
4951998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
496
497 * sysdeps/generic/elf/backtracesyms.c: Make array elements
498 constant.
499 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
500 * debug/execinfo.h: Update declaration.
501
5021998-06-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
503
504 * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
505 * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT.
506 * debug/execinfo.h: Update declaration.
507
5081998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
509
510 * manual/llio.texi: Fix spelling.
511 * manual/sysinfo.texi: Fix spelling.
512
5131998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
514
515 * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
516 alias for old name. Put this on __libc_subfreeres.
517 * misc/search.h: Declare it.
518
5191998-06-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
520
521 * string/bits/string2.h (strcmp): Add missing parens around macro
522 parameters.
523
a3a4a74e
UD
5241998-06-12 23:34 Ulrich Drepper <drepper@cygnus.com>
525
526 * manual/arith.texi: Fix problem with @math and texinfo.tex.
527
528 * manual/filesys.texi: Document LFS functions.
529 * manual/llio.texi: Likewise.
530 * manual/stdio.texi: Likewise.
531 * manual/time.texi: Likewise.
532
533 * manual/llio.texi: Document AIO functions.
534
535 * resource/sys/resource.h: Mark second argument of setrlimit as const.
536 * sysdeps/generic/setrlimit.c: Likewise.
537 * sysdeps/generic/setrlimit64.c: Likewise.
538 * sysdeps/mach/hurd/setrlimit.c: Likewise.
539 * sysdeps/unix/sysv/setrlimit.c: Likewise.
540
ecdc196c
UD
5411998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
542
543 * sysdeps/generic/getenv.c: Fix last change.
544
5451998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
546
547 * sysdeps/generic/backtrace.c: Provide generic implementation.
548
5491998-06-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
550
551 * configure.in: Give visual feedback of the default directories we
552 added.
553
5541998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
555
556 * io/fts.c (fts_build): Define oflag only if needed.
557
5581998-06-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
559
560 * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
561
29fe4d0d
UD
5621998-06-11 Ulrich Drepper <drepper@cygnus.com>
563
564 * libc.map: Don't export argp's fmtstream handling functions.
565
b07d03e0
UD
566 * manual/sysinfo.texi: Document fstab and mtab handling functions.
567 * manual/llio.texi: Document more LFS functions and start documenting
568 the AIO functions.
37742e84 569
36ecfe56
UD
5701998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
571
572 * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
573 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
574 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
575 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
576
5771998-06-03 03:09 Geoff Keating <geoffk@ozemail.com.au>
578
579 * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
580 makes it easier to undump emacs.
581 * sysdeps/powerpc/bits/endian.h: Use more informative error message
582 for when the endianness can't be determined.
583
5841998-06-04 13:19 Geoff Keating <geoffk@ozemail.com.au>
585
586 * nss/Makefile: Add files publickey database support.
587 * nss/libnss_files.map: Export the required functions.
588 * nss/nss_files/files-key.c: Implement it.
589 * sunrpc/rpc/auth_des.h: Correct typos in comments.
590
bbbad732
UD
5911998-06-10 Ulrich Drepper <drepper@cygnus.com>
592
593 * iconv/gconv_builtin.h: Add aliases for CORBA.
594 * iconvdata/gconv-modules: Likewise.
595
5961998-06-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
597
598 * math/libm-test.c (main): Call exp10_test.
599 (exp10_test): New function which tests exp10.
600
4f5e4ac4
UD
6011998-06-10 Ulrich Drepper <drepper@cygnus.com>
602
603 * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
604 sigstack.
605
606 * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
607 SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
608 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
609
db3546a0
UD
6101998-06-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
611
612 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
613 in the variable, not its GOT slot.
614
6151998-06-10 10:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9e2c0dae 616
3fed58f8 617 * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
db3546a0 618 inline.
3fed58f8
AS
619 * sysdeps/m68k/fpu/e_exp10.c: New file.
620 * sysdeps/m68k/fpu/e_exp10f.c: New file.
621 * sysdeps/m68k/fpu/e_exp10l.c: New file.
622
9e2c0dae
AS
623 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
624 _dl_profile_map only if the name matches.
625 (_dl_start_user): Remember stack address.
626 * sysdeps/m68k/elf/start.S: Pass new argument to
db3546a0 627 __libc_start_user.
9e2c0dae 628
4bec4536
AS
629 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
630 definition.
631 (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
632 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
633 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
634 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
635 * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
636
4bbac92a
UD
6371998-06-09 18:16 Ulrich Drepper <drepper@cygnus.com>
638
639 * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
640 * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
641 * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
642 * math/bits/mathcalls.h: Add definitions for exp10 and pow10
643 prototypes.
644 * sysdeps/libm-i387/e_exp10.S: New file.
645 * sysdeps/libm-i387/e_exp10f.S: New file.
646 * sysdeps/libm-i387/e_exp10l.S: New file.
647 * sysdeps/libm-ieee754/e_exp10.c: New file.
648 * sysdeps/libm-ieee754/e_exp10f.c: New file.
649 * sysdeps/libm-ieee754/e_exp10l.c: New file.
650 * sysdeps/libm-ieee754/w_exp10.c: New file.
651 * sysdeps/libm-ieee754/w_exp10f.c: New file.
652 * sysdeps/libm-ieee754/w_exp10l.c: New file.
653 * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
654
6551998-05-25 22:18 H.J. Lu <hjl@gnu.org>
656
657 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
658 sys/elf.h and sys/reg.h.
659 * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
660 * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
661 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
662 * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
663
664 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
665 PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
666
bf7997b6
UD
6671998-06-09 Ulrich Drepper <drepper@cygnus.com>
668
669 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
670 __data member only for gcc. Reported by ak@muc.de.
671
672 * misc/mntent.h: Undo last patch.
673 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
674 * misc/tst/mntent.c: Adjust code for this change.
675
676 * io/fts.c: Updated from a slightly more recent BSD version.
677 * io/fts.h: Likewise.
678
679 * libc.map: Add __libc_stack_end.
680
681 * db2/Makefile (routines): Add lock_region.
682 * db2/config.h: Update from db-2.4.14.
683 * db2/db.h: Likewise.
684 * db2/db_185.h: Likewise.
685 * db2/db_int.h: Likewise.
69f234e8
UD
686 * db2/btree/bt_close.c: Likewise.
687 * db2/btree/bt_compare.c: Likewise.
688 * db2/btree/bt_conv.c: Likewise.
689 * db2/btree/bt_cursor.c: Likewise.
690 * db2/btree/bt_delete.c: Likewise.
691 * db2/btree/bt_open.c: Likewise.
692 * db2/btree/bt_page.c: Likewise.
693 * db2/btree/bt_put.c: Likewise.
694 * db2/btree/bt_rec.c: Likewise.
695 * db2/btree/bt_recno.c: Likewise.
696 * db2/btree/bt_rsearch.c: Likewise.
697 * db2/btree/bt_search.c: Likewise.
698 * db2/btree/bt_split.c: Likewise.
699 * db2/btree/bt_stat.c: Likewise.
700 * db2/btree/btree.src: Likewise.
701 * db2/btree/btree_auto.c: Likewise.
702 * db2/clib/getlong.c: Likewise.
703 * db2/common/db_appinit.c: Likewise.
704 * db2/common/db_apprec.c: Likewise.
705 * db2/common/db_byteorder.c: Likewise.
706 * db2/common/db_err.c: Likewise.
707 * db2/common/db_log2.c: Likewise.
708 * db2/common/db_region.c: Likewise.
709 * db2/common/db_salloc.c: Likewise.
710 * db2/common/db_shash.c: Likewise.
711 * db2/db/db.c: Likewise.
712 * db2/db/db.src: Likewise.
713 * db2/db/db_auto.c: Likewise.
714 * db2/db/db_conv.c: Likewise.
715 * db2/db/db_dispatch.c: Likewise.
716 * db2/db/db_dup.c: Likewise.
717 * db2/db/db_overflow.c: Likewise.
718 * db2/db/db_pr.c: Likewise.
719 * db2/db/db_rec.c: Likewise.
720 * db2/db/db_ret.c: Likewise.
721 * db2/db/db_thread.c: Likewise.
722 * db2/db185/db185.c: Likewise.
723 * db2/db185/db185_int.h: Likewise.
724 * db2/dbm/dbm.c: Likewise.
725 * db2/hash/hash.c: Likewise.
726 * db2/hash/hash.src: Likewise.
727 * db2/hash/hash_auto.c: Likewise.
728 * db2/hash/hash_conv.c: Likewise.
729 * db2/hash/hash_debug.c: Likewise.
730 * db2/hash/hash_dup.c: Likewise.
731 * db2/hash/hash_func.c: Likewise.
732 * db2/hash/hash_page.c: Likewise.
733 * db2/hash/hash_rec.c: Likewise.
734 * db2/hash/hash_stat.c: Likewise.
735 * db2/include/btree.h: Likewise.
736 * db2/include/btree_ext.h: Likewise.
737 * db2/include/clib_ext.h: Likewise.
738 * db2/include/common_ext.h: Likewise.
739 * db2/include/cxx_int.h: Likewise.
740 * db2/include/db.h.src: Likewise.
741 * db2/include/db_185.h.src: Likewise.
742 * db2/include/db_am.h: Likewise.
743 * db2/include/db_auto.h: Likewise.
744 * db2/include/db_cxx.h: Likewise.
745 * db2/include/db_dispatch.h: Likewise.
746 * db2/include/db_ext.h: Likewise.
747 * db2/include/db_int.h.src: Likewise.
748 * db2/include/db_page.h: Likewise.
749 * db2/include/db_shash.h: Likewise.
750 * db2/include/db_swap.h: Likewise.
751 * db2/include/hash.h: Likewise.
752 * db2/include/hash_ext.h: Likewise.
753 * db2/include/lock.h: Likewise.
754 * db2/include/lock_ext.h: Likewise.
755 * db2/include/log.h: Likewise.
756 * db2/include/log_ext.h: Likewise.
757 * db2/include/mp.h: Likewise.
758 * db2/include/mp_ext.h: Likewise.
759 * db2/include/mutex_ext.h: Likewise.
760 * db2/include/os_ext.h: Likewise.
761 * db2/include/os_func.h: Likewise.
762 * db2/include/queue.h: Likewise.
763 * db2/include/shqueue.h: Likewise.
764 * db2/include/txn.h: Likewise.
765 * db2/lock/lock.c: Likewise.
766 * db2/lock/lock_conflict.c: Likewise.
767 * db2/lock/lock_deadlock.c: Likewise.
768 * db2/lock/lock_region.c: Likewise.
769 * db2/lock/lock_util.c: Likewise.
770 * db2/log/log.c: Likewise.
771 * db2/log/log.src: Likewise.
772 * db2/log/log_archive.c: Likewise.
773 * db2/log/log_auto.c: Likewise.
774 * db2/log/log_compare.c: Likewise.
775 * db2/log/log_findckp.c: Likewise.
776 * db2/log/log_get.c: Likewise.
777 * db2/log/log_put.c: Likewise.
778 * db2/log/log_rec.c: Likewise.
779 * db2/log/log_register.c: Likewise.
780 * db2/mp/mp_bh.c: Likewise.
781 * db2/mp/mp_fget.c: Likewise.
782 * db2/mp/mp_fopen.c: Likewise.
783 * db2/mp/mp_fput.c: Likewise.
784 * db2/mp/mp_fset.c: Likewise.
785 * db2/mp/mp_open.c: Likewise.
786 * db2/mp/mp_pr.c: Likewise.
787 * db2/mp/mp_region.c: Likewise.
788 * db2/mp/mp_sync.c: Likewise.
789 * db2/mutex/68020.gcc: Likewise.
790 * db2/mutex/mutex.c: Likewise.
791 * db2/mutex/parisc.gcc: Likewise.
792 * db2/mutex/parisc.hp: Likewise.
793 * db2/mutex/sco.cc: Likewise.
794 * db2/os/os_abs.c: Likewise.
795 * db2/os/os_alloc.c: Likewise.
796 * db2/os/os_config.c: Likewise.
797 * db2/os/os_dir.c: Likewise.
798 * db2/os/os_fid.c: Likewise.
799 * db2/os/os_fsync.c: Likewise.
800 * db2/os/os_map.c: Likewise.
801 * db2/os/os_oflags.c: Likewise.
802 * db2/os/os_open.c: Likewise.
803 * db2/os/os_rpath.c: Likewise.
804 * db2/os/os_rw.c: Likewise.
805 * db2/os/os_seek.c: Likewise.
806 * db2/os/os_sleep.c: Likewise.
807 * db2/os/os_spin.c: Likewise.
808 * db2/os/os_stat.c: Likewise.
809 * db2/os/os_unlink.c: Likewise.
810 * db2/progs/db_archive/db_archive.c: Likewise.
811 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
812 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
813 * db2/progs/db_dump/db_dump.c: Likewise.
814 * db2/progs/db_dump185/db_dump185.c: Likewise.
815 * db2/progs/db_load/db_load.c: Likewise.
816 * db2/progs/db_printlog/db_printlog.c: Likewise.
817 * db2/progs/db_recover/db_recover.c: Likewise.
818 * db2/progs/db_stat/db_stat.c: Likewise.
819 * db2/txn/txn.c: Likewise.
820 * db2/txn/txn.src: Likewise.
821 * db2/txn/txn_auto.c: Likewise.
822 * db2/txn/txn_rec.c: Likewise.
bf7997b6
UD
823
824 * elf/rtld.c: Move definition of __libc_stack_end to ...
825 * sysdeps/generic/dl-sysdep.h: ...here.
826
827 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
828 * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
829 * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
830
69f234e8
UD
831 * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
832 * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
833 before following it.
834
bf7997b6
UD
8351998-06-08 21:44 Ulrich Drepper <drepper@cygnus.com>
836
837 * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
838 from mntent correctly.
839
8401998-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
841
842 * sunrpc/Makefile (generated): Correct typo.
843
8441998-06-04 Philip Blundell <philb@gnu.org>
845
846 * elf/elf.h (EM_ARM, et al.): New definitions.
847 * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
848
7646e67e
UD
8491998-06-08 21:33 Ulrich Drepper <drepper@cygnus.com>
850
851 * localedata/SUPPORTED: Add sk_SK.
852 * localedata/locales/sk_SK: New file.
853
2de7874e
UD
8541998-06-08 18:57 Ulrich Drepper <drepper@cygnus.com>
855
856 * Makeconfig (subdirs): Add debug.
857 * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
858 * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
859 backtrace_symbols.
860 * sysdeps/generic/backtrace.c: New file.
861 * sysdeps/generic/backtracesyms.c: New file.
862 * sysdeps/generic/elf/backtracesyms.c: New file.
863 * sysdeps/i386/backtrace.c: New file.
864 * debug/Makefile: New file.
865 * debug/backtrace-tst.c: New file.
866 * debug/execinfo.h: New file.
867
31f7410f
UD
8681998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com>
869
870 * elf/sprof.c: Implement call graph profiling.
871
872 * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
873
8741998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
875
876 * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
877 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
878 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
879 Noticed by Jake Garver <garver@valkyrie.net>.
880
8811998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
882
883 * libio/genops.c (__underflow): Read character from read pointer
884 as unsigned.
885 (__uflow): Likewise.
886
c0fb8a56
UD
8871998-06-07 13:32 Ulrich Drepper <drepper@cygnus.com>
888
889 * libc.map: Add _dl_profile.
890 * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
891 this to ELF_DYNAMIC_RELOCATE.
892 Always allocate array for relocation result if LD_PROFILE is defined.
893 * elf/ldsodefs.h: Adjust prototypes.
894 * elf/dl-open.c (_dl_open): Call relocation function with extra
895 argument.
896 * elf/rtld.c: Likewise.
897 * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
898 Correct loop condition.
899 * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
900 consider_profile to runtime setup function.
901 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
902 _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
903
904 * elf/dl-support.c: Define __libc_stack_end.
905 * elf/rtld.c: Likewise.
906 * sysdeps/generic/libc-start.c: Store last stack address in
907 __libc_stack_end.
908 * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
909 * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
910
911 * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
912 Include <stdint.h>, not <inttypes.h>.
913
914 * elf/sprof.c: Implement flat profiling.
915
916 * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
917 _IO_funlockfile explicitly.
918 * libio/fileops.c: Likewise.
919 * libio/fputc.c: Likewise.
920 * libio/freopen.c: Likewise.
921 * libio/freopen64.c: Likewise.
922 * libio/fseek.c: Likewise.
923 * libio/fseeko.c: Likewise.
924 * libio/fseeko64.c: Likewise.
925 * libio/ftello.c: Likewise.
926 * libio/ftello64.c: Likewise.
927 * libio/getc.c: Likewise.
928 * libio/getchar.c: Likewise.
929 * libio/iofclose.c: Likewise.
930 * libio/iofflush.c: Likewise.
931 * libio/iofgetpos.c: Likewise.
932 * libio/iofgetpos64.c: Likewise.
933 * libio/iofgets.c: Likewise.
934 * libio/iofputs.c: Likewise.
935 * libio/iofread.c: Likewise.
936 * libio/iofsetpos.c: Likewise.
937 * libio/iofsetpos64.c: Likewise.
938 * libio/ioftell.c: Likewise.
939 * libio/iofwrite.c: Likewise.
940 * libio/iogetdelim.c: Likewise.
941 * libio/iogets.c: Likewise.
942 * libio/ioputs.c: Likewise.
943 * libio/ioseekoff.c: Likewise.
944 * libio/ioseekpos.c: Likewise.
945 * libio/iosetbuffer.c: Likewise.
946 * libio/iosetvbuf.c: Likewise.
947 * libio/ioungetc.c: Likewise.
948 * libio/iovsprintf.c: Likewise.
949 * libio/iovsscanf.c: Likewise.
950 * libio/oldfileops.c: Likewise.
951 * libio/oldiofclose.c: Likewise.
952 * libio/peekc.c: Likewise.
953 * libio/putc.c: Likewise.
954 * libio/putchar.c: Likewise.
955 * libio/rewind.c: Likewise.
956
957 * malloc/mtrace.c: Pretty print.
958
959 * misc/mntent.h (struct mentent): Make string elements const char *.
960
961 * nis/nis_printf.c: Optimize I/O a little bit.
962
963 * signal/Makefile (distribute): Add sigset-cvt-mask.h.
964 * sysdeps/generic/sigset-cvt-mask.h: New file.
965 * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
966 * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
967 * sysdeps/posix/sigvec.c: Rewrite the use definitions from
968 sigset-cvt-mask.h to do the dirty work.
969 Patches by Joe Keane.
970
971 * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
972
973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
974 syscall_error label in case of PIC anonymous.
975 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
976 * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
977 * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
978 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
979 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
980 * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
981 * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
982
737547be
UD
9831998-06-05 Ulrich Drepper <drepper@cygnus.com>
984
985 * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
986 we cannot declare the struct element as const.
987 * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
988 * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
989
9901998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
991
992 * manual/Makefile: Include ../Makeconfig earlier.
993 (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
994 exist.
995 (dir-add.texinfo): Remove useless $(SHELL).
996
9971998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
998
999 * Makefile (others): Build programs from install-bin.
1000 * configure.in: Modify config.make only if is was just created and
1001 move that command to second argument of AC_OUTPUT. Add command to
1002 set config_vars in config.status.
1003
10041998-06-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1005
1006 * malloc/Makefile (address-width): Fix conditional.
1007
c6bd526f
UD
10081998-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1009
1010 * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1011 putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1012 strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1013 version GLIBC_2.1.
1014
10151998-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1016
1017 * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1018 (Floating Point Parameters): Likewise.
1019
7ba4fcfc
UD
10201998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1021
1022 * hurd/Makefile (routines): Add cthreads.
1023
10241998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1025
1026 * login/login.c (login): Let pututline take care of finding the
1027 positin to insert the UTMP entry. This corrects a bug where ssh
1028 was not reusing UTMP entries marked as DEAD_PROCESS.
1029 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1030
10311998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1032
1033 * login/Makefile (tests): New variable, add tst-utmp and
1034 tst-utmpx.
1035 * login/tst-utmp.c: New file.
1036 * login/tst-utmpx.c: New file.
1037
10381998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1039
1040 * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1041 aliases for _hurd_nerr, for programs that don't use sys_errlist,
1042 but need sys_err.
1043
10441998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1045
1046 * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1047 * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1048
10491998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1050
1051 * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1052 make __read a weak alias. Use ANSI-style function definition.
1053 * sysdeps/mach/hurd/write.c: Likewise.
1054
10551998-05-31 Mark Kettenis <kettenis@phys.uva.nl>
1056
1057 * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1058 _sys_errlist.
1059
10601998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
1061
1062 * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1063 Renamed from librtld.so.
1064
10651998-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1066
1067 * libc.map: Remove _IO_getline_info which was erroneously
1068 introduced in section GLIBC_2.0.
1069 Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1070
10711998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1072
1073 * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1074 created a weak alias.
1075 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1076
10771998-05-31 Gordon Matzigkeit <gord@profitpress.com>
1078
1079 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1080 ftruncate function, and create a weak alias to ftruncate.
1081
10821998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1083
1084 * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1085 * inet/getnetgrent_r.c: Likewise.
1086 * nss/getXXbyYY_r.c: Likewise.
1087 * nss/getXXent_r.c: Likewise.
1088 * pwd/fgetpwent_r.c: Likewise.
1089 * shadow/sgetspent_r.c: Likewise.
1090 * shadow/fgetspent_r.c: Likewise.
1091 * sunrpc/publickey.c: Likewise.
1092
10931998-06-01 Gordon Matzigkeit <gord@profitpress.com>
1094
1095 * hurd/libhurduser.map: New file.
1096 * mach/libmachuser.map: Likewise.
1097
1098 * libc.map: Add Hurd-specific functions to version 2.1.
1099 Add __flshfp and __fillbf.
1100
11011998-05-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1102
1103 * manual/signal.texi (Basic Signal Handling): Fix typo.
1104 * manual/errno.texi (Error Codes): Likewise.
1105
11061998-06-02 Ulrich Drepper <drepper@cygnus.com>
1107
1108 * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1109 instead of <sys/socket.h>.
1110 Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1111
1112 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1113 Finally make it working.
1114 Patch by Mark Hatle <fray@kernel.crashing.org>.
1115
11161998-03-22 Paul Eggert <eggert@twinsun.com>
1117
1118 * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1119 a Solaris 2.6 bug.
1120
0061df4e
UD
11211998-05-30 Philip Blundell <Philip.Blundell@pobox.com>
1122
1123 * stdlib/gmp-impl.h: Support strange mixed-endian double format
1124 used by ARM systems.
1125 * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1126 FE_EXCEPT_SHIFT.
1127 * sysdeps/arm/bits/fenv.h: Deleted.
1128 * sysdeps/arm/fpu/ieee754.h: New file.
1129 * sysdeps/arm/gmp-mparam.h: New file.
1130 * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1131 implementation.
1132
fa1f94fe
UD
11331998-06-01 Ulrich Drepper <drepper@cygnus.com>
1134
112f5896
UD
1135 * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1136
fa1f94fe
UD
1137 * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1138 of ((unused)). Reported by Bruno Haible.
1139
bd78530f
UD
11401998-05-31 Philip Blundell <philb@gnu.org>
1141
1142 * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1143 referring to errno and _errno.
1144
1145 * sysdeps/arm/fpu/feholdexcpt.c: New file.
1146
1147 * sysdeps/i386/fpu_control.h: Fix typo.
1148
1149 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1150 (_JMPBUF_UNWINDS): Added.
1151 * sysdeps/arm/fpu/bits/setjmp.h: New file.
1152
11531998-05-25 Gordon Matzigkeit <gord@profitpress.com>
1154
1155 * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1156 order to build header files, not `generated'.
1157
1158 * Rules (before-compile): New target which depends on all
1159 $(before-compile) files.
1160
26a60f90
UD
11611998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1162
1163 * nis/nis_call.c: Make directory search faster.
1164
1165 * nis/nis_callback.c: Insert public key of user in callback data.
1166
1167 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
1168
1169 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
1170
1171 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
1172
1173 * nis/nis_intern.h: Remove duplicated prototype.
1174
11751998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1176
1177 * sunrpc/auth_des.c: Move prototypes from here ...
1178 * sunrpc/rpc/auth.h: ... to here.
1179
1180 * sunrpc/clnt_tcp.c: Add more control flags.
1181 * sunrpc/clnt_udp.c: Likewise.
1182
1183 * sunrpc/netname.c (host2netname): Remove prefixing dot from
1184 domainname.
1185
1186 * sunrpc/rpc/clnt.h: Document, which control flags are not
1187 implementable.
1188
1189 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
1190
e7a95dc6
UD
11911998-05-29 Ulrich Drepper <drepper@cygnus.com>
1192
6e607d84
UD
1193 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
1194 files crash the program.
1195
e7a95dc6 1196 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
6e607d84 1197 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
e7a95dc6
UD
1198 Reported by Deborah Wallach <kerr@pa.dec.com>.
1199
66715f83
UD
12001998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
1201
1202 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
1203 on whether this is a stable release or not (keeps snapshot bug
1204 reports out of the database).
1205
1206 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
1207 * sysdeps/arm/sysdep.h: Likewise.
1208 * sysdeps/i386/sysdep.h: Likewise.
1209 * sysdeps/m68k/sysdep.h: Likewise.
1210 * sysdeps/mach/mips/sysdep.h: Likewise.
1211 * sysdeps/mach/sys/reboot.h: Likewise.
1212 * sysdeps/mach/sysdep.h: Likewise.
1213 * sysdeps/unix/alpha/sysdep.h: Likewise.
1214 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
1215 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
1216 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
1217 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1218 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1219 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
1220 * sysdeps/unix/i386/sysdep.h: Likewise.
1221 * sysdeps/unix/mips/sysdep.h: Likewise.
1222 * sysdeps/unix/sparc/sysdep.h: Likewise.
1223 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
1224 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1225 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1226 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1227 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1230 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
1231
12321998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
1233
1234 * mach/Machrules: Use $(move-if-change).
1235
12361998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
1237
1238 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
1239 * Makerules (lib%.so): Depend on $(+interp).
1240 (libc.so): Add interp.os to list of dependencies.
1241 (interp-obj): Remove variable.
1242 * mach/Machrules (+interp): Define to empty since libhurduser and
1243 libmachuser don't need to have the interpreter set.
1244
12451998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1246
1247 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
1248
1249 * resolv/gethnamaddr.c: Likewise.
1250
1251 * resolv/res_comp.c: Likewise.
1252
12531998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
1254
1255 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
1256 so that transparent union works.
1257
a56a64d4
UD
12581998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
1259
1260 * manual/texinfo.tex: Update to last available version.
1261
f962d792
UD
1262 * timezone/africa: Update from tzdata1998e.
1263 * timezone/antarctica: Likewise.
1264 * timezone/asia: Likewise.
1265 * timezone/australasia: Likewise.
1266 * timezone/europe: Likewise.
1267 * timezone/iso3166.tab: Likewise.
1268 * timezone/northamerica: Likewise.
1269 * timezone/tzselect.ksh: Likewise.
1270 * timezone/zone.tab: Likewise.
1271
b937f591
UD
12721998-05-27 Ulrich Drepper <drepper@cygnus.com>
1273
1274 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
1275 Reported by Matt McLean <keys@brio.yikes.com>.
1276
7e7a548e
UD
12771998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1278
1279 * catgets/Makefile ($(objpfx)de.cat): Renamed from
1280 do-gencat-test. Use automatic variables.
1281 ($(objpfx)de.msg): Fix reference to po file.
1282
12831998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1284
1285 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
1286 $(move-if-change).
1287
12881998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1289
1290 * intl/dcgettext.c: Fix typo.
1291
6598ac30
UD
12921998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1293
1294 * configure.in: Allow more make versions e.g 3.76.90.
1295
b48abe3c
UD
12961998-05-25 Ulrich Drepper <drepper@cygnus.com>
1297
e72bfd87
UD
1298 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
1299
b48abe3c
UD
1300 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
1301 for Hurd. Patch by Mark Kettenis.
1302
13031998-04-18 Gordon Matzigkeit <gord@profitpress.com>
1304
1305 * mach/Machrules (+preinit, +postinit): Define these variables to
1306 empty because libhurduser and libmachuser don't need startup
1307 files.
1308
13091998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1310
1311 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
1312 instead of a raw bitmask.
1313
13141998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1315
1316 * Makeconfig (rpath-dirs): New variable.
1317 (rpath-link): Use it.
1318 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
1319 (db-objpfx): Removed.
1320 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
1321 * md5-crypt/Makefile: Likewise.
1322 * sysdeps/mach/hurd/Makefile: Likewise.
1323
1324 * Makeconfig (move-if-change): New variable.
1325 * iconvdata/Makefile (move-if-change): Removed.
1326 * manual/Makefile (move-if-change): Set only if undefined, use
1327 local script by default.
1328 * sunrpc/Makefile (move-if-change): Removed.
1329 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1330 $(move-if-change).
1331
1332 * elf/Makefile: Remove all references to obsolete file
1333 $(objpfx)rtldtbl.h.
1334 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
1335
13361998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1337
1338 * elf/dl-close.c (_dl_close): Add debugging message.
1339
13401998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1341
1342 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
1343 to get Linux version and not gcc version.
1344 Reported by Alan Curry <pacman@cqc.com>.
1345
13461998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1347
1348 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
1349 pointers - return unknown error message instead.
1350 Reported by Alan Curry <pacman@cqc.com>.
1351
13521998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
1353
1354 * iconvdata/Makefile (modules, sed-generated-headers,
1355 perl-generated-headers): ibm424.h is perl generated. Make
1356 necessary modifications to compile without perl.
1357
13581998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
1359
1360 * hesiod/hesiod.c (read_config_file): Fix typo.
1361
3519948b
UD
13621998-05-24 Ulrich Drepper <drepper@cygnus.com>
1363
1364 * version.h: Bump VERSION.
1365
1366 * csu/Makefile (distribute): Add munch-tmpl.c.
1367
81ec4797
UD
13681998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1369
1370 * nis/nis_defaults.c: Fix buffer problems and typos.
1371
13721998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
1373
1374 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
1375 Patch by Fred Fish.
1376
195d0dd4
UD
13771998-05-22 Ulrich Drepper <drepper@cygnus.com>
1378
6958e78d
UD
1379 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
1380 overwriting bugs.
1381
195d0dd4
UD
1382 * libio/strops.c (_IO_str_underflow): Read newly available
1383 character from buffer as unsigned.
1384
3e300ca1
UD
13851998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
1386
1387 * catgets/Makefile (distribute): Add xopen-msg.h.
1388 (generated): Add de.msg and de.cat.
1389 (tests): Add do-gencat-test.
1390 (do-gencat-test): New goal. Run gencat on a generated msg file.
1391 * catgets/xopen-msg.h: New file.
1392
d553bbf2
UD
13931998-05-22 Ulrich Drepper <drepper@cygnus.com>
1394
1395 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
1396 functions. Optimize filename creation a bit.
1397
13981998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
1399
1400 * stdlib/random_r.c: Help gcc to optimize the code.
1401 Patch by Joe Keane <jgk@jgk.org>.
1402
3dcf8ea6
UD
14031998-05-21 Ulrich Drepper <drepper@cygnus.com>
1404
1405 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
1406 tsearch calls.
1407
d5cd47bd
UD
14081998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1409
1410 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
1411 it.
1412
23f0c99c
UD
14131998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
1414
1415 * wcsmbs/wcsnrtombs.c: Correct computation of result.
1416 * wcsmbs/wcsrtombs.c: Likewise.
1417
1418 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
1419 * wcsmbs/wcsmbs-tst1.c: New file.
1420
1421 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
1422
1423 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
1424 as 1.
1425
1426 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
1427 weak.
1428
14291998-05-21 Philip Blundell <philb@gnu.org>
1430
1431 * sysdeps/arm/fpu_control.h: Replace stub file with real
1432 implementation.
1433 * sysdeps/arm/fpu/bits/fenv.h: New file.
1434 * sysdeps/arm/fpu/fesetround.c: Likewise.
1435 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1436 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
1437 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
1438 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1439 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1440 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1441
14421998-05-21 16:34 Richard Henderson <rth@cygnus.com>
1443
1444 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
1445 read instead of mmap.
1446
c9a67376
RH
14471998-05-21 8:16 Richard Henderson <rth@cygnus.com>
1448
1449 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
1450 directly instead of include_next. Add missing semicolons.
1451 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
1452 Add missing semicolons.
1453
aedc5bfc
UD
14541998-05-21 Ulrich Drepper <drepper@cygnus.com>
1455
1456 * iconvdata/gconv-modules: Add more aliases to please java
1457 environments.
1458
13d9048a
UD
14591998-05-20 Ulrich Drepper <drepper@cygnus.com>
1460
a53fdad9
UD
1461 * stdio-common/vfprintf.c (process_arg): Fix typo.
1462
13d9048a
UD
1463 * iconvdata/TESTS: New tests for EUC-KR.
1464
a53fdad9 1465 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
13d9048a
UD
1466 * iconvdata/testdata/EUC-KR: New file.
1467
9639d014
UD
14681998-05-20 07:26 H.J. Lu <hjl@gnu.org>
1469
a53fdad9 1470 * math/libm-test.c (hypot_test): Fix a typo.
9639d014 1471
93c3d288
UD
14721998-05-20 Ulrich Drepper <drepper@cygnus.com>
1473
1474 * stdio-common/vfprintf.c: When precision is specified for %ls or
1475 %S handle it correctly.
1476
05fdf2df
UD
14771998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1478
1479 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
1480 the" in one line - fixed it.
1481 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1482 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1483 * posix/unistd.h: Likewise
1484
a709dd43
UD
14851998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1486
1487 * Makeconfig (rpath-link): Add resolvobjdir.
1488 (resolvobjdir): New variable.
1489 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
1490
14911998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
1492
1493 * elf/dl-close.c: Call shared object terminators at the right time.
1494 Patch by Philippe Troin <phil@fifi.org>.
1495
14961998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1497
1498 * Make-dist (+tsrcs): Also add *.map for every member of
1499 $(extra-libs).
1500
1501 * Makefile (distribute): Don't distribute scripts/printsources and
1502 scripts/=__ify. Distribute FAQ.in.
1503 (rpm/%): Don't pass subdirs to sub-make.
1504
1505 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
1506 instead of $(no_deps).
1507
15081998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1509
1510 * sysdeps/generic/setenv.c: Protect against GNU C extension.
1511 (KNOWN_VALUE, STORE_VALUE): Do it right.
1512 (setenv): Remove unused variable.
1513
15141998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1515
1516 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
1517 (CFLAGS-zdump.c): Add $(tz-cflags).
1518
1519 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
1520 return type.
1521
15221998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1523
1524 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
1525 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
1526 if use_localtime.
1527 * time/tzset.c: Update prototype of __tzfile_compute.
1528 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
1529 tm_zone and tm_offset here if __use_tzfile.
1530
15311998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1532
1533 * Makerules: Install libc.a even if there are no object file.
1534
15351998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1536
1537 * Makerules (do-makelib): Don't force creating library from
1538 scratch, to avoid wasting time and space and to get correct
1539 behaviour if $(subdirs) is incomplete.
1540
15411998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1542
1543 * Makerules (do-stamp): Make it work when building in source
1544 directory.
1545
b0a01055
UD
15461998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
1547
1548 * elf/dl-load.c: Rename option and variable from ignore-rpath to
1549 inhibit-rpath.
1550 * elf/dl-support.c: Likewise.
1551 * elf/ldsodefs.h: Likewise.
1552 * elf/rtld.c: Likewise.
1553 * iconvdata/run-iconv-test.sh: Likewise.
1554
310930c1
UD
15551998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
1556
1557 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
1558 variable using the value.
1559 * elf/ldsodefs.h: Declare _dl_ignore_path.
1560 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
1561 object against list in _dl_ignore_path and ignore RPATH if on the list.
1562 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
1563 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
1564 to make sure we get the correct helper libraries loaded.
1565
1566 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
1567 "RPATH" string in call to fillin_rpath instead.
1568 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
1569
685cb06a
UD
15701998-05-19 Ulrich Drepper <drepper@cygnus.com>
1571
1572 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
1573 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1574
2d26e9eb
UD
15751998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1576
1577 * manual/terminal.texi (I/O Queues): Fix typo.
1578
1579 * manual/stdio.texi (Closing Streams): Fix grammar.
1580
1581 * manual/arith.texi (Absolute Value): Correct typo.
1582 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
1583
3081378b
UD
15841998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
1585
1586 * elf/rtld.c (process_envvars): Fix typo. Don't handle
1587 LD_PROFILE_OUTPUT in SUID binaries.
1588 * intl/dcgettext.c: In SUID binaries don't let language part of
1589 locale value contain path elements.
1590 * intl/explodename.h: Define new function _nl_find_language.
1591 * intl/loadinfo.h: Declare _nl_find_language.
1592 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
1593 language part it drop the value is path element is contained.
1594
1595 * locale/setlocale.c: Fix typo.
1596
15971998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
1598
1599 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
1600
1601 * sysdeps/arm/strlen.S: Support both big and little endian processors.
1602
1603 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
1604 log, not a byte-count.
1605
1606 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
1607 a.out compatibility.
1608
16091998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1610
1611 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
1612 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1613 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1614 * posix/unistd.h: Likewise.
1615 * math/math.h: Likewise.
1616 * manual/users.texi (Manipulating the Database): Likewise.
1617 * manual/signal.texi (Job Control Signals): Likewise.
1618 * manual/message.texi (The gencat program): Likewise.
1619 * manual/filesys.texi (Hard Links): Likewise.
1620 * manual/math.texi (SVID Random): Likewise.
1621 * manual/llio.texi (Waiting for I/O): Likewise.
1622 * manual/io.texi (File Name Errors): Likewise.
1623 * manual/conf.texi (String Parameters): Likewise.
1624 * manual/arith.texi (Infinity): Likewise.
1625 * malloc/malloc.c: Likewise.
1626 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1627 * csu/Makefile: Likewise.
1628
ed277b4e
UD
16291998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
1630
1631 * manual/memory.texi: Add back accidently removed line.
1632
efea7158
UD
16331998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
1634
1635 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
1636 (timeout_handler): New function.
1637 (LOCK_FILE, UNLOCK_FILE): New macros.
1638 Implement file locking with timeout.
1639 (getutent_r_file, internal_getut_r, getutline_r_file,
1640 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
1641 locking.
1642
298f2566
UD
16431998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
1644
1645 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
1646 directory.
1647
16481998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1649
1650 * rpm/Makefile: Delete inclusion of version.mk.
1651
16521998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1653
1654 * libc.map: Add all libio functions needed libstdc++ with version
1655 2.0, sort entries.
1656
16571998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1658
1659 * iconvdata/Makefile (generated): Add *.stmp files.
1660
16611998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1662
1663 * timezone/Makefile (testdata, build-testdata): New variables, use
1664 them in rules for test data.
1665 ($(objpfx)tst-timezone.out): Depend on test data.
1666 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
1667 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
1668 New rules to build test data.
1669 (tst-timezone-ENV): Pass TZDIR to point to test data.
1670
41aa20c2
UD
16711998-05-18 Ulrich Drepper <drepper@cygnus.com>
1672
1673 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
1674 (the designation sequence is disturbing).
1675
92040cbc
UD
16761998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1677
1678 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
1679 * sunrpc/xdr_rec.c: Likewise.
1680
922903d2
UD
16811998-05-15 Ulrich Drepper <drepper@cygnus.com>
1682
1683 * posix/Makefile (tests): Add runptests.
1684 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
1685 (before-compile): Add ptestcases.h.
1686 (ptestscases.h): Add rule to generate from PTESTS.
1687 * posix/runptests.c: New file.
1688 * posix/PTESTS: New file.
1689 * posix/PTESTS2C.sed: New file.
1690
c9fc0e22
UD
16911998-05-15 Ulrich Drepper <drepper@cygnus.com>
1692
66175fa8
UD
1693 * iconv/loop.c: Let user add code to use and set paramaters.
1694
1695 * iconvdata/iso-2022-kr.c: Correct to-loop.
1696
c9fc0e22
UD
1697 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
1698 point to output buffer.
1699
66175fa8
UD
1700 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
1701 hanja.
1702
1703 * iconvdata/TESTS: Add ISO-2022-KR test.
1704 * iconvdata/testdata/ISO-2022-KR: New file.
1705
e3e0a182
UD
17061998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
1707
1708 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
1709 and internal_use.
1710 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
1711 and internal_use.
66175fa8
UD
1712 * wcsmbs/btowc.c: Likewise.
1713 * wcsmbs/mbrtowcs.c: Likewise.
1714 * wcsmbs/mbsnrtowcs.c: Likewise.
1715 * wcsmbs/mbsrtowcs.c: Likewise.
1716 * wcsmbs/wcrtomb.c: Likewise.
1717 * wcsmbs/wcsnrtombs.c: Likewise.
1718 * wcsmbs/wcsrtombs.c: Likewise.
1719 * wcsmbs/wctob.c: Likewise.
e3e0a182
UD
1720 * iconv/skeleton.c: Increment invocation_counter.
1721 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
1722 sequence first.
1723
1724 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
1725 * iconvdata/iso-2022-jp.c: Likewise.
1726 * iconvdata/iso646.c: Likewise.
1727
1728 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
1729
cb37d842
UD
17301998-05-15 Ulrich Drepper <drepper@cygnus.com>
1731
bd687f7a
UD
1732 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
1733
cb37d842
UD
1734 * sysdeps/generic/setenv.c (setenv): Remove optimization for
1735 overwriting existing values if it fits.
1736
b17277cf
UD
17371998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
1738
1739 * posix/wordexp-test.c: Avoid duplicate messages.
1740
1741 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
1742 tsearch. Correctly interpret values returned by those functions.
1743 (unsetenv): Store pointer to string, not pointer to string pointer.
1744
1745 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
1746 DST information and offset in them.
1747 * time/tzset.c (__tz_convert): Pass extra parameters to
1748 __tzfile_compute. Compute equivalent values for use of tz_rules.
1749
17501998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
1751
1752 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
1753 stamp files to avoid unnecessary recompilation.
1754 (gen-8bit-gap-table): Likewise.
1755 (move-if-change): New variable.
1756 (all generated .h rules): Change to be .stmp rules.
1757 (%.h): New rule; depend on %.stmp; no commands.
1758 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
1759 gen-8bit-gap-1.sh.
1760
17611998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
1762
1763 * Makerules (libc-map): Deleted.
1764 (load-map-file): Set to the appropriate compiler switch, not
1765 just the file name. If libfoo-map is not set, look for a
1766 libfoo.map in the current directory and $(..).
1767 (map-file): New variable, contains just the mapfile name.
1768 (build-shlib): Adjust for new value of load-map-file.
1769 (libc.so): Correct dependencies.
1770
1771 * extra-lib.mk: Correct shlib dependencies since libfoo-map
1772 may not be set anymore.
1773
1774 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
1775 Delete libdl-map. Tweak ld.so link rule to work with changed
1776 variable settings in Makerules.
1777 * iconvdata/Makefile: Tweak build-module to work with changed
1778 variable settings in Makerules.
1779
1780 * db/Makefile: Delete libdb-map.
1781 * hesiod/Makefile: Delete libnss_hesiod-map.
1782 * linuxthreads/Makefile: Delete libpthread-map.
1783 * locale/Makefile: Delete libBrokenLocale-map.
1784 * login/Makefile: Delete libutil-map.
1785 * math/Makefile: Delete libm-map.
1786 * md5-crypt/Makefile: Delete libcrypt-map.
1787 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
1788 libnss_nisplus-map, and libnss_compat-map.
1789 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
1790 libnss_ldap-map.
1791 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
1792 * rt/Makefile: Delete librt-map.
1793
17941998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
1795
1796 * configure.in: Instead of substituting `yes' or `no' for whether
1797 --no-whole-archive is available, set @no_whole_archive@ to the
1798 appropriate gcc switch or the empty string. Likewise for
1799 -fno-exceptions.
1800 * config.make.in: Replace have-no-whole-archive with
1801 no-whole-archive and have-no-exceptions with no-exceptions.
1802 * Makerules: Delete stanzas setting no-whole-archive and
1803 no-exceptions.
1804
1805 * sunrpc/Makefile: Use move-if-change to update generated .h
1806 and .c files.
1807
18081998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1809
1810 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
1811 of strchr loop.
1812
18131998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1814
1815 * time/tzfile.c (__tzfile_read): Remove unused variable info.
1816 (__tzfile_compute): Likewise.
1817
18181998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1819
1820 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
1821 defines from Linux 2.1.102.
1822
0f488414
UD
18231998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
1824
1825 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
1826
ff152e3f
UD
18271998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
1828
1829 * inet/netinet/in.h: Add defines for multicast.
1830 Reported by Jeremy Hall <jhall@UU.NET>.
1831
1832 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
1833 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
1834 and unsetenv. Optimize _LIBC case.
1835 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
1836 Define functions with leading __.
1837
1838 * time/tzfile.c: Correct handling of global variables daylight,
1839 timezone, and tzname.
1840 * time/tzset.c: Likewise.
1841 * timezone/Makefile (tests): Add tst-timezone.
1842 * timezone/tst-timezone.c: New file.
1843
18441998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
1845
1846 * timezone/asia: Update from tzdata1998d.
1847 * timezone/australasia: Likewise.
1848 * timezone/europe: Likewise.
1849
a7c378d8
UD
18501998-05-13 Ulrich Drepper <drepper@cygnus.com>
1851
847a35a0
UD
1852 * string/string.h: Don't use the optimized versions for the string
1853 functions if optimizing for space.
1854
936365c1
UD
1855 * stdlib/tst-strtod.c: Add test for -0.0.
1856
7eb759de
UD
1857 * io/ftwtest-sh: Prevent tests from being run by root.
1858
a7c378d8
UD
1859 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
1860 last addition. Patch by wkpark@chem.skku.ac.kr.
1861
3cb0cda8
UD
18621998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1863
1864 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
1865 table.
1866
18671998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1868
1869 * iconvdata/gen-8bit.sh: New file.
1870 * iconvdata/gen-8bit-gap.sh: New file.
1871 * iconvdata/gen-8bit-gap-1.sh: New file.
1872 * iconvdata/Makefile (generate-8bit-table): Use shell script
1873 instead of writing the commands directly.
1874 (generate-8bit-gap-table): Likewise.
1875 ($(objpfx)iso8859-7jp.h): Likewise.
1876 (generated headers): Depend on shell script instead of Makefile.
1877 (before-compile): Add $(perl-generated-headers) only if perl is
1878 available.
1879 (headers): Depend on $(perl-generated-headers) only if perl is
1880 available.
1881 (sed-generated-headers): Remove iso8859-7jp.h.
1882
18831998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1884
1885 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
1886 (/): Removed.
1887
4553f228
UD
18881998-05-12 Ulrich Drepper <drepper@cygnus.com>
1889
1890 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
1891 formed charset names to getfct. Let user override charset
1892 selection by mention charset in locale name.
1893
ee74a442
UD
18941998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
1895
1896 * posix/glob.c: Move to ...
1897 * sysdeps/generic/glob.c: ...here.
1898 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
1899 elements.
1900 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
1901 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
1902 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
1903 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
1904 subdir.
1905 * libc.map [GLIBC_2.1]: Add glob and globfree.
1906
19071998-05-12 Ulrich Drepper <drepper@cygnus.com>
1908
1909 * sunrpc/Makefile (generated): Restore old list.
1910
19111998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1912
1913 * rt/Makefile (tests): Define only if we have a thread library.
1914
1915 * nis/ypclnt.c: Add: #include <errno.h>.
1916
19171998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
1918
1919 * configure.in: Define and substitute RELEASE as well as
1920 VERSION.
1921 * config.make.in: Add RELEASE and VERSION to be substituted.
1922 * Makeconfig: Delete all references to version.mk.
1923 * Make-dist: Likewise.
1924 * MakeTAGS: Likewise.
1925 * elf/Makefile: Likewise.
1926
19271998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1928
1929 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
1930 yp_get_default_domain.
1931
19321998-05-12 Ulrich Drepper <drepper@cygnus.com>
1933
1934 * sysdeps/posix/profil.c (__profil): Don't define act and timer
1935 variables as static. Patch by Joe Keane <jgk@jgk.org>.
1936
19371998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1938
1939 * malloc/malloc.c: Fix for NO_THREADS case.
1940
43ca7662
RH
19411998-05-11 18:02 Richard Henderson <rth@cygnus.com>
1942
1943 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
ee74a442 1944 Remove statfs and fstatfs.
43ca7662 1945 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
ee74a442
UD
1946 and pwrite as EXTRA.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
43ca7662 1948
610d16e4
UD
19491998-05-09 Ulrich Drepper <drepper@cygnus.com>
1950
1951 * libc.map: Add capget and capset.
1952
a05977f8
UD
19531998-05-08 Ulrich Drepper <drepper@cygnus.com>
1954
1955 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1956 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
1957 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
1958 and Matt McLean <keys@brio.yikes.com>.
1959
444518fe
UD
19601998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
1961
1962 * misc/Makefile (tests): Add tst-mntent.
1963 * misc/tst-mntent.c: New file.
1964
5bc2f642
UD
19651998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
1966
1967 * autolock.sh: Removed.
1968 * manual/move-if-change: Removed.
1969
b1bcab53
UD
1970 * scripts: New directory.
1971 * =__ify: Moved to scripts.
5bc2f642
UD
1972 * config.guess: Likewise.
1973 * config.sub: Likewise.
1974 * gen-FAQ.pl: Likewise.
1975 * install-sh: Likewise.
1976 * mkinstalldirs: Likewise.
1977 * move-if-change: Likewise.
1978 * printsources: Likewise.
1979 * rellns.sh: Likewise.
1980 * test-installation.pl: Likewise.
1981
1982 * configure.in: Look in scripts for config.guess, config.sub,
1983 install-sh.
1984 * Makefile: Distribute all above files in their
1985 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
1986 * manual/Makefile: Find mkinstalldirs and move-if-change in
1987 $(..)scripts. Drop them from distribute. Minor cleanups.
1988 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
1989 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
1990 * timezone/Makefile: Find rellns-sh in scripts.
1991
c7562c74
UD
19921998-05-08 Ulrich Drepper <drepper@cygnus.com>
1993
1994 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
1995 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
1996
19971998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
1998
1999 * Makefile (+subdir-inits): Delete variable.
2000 (+init_subdirs): Likewise.
2001 (aux): Likewise.
2002 (before-compile): Likewise.
2003 (libc-init): Delete stanza.
2004 (version-info.h): Delete rule and associated variable.
2005 (distribute): Don't distribute moved files.
2006 * Makerules (interp-obj): It lives in elf now. Only use it
2007 if $(elf) is set. Delete rule to build it.
2008 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
2009 version.o and version-info.h. Minor cleanups.
2010 (routines): Add libc-init, sysdep, version.
2011 (generated): Add version-info.h.
2012 * elf/Makefile: Build interp.os.
2013
2014 * interp.c: Moved to elf.
2015 * set-init.c: Moved to csu.
2016 * munch-init.c: Likewise.
2017 * munch.awk: Likewise.
2018 * version.c: Likewise.
2019
b1bcab53 2020 * Rules: Unconfuse syntax highlighting with a fake comment.
c7562c74 2021
b9a60a8f
UD
20221998-05-08 Ulrich Drepper <drepper@cygnus.com>
2023
2024 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2025 syscalls.
2026
414fd335
UD
20271998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
2028
2029 * iconvdata/Makefile (generated): Set to *-generated-headers
2030 plus gconv-modules.
2031 (tests): Set to iconv-test.
2032 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2033 * posix/Makefile (generated): Set to wordexp-test-result*.
2034 * sunrpc/Makefile (generated): Remove rpcsvc/*.
2035 (generated-dirs): Add rpcsvc.
2036 * libio/Makefile: Clean up.
2037
20381998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
2039
2040 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2041 * Makerules: Likewise.
2042 (+depfiles): Also add sysdep-others.
2043 * Rules: Likewise.
2044 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2045 * iconvdata/Makefile (distribute): Add TESTS.
2046 * localedata/Makefile (repertoires): Rename to repertoiremaps.
2047 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2048 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2049 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2050 sysdep-others, not others.
2051 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2052 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2053
fab6d621
UD
20541998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
2055
2056 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2057 cost_hi and cost_lo.
2058 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2059 Cost parameter and set cost_lo to INT_MAX.
2060 (add_module): Take new parameter and use it to initialize cost_lo.
2061 (read_conf_file): Count modules being loaded and use counter for
2062 new parameter to add_module.
2063 * iconv/gconv_db.c (find_derivation): When look for cost examine
2064 cost_hi and cost_lo.
2065
20661998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
2067
2068 * string/bits/string2.h: Don't use unsigned char * unless really
2069 necessary since this disturbs C++.
2070 * sysdeps/i386/i486/bits/string.h: Likewise.
2071 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2072
20731998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2074
2075 * malloc/malloc.c (top_check): Fix last change.
2076
ebcd12d4
UD
20771998-05-07 Ulrich Drepper <drepper@cygnus.com>
2078
2079 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2080 Patch by Matt McLean <keys@brio.yikes.com>.
2081
ae9b308c
UD
20821997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2083
2084 * Makerules (lib): Put back dependency on lib-noranlib.
2085 ($(subdirs-stamps)): Remove dependency on stamp.* again.
2086
20871998-05-07 Ulrich Drepper <drepper@cygnus.com>
2088
2089 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2090 test in __pow2 implementation.
2091
66000494
UD
20921998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
2093
2094 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2095 Still need *FLAGS-.o because we still sometimes build .o files.
2096 * db2/Makefile: Don't build libndbm.a if !build-static.
2097
ae9b308c
UD
20981998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2099
2100 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2101
66000494
UD
21021998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
2103
2104 * configure.in: New test for broken gcc on PowerPC.
2105 * sysdeps/powerpc/atomicity.h: Use result of test.
2106 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2107
2108 * math/libm-test.c: Update many of the epsilon to match actual
2109 performance.
2110
2111 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2112 * sysdeps/libm-ieee754/e_expf.c: Likewise.
2113 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2114 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2115
2116 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2117
2118 * sysdeps/powerpc/elf/libc-start.c: New file.
2119 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2120 * sysdeps/powerpc/elf/start.c: Delete.
2121
2122 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2123 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
2124
2125 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2126 few patches.
2127
b22fc5f5
UD
21281998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
2129
2130 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2131 test for integer.
2132
2133 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2134 * sysdeps/libm-i387/e_powl.S: Likewise.
2135
21361998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2137
2138 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2139 (malloc_check, free_check, realloc_check, memalign_check): Use
2140 them to improve overrun checking. Overruns of a single byte and
2141 corruption of the top chunk are now detected much more reliably.
2142
21431998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2144
2145 * math/libm-test.c (pow_test): Add test for special value from PR
2146 libc/590.
2147
67c2095b
UD
21481998-05-06 Ulrich Drepper <drepper@cygnus.com>
2149
2150 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2151 including linux/errno.h.
2152
e2575a4f
UD
21531998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
2154
2155 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2156 Use correct types.
2157 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
67c2095b 2158 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
e2575a4f
UD
2159
21601998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2161
2162 * Makerules (elide-routines.*): Fix assignments.
2163 (do-makelib): Fix typo.
2164 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2165 makefile.
2166
21671998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2168
2169 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
2170 $(objpfx)sysd-dirs): Move them...
2171 * Makeconfig: ... here.
2172 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
2173 (stubs): Fix circular depedency.
2174 (do-makelib): Clean up.
2175 (lib): Don't depend on lib-noranlib.
2176 ($(objpfx)stamp.oS): Remove special case for empty
2177 static-only-routines.
2178 (elide-routines.o): Add $(static-only-routines).
2179 (elide-routines$o): Define this instead of elide-routines.$o.
2180 * manual/Makefile (stubs): Fix circular dependency.
2181
21821998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2183
2184 * libio/Makefile (routines): Remove duplicate oldiofclose.
2185
0d4acd0f
UD
21861998-05-05 Ulrich Drepper <drepper@cygnus.com>
2187
2188 * string/strcoll.c: Use uint32_t instead of u_int32_t.
2189
998cbccf
UD
21901998-05-05 Ulrich Drepper <drepper@cygnus.com>
2191
2192 * libio/stdio.h: Fix typo in __REDIRECT.
2193 * io/sys/stat.h: Likewise.
2194 Reported by Myles Uyema <myles@uyema.nws.net>.
2195
7c38dd46
UD
21961998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2197
2198 * locale/programs/localedef.c (options): Fix help message.
2199
e1252e28
UD
22001998-05-04 Ulrich Drepper <drepper@cygnus.com>
2201
2202 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
2203 relocations. Patch by Joe Keane <jgk@jgk.org>.
2204
eb406346
UD
22051998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
2206
2207 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
2208 ptmalloc_unlock_all, but re-initializes the mutexes instead.
2209 (ptmalloc_init): Use new function in thread_at_fork call.
2210 (thread_atfork_static): Likewise.
2211 Suggested by Wolfram Gloger and Xavier Leroy.
2212
15f32e7b
UD
22131998-05-04 Ulrich Drepper <drepper@cygnus.com>
2214
2215 * signal/signal.h: Move definitions of struct sigstack and
2216 struct sigaltstack into separate file and include it.
2217 * sysdeps/generic/bits/sigstack.h: New file.
2218 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
2219 * signal/Makefile (headers): Add bits/sigstack.h.
2220
22211998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2222
2223 * elf/rtld.c (dl_main): Fix check for number of references to
2224 interpreter object.
2225
22261998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2227
2228 * elf/rtld.c (dl_main): Check has_interp after executing platform
2229 specific code.
2230
22311998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2232
2233 * iconvdata/run-iconv-test.sh: Fix typo.
2234
22351998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2236
2237 * Makerules (+depfiles): Add depfiles for $(tests-static).
2238 Simplified.
2239
22401998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2241
2242 * manual/terminal.texi (Special Characters): Fix description of
2243 c_cc indexes.
2244
22451998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2246
2247 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
2248 array.
2249 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
2250 of c_cc array.
2251
97a47867
UD
22521998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
2253
2254 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
2255
f89ac85c
UD
22561998-05-01 Ulrich Drepper <drepper@cygnus.com>
2257
2258 * intl/locale.alias: Update russian entry.
2259
22601998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
2261
2262 * Makerules (static-only-routines): Reimplement in terms of
2263 elide-routines.os.
2264 (shared-only-routines): Reimplement in terms of
2265 elide-routines.X [where X is all object-suffixes except .os].
2266
2267 (stubs): Create stubs file inside the subdir.
2268 (common-mostlyclean): Remove stubs file from inside the subdir.
2269 * Makefile (subdir-stubs): Look for stubs files inside the
2270 subdirs.
2271 * manual/Makefile (stubs): Create dummy stubs file inside the
2272 subdir.
2273
22741998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
2275
2276 Build speed improvement: make ar less of a bottleneck.
2277
2278 * Makerules (stamp$o): Just record the object list for later
2279 use.
2280 (libc_foo.a): New rule, depends on subdir stamp files; builds
2281 and ranlibs the library from the lists saved in those files.
2282
2283 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
2284 (subdirs-stamp-o): Likewise.
2285
2286 (ar-symtab-name): Delete variable.
2287 (lib%.a): Delete target.
2288 (libc_foo.a(bar.%)): Delete target.
2289 (libc_foo.a($(ar-symtab-name))): Delete target.
2290
2291 (objects objs): Just depend on libobjs and extra-objs.
2292 (libobjs): Depend on the stamp files, not the objects.
2293 (extra-objs): New target, just depends on the extra-objs list.
2294
2295 (CREATE_ARFLAGS): Kill the `ar S' hack.
2296
2297 * config.make.in (have-ar-S): Deleted.
2298 * configure.in: Delete test for `ar S'. Add test to determine
2299 whether ranlib does anything useful.
2300
52ec8aab
UD
23011998-05-01 Ulrich Drepper <drepper@cygnus.com>
2302
2303 * inet/tst-ether_aton.c: Include <stdio.h>.
2304
69f155d4
UD
23051998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
2306
2307 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
2308
2309 * locale/Makefile (distribute): Add programs/repertoire.h.
2310 (localedef-modules): Add repertoire.
2311 (CPPFLAGS): Define REPERTOIREMAP_PATH.
2312 * locale/programs/repertoire.c: New file.
2313 * locale/programs/repertoire.h: New file.
2314 * locale/programs/charmap.c: Starting fixing character set handling
2315 to handle multi-byte encodings.
2316 * locale/programs/charset.c: Likewise.
2317 * locale/programs/charset.h: Likewise.
2318 * locale/programs/ld-collate.c: Likewise.
2319 * locale/programs/ld-ctype.c: Likewise.
2320 * locale/programs/linereader.c: Likewise.
2321 * locale/programs/localedef.c: Likewise.
2322 * locale/programs/locfile-kw.gperf: Likewise.
2323 * locale/programs/locfile-kw.h: Likewise.
2324 * locale/programs/locfile-token.h: Likewise.
2325 * locale/programs/locfile.h: Likewise.
2326 * locale/programs/stringtrans.c: Likewise.
2327
12a9fabe
UD
2328 * locale/programs/locfile.c: Interpret I18NPATH value as base of
2329 path, extended with "/locales/".
2330
69f155d4
UD
23311998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
2332
2333 * sysdeps/arm/memset.S: Fix off by one error.
2334
2335 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
2336 __syscall_error rather than syscall_error directly.
2337
23381998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
2339
2340 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
2341 mmap() syscall for ARM.
2342
2343 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
2344 binaries.
2345
02c66840
UD
23461998-04-30 Ulrich Drepper <drepper@cygnus.com>
2347
2348 * locale/programs/localedef.c: Recognize repertoire-map option.
2349
23501998-04-29 Ulrich Drepper <drepper@cygnus.com>
2351
2352 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
2353 converting non-hex numbers.
2354 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
2355
b062f051
UD
23561998-04-23 07:31 H.J. Lu <hjl@gnu.org>
2357
2358 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
2359 check overflow.
2360 * resolv/Makefile (tests): New, add tst-aton.
2361 * resolv/tst-aton.c: New file.
2362
23631998-04-29 Ulrich Drepper <drepper@cygnus.com>
2364
2365 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
2366 semicolon.
2367
5e7a22c9
UD
23681998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
2369
2370 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
2371 by letting the later modify the variable computing the total directly.
2372 * wcsmbs/mbsrtowcs.c: Likewise.
2373 * wcsmbs/wcsnrtombs.c: Likewise.
2374 * wcsmbs/wcsrtombs.c: Likewise.
2375
2376 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
2377 it is not used.
2378 * wcsmbs/wctoc.c: Likewise.
2379
d079f321
UD
2380 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
2381 * wcsmbs/wcsrtombs.c: Likewise.
2382
b062f051
UD
2383 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
2384
f326a706
UD
23851998-04-29 Ulrich Drepper <drepper@cygnus.com>
2386
bf979eef
UD
2387 * iconv/skeleton.c: Correct counting of actually converted
2388 characters.
2389
842d0295
UD
2390 * intl/localealias.c (read_alias_file): Use unsigned char for
2391 local variables. Remove unused variable tp.
2392 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
2393 for type of codeset. For loosing Solaris systems.
2394 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
2395 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
2396 len if not needed.
2397 Patches by Jim Meyering.
2398
f326a706
UD
2399 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
2400 wcsrtombs must put it into initial state.
2401
fdf19bf7
UD
24021998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2403
2404 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
2405 argument of bswap_XX macro.
2406
24071998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2408
2409 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
2410 variable name.
2411
df493c3b
UD
24121998-04-28 Ulrich Drepper <drepper@cygnus.com>
2413
8be1539f
UD
2414 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
2415 semun and use stdarg macros to get the value.
2416 * sysdeps/generic/semctl.c: Don't use union semun.
2417
936e9daf
UD
2418 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
2419
5b155773
UD
2420 * string/basename.c [!_LIBC]: Define function as gnu_basename.
2421
2422 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
2423 strings.h.
2424
733bb62a
UD
2425 * stdlib/grouping.h: Accept ungrouped numbers even if locale
2426 defines grouping.
2427
b1f25a7a
UD
2428 * intl/hash-string.h: Don't include values.h.
2429
6739da7f
UD
2430 * inet/Makefile (tests): Add tst-ether_aton.
2431 * inet/tst-ether_aton.c: New file.
2432
5005d3b3
UD
2433 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
2434 in hex conversion.
2435 * inet/ether_aton.c (ether_aton): Declare result variable static.
2436 Reported by ahyung@unixg.ubc.ca.
2437
df493c3b
UD
2438 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
2439 Define macro _SEM_SEMUN_UNDEFINED instead.
366cff4d
UD
2440 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
2441
2442 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
2443 * stdio-common/Makefile (tests): Add tst-wc-printf.
df493c3b 2444
0088435e
UD
24451998-04-28 16:32 Philip Blundell <philb@gnu.org>
2446
2447 * manual/stdio.texi (Variable Arguments Output): Correct variable
2448 name. Patch from Ewan Mellor <em@nexus.co.uk>
2449
24501998-04-27 Ulrich Drepper <drepper@cygnus.com>
2451
2452 * intl/dcgettext.c: Remove unneeded definition of
2453 internal_function.
2454
4b8f94d3
UD
24551998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2456
2457 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
2458 instead of do-iconv-test.
2459 ($(objpfx)gconv-modules): Define rule only if objpfx is not
2460 empty.
2461
24621998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2463
2464 * string/string.h: Fix feature test.
2465
24661998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2467
2468 * iconvdata/iso646.c (BODY): Don't use character constants that
2469 depend on signedness of char.
2470
17d51965
UD
24711998-04-27 Ulrich Drepper <drepper@cygnus.com>
2472
2473 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
2474 (sysdep_routines): Add s_pread64 and s_pwrite64.
2475
24761998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
2477
2478 * iconvdata/Makefile (distribute): Remove generated .h files.
2479 * iconvdata/koi8-r.h: Removed.
2480 * iconvdata/latin-greek-1.h: Removed.
2481 * iconvdata/latin-greek.h: Removed.
2482
2483 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
2484 * iconvdata/KOI-8: Likewise.
2485 * iconvdata/KOI-8..UTF8: Likewise.
2486 * iconvdata/KOI8-R: Likewise.
2487 * iconvdata/KOI8-R..UTF8: Likewise.
2488
45139d5f
UD
24891998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2490
2491 * streams/Makefile (headers): Add sys/stropts.h.
2492 * streams/sys/stropts.h: New file.
2493
24941998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2495
2496 * sysdeps/unix/sysv/linux/ttyname.c,
2497 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
2498 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
2499
25001998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2501
2502 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
2503 argument of _itoa_word.
2504
25051998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2506
2507 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
2508 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
2509 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
2510 sigprocmask, resp., instead of EXTRA.
2511
2512 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2513 s_pread64 and s_pwrite64.
2514
2fb2e75a
UD
25151998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
2516
2517 * iconvdata/Makefile: Correct rules to generate gap table.
2518 * iconvdata/gap.pl: Simplify.
2519
625094fd
UD
2520 * iconvdata/TESTS: Name new tests.
2521 * iconvdata/testdata/CP1250: New file.
2522 * iconvdata/testdata/CP1250..UTF8: New file.
2523 * iconvdata/testdata/CP1251: New file.
2524 * iconvdata/testdata/CP1251..UTF8: New file.
2525 * iconvdata/testdata/CP1252: New file.
2526 * iconvdata/testdata/CP1252..UTF8: New file.
2527 * iconvdata/testdata/CP1253: New file.
2528 * iconvdata/testdata/CP1253..UTF8: New file.
2529 * iconvdata/testdata/CP1254: New file.
2530 * iconvdata/testdata/CP1254..UTF8: New file.
2531 * iconvdata/testdata/CP1255: New file.
2532 * iconvdata/testdata/CP1255..UTF8: New file.
2533 * iconvdata/testdata/CP1256: New file.
2534 * iconvdata/testdata/CP1256..UTF8: New file.
2535 * iconvdata/testdata/CP1257: New file.
2536 * iconvdata/testdata/CP1257..UTF8: New file.
2537
bc900b11
UD
25381998-04-26 Ulrich Drepper <drepper@cygnus.com>
2539
8babd571
UD
2540 * iconvdata/Makefile: Add rules for ISO-2022-KR.
2541 * iconvdata/iso-2022-kr.c: New file.
2542
2543 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
2544 and ISO-2022-KR.
bc900b11 2545
918b9d72
UD
25461998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
2547
2548 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
2549 iso8859-8 and iso8859-10.
2550 * iconvdata/iso8859-5.c: Change to use gap method.
2551 * iconvdata/iso8859-7.c: Likewise.
2552 * iconvdata/iso8859-8.c: Likewise.
2553 * iconvdata/iso8859-10.c: Likewise.
2554
2555 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
2556 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
2557 end of the loop.
2558 * iconvdata/iso-2022-jp.c: New file.
2559
2560 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
2561 * iconvdata/ksc5601.h: Unify function interfaces.
2562 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
2563 * iconvdata/uhc.c: Likewise.
2564
2565 * iconvdata/gb2312.h: Use correct types.
2566
2567 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
2568 size elements of data.
2569
05c9fa3c
UD
25701998-04-24 Ulrich Drepper <drepper@cygnus.com>
2571
2572 * string/tst-svc.expect: Adapt for change in .input.
2573 * string/tst-svc.input: More tests.
2574
f4a20e28
UD
25751998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
2576
2577 * iconvdata/Makefile: Add rules for new modules.
2578 * iconvdata/gconv-modules: Likewise.
2579 * iconvdata/cp737.c: New file.
2580 * iconvdata/cp737.h: New file.
2581 * iconvdata/cp775.c: New file.
2582 * iconvdata/cp775.h: New file.
2583 * iconvdata/cp874.c: New file.
2584 * iconvdata/cp874.h: New file.
2585
0111b224
UD
25861998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
2587
2588 * iconvdata/Makefile: Create target directory before generating
2589 headers.
2590
5408c757
UD
25911998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2592
2593 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
2594 __USER_LABEL_PREFIX__.
2595 (__ASMNAME, __ASMNAME2): New macros.
2596
f8f7e090
UD
25971998-04-24 Ulrich Drepper <drepper@cygnus.com>
2598
2599 * elf/dl-load.c: Include sys/param.h for MAX.
2600
1aa63b93
UD
26011998-04-24 21:44 Richard Henderson <rth@cygnus.com>
2602
2603 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
2604 __ftruncate the strong symbol, and add weak alias.
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2606
c3f55688
UD
26071998-04-24 Ulrich Drepper <drepper@cygnus.com>
2608
8c0c3e6d
UD
2609 * termios/cfsetspeed.c: Make code cleaner and add missing const.
2610 Patch by Joe Keane <jgk@jgk.org>.
2611
c3f55688
UD
2612 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
2613 free()ing.
2614
07770241
UD
26151998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
2616
2617 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
2618 Patch by Thomas Bushnell, n/BSG.
2619
d1e9545e
UD
26201998-04-24 Ulrich Drepper <drepper@cygnus.com>
2621
2622 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
2623
30373ded
UD
26241998-04-24 Ulrich Drepper <drepper@cygnus.com>
2625
2626 * iconvdata/Makefile: Put generated headers in build directory.
2627
9b26f5c4
UD
26281998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
2629
2630 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
2631 strsep as current directory.
2632
2633 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
2634 Java. Add definitions for unicodelittle implementation.
2635 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
2636 * iconv/gconv_simple.c: Define unicodelittle functions.
2637
2638 * iconv/iconv_prog.c: Make program print information about position
2639 of illegal character in input.
2640
2641 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
2642 comparison of charset name.
2643 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
2644 * iconvdata/ebcdic-at-de-a.c: Likewise.
2645 * iconvdata/ebcdic-at-de.c: Likewise.
2646 * iconvdata/ebcdic-ca-fr.c: Likewise.
2647 * iconvdata/euccn.c: Likewise.
2648 * iconvdata/eucjp.c: Likewise.
2649 * iconvdata/euckr.c: Likewise.
2650 * iconvdata/euctw.c: Likewise.
2651 * iconvdata/hp-roman8.c: Likewise.
2652 * iconvdata/iso6937.c: Likewise.
2653 * iconvdata/iso8859-1.c: Likewise.
2654 * iconvdata/iso8859-10.c: Likewise.
2655 * iconvdata/iso8859-2.c: Likewise.
2656 * iconvdata/iso8859-3.c: Likewise.
2657 * iconvdata/iso8859-4.c: Likewise.
2658 * iconvdata/iso8859-5.c: Likewise.
2659 * iconvdata/iso8859-6.c: Likewise.
2660 * iconvdata/iso8859-7.c: Likewise.
2661 * iconvdata/iso8859-8.c: Likewise.
2662 * iconvdata/iso8859-9.c: Likewise.
2663 * iconvdata/johab.c: Likewise.
2664 * iconvdata/koi-8.c: Likewise.
2665 * iconvdata/koi8-r.c: Likewise.
2666 * iconvdata/latin-greek-1.c: Likewise.
2667 * iconvdata/latin-greek.c: Likewise.
2668 * iconvdata/sjis.c: Likewise.
2669 * iconvdata/t61.c: Likewise.
2670 * iconvdata/uhc.c: Likewise.
2671
2672 * iconvdata/iso646.c: Add support for more ISO 646 variants.
2673 * iconvdata/TESTS: Add tests for ISO646 module.
2674 * iconvdata/gconv-modules: Add new modules.
2675 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
2676 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
2677 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
2678 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
2679 * iconvdata/testdate/DIN_66003: Likewise.
2680 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
2681 * iconvdata/testdate/DS_2089: Likewise.
2682 * iconvdata/testdate/DS_2089..UTF8: Likewise.
2683 * iconvdata/testdate/ES: Likewise.
2684 * iconvdata/testdate/ES..UTF8: Likewise.
2685 * iconvdata/testdate/ES2: Likewise.
2686 * iconvdata/testdate/ES2..UTF8: Likewise.
2687 * iconvdata/testdate/GB_1988-80: Likewise.
2688 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
2689 * iconvdata/testdate/IT: Likewise.
2690 * iconvdata/testdate/IT..UTF8: Likewise.
2691 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
2692 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
2693 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
2694 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
2695 * iconvdata/testdate/JUS_I.B1.002: Likewise.
2696 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
2697 * iconvdata/testdate/KSC5636: Likewise.
2698 * iconvdata/testdate/KSC5636..UTF8: Likewise.
2699 * iconvdata/testdate/MSZ_7795.3: Likewise.
2700 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
2701 * iconvdata/testdate/NC_NC00-10: Likewise.
2702 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
2703 * iconvdata/testdate/NF_Z_62-010: Likewise.
2704 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
2705 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
2706 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
2707 * iconvdata/testdate/NS_4551-1: Likewise.
2708 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
2709 * iconvdata/testdate/NS_4551-2: Likewise.
2710 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
2711 * iconvdata/testdate/PT: Likewise.
2712 * iconvdata/testdate/PT..UTF8: Likewise.
2713 * iconvdata/testdate/PT2: Likewise.
2714 * iconvdata/testdate/PT2..UTF8: Likewise.
2715 * iconvdata/testdate/SEN_850200_B: Likewise.
2716 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
2717 * iconvdata/testdate/SEN_850200_C: Likewise.
2718 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
2719
2720 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
2721 * iconvdata/cns11643l1.h: Likewise.
2722 * iconvdata/latin-greek-1.h: Likewise.
2723 * iconvdata/latin-greek.h: Likewise.
2724 * iconvdata/koi8-r.h: Likewise.
2725 * iconvdata/jis0212.h: Likewise.
2726 * iconvdata/gb2312.h: Likewise.
2727 * iconvdata/ksc5601.h: Likewise.
2728
2729 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
2730
2731 * iconvdata/Makefile: Add rules for lots of more modules.
2732 * iconvdata/cp1250.c: New file.
2733 * iconvdata/cp1251.c: New file.
2734 * iconvdata/cp1252.c: New file.
2735 * iconvdata/cp1253.c: New file.
2736 * iconvdata/cp1254.c: New file.
2737 * iconvdata/cp1255.c: New file.
2738 * iconvdata/cp1256.c: New file.
2739 * iconvdata/cp1257.c: New file.
2740 * iconvdata/ebcdic-dk-no-a.c: New file.
2741 * iconvdata/ebcdic-dk-no.c: New file.
2742 * iconvdata/ebcdic-es-a.c: New file.
2743 * iconvdata/ebcdic-es-s.c: New file.
2744 * iconvdata/ebcdic-es.c: New file.
2745 * iconvdata/ebcdic-fi-se-a.c: New file.
2746 * iconvdata/ebcdic-fi-se.c: New file.
2747 * iconvdata/ebcdic-fr.c: New file.
2748 * iconvdata/ebcdic-is-friss.c: New file.
2749 * iconvdata/ebcdic-it.c: New file.
2750 * iconvdata/ebcdic-pt.c: New file.
2751 * iconvdata/ebcdic-uk.c: New file.
2752 * iconvdata/ebcdic-us.c: New file.
2753 * iconvdata/ibm037.c: New file.
2754 * iconvdata/ibm038.c: New file.
2755 * iconvdata/ibm1004.c: New file.
2756 * iconvdata/ibm1026.c: New file.
2757 * iconvdata/ibm1047.c: New file.
2758 * iconvdata/ibm256.c: New file.
2759 * iconvdata/ibm273.c: New file.
2760 * iconvdata/ibm274.c: New file.
2761 * iconvdata/ibm275.c: New file.
2762 * iconvdata/ibm277.c: New file.
2763 * iconvdata/ibm278.c: New file.
2764 * iconvdata/ibm280.c: New file.
2765 * iconvdata/ibm281.c: New file.
2766 * iconvdata/ibm284.c: New file.
2767 * iconvdata/ibm285.c: New file.
2768 * iconvdata/ibm290.c: New file.
2769 * iconvdata/ibm297.c: New file.
2770 * iconvdata/ibm420.c: New file.
2771 * iconvdata/ibm423.c: New file.
2772 * iconvdata/ibm424.c: New file.
2773 * iconvdata/ibm437.c: New file.
2774 * iconvdata/ibm500.c: New file.
2775 * iconvdata/ibm850.c: New file.
2776 * iconvdata/ibm851.c: New file.
2777 * iconvdata/ibm852.c: New file.
2778 * iconvdata/ibm855.c: New file.
2779 * iconvdata/ibm857.c: New file.
2780 * iconvdata/ibm860.c: New file.
2781 * iconvdata/ibm861.c: New file.
2782 * iconvdata/ibm862.c: New file.
2783 * iconvdata/ibm863.c: New file.
2784 * iconvdata/ibm864.c: New file.
2785 * iconvdata/ibm865.c: New file.
2786 * iconvdata/ibm868.c: New file.
2787 * iconvdata/ibm869.c: New file.
2788 * iconvdata/ibm870.c: New file.
2789 * iconvdata/ibm871.c: New file.
2790 * iconvdata/ibm875.c: New file.
2791 * iconvdata/ibm880.c: New file.
2792 * iconvdata/ibm891.c: New file.
2793 * iconvdata/ibm903.c: New file.
2794 * iconvdata/ibm904.c: New file.
2795 * iconvdata/ibm905.c: New file.
2796 * iconvdata/ibm918.c: New file.
2797
2798 * locale/iso-4217.def: Update.
2799 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
2800
2801 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
2802 formats.
2803
28041998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2805
2806 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
2807 LD_LIBRARY_PATH.
2808
28091998-04-22 Gordon Matzigkeit <gord@profitpress.com>
2810
2811 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
2812 * Makefile: Likewise.
2813 * posix/Makefile: Likewise.
2814 * sysdeps/mach/hurd/Makefile: Likewise.
2815
28161998-04-22 Gordon Matzigkeit <gord@profitpress.com>
2817
2818 * sysdeps/mach/hurd/bits/dirent.h: New file.
2819 * sysdeps/mach/hurd/readdir64.c: New file.
2820 * sysdeps/mach/hurd/readdir64_r.c: New file.
2821
28221998-04-21 Gordon Matzigkeit <gord@profitpress.com>
2823
2824 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
2825 dprintf): Synchronize declarations with libio/stdio.h.
2826
28271998-04-21 Gordon Matzigkeit <gord@profitpress.com>
2828
2829 * elf/dlerror.c (dlerror): Don't assume that
2830 __libc_internal_tsd_get is defined. __libc_getspecific is already
2831 well-protected, so just use it directly.
2832
28331998-04-22 Gordon Matzigkeit <gord@profitpress.com>
2834
2835 * io/ftw.h (ftw): Fix typo.
2836
28371998-04-21 Gordon Matzigkeit <gord@profitpress.com>
2838
2839 * sysdeps/gnu/utmp_file.c: Fix typo.
2840
28411998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2842
2843 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
2844 one part of a test fails move on to the next test.
2845
a55e5526
RH
28461998-04-24 5:45 Richard Henderson <rth@cygnus.com>
2847
2848 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
2849
9b26f5c4
UD
28501998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2851
2852 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
2853 as pointers, not signed integers.
2854
28551998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
cf1b2c7b
AS
2856
2857 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
2858
01cad722
UD
28591998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
2860
2861 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
2862 asm symbol name of functions.
2863 * include/features.h: Kill redundant test.
2864
2865 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
2866 * io/ftw.h: Likewise.
2867 * io/sys/stat.h: Likewise.
2868 * io/sys/statfs.h: Likewise.
2869 * io/sys/statvfs.h: Likewise.
2870 * libio/stdio.h: Likewise.
2871 * resource/sys/resource.h: Likewise.
2872 * rt/aio.h: Likewise.
2873
2874 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
2875 __FAVOR_BSD.
2876 * signal/signal.h: Use new macros for BSD vs. SysV signal().
2877
2878 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
2879 a dummy library.
2880 * misc/bsd-compat.c: Removed.
2881
28f1c862
UD
28821998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
2883
2884 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
2885 function declaration.
2886 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
2887 and use them in conversion function.
2888 * iconvdata/Makefile (modules): Re-add ISO6446.
2889 * iconvdata/TEST: Add tests for ASCII variants.
2890 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
2891 * iconvdata/testdata/ANSI_X3.4-1968: New file.
2892 * iconvdata/testdata/BS_4730: New file.
2893 * iconvdata/testdata/BS_4730..UTF8: New file.
2894
9ce5071a
UD
28951998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
2896
2897 * iconv/gconv.h (struct gconv_step): Add element stateful.
2898 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
2899 to zero for all internal conversions.
2900 * iconv/skeleton.c: Initialize stateful depending on whether or not
2901 RESET_STATE is defined to one or zero respectively.
2902 * stdlib/mblen.c: Use stateful element of currently selected
2903 converter for result if S is NULL.
2904 * stdlib/mbtowc.c: Likewise.
2905 * stdlib/wctomb.c: Likewise.
2906
5aa8ff62
UD
29071998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
2908
2909 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
2910
2911 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
2912
2913 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
2914 character in comparison with uint32_t.
2915 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
2916 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
2917 Optimize BODY a bit.
2918
2919 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
2920 be defined.
2921
2922 * iconv/skeleton.c: Also reset converted counter in case of an error.
2923 Call reset function using correct value for output buffer start.
2924
2925 * iconvdata/Makefile: Re-enable tests.
2926
2927 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
2928 value for to-conversion.
2929
2930 * iconvdata/TESTS: Add new third column.
2931 * iconvdata/run-iconv-test.sh: Add support for charsets which are
2932 not ASCII based.
2933 * iconvdata/testdata/suntzus: New file.
2934
2935 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
2936 while reading. Correctly used base. Little optimization.
2937 (__strtoul_internal): Likewise.
2938
2939 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
2940 was wrong. Use explicit variable.
2941
29421998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
2943
2944 * configure.in: Check for awk.
2945 * config.make.in: Add AWK to be substituted.
2946
2947 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
2948 * manual/users.texi: Fix typo exposed by above rewrite.
2949
2950 * Makefile: Invoke awk using AWK variable.
2951 * csu/Makefile: Likewise.
2952 * elf/Makefile: Likewise.
2953 * mach/Makefile: Likewise.
2954 * manual/Makefile: Likewise.
2955 * sysdeps/gnu/Makefile: Likewise.
2956 * sysdeps/mach/hurd/Makefile: Likewise.
2957 * sysdeps/unix/Makefile: Likewise.
2958 * timezone/Makefile: Likewise.
2959
29601998-04-10 Gordon Matzigkeit <gord@profitpress.com>
2961
2962 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
2963 array index translation.
2964 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
2965 these are defined.
2966
2967 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
2968
2969 * sysdeps/mach/hurd/errlist.c: New file.
2970 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
2971 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
2972 semantics, so rename it.
2973
29741998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2975
2976 * iconvdata/run-iconv-test.sh: Make portable. Always test all
2977 conversions.
2978
29791998-04-21 12:30 H.J. Lu <hjl@gnu.org>
2980
2981 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
2982 * wcsmbs/wcsnrtombs.c: Likewise.
2983
29841998-04-21 Ulrich Drepper <drepper@cygnus.com>
2985
2986 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
2987
2988 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
2989
2990 * time/strftime.c (my_strftime): Initialize pad variable in
2991 declaration.
2992
2993 * iconvdata/big5.c: Don't use character constants in comparisons
2994 with unsigned value.
2995
8619129f
UD
29961998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
2997
2998 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
2999 __libc_siglongjmp to GLIBC_2.1.
3000
3001 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3002 __strerror_r.
3003
3004 * iconv/Makefile: Don't run tests now.
3005
3006 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3007 with correct output buffer.
3008
3009 Major rewrite of the low-level gconv functionality.
3010 * iconv/gconv.c: Rewritten.
3011 * iconv/gconv.h: Likewise.
3012 * iconv/gconv_builtin.c: Likewise.
3013 * iconv/gconv_builtin.h: Likewise.
3014 * iconv/gconv_conf.c: Likewise.
3015 * iconv/gconv_int.h: Likewise.
3016 * iconv/gconv_open.c: Likewise.
3017 * iconv/gconv_simple.c: Likewise.
3018 * iconv/iconv.c: Likewise.
3019 * iconvdata/8bit-gap.c: Likewise.
3020 * iconvdata/8bit-generic.c: Likewise.
3021 * iconvdata/Makefile: Likewise.
3022 * iconvdata/big5.c: Likewise.
3023 * iconvdata/cns11643.c: Likewise.
3024 * iconvdata/cns11643.h: Likewise.
3025 * iconvdata/cns11643l1.c: Likewise.
3026 * iconvdata/cns11643l1.h: Likewise.
3027 * iconvdata/ebcdic-at-de-a.c: Likewise.
3028 * iconvdata/ebcdic-at-de.c: Likewise.
3029 * iconvdata/ebcdic-ca-fr.c: Likewise.
3030 * iconvdata/euccn.c: Likewise.
3031 * iconvdata/eucjp.c: Likewise.
3032 * iconvdata/euckr.c: Likewise.
3033 * iconvdata/euctw.c: Likewise.
3034 * iconvdata/gb2312.c: Likewise.
3035 * iconvdata/gb2312.h: Likewise.
3036 * iconvdata/hp-roman8.c: Likewise.
3037 * iconvdata/iso646.c: Likewise.
3038 * iconvdata/iso6937.c: Likewise.
3039 * iconvdata/iso8859-1.c: Likewise.
3040 * iconvdata/iso8859-10.c: Likewise.
3041 * iconvdata/iso8859-2.c: Likewise.
3042 * iconvdata/iso8859-3.c: Likewise.
3043 * iconvdata/iso8859-4.c: Likewise.
3044 * iconvdata/iso8859-5.c: Likewise.
3045 * iconvdata/iso8859-6.c: Likewise.
3046 * iconvdata/iso8859-7.c: Likewise.
3047 * iconvdata/iso8859-8.c: Likewise.
3048 * iconvdata/iso8859-9.c: Likewise.
3049 * iconvdata/jis0201.c: Likewise.
3050 * iconvdata/jis0201.h: Likewise.
3051 * iconvdata/jis0208.c: Likewise.
3052 * iconvdata/jis0208.h: Likewise.
3053 * iconvdata/jis0212.c: Likewise.
3054 * iconvdata/jis0212.h: Likewise.
3055 * iconvdata/johab.c: Likewise.
3056 * iconvdata/koi-8.c: Likewise.
3057 * iconvdata/koi8-r.c: Likewise.
3058 * iconvdata/ksc5601.c: Likewise.
3059 * iconvdata/ksc5601.h: Likewise.
3060 * iconvdata/latin-greek-1.c: Likewise.
3061 * iconvdata/latin-greek.c: Likewise.
3062 * iconvdata/run-iconv-test.sh: Likewise.
3063 * iconvdata/sjis.c: Likewise.
3064 * iconvdata/t61.c: Likewise.
3065 * iconvdata/uhc.c: Likewise.
3066 * wcsmbs/btowc.c: Likewise.
3067 * wcsmbs/mbrtowc.c: Likewise.
3068 * wcsmbs/mbsnrtowcs.c: Likewise.
3069 * wcsmbs/mbsrtowcs.c: Likewise.
3070 * wcsmbs/wcrtomb.c: Likewise.
3071 * wcsmbs/wcsmbsload.c: Likewise.
3072 * wcsmbs/wcsnrtombs.c: Likewise.
3073 * wcsmbs/wcsrtombs.c: Likewise.
3074 * wcsmbs/wctob.c: Likewise.
3075 * iconv/loop.c: New file.
3076 * iconv/skeleton.c: New file.
3077
3078 * stdlib/mblen.c: Handle empty input string correctly.
3079 * stdlib/mbtowc.c: Likewise.
3080
3081 * posix/getopt.c: Various cleanups.
3082
3083 * sysdeps/arm/bits/setjmp.h: Add copyright text.
3084 * sysdeps/i386/bits/setjmp.h: Likewise.
3085 * sysdeps/m68k/bits/setjmp.h: Likewise.
3086 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3087 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3088
3089 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3090 and make longjmp weak alias.
3091
30921998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
3093
3094 * iconv/Makefile (routines): Only include gconv_dl if building for
3095 an ELF system - dynamic linking is not available on a.out.
3096 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3097 due to above check.
3098 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3099 routines from gconv_dl.
3100
31011998-04-17 Gordon Matzigkeit <gord@profitpress.com>
3102
3103 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3104 we can compile without libio.
3105
31061998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
3107
3108 * sysdeps/mach/hurd/Subdirs: Remove login.
3109
31101998-04-11 Gordon Matzigkeit <gord@profitpress.com>
3111
3112 * db2/compat.h: Include <errno.h>, to make sure we get the
3113 definition of EFTYPE before we define it ourselves.
3114
31151998-04-10 Gordon Matzigkeit <gord@profitpress.com>
3116
3117 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3118 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3119 Fix typo to allow inclusion from sys/ioctl.h again.
3120
31211998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3122
3123 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
3124
31251998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3126
3127 * libc.map: Export __strerror_r. Remove _strerror_internal.
3128
31291998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3130
3131 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3132 Also undefine __strcasestr.
3133
31341998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3135
3136 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3137 aliases do not work with global variables due to copy relocations.
3138
31391998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
3140
3141 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
3142
31431998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
3144
3145 * signal/sighold.c: Include stddef.h for NULL definition.
3146 * signal/sigrelse.c: Likewise.
3147 * sysdeps/posix/sigignore.c: Likewise.
3148 * sysdeps/posix/sigset.c: Likewise.
3149 * sysdeps/posix/waitid.c: Likewise.
3150 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3151 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3152 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3153 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3154 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3155
31561998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
3157
3158 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3159 * login/getutent.c (getutxent): Remove alias.
3160 * login/getutent_r.c (setutxent, pututxline, endutxent):
3161 Remove aliases.
3162 * login/getutid.c (getutxid): Remove alias.
3163 * login/getutline.c (getutxline): Remove alias.
3164 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3165 __getutid, __getutline and __pututline.
3166 * login/utmpx.h: Moved to ...
3167 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
3168 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
3169 and updwtmpx.
3170 * login/updwtmp.c: Moved to ...
3171 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
3172 allowing file name transformation.
3173 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
3174 additional file name transformation.
3175 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3176 * login/utmp_file.c: Moved to ...
3177 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
3178 Generalized by allowing file name transformation. Do not
3179 print error message. Library functions should not print them.
3180 Reported by Jim Meyering.
3181 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
3182 with additional file name transformation.
3183 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3184 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
3185 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
3186 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
3187 and bits/utmpx.h.
3188 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
3189 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
3190 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
3191 Define if __USE_GNU.
5aa8ff62
UD
3192 * sysdeps/generic/setutxent.c: New file.
3193 * sysdeps/generic/getutxent.c: New file.
3194 * sysdeps/generic/endutxent.c: New file.
3195 * sysdeps/generic/getutxid.c: New file.
3196 * sysdeps/generic/getutxline.c: New file.
3197 * sysdeps/generic/pututxline.c: New file.
3198 * sysdeps/generic/utmpxname.c: New file.
3199 * sysdeps/generic/updwtmpx.c: New file.
8619129f
UD
3200 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
3201 * sysdeps/generic/bits/utmpx.h: Remove.
3202
32031998-04-20 Ulrich Drepper <drepper@cygnus.com>
3204
3205 * posix/wordexp-test.c (main): Initialize ifs element of ts for
3206 ~root test.
3207
32081998-04-17 07:53 H.J. Lu <hjl@gnu.org>
3209
3210 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
3211
32121998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
3213
3214 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
3215 variable using _G_stat64.
3216 * libio/fileops.c: Remove macro definition of fstat, it is in the
3217 global header.
3218 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3219
32201998-04-17 Philip Blundell <pb@nexus.co.uk>
3221
3222 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
3223 <willy@odie.barnet.ac.uk>.
3224
32251998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
3226
3227 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
3228 required by IPv6 Basic API.
3229 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
3230 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
3231 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
3232 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
3233
f1fa8b68
UD
32341998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
3235
3236 Don't name internal representation since it might be different from
3237 the external form (namely on little endian machines).
3238 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
3239 UCS4 into references to INTERNAL.
3240 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
3241 Add endianess support to UCS functions. Change references to
3242 UCS4 into references to INTERNAL.
3243 * iconv/gconv_int.h: Change references to UCS4 into references to
3244 INTERNAL.
3245 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
3246 * iconvdata/gconv-modules: Change accordingly.
3247 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
3248
3249 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
3250 overflow.
3251 * iconvdata/8bit-gap.c: Likewise.
3252 * iconvdata/8bit-generic.c: Likewise.
3253 * iconvdata/big5.c: Likewise.
3254 * iconvdata/euccn.c: Likewise.
3255 * iconvdata/eucjp.c: Likewise.
3256 * iconvdata/euckr.c: Likewise.
3257 * iconvdata/euctw.c: Likewise.
3258 * iconvdata/iso646.c: Likewise.
3259 * iconvdata/iso6937.c: Likewise.
3260 * iconvdata/iso8859-1.c: Likewise.
3261 * iconvdata/johab.c: Likewise.
3262 * iconvdata/sjis.c: Likewise.
3263 * iconvdata/t61.c: Likewise.
3264 * iconvdata/uhc.c: Likewise.
3265
3266 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
3267 * iconvdata/8bit-generic.c: Likewise.
3268
3269 * iconvdata/TESTS: Add more tests.
3270
3271 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
3272
32731998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
3274
3275 * iconvdata/Makefile: Better rules to run tests.
3276
3277 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
3278 * iconvdata/testdata/ISO-8859-10: Likewise.
3279 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
3280 * iconvdata/testdata/ISO-8859-2: Likewise.
3281 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
3282 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
3283 * iconvdata/testdata/ISO-8859-3: Likewise.
3284 * iconvdata/testdata/ISO-8859-4: Likewise.
3285 * iconvdata/testdata/ISO-8859-5: Likewise.
3286 * iconvdata/testdata/ISO-8859-6: Likewise.
3287 * iconvdata/testdata/ISO-8859-7: Likewise.
3288 * iconvdata/testdata/ISO-8859-8: Likewise.
3289 * iconvdata/testdata/ISO-8859-9: Likewise.
3290
479e9b3f
UD
32911998-04-15 Ulrich Drepper <drepper@cygnus.com>
3292
f1fa8b68
UD
3293 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
3294 intermediate result (if available).
3295
479e9b3f
UD
3296 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
3297 last change.
3298
f1fa8b68
UD
3299 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
3300 (distribute): Add run-iconv-test.sh and testdata/*.
3301
3302 * stdlib/testmb.c (main): Simplify mbc array handling.
3303
479e9b3f
UD
33041998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3305
3306 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
3307 return value on overflow.
3308
33091998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3310
3311 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
3312 bits.
3313
33141998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3315
3316 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
3317 of non-standard function setbuffer.
3318
33191998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3320
3321 * stdio-common/perror.c: Include <string.h> for __strerror_r.
3322
480bc727
UD
33231998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
3324
3325 * iconvdata/Makefile: Add rules to run tests.
3326 * iconvdata/TESTS: New file.
3327 * iconvdata/run-iconv-test.sh: New file.
f1fa8b68 3328 * iconvdata/testdata/ISO-8859-1: New file.
480bc727
UD
3329
3330 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
3331 not stdout.
3332
7919ea15
UD
33331998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
3334
3335 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3336 counter element of step.
3337
3338 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
3339
3340 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
3341 termination test.
3342 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
3343 ACTUALLY.
3344 (__gconv_transform_utf8_ucs4): Correct test for empty input.
3345
aa802e96
UD
33461998-04-14 Ulrich Drepper <drepper@cygnus.com>
3347
3348 * Makefile: Include makeconfig before defining rule to regenerate
3349 configure files.
3350
3351 * configure.in: Remove restriction on compiling without static
3352 libs.
3353
310b3460
UD
33541998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
3355
3356 * test-skeleton.c: Provide hook for initializing code before the fork.
3357 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
3358 removed.
3359
3360 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
3361 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
3362 * libio/libioP.h: Adopt _IO_cleanup prototype.
3363
3364 * stdlib/Makefile (tests): Add test-canon2.
3365 * stdlib/test-canon2.c: New file.
3366 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
3367 be NULL. Use __lxstat, not __lstat. Correctly recognize long
3368 symlink sequences.
3369 (__realpath): Make real function which checks RESOLVED parameter for
3370 not being NULL.
3371
33721998-04-14 Ulrich Drepper <drepper@cygnus.com>
3373
3374 * catgets/open_catalog.c (__open_catalog): Fix problems with
3375 reading non-files. Always close file.
3376 Reported by Cristian Gafton <gafton@redhat.com>.
3377
3378 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
3379
33801998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
3381
3382 * libc.map: Add various low-level I/O functions.
3383
33841998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
3385
3386 * string/Makefile (routines): Remove strerror_r.
3387 * string/strerror_r.c: Removed.
3388 * string/strerror.c: Call __strerror_r for doing the real work.
3389 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
3390 add weak alias strerror_r.
3391 * sysdeps/mach/_strerror.c: Likewise.
3392 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
3393 * elf/dl-error.c (_dl_signal_error): Likewise.
3394 * elf/dl-profile.c (_dl_start_profile): Likewise.
3395 * gmon/gmon.c (write_gmon): Likewise.
3396 * stdio-common/perror.c: Likewise.
3397 * stdio-common/vfprintf.c: Likewise.
3398
33991998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
3400
3401 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
3402 (sysdep_headers): Add netatalk/at.h.
3403
34041998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3405
3406 * manual/socket.texi, manual/creature.texi, manual/time.texi:
3407 Formatting fixes.
3408
34091998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3410
3411 * posix/regex.c: Rename __re_syntax_options back to
3412 re_syntax_options, aliases do not work with global variables due
3413 to copy relocations.
3414 (regex_compile): Use syntax parameter instead of
3415 re_syntax_options.
3416
34171998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3418
3419 * configure.in: Document that enable-force-install is default.
3420
bbdc8261
UD
34211998-04-13 Ulrich Drepper <drepper@cygnus.com>
3422
3423 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
3424 all needed 36 bits.
3425 * sysdeps/posix/mkstemp.c: Likewise.
3426
2aea1d79
UD
34271998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
3428
3429 * iconvdata/8bit-gap.c: Simplify step data handling.
3430 * iconvdata/8bit-generic.c: Likewise.
3431 * iconvdata/big5.c: Likewise.
3432 * iconvdata/euccn.c: Likewise.
3433 * iconvdata/eucjp.c: Likewise.
3434 * iconvdata/euckr.c: Likewise.
3435 * iconvdata/euctw.c: Likewise.
3436 * iconvdata/iso6937.c: Likewise.
3437 * iconvdata/iso8859-1.c: Likewise.
3438 * iconvdata/jis0208.h: Likewise.
3439 * iconvdata/jis0212.c: Likewise.
3440 * iconvdata/jis0212.h: Likewise.
3441 * iconvdata/johab.c: Likewise.
3442 * iconvdata/ksc5601.h: Likewise.
3443 * iconvdata/sjis.c: Likewise.
3444 * iconvdata/t61.c: Likewise.
3445 * iconvdata/uhc.c: Likewise.
3446
40c0dc53
UD
34471998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
3448
3449 * manual/texinfo.texi: Updated from last version.
3450
2b474353
UD
34511998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
3452
3453 * iconvdata/cns11643.c: New file.
3454 * iconvdata/cns11643.h: New file.
3455 * iconvdata/cns11643l1.c: New file.
3456 * iconvdata/cns11643l1.h: New file.
3457 * iconvdata/euctw.c: New file.
3458 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
3459 * iconvdata/gconv-modules: Likewise.
3460
3461 * iconvdata/eucjp.c: Several bug fixes and improvements.
3462 * iconvdata/gb2312.h: Likewise.
3463 * iconvdata/jis0201.h: Likewise.
3464 * iconvdata/jis0208.h: Likewise.
3465 * iconvdata/jis0212.h: Likewise.
3466
40b4c81d
UD
34671998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
3468
3469 * iconvdata/eucjp.c: New file.
3470 * iconvdata/euccn.c: New file.
3471 * iconvdata/gb2312.h: New file.
3472 * iconvdata/gb2312.c: New file.
3473 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
3474 * iconvdata/gconv-modules: Likewise.
3475
3476 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
3477
8acdf4fd
UD
34781998-04-12 Ulrich Drepper <drepper@cygnus.com>
3479
3480 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3481 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
3482 Patch by Mark Hatle <fray@kernel.crashing.org>.
3483
bc38f31f
UD
34841998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
3485
3486 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
3487 comment.
3488 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
3489 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
3490
36fafd9c
UD
34911998-04-12 Ulrich Drepper <drepper@cygnus.com>
3492
8d5c30bd
UD
3493 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
3494
3495 * iconvdata/Makefile: Add rules for big5 conversion.
3496 * iconvdata/gconv-modules: Likewise.
3497 * iconvdata/big5.c: New file.
3498
36fafd9c
UD
3499 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
3500 Patch by Jim Meyering.
3501
18de8c73
UD
35021998-04-11 Ulrich Drepper <drepper@cygnus.com>
3503
6b9c2e67
UD
3504 * rt/tst-aio.c: Add test for aio_read and lio_listio.
3505
3506 * rt/lio_listio.c: Correct total counter handling.
3507
3508 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
3509 from request queue.
3510
3511 * test-skeleton.c (main): Make stdout unbuffered. Improve message
3512 of signal on exit even more.
3513
18de8c73
UD
3514 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
3515 instead of call to pthread_cond_init.
3516 * rt/lio_listio.c (lio_listio): Likewise.
3517 * rt/lio_listio64.c (lio_listio64): Likewise.
3518
3519 * nis/nis_findserv.c: Include sys/socket.h.
3520
b9337b6a
UD
35211998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
3522
3523 * Makeconfig (rtobjdir): New variable.
3524 (rpath-link): Add rtobjdir and thread directory, if available.
3525
3526 * test-skeleton.c: Add support to remove temporary files.
3527 Always define test_dir. Improve message about expected signal.
3528
3529 * rt/Makefile (tests): Add tst-aio.
3530 Add rules for tst-aio to be linked with librt and thread library.
3531 * rt/aio_misc.c: Correct fundamental bugs.
3532 * rt/aio_suspend.c: Correct bug in test for available request.
3533 Initialize conditional variable.
3534 * rt/lio_listio.c: Initialize conditional variable.
3535 * rt/lio_listio64.c: Likewise.
3536 * rt/tst-aio.c: New file.
3537
3538 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
3539 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
3540 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3541 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3542 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3543 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3544 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3545
35461998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
3547
3548 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
3549
c7614ee9
UD
35501998-04-10 Ulrich Drepper <drepper@cygnus.com>
3551
b9337b6a
UD
3552 * elf/dl-load.c (open_path): Use correct name for test whether
3553 directory in load path exists.
3554
3555 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
3556 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
3557 Patches by Tom Rini <trini@kernel.crashing.org>.
3558
3559 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
3560 * wcsmbs/wcstod_l.c: Likewise.
3561 * wcsmbs/wcstold_l.c: Likewise.
3562
e7993f20
UD
3563 * include/byteswap.h: New file.
3564
3565 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
3566 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
3567
c7614ee9
UD
3568 * inet/getnameinfo.c (getnameinfo): Change parameter to match
3569 declaration. Patch by Richard Henderson.
3570
f9d6455b
UD
35711998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
3572
3573 * manual/process.texi (SIGCHLD example): Save errno.
3574
ff44f2a5
UD
35751998-04-09 Ulrich Drepper <drepper@cygnus.com>
3576
30baa360
UD
3577 * posix/regex.c: Define regerror really as __regerror.
3578 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
3579 regerror and regfree.
3580
c3d6c951
UD
3581 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
3582 * stdlib/strtod_l.c: Likewise.
3583 * stdlib/strtold_l.c: Likewise.
3584
3585 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
3586
ff44f2a5
UD
3587 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
3588
3589 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
f9d6455b 3590 Patch by Christian Gafton.
ff44f2a5 3591
834e1954
UD
35921998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
3593
3594 * manual/socket.texi (Interface Naming): Correct @deftypefun line
3595 for if_indextoname.
3596
356d7100
UD
35971998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3598
3599 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
3600
3601 * manual/socket.texi (Interface Naming): Fix typo.
3602
36031998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3604
3605 * manual/examples/filesrv.c (main): Remove filename first.
3606
3607 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
3608 ?F_UNIX.
3609
3610 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
3611 instead of PF_UNIX.
3612
3613 * manual/examples/filecli.c (main): Use AF_LOCAL
3614 instead of AF_UNIX.
3615
36161998-04-09 Ulrich Drepper <drepper@cygnus.com>
3617
3618 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
3619 signgam weak alias.
3620 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
3621 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3622 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3623 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3624 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3625 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3626
3627 * login/utmp_daemon.c (open_socket): Use __connect not connect.
3628
73237de3
UD
36291998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3630
3631 * configure.in: Add new option --enable-force-install. Substitute
3632 force_install.
3633 * config.make.in (force-install): Set from configure.
3634 * Makerules (force-install): New phony target.
3635 * Makeconfig (+force): New variable.
3636 * Makefile: Use it in dependency list of installation targets.
3637 * db/Makefile: Likewise.
3638 * db2/Makefile: Likewise.
3639 * elf/Makefile: Likewise.
3640 * hurd/Makefile: Likewise.
3641 * iconv/Makefile: Likewise.
3642 * iconvdata/Makefile: Likewise.
3643 * intl/Makefile: Likewise.
3644 * localedata/Makefile: Likewise.
3645 * login/Makefile: Likewise.
3646 * po/Makefile: Likewise.
3647 * sunrpc/Makefile: Likewise.
3648 * sysdeps/mach/hurd/Makefile: Likewise.
3649 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
3650 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3651 * timezone/Makefile: Likewise.
3652
36531998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3654
3655 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
3656 alloc_size. Pass return value of getcwd syscall to realloc.
3657
36581998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3659
3660 * manual/socket.texi: Spelling fixes.
3661
36621998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3663
3664 * elf/dl-load.c (print_search_path): Remove unused variable.
3665
8d88d9f8
UD
36661998-04-08 Ulrich Drepper <drepper@cygnus.com>
3667
3668 * login/utmp_file.c: use __ftruncate not ftruncate.
3669 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
3670 for system call and make ftruncate weak alias.
3671 * posix/unistd.h: Add prototype for __ftruncate.
3672 * login/utmp_daemon.c (open_socket): Use __socket not socket.
3673 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
3674 instead of snprintf and readv.
3675 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
3676 snprintf.
3677 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
3678 directly.
3679
2ad4fab2
UD
36801998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
3681
3682 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
3683 * iconv/gconv_db.c: Use __ protected regex functions.
3684 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
3685 * posix/getopt_init.c: Use __getpid not getpid.
3686 * posix/regex.c: Rename all global functions to start with __ and
3687 make old names weak aliases.
3688 * posix/regex.h: Adopt prototypes for this.
3689 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
3690 a weak alias and use __getcwd instead of getcwd.
3691 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
3692 * stdlib/strtod.c: Use __btowc instead of btowc.
3693 * stdlib/strtol.c: Likewise.
3694 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
3695 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
3696 and sys_errlist are weak.
3697 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
3698 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
3699 * wcsmbs/mbsnrtowcs.c: Likewise.
3700 * wcsmbs/mbsrtowcs.c: Likewise.
3701 * wcsmbs/wcsnrtombs.c: Likewise.
3702 * wcsmbs/wcsrtombs.c: Likewise.
3703 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
3704 weak alias.
3705 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
3706 * wctype/wctype.c: Define function as __wctype and make wctype
3707 weak alias.
3708 * wctype/wctype.h: Declare __wctype.
3709
cd2bd591
UD
37101998-04-08 Ulrich Drepper <drepper@cygnus.com>
3711
3712 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
3713
279eb600
UD
37141998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3715
3716 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
3717 stat64.
3718 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
3719 functions.
3720 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
3721 for __llseek.
3722 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3723 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3724 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
3725 make it a weak alias.
3726 * posix/unistd.h: Declare __lseek64.
3727
3728 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
3729 (_IO_file_stat): Fix typo.
3730 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
3731 block size from the file. Use __mempcpy if _LIBC.
3732
3c720987
UD
37331998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
3734
3735 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
3736 * wcsmbs/mbrtowc.c: Likewise.
3737 * wcsmbs/mbsnrtowcs.c: Likewise.
3738 * wcsmbs/mbsrtowcs.c: Likewise.
3739 * wcsmbs/wcrtomb.c: Likewise.
3740 * wcsmbs/wcsnrtombs.c: Likewise.
3741 * wcsmbs/wcsrtombs.c: Likewise.
3742 * wcsmbs/wctob.c: Likewise.
3743
3744 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
3745 position of next output character correctly.
3746 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
3747
3748 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
3749
3750 * stdlib/strtod.c: Don't use mbtowc.
3751
37521998-04-07 19:07 H.J. Lu <hjl@gnu.org>
3753
3754 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
3755 what we want is smaller than a buffer.
3756
37571998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
3758
3759 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
3760 this function.
3761
dbe7a0f5
UD
37621998-04-07 Ulrich Drepper <drepper@cygnus.com>
3763
3764 * configure.in: Recognize --with-headers flag and determine
3765 commandline options to be used in compilation.
3766 * Makeconfig (+includes): Use $(sysincludes).
3767 * config.make.in (sysincludes): Define from SYSINCLUDES.
3768 * glibcbug.in: Use SYSINCLUDES information.
3769 Patches by Zack Weinberg.
3770
7f9a8b5f
UD
37711998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
3772
3773 * glibcbug.in: On linux, report version of kernel headers seen
3774 by compiler.
3775
27a5bb33
UD
37761998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
3777
3778 * libc.map: Add __asprintf to GLIBC_2.1.
3779 * elf/dlerror.c: Use __asprintf, not asprintf.
3780 * libio/stdio.h: Declare __asprintf.
3781 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
3782 a weak alias.
3783
3784 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
3785 to avoid inclusion from libc_pic.a.
3786
3787 * elf/dl-runtime.c: Undo last patch.
3788
3789 * stdlib/strtod.c: Don't use mbtowc, use btowc.
3790
3791 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
3792 as default, use NULL.
3793
6ca96fe2
UD
37941998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3795
3796 * resolv/Makefile: Include ../Makeconfig - needed for building
3797 static NSS module.
3798
37991998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3800
3801 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
3802 static-nss since we don't want hesiod in the static NSS.
3803
3804 * nss/Makefile: Build only nss_files as static.
3805
3806 * nss/function.def: Remove support for service db.
3807
38081998-04-04 09:44 H.J. Lu <hjl@gnu.org>
3809
3810 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
3811
38121998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
3813
3814 * posix/wordexp-test.c: Make IFS per test-case.
3815
6916c5e1
UD
38161998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
3817
3818 * glibcbug.in: Report version of gcc in use. Remove unused variable
3819 ENVIRONMENT.
3820
38211998-04-07 Gordon Matzigkeit <gord@profitpress.com>
3822
3823 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
3824 `-print-file-name' to find as and ld.
3825
38261998-04-07 Ulrich Drepper <drepper@cygnus.com>
3827
3828 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
3829 template is wrong. Remove unused varaible `ignored'.
3830
38311998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3832
3833 * libc.map: Export __libc_sa_len.
3834
3835 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
3836
4bca4c17
UD
38371998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
3838
3839 * iconv/gconv.c: Take care for NULL arguments.
3840 * iconv/gconv_dl.c: Make find_func function global.
3841 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
3842 Add prototypes for ASCII conversion functions.
3843 * iconv/gconv_simple.c: Add ASCII conversion functions.
3844 * locale/C-ctype.c: Correct charset name.
3845
3846 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
3847 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
3848 wcsmbsload.
3849 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
3850 * wcsmbs/mbrtowc.c: Likewise.
3851 * wcsmbs/mbsnrtowcs.c: Likewise.
3852 * wcsmbs/mbsrtowcs.c: Likewise.
3853 * wcsmbs/wcrtomb.c: Likewise.
3854 * wcsmbs/wcsnrtombs.c: Likewise.
3855 * wcsmbs/wcsrtombs.c: Likewise.
3856 * wcsmbs/wctob.c: Likewise.
3857 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
3858 prototypes for wmemr*.
3859 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
3860 * wcsmbs/wcsnlen.c: New file.
3861 * wcsmbs/wcsmbsload.c: New file.
3862 * wcsmbs/wcsmbsload.h: New file.
3863
3864 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
3865
3866 * manual/install.texi: Describe some more critical points.
3867
3868 * string/string.h: Add prototype for __strnlen.
3869 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
3870
3871 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
3872 much less predictable names.
3873 * sysdeps/posix/mkstemp.c: Likewise.
3874
38751998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3876
3877 * manual/libc.texinfo (Top): Change "file namespace" to "local
3878 namespace".
3879
3880 * manual/socket.texi: Change file namespace to local namespace.
3881 (Out-of-Band Data): Remove unneeded variable link.
3882 (Host Address Functions): Use uint32_t consequently and add a
3883 number of clarifications for IPv4/IPv6, classless addresses.
3884 (Internet Namespace): Added some paragraphs about IPv6.
3885 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
3886
38871998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
3888
3889 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
3890
3891 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
3892 (NI_NUMERICHOST, et al.): Tidy up and add comments.
3893 (AI_NUMERICHOST): Define.
3894 (getnodebyname): New prototype.
3895 (AI_V4MAPPED, et al.): New constants.
3896
356d7100 3897 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4bca4c17
UD
3898 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
3899 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
3900 for socket.
3901 * sysdeps/unix/sysv/linux/sa_len.c: New file.
3902 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
3903
3904 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
3905
3906 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
3907 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
3908 * socket/Makefile (headers): Add bits/sockunion.h.
3909 * socket/sys/socket.h: Include <bits/sockunion.h>
3910 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
3911 <sys/socket.h>, to avoid getting sockaddr_union defined.
3912 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
3913 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3914 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3915
3916 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
3917 (2.2.x kernels won't have it).
3918
39191998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
3920
3921 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
3922 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
3923 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
3924 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
3925
39261998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
3927
3928 * manual/socket.texi (Socket Addresses): Fix a typo.
3929 (Interface Naming): New section.
3930
39311998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
3932
3933 * configure.in: Check for CC using $ac_tool_prefix, to handle
3934 cross-compilation. Use AC_CHECK_TOOL to find MiG.
3935 * config.make.in: Add MIG to be substituted.
3936 * mach/Machrules: Don't define MIG variable.
3937
3938 Patch by Gordon Matzigkeit <gord@profitpress.com>.
3939
39401998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
3941
3942 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
3943 strdupa to copy rpath.
3944
4bca4c17
UD
39451998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3946
3947 * configure.in: Fix gcc version check.
3948
3949 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
3950 confusing.
3951
39521998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
3953
3954 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
3955 of ptsname_r.
3956
3957 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
3958 like ttyname_r.
3959 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
3960 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
3961 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
3962 of __ptsname_r accordingly.
3963 * login/openpty.c (openpty): Likewise.
3964
39651998-06-04 18:47 H.J. Lu <hjl@gnu.org>
3966
3967 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
3968
39691998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3970
3971 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
3972
356d7100 3973 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4bca4c17
UD
3974
39751998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3976
3977 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
3978 return value for better error checking.
3979
4194bc66
RH
39801998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
3981
3982 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
3983 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
3984
3985 * elf/elf.h (EM_SPARC64): Remove.
3986 (EM_SPARC32PLUS, EM_SPARCV9): Add.
3987 (HWCAP_SPARC_V9): Add.
3988
3989 * elf/ldsodefs.h (_dl_hwcap): Declare.
3990 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
3991 Weaken so dlopen from static progies works.
3992 (WEAKADDR): New macro.
3993 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
3994 (LD_SO_PRELOAD): New macro.
3995 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
3996 (elf_machine_rela): Weaken _dl_rtld_map.
3997
3998 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
3999 to __clone, and remove the later's alias.
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4001
4002 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4003 the kernel's structure.
4004
2263f790
RH
4005 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4006 Sparc needs a custom value of __KERNEL_NCCS.
4007
a5540016
RH
40081998-04-06 Richard Henderson <rth@cygnus.com>
4009
4194bc66
RH
4010 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4011
dbe7a0f5
UD
4012 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4013 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
a5540016 4014
deb2f929
RH
40151998-04-06 Richard Henderson <rth@cygnus.com>
4016
4017 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4018 as the buffer is not properly aligned.
4019 Reported by Juan Cespedes <cespedes@debian.org>.
4020
80aea676
UD
40211998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4022
4023 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4024 instead of AF_FILE.
4025
a904b5d9
UD
40261998-04-05 Ulrich Drepper <drepper@cygnus.com>
4027
4028 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4029 and wc*tomb* functions.
4030
40311998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
4032
4033 * sysdeps/unix/start.c: Fix typo.
4034
40351998-04-04 Ulrich Drepper <drepper@cygnus.com>
4036
4037 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4038
923609d1
UD
40391998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
4040
4041 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4042 expressions and using array variables.
4043 * sysdeps/libm-ieee754/e_asin.c: Likewise.
4044 * sysdeps/libm-ieee754/e_j0.c: Likewise.
4045 * sysdeps/libm-ieee754/e_j1.c: Likewise.
4046 * sysdeps/libm-ieee754/e_log.c: Likewise.
4047 * sysdeps/libm-ieee754/e_pow.c: Likewise.
4048 * sysdeps/libm-ieee754/k_cos.c: Likewise.
4049 * sysdeps/libm-ieee754/k_sin.c: Likewise.
4050 * sysdeps/libm-ieee754/k_tan.c: Likewise.
4051 * sysdeps/libm-ieee754/s_atan.c: Likewise.
4052 * sysdeps/libm-ieee754/s_erf.c: Likewise.
4053 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4054 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4055 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4056
0d9f6793
UD
40571998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
4058
4059 * iconv/gconv.c: Rewrite of the low-level of gconv.
4060 * iconv/gconv.h: Likewise.
4061 * iconv/gconv_builtin.h: Likewise.
4062 * iconv/gconv_close.c: Likewise.
4063 * iconv/gconv_db.: Likewise.
4064 * iconv/gconv_dl.c: Likewise.
4065 * iconv/gconv_int.h: Likewise.
4066 * iconv/gconv_open.c: Likewise.
4067 * iconv/gconv_simple.c: Likewise.
4068 * iconvdata/8bit-gap.c: Adapt for rewrite.
4069 * iconvdata/8bit-generic.c: Likewise.
4070 * iconvdata/euckr.c: Likewise.
4071 * iconvdata/iso646.c: Likewise.
4072 * iconvdata/iso6937.c: Likewise.
4073 * iconvdata/iso8859-1.c: Likewise.
4074 * iconvdata/johab.c: Likewise.
4075 * iconvdata/sjis.c: Likewise.
4076 * iconvdata/t61.c: Likewise.
4077 * iconvdata/uhc.c: Likewise.
4078
e62c19f1
UD
40791998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
4080
4081 * iconv/gconv_int.h: New file. Internal header.
4082 * iconv/Makefile (distribute): Add gconv_int.h.
4083 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4084 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4085 * iconv/gconv_close.c: Likewise.
4086 * iconv/gconv_conf.c: Likewise.
4087 * iconv/gconv_db.c: Likewise.
4088 * iconv/gconv_dl.c: Likewise.
4089 * iconv/gconv_int.h: Likewise.
4090 * iconv/gconv_open.c: Likewise.
4091 * iconv/iconv.c: Likewise.
4092 * iconv/iconv_close.c: Likewise.
4093 * iconv/iconv_open.c: Likewise.
4094 * iconv/iconv_prog.c: Likewise.
4095
40961998-04-03 Ulrich Drepper <drepper@cygnus.com>
4097
4098 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4099 missing braces.
4100
6f0ee462
UD
41011998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4102
4103 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4104
ecdd1a31
UD
41051998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
4106
4107 Based on patch from Pat Beirne:
4108 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4109 PIC and non-PIC now. Correctly negate error number.
4110 (errno): Use `%' not `@' in .type directives.
4111
41121998-04-03 Ulrich Drepper <drepper@cygnus.com>
4113
4114 * sysdeps/i386/strtok.S: Change to use single exit point.
4115 * sysdeps/i386/i686/strtok.S: Likewise.
4116
cab24c37
UD
41171998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4118
4119 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4120 default.
4121
41221998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4123
4124 * Makerules (installed-libcs): Fix typo.
4125
41261998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4127
4128 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4129 (UHC-routines): Remove ksc5601.
4130
eb098700
UD
41311998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
4132
4133 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4134 introduced in last change.
4135
aab1c772
UD
41361998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
4137
4138 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4139 before 2.1.92.
4140
63bda0c1
UD
41411998-04-02 Ulrich Drepper <drepper@cygnus.com>
4142
bbe0c227
UD
4143 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4144
63bda0c1
UD
4145 * stdlib/isomac.c: Use -isystem instead of -I for system include
4146 dir.
4147
41481998-03-30 08:05 H.J. Lu <hjl@gnu.org>
4149
4150 * resolv/res_comp.c (underscorechar): New.
4151 (middlechar): Allow '_'.
4152
41531998-04-02 Ulrich Drepper <drepper@cygnus.com>
4154
4155 * intl/explodename.c (stdlib.h): Include that file only if
4156 STDC_HEADERS or _LIBC.
4157 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4158 Patch by Philippe De Muyter <phdm@macqel.be>.
4159
41601998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
4161
4162 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4163 (AC_PROG_CHECK_VER): New macro.
4164 * configure.in: Use AC_PROG_CHECK_VER to check versions of
4165 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
4166
41671998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
4168
4169 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
4170 * sysdeps/i386/i686/strtok.S: New file
4171 * sysdeps/i386/i686/strtok_r.S: New file
4172
41731998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
4174
4175 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
4176 type to __off64_t.
4177 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
4178 parameter as __off64_t instead of __off_t.
4179 (ftello): Make alias for ftello64 instead of ftello. Change
4180 return type to __off64_t.
4181
41821998-04-02 Ulrich Drepper <drepper@cygnus.com>
4183
4184 * sysdeps/i386/bits/string.h: Fix various typos.
4185 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
4186
4187 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
4188
41891998-04-02 Ulrich Drepper <drepper@cygnus.com>
4190
4191 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
4192 lchown syscall correctly. [PR libc/541].
4193
b60816b1
UD
41941998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
4195
4196 * localedata/Makefile: Correct testsuite rules.
4197
4198 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
4199 * iconvdata/iso646.c: Fix conversion from UCS4.
4200
4201 * elf/ldsodefs.h: Mark internal function with internal_function.
4202 * elf/dl-addr.c: Likewise.
4203 * elf/dl-close.c: Likewise.
4204 * elf/dl-debug.c: Likewise.
4205 * elf/dl-deps.c: Likewise.
4206 * elf/dl-error.c: Likewise.
4207 * elf/dl-fini.c: Likewise.
4208 * elf/dl-init.c: Likewise.
4209 * elf/dl-load.c: Likewise.
4210 * elf/dl-lookup.c: Likewise.
4211 * elf/dl-object.c: Likewise.
4212 * elf/dl-open.c: Likewise.
4213 * elf/dl-profile.c: Likewise.
4214 * elf/dl-reloc.c: Likewise.
4215 * elf/dl-runtime.c: Likewise.
4216 * elf/dl-symbol.c: Likewise.
4217 * elf/dl-version.c: Likewise.
4218 * elf/dlerror.c: Likewise.
4219 * sysdeps/generic/dl-sysdep.c: Likewise.
4220 * sysdeps/i386/dl-machine.h: Likewise.
d0fc4041
UD
4221 * intl/finddomain.c: Likewise.
4222 * intl/gettextP.h: Likewise.
4223 * intl/loadmsgcat.c: Likewise.
b60816b1 4224
d2374599
UD
42251998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
4226
b60816b1 4227 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
d2374599
UD
4228 * iconv/gconv_builtin.h: Add definitions for new builtins.
4229 * iconv/gconv.h: Add prototypes for new builtins.
4230
4231 * iconvdata/Makefile (modules): Add ISO646.
4232 Add rules for ISO646 module.
4233 (distribute): Add iso646.c.
4234 * iconvdata/gconv-modules: Add module and alias definition for
4235 ISO646 charsets.
4236 * iconvdata/iso646.c: New file.
4237
8fe0fd03
UD
42381998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
4239
4240 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
4241 * iconv/iconv_prog.c: Implement --list option to print available
4242 coded character sets.
4243
42441998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
4245
4246 Make fread() read large blocks straight to the user buffer.
4247
4248 * libio/fileops.c (_IO_file_xsgetn): New function.
4249 (_IO_file_jumps): Use it.
4250 * libio/libioP.h: Prototype it.
4251
f9f219d9
UD
42521998-04-01 Ulrich Drepper <drepper@cygnus.com>
4253
5891046a
UD
4254 * iconv/gconv_conf.c (builtin_aliases): New variable.
4255 (__gconv_read_conf): Add builtin aliases.
b60816b1 4256 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5891046a
UD
4257 noop macro before including gconv_builtin.h.
4258 * iconv/gconv_builtin.h: Add alias names.
4259
f9f219d9
UD
4260 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
4261 number of converted bytes correctly.
4262
4c66860c
UD
42631998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4264
4265 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4266 we only wait for a replay.
4267
e784ad6a
UD
42681998-04-01 Ulrich Drepper <drepper@cygnus.com>
4269
4270 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
4271 EUC-KR modules.
4272
652e8a1e
UD
42731998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
4274
4275 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
4276 use PLTJMP() rather than explicit (PLT).
4277
4278 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
4279 __libc_start_main().
4280
4281 Based on patch from Pat Beirne:
4282 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
4283 Always define, not only #ifndef PIC.
4284 (DO_CALL): Pass fifth argument correctly in R4.
4285 (PSEUDO): Correct test for error, call syscall_error through PLT
4286 if PIC.
4287
42881998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
4289
4290 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
4291 definitions.
4292
1d97d6ac
UD
42931998-04-01 Ulrich Drepper <drepper@cygnus.com>
4294
4295 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
4296 JOHAB.so.
4297
e2e9ee17
UD
42981998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
4299
4300 * io/Makefile (static-only-routines): Add stat64, fstat64 and
4301 lstat64.
4302
43031998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4304
4305 * manual/Makefile: Use object-suffixes-for-libc instead of
4306 object-suffixes.
4307 * rpm/Makefile (install-lib): Likewise.
4308
43091998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4310
4311 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
4312
4313 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
4314 `m68*', not only `m68k'.
4315
43161998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
c5528b5d
AS
4317
4318 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
4319
4320 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
4321 install lddlibc4.
4322
71bedb76
UD
43231998-03-31 Ulrich Drepper <drepper@cygnus.com>
4324
4325 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
4326 EUC-KR.
4327
4328 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
4329 comment.
4330
43311998-03-30 08:43 H.J. Lu <hjl@gnu.org>
4332
4333 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
4334 the init stuff.
4335
43361998-03-31 Ulrich Drepper <drepper@cygnus.com>
4337
4338 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
4339 adjtimex syscall.
4340 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4341 adjtimex.
4342 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
4343
43441998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4345
4346 * Makerules (install): Change comment for libc.so following the
4347 libc_nonshared changes.
4348
f5baa731
UD
43491998-03-31 Ulrich Drepper <drepper@cygnus.com>
4350
4351 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
4352
4353 * iconvdata/gap.pl: Avoid using %#06x.
4354
43551998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
4356
4357 * Makerules: Use $? instead of S^ when invoking ar.
4358
3331899a
UD
43591998-03-31 Ulrich Drepper <drepper@cygnus.com>
4360
4361 * db2/compat.h: Allow EFTYPE being defined.
4362 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
4363 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
4364 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
4365 * sysdeps/mach/bits/libc-lock.h: Fix typo.
4366 (__libc_once): Correctly unlock semaphore.
4367 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
4368 * sysdeps/unix/bsd/getpt.c: Fix typo.
4369 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
4370
12bf4b4a
UD
43711998-03-31 Ulrich Drepper <drepper@cygnus.com>
4372
4373 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
4374 macros.
4375
12264bd7
UD
43761998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
4377
4378 * include/mntent.h: New file.
4379
4380 * elf/Makefile (trusted-dirs.h): Append slash to filename.
4381 * elf/dl-load.c: Rewrite search path handling.
4382 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
4383 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
4384 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
4385 * elf/ldsodefs.h: Add prototype.
4386
e8e0bee5
UD
43871998-03-30 Ulrich Drepper <drepper@cygnus.com>
4388
4317f9e1
UD
4389 * nss/nsswitch.c (__nss_lookup): Adjust comment.
4390
e8e0bee5
UD
4391 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
4392 function.
4393
4394 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
4395
4396 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
4397 New function.
4398 (HWCAP_IMPORTANT): New definition.
4399
44001998-03-30 17:26 H.J. Lu <hjl@gnu.org>
4401
4402 * elf/dl-open.c (_dl_open): Fix a typo.
4403 (_dl_global_scope_alloc): Make it static.
4404
001426b8
UD
44051998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
4406
4407 * Makerules: Remove duplicate rules to handle stamp.oS.
4408
44091998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4410
4411 * manual/examples/inetsrv.c (main): Change prototype of
4412 make_socket following change in mkisock.c.
4413
4414 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
4415 example host.
4416 (main): Change prototype of init_sockaddr following change in
4417 isockadd.c.
4418
4419 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
4420 * manual/examples/isockad.c (init_sockaddr): Likewise.
4421
4422 * manual/examples/mkfsock.c (make_named_socket): Removed blank
4423 lines for clarification.
4424 (make_named_socket): Use strncpy instead of strcpy.
4425 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4426
4ddde9ee
UD
44271998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
4428
4429 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
4430 determining libs to remove.
4431 (postclean): Add soversions.mk.
4432 * Makerules (common-mostlyclean): Add tests-static and generated
4433 files.
4434
9afc8a59
UD
44351998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
4436
4437 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
4438 scanning for \0.
4439 (__strncat_g): Add i686 specific code.
4440
44411998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4442
4443 * manual/install.texi (Reporting Bugs): Ask to include section
4444 names in reports.
4445
44461998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4447
4448 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
4449 guard against direct inclusion.
4450
44511998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4452
4453 Rework support for libc_nonshared.a:
4454 * Makeconfig (object-suffixes-for-libc): New variable.
4455 * Rules: Remove handling of static-only and shared-only routines.
4456 * Makerules: Handle them here instead. Use
4457 object-suffixes-for-libc instead of object-suffixes when dealing
4458 with libc objects.
4459 (object-suffixes-for-rules): Remove variable.
4460 (elide-routines.oS): Elide all routines except static-only
4461 routines.
4462 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
4463 empty.
4464 (installed-libcs): Remove special case for .oS.
4465 (rmobjs): Likewise.
4466
44671998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4468
4469 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
4470 do-tst-rpmatch): New targets.
4471 (test): Use them.
4472 (install-locales): Ignore comment lines.
4473
44741998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4475
4476 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
4477 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
4478 ($(objpfx)rtldtbl.h): Likewise.
4479 (CPPFLAGS-dl-load.c): Fix reference to object directory.
4480
44811998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
4482
4483 * manual/string.texi (Finding Tokens in a String): Extend strsep
4484 description and correct example.
4485
44861998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4487
4488 * manual/socket.texi: Remove misguided explicit line breaks and
4489 fix the formatting problem instead by reformulating the
4490 paragraphs.
4491 * manual/filesys.texi: Likewise.
4492 * manual/conf.texi: Likewise. Don't typeset table with index
4493 fonts, that looks worse than a minimally overfull line.
4494
44951998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4496
4497 * nscd/Makefile (nscd-modules): Move definition outside of
4498 conditional.
4499
4500 * pwd/Makefile: Use have-thread-library to test for thread
4501 library.
4502
45031998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4504
4505 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
4506
4507 * iconvdata/uhc.c (gconv): Remove unused variable idx.
4508
45091998-03-30 Ulrich Drepper <drepper@cygnus.com>
4510
4511 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
4512
b0081e6c
UD
45131998-03-29 Ulrich Drepper <drepper@cygnus.com>
4514
7503605e
UD
4515 * nss/getXXent_r.c: Correctly handle failing setXXent function.
4516
b0081e6c
UD
4517 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
4518 Reported by Andreas Jaeger.
4519
e2102c14
UD
45201998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
4521
4522 * elf/Makefile: Fix typo.
d09ef153 4523 (distribute): Add dl-librecon.h.
e2102c14
UD
4524 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
4525 * elf/ldd.sh.in: Likewise.
4526 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
4527 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
4528 Use strsep correctly.
4529 (process_envvars): Allow platform specific variables.
4530 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
4531 (_dl_load_cache_lookup): Test cache IDs found against
4532 _dl_correct_cache_id.
4533 * sysdeps/generic/dl-librecon.h: New file.
4534 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
4535
4536 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
4537
cb343854
UD
45381998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
4539
4540 * config.make.in (ldd-rewrite-script): New variable.
4541 * configure.in: Substitute ldd-rewrite-script.
4542 * elf/Makefile: Rewrite rules to generate ldd script.
4543 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
4544 * elf/ldd.sh.in: Likewise.
4545 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
4546 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
4547 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
4548 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
e2102c14 4549 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
cb343854
UD
4550
45511998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
4552
4553 * inet/rcmd.c (iruserok): Remain setuid to the local user
4554 while .rhosts is actually read, to make .rhosts-over-NFS work
4555 (PR libc/524). Use iruserfopen() for security checks on both
4556 hosts.equiv and .rhosts. General cleanup.
4557 (iruserfopen): New function, performs careful checking on
4558 hosts.equiv/.rhosts files. Disallows all the old forbidden
4559 stuff plus hard links to files.
4560
45611998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
4562
4563 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
4564
e8e0bee5
UD
4565 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
4566
cb343854
UD
45671998-03-29 02:02 H.J. Lu <hjl@gnu.org>
4568
4569 * sysdeps/i386/i486/bits/string.h: Fix typos.
4570
cb343854
UD
45711998-03-28 00:13 H.J. Lu <hjl@gnu.org>
4572
4573 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
4574 strong alias.
4575
4576 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
4577
4578 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
4579 Added. Used by libm.so on alpha.
4580
45811998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4582
4583 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
4584 defined.
4585
45861998-03-27 07:29 H.J. Lu <hjl@gnu.org>
4587
4588 * Makerules (object-suffixes-for-rules): Add .oS only for
4589 building shared library.
4590 Add ranlib rule for nonshared library.
4591 (rmobjs): Fix typo.
4592
4593 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
4594 into for shared library only.
4595 (CPPFLAGS-.oS): Add -DPIC.
4596 (libtypes): Use $(object-suffixes-for-rules) instead of
4597 $(object-suffixes).
4598
45991998-03-28 Ulrich Drepper <drepper@cygnus.com>
4600
4601 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
4602 and install lddlibc4.
4603
46041998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
4605
4606 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
4607 hash.
4608 * iconvdata/gaptab.pl: Likewise.
4609
a44d2393
UD
46101998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
4611
4612 * Rules: Allow Makefiles to specify test-static for tests which
4613 cannot be linked dynamically.
4614 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
4615 tests-static.
4616
4617 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
4618
4619 * misc/error.c: Pretty print.
4620
46211998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4622
4623 * Makerules (libc_nonshared-name): Remove variable.
4624 (installed-libcs): Use libc-name instead.
4625 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
4626 dynamic linker.
4627
4628 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
4629 libc.a. Remove explicit reference to dynamic linker.
4630
46311998-03-27 Ulrich Drepper <drepper@cygnus.com>
4632
4633 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
4634 to wchar_t.
4635 * iconv/iconv_prog.c: Correctly test for write failure.
4636 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
4637 * iconvdata/gconv-modules: Likewise.
4638 * iconvdata/euckr.c: New file.
4639 * iconvdata/johab.c: New file.
4640 * iconvdata/ksc5601.c: New file.
4641 * iconvdata/ksc5601.h: New file.
4642 * iconvdata/uhc.c: New file.
4643 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
4644
4645 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
4646 * stdio/fopen.c: Correct handling of 'x' flag.
4647 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
4648
46491998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4650
4651 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
4652 * sunrpc/rpcsvc/key_prot.x: Likewise.
4653 * sunrpc/key_prot.c: Likewise.
4654
46551998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
4656
4657 * sysdeps/i386/bits/string.h: Correct things which never worked.
4658 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
4659 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4660
46611998-03-27 Ulrich Drepper <drepper@cygnus.com>
4662
4663 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
4664 defined. Reported by Thorsten Kukuk.
4665
528c1f1c
UD
46661998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
4667
4668 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
4669
a35cb74d
UD
46701998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4671
4672 * manual/install.texi (Supported Configurations): Add
4673 arm-linuxaout and arm-none.
4674
46751998-03-26 Ulrich Drepper <drepper@cygnus.com>
4676
4677 * version.h (VERSION): Bump to 2.0.93.
4678
46791998-03-25 07:30 H.J. Lu <hjl@gnu.org>
4680
4681 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
4682
4683 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
4684
4685 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
4686 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
4687
46881998-03-26 Ulrich Drepper <drepper@cygnus.com>
4689
4690 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
4691
46921998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4693
4694 Put the static-only routines in a separate library.
4695 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
4696 variables.
4697 (all-object-suffixes): Add .oS.
4698 * Makerules (libc_static-name): New variable.
4699 (installed-libcs): Add libc_nonshared.a.
4700 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
4701 (object-suffixes-for-rules): New variable. Use it instead of
4702 object-suffixes for generating compilation rules.
4703 (rmobjs): Also remove *.oS.
4704 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
4705 ($(objpfx)stamp.oS): New target.
4706
47071998-03-26 Ulrich Drepper <drepper@cygnus.com>
4708
4709 * Makefile (FAQ): Automatically check in regenerated FAQ.
4710
47111998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
4712
4713 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
4714
68b50604
UD
47151998-03-25 Ulrich Drepper <drepper@cygnus.com>
4716
6f5ea8c7
UD
4717 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
4718 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
4719
4720 * sysdeps/generic/stub_warning: Removed.
4721
4722 * Makefile (distribute): Add include/des.h.
4723
4724 * manual/Makefile (distribute): Change dir-add.texi to
4725 dir-add.texinfo.
4726
68b50604
UD
4727 * glibcbug.in: Create files safely when mktemp is not available.
4728
4729 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
4730 Patch by a sun <asun@saul1.u.washington.edu>.
4731
47321998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4733
4734 * libc.map: Rename getname to getnetname.
4735
47361998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
4737
4738 * manual/maint.texi: Use supported platform in examples.
4739
4740 * manual/install.texi: Document some installation tips.
4741
47421998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
4743
4744 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
4745 Fix a bug so that it returns an error if a numeric parameter is
4746 unset and WRDE_UNDEF is set.
4747 Patch by Andreas Schwab and Tim Waugh.
4748 * posix/wordexp-test.c: Add new new test.
4749
47501998-03-25 Ulrich Drepper <drepper@cygnus.com>
4751
4752 * posix/regex.c (regex_compile): Last patch wasn't entirely
4753 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
4754
47551998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4756
4757 * manual/filesys.texi (Scanning Directory Content): Fix typo.
4758
47591998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
4760
4761 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
4762 clobbered registers don't appear as operands.
4763
09515d67
UD
47641998-03-24 Ulrich Drepper <drepper@cygnus.com>
4765
06698672
UD
4766 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
4767 Solaris' sake.
4768
09515d67
UD
4769 * posix/regex.c (regex_compile): Don't allow non-alphabet
4770 characters in character set name.
4771
e9fc7bbb
UD
47721998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
4773
4774 * posix/wordexp.c (w_newword): New function.
4775 (do_parse_glob): New function.
4776 (parse_glob): Use do_parse_glob. Now handles the case where a
4777 variable expansion causes a field-split.
4778 (wordexp): Use w_newword.
4779 (parse_arith): Likewise.
4780 (exec_comm): Likewise.
4781 (parse_comm): Likewise.
4782 (parse_param): Likewise.
4783 (parse_backtick): Likewise.
4784
47851998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
4786
4787 * posix/wordexp-tst.sh: Another test.
4788
4789 * posix/wordexp-test.c: Two new tests.
4790
4791 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
4792 directly (the code using realloc was buggy).
4793 (parse_param): Fix typo in comment.
4794
82cda1d7
UD
47951998-03-24 Ulrich Drepper <drepper@cygnus.com>
4796
3dd90163
UD
4797 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
4798
47991998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4800
4801 * libc.map: Add more rpc auth functions/variables.
4802
4803 * nscd/nscd.c: Add -g option to argp options.
4804
48051998-03-24 Ulrich Drepper <drepper@cygnus.com>
4806
4807 * configure.in: Be prepared for gcc 2.9.10 and up.
4808 * configure.in: Add missing disabling of quote characters in
4809 compiler version check. Reported by HJ Lu.
4810
48111998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4812
4813 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
4814
48151998-03-24 Ulrich Drepper <drepper@cygnus.com>
4816
4817 * intl/locale.alias: Fix spelling of romanian.
4818
82cda1d7
UD
4819 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
4820 (distribute): Remove des.h.
4821 * include/des.h: New file.
4822 * sunrpc/des.h: Moved to ...
4823 * sunrpc/rpc/rpc_des.h: ...here.
4824
4d42000c
UD
48251998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
4826
4827 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
4828 Fix paren.
4829
48301998-03-24 Ulrich Drepper <drepper@cygnus.com>
4831
4832 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
4833 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
4834
a853022c
UD
48351998-03-24 Ulrich Drepper <drepper@cygnus.com>
4836
4837 * elf/ldsodesf.h: New file.
4838 * elf/Makefile (distribute): Add ldsodefs.h.
4839 * elf/link.h: Separate internal information in exter header.
4840 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
4841 * elf/dl-minimal.c: Likewise.
4842 * sysdeps/generic/dl-sysdep.c: Likewise.
4843 * elf/sprof.c: Likewise.
4844 * elf/dlsym.c: Likewise.
4845 * elf/dlvsym.c: Likewise.
4846 * elf/dlerror.c: Likewise.
4847 * elf/dladdr.c: Likewise.
4848 * elf/dlclose.c: Likewise.
4849 * elf/dlopen.c: Likewise.
4850 * elf/dl-addr.c: Likewise.
4851 * elf/dl-close.c: Likewise.
4852 * elf/dl-debug.c: Likewise.
4853 * elf/dl-deps.c: Likewise.
4854 * elf/dl-error.c: Likewise.
4855 * elf/dl-fini.c: Likewise.
4856 * elf/dl-init.c: Likewise.
4857 * elf/dl-load.c: Likewise.
4858 * elf/dl-lookup.c: Likewise.
4859 * elf/dl-object.c: Likewise.
4860 * elf/dl-open.c: Likewise.
4861 * elf/dl-profile.c: Likewise.
4862 * elf/dl-reloc.c: Likewise.
4863 * elf/dl-runtime.c: Likewise.
4864 * elf/dl-support.c: Likewise.
4865 * elf/dl-symbol.c: Likewise.
4866 * elf/dl-version.c: Likewise.
4867 * sysdeps/generic/dl-cache.c: Likewise.
4868 * sysdeps/generic/libc-start.c: Likewise.
4869 * iconv/gconv_dl.c: Likewise.
4870 * nss/nsswitch.c: Likewise.
4871
b3a86ae1
UD
48721998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
4873
4874 * manual/nss.texi: The database is not called network but networks.
4875 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
4876
3911660e
UD
48771998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4878
4879 * configure.in: Correct test for compiler version.
4880 Check that LD_LIBRARY_PATH doesn't contain current path.
4881
789b13c4
UD
48821998-03-23 07:52 H.J. Lu <hjl@gnu.org>
4883
4884 * elf/dl-close.c (_dl_close): Fix byte count while removing
4885 the shared object from the global scope list and optimize
4886 a little bit.
4887
48881998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4889
4890 * manual/filesys.texi (Scanning Directory Content): Add missing
4891 closing brace.
4892 (Scanning Directory Content): Fix text.
4893
48941998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4895
4896 * manual/memory.texi (Heap Consistency Checking): Add paragraph
4897 explaining difference of -lmcheck and MALLOC_CHECK_.
4898
48991998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4900
4901 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
4902 typos in comments.
4903
49041998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4905
4906 * test-skeleton.c (main): Fix test for exit signal.
4907
49081998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4909
4910 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
4911
49121998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4913
4914 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
4915 appropriate.
4916
49171998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4918
4919 * libc.map: Export __strtok_r.
4920
49211998-03-23 Ulrich Drepper <drepper@cygnus.com>
4922
4923 * posix/regex.c (re_compile_fastmap): Remove unused variable
4924 num_regs and adjust comment.
4925 Patch by Jim Meyering <meyering@ascend.com>.
4926
4927 * math/math.h (M_*l): Extend long double constants to be usable
4928 for 128 bit floats. Patch by Richard Henderson.
4929
49301998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6345b9ac
AS
4931
4932 * sysdeps/m68k/m68020/wordcopy.S: New file.
4933
1f4a9ebd
UD
49341998-03-22 Ulrich Drepper <drepper@cygnus.com>
4935
4936 * posix/wordexp.c: Rewrite parse_param.
789b13c4 4937 Patch by Tim Waugh and Andreas Schwab.
1f4a9ebd 4938
2c8d89e7
UD
49391998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
4940
4941 * Rules: Update timestamps on empty object files.
4942
5679cdb6
UD
49431998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
4944
4945 * manual/filesys.texi (Scanning Directory Content): Add description
4946 of 64 bits scandir function and friends.
4947
dfae7a59
UD
49481998-03-20 Ulrich Drepper <drepper@cygnus.com>
4949
4950 * glibcbug.in: Use mktemp to generate unique file name for
4951 temporary files.
4952
4953 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
4954 ptsname_r. Use cast for execve call.
4955
867506f3
UD
49561998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
4957
4958 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
4959 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
4960 * io/sys/statvfs.h: New file.
4961 * sysdeps/generic/fstatvfs.h: New file.
4962 * sysdeps/generic/statvfs.h: New file.
4963 * sysdeps/generic/fstatvfs64.h: New file.
4964 * sysdeps/generic/statvfs64.h: New file.
4965 * sysdeps/generic/bits/statvfs.h: New file.
4966 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
4967 * sysdeps/unix/sysv/linux/statvfs.c: New file.
4968 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
4969
4970 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
4971 and f_ffree elements.
4972
4973 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
4974 mount options in enum.
4975
8e31cf7e
UD
49761998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4977
4978 * configure.in: Check for recent egcs/gcc.
4979
0f648b63 49801998-03-20 Ulrich Drepper <drepper@cygnus.com>
89a9e37b 4981
0f648b63 4982 * libc.map: Add alphasort64, scandir64, versionsort64.
89a9e37b
UD
4983 * dirent/Makefile (routines): Add scandir64, alphasort64, and
4984 versionsort64.
4985 * dirent/alphasort64.c: New file.
4986 * dirent/scandir64.c: New file.
4987 * dirent/versionsort64.c: New file.
4988 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
4989 versionsort.
4990 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
4991 old name weak alias.
4992 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4993
4994 * dirent/alphasort.c: Use strcoll instead of strcmp.
4995
4996 * dirent/scandir.c: Optimize a bit.
4997
4998 * dirent/versionsort.c: Pretty print.
4999
50001998-03-20 Ulrich Drepper <drepper@cygnus.com>
5001
5002 * string/string.h: Add prototype for __strtok_r.
5003
9c1a1da9
UD
50041998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5005
5006 * posix/Makefile: Fix typo in last change.
5007
50081998-03-20 Ulrich Drepper <drepper@cygnus.com>
5009
5010 * dirent/dirent.h (scandir): Make argument of select function const.
5011 * dirent/scandir.c (scandir): Likewise.
5012 Reported by David.Faure@insa-lyon.fr [PR libc/512].
5013
838e5ffe
UD
50141998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
5015
5016 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5017 weak alias.
5018 * sysdeps/i386/strtok_r.c: Likewise.
5019
5020 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5021 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5022 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5023 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5024 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5025 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5026
50271998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5028
5029 * intl/localealias.c: Remove unneeded define for strdup.
5030
50311998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
5032
5033 * manual/argp.texi: Adjust for better TeX output.
5034 * manual/arith.texi: Likewise.
5035 * manual/conf.texi: Likewise.
5036 * manual/filesys.texi: Likewise.
5037 * manual/header.texi: Likewise.
5038 * manual/lgpl.texinfo: Likewise.
5039 * manual/math.texi: Likewise.
5040 * manual/message.texi: Likewise.
5041 * manual/pattern.texi: Likewise.
5042 * manual/process.texi: Likewise.
5043 * manual/signal.texi: Likewise.
5044 * manual/socket.texi: Likewise.
5045 * manual/startup.texi: Likewise.
5046 * manual/stdio.texi: Likewise.
5047 * manual/terminal.texi: Likewise.
5048 * manual/examples/rprintf.c: Likewise.
5049 * manual/examples/testopt.c: Likewise.
5050 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5051
50521998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
5053
5054 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5055 parameter name after seeing a digit if it's enclosed in braces.
5056
9c1a1da9
UD
50571998-03-18 Ulrich Drepper <drepper@cygnus.com>
5058
5059 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5060
7551a1e5
UD
50611998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5062
5063 * manual/memory.texi (Heap Consistency Checking): Document
5064 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
5065
50661998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
5067
5068 * manual/Makefile: Add missing rules.
5069
50701998-03-18 Ulrich Drepper <drepper@cygnus.com>
5071
5072 * timezone/Makefile (generated): Define to remove all stamp files.
5073
5074 * sysdeps/generic/strsep.c: Also undefine __strsep.
5075
5076 * string/strdup.c: Undefine __strdup and strdup first.
5077 * string/strndup.c: Likewise.
5078
5079 * string/bits/string2.h: Correct strtok_r and strsep.
5080 Add strndup optimization.
5081
5082 * sysdeps/generic/strsep.c: Little optimization.
5083
31161268
UD
50841998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
5085
5086 * string/bits/string2.h: Add optimization for strdup.
5087 Always define __strsep and __strtok_r and make real names available
5088 when feature select macros are defined.
5089
50901998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5091
5092 * manual/install.texi (Installation): Use i486-linux as example
5093 instead of the unsupported sunos4.
5094 (Reporting Bugs): Mention glibcbug script.
5095 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5096
50971998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5098
5099 * posix/wordexp-tst.sh: Make portable. Add more tests.
5100
5101 * posix/Makefile (do-globtest do-wordexp-test): New targets.
5102
51031998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
5104
5105 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5106 * sysdeps/generic/libc-start.c: ...here, replacing former content.
5107
5108 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5109 netpacket/packet.h.
5110
5111 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5112
51131998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5114
5115 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5116 in enumerator for strict standard compliance.
5117 * sysdeps/generic/bits/resource.h: Likewise.
5118
51191998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
5120
5121 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5122 (PLTJMP): New macro.
5123
5124 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5125 longjmp() when floating point enabled.
5126 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5127 * sysdeps/arm/__longjmp.S: Remove floating point code.
5128 * sysdeps/arm/setjmp.S: Likewise.
5129
5130 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5131 * sysdeps/arm/bsd-_setjmp.S: Likewise.
5132
5133 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5134 memset().
5135
5136 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5137 prototype.
5138
51391998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
5140
5141 Based on patches from Pat Beirne and Scott Bambrough:
5142
5143 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5144
5145 * sysdeps/arm/bits/fenv.h: New file.
5146
5147 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
5148 * sysdeps/arm/elf/setjmp.S: Likewise.
5149 * sysdeps/arm/elf/start.S: Likewise.
5150 * sysdeps/arm/init-first.c: Likewise.
5151 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5152 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
5153 comment about floating point to reflect current reality.
5154
5155 * sysdeps/unix/arm/brk.S: Support PIC.
5156 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5157 re-entrant code.
5158 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5159 return; call syscall_error through PLT.
5160 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5161
51621998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
5163
5164 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5165 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5167
80a18298
UD
51681998-03-18 Ulrich Drepper <drepper@cygnus.com>
5169
5170 * dirent/list.c (test): Return error value.
5171 (main): Exit with error value.
5172
5173 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
5174
5175 * Makefile (distribute): Add test-skeleton.c.
5176 * test-skeleton.c: New file.
5177 * dirent/Makefile (tests): Add opendir-tst1.
5178 * dirent/opendir-tst1.c: New file.
5179
9eecb5e8
UD
51801998-03-18 Ulrich Drepper <drepper@cygnus.com>
5181
5182 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
80a18298 5183 Optimize memory handling.
9eecb5e8
UD
5184 * sysdeps/unix/closedir.c: Optmize memory handling.
5185
48869012
UD
51861998-03-17 Ulrich Drepper <drepper@cygnus.com>
5187
5188 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
5189 handling. Optimize a bit.
5190
3c20b9b6
UD
51911998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
5192
5193 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
5194 (parse_param): Fold in Andreas' fixes to do with when the end of
5195 the parameter name has been reached, and quoting inside ${...}.
5196 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
5197 $((echo);(ls)).
5198
51991998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
5200
5201 * manual/maint.texi: Split out installation and contribution
5202 sections to their own appendices. Misc cleanups.
5203 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
5204 * manual/contrib.texi: New file.
5205 * manual/libc.texinfo: Pull in new appendices.
5206 * manual/header.texi: Correct node pointer.
5207
52081998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5209
5210 * manual/process.texi (Process Completion): Clarify return value
5211 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
5212
22bc7978
UD
52131998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5214
5215 * posix/wordexp-test.c: Add more tests.
5216 (testit): Fix logic.
5217
5218 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
5219 /dev/null instead of closing it, close pipe. Always chop off all
5220 trailing newlines. Kill and reap child before returning error.
5221 (w_addword, parse_glob): Fix memory leak.
5222 (wordexp): Fix dangling pointer problem.
5223
52241998-03-16 Ulrich Drepper <drepper@cygnus.com>
5225
5226 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
5227
5228 * posix/wordexp-test.c (main): Fix little thinkos and typos.
5229
5230 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
5231 directory index by only the language.
5232
67600288
UD
52331998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
5234
5235 * posix/wordexp-tst.sh: Store test results in the
5236 ${common_objpfx}posix directory.
5237
5238 * posix/wordexp-test.c: Remove temporary directory afterwards.
5239
f649c201
UD
52401998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5241
5242 * libc.map: Export internal versions of cancelable functions.
5243
52441998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5245
5246 * Makerules (MAKEFLAGS): Append `r'.
5247
52481998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5249
5250 * Makeconfig: Define have-thread-library, shared-thread-library
5251 and static-thread-library if a thread library is available. Don't
5252 define rt.
5253 * nscd/Makefile: Compile nscd if have-thread-library. Rename
5254 nscd-routines to nscd-modules. Use shared-thread-library and
5255 static-thread-library in dependencies.
5256 * rt/Makefile: Only compile librt if have-thread-library is
5257 defined.
5258 * Makefile (subdirs): Always include rt subdir.
5259
52601998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5261
5262 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
5263
9a97d1f7
UD
52641998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
5265
5266 * configure.in: Recognize variations for 32 MIPS processors.
5267 Don't assume ELF systems always have .weak, test for .weakext.
5268
ba909880
UD
52691998-03-14 Ulrich Drepper <drepper@cygnus.com>
5270
5271 * configure.in: Irix6 is an ELF platform.
5272
f802accb
UD
52731998-03-14 11:47 H.J. Lu <hjl@gnu.org>
5274
5275 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
5276 unmapping the last loaded segment.
5277
52781998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
5279
5280 * configure.in: Set base_os for Irix6.
5281 Correct test for .weakext.
5282
52831998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5284
5285 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
5286 (new_line) to _dl_debug_message call.
5287
76fbcfdd
UD
52881998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
5289
5290 * posix/wordexp.c (parse_param): Perform field-splitting after
5291 expanding positional parameter.
5292
5293 * posix/wordexp-tst.sh: Test that field-splitting is performed
5294 after expanding positional parameter.
5295
5296 * posix/wordexp.c (parse_param): Fixed memory leak in
5297 field-splitting after parameter expansion.
5298
52991998-03-14 Ulrich Drepper <drepper@cygnus.com>
5300
f802accb 5301 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
76fbcfdd
UD
5302 (get_toplvl_escape): Correctly terminate loop at EOF.
5303 Patch by Cristian Gafton <gafton@redhat.com>.
5304
14c44e2e
UD
53051998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
5306
5307 * string/tester.c (test_strpbrk): Add more strpbrk tests.
5308 (test_strsep): Likewise. Correct horrible bugs.
5309
5310 * string/bits/string2.h (strcspn): Optimize also reject string of
5311 length 2 and 3.
5312 (strspn): Likewise.
5313 (strpbrk): Likewise.
5314 (strsep): Likewise. Correct bug with successive separators and
5315 separators at the end of the string.
5316 * sysdeps/generic/strsep.c: Correct bug with successive separators
5317 and separators at the end of the string.
5318
53191998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
5320
5321 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
5322 etc) now handled, as well as $$ (pid).
5323
5324 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
5325 (distribute): Add wordexp-tst.sh.
5326
5327 * posix/wordexp-tst.sh: New file.
5328
5329 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
5330 number of positional parameters. Renamed substitute_length to
5331 seen_hash.
5332 Don't free(env) is env is NULL.
5333
53341998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
5335
5336 * libc.map: Add pthread_attr_init to GLIBC_2.1.
5337
53381998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
5339
5340 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
5341 for output file replacing gmon.out.
5342 Patch by Dean Gaudet <dgaudet@arctic.org>.
5343
53441998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5345
5346 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
5347 up namespace. Optimize finding end of line.
5348
53491998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5350
5351 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
5352 securely. Optimized.
5353 (process_dl_debug): Add ':' to list of separators. Optimized.
5354
53551998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
41bc874b
AS
5356
5357 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
5358 isless, islessequal, islessgreater, isunordered): Return zero or
5359 one.
5360
8d9618b7
UD
53611998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
5362
5363 * posix/wordexp-test.c: More tests.
5364 (main): Set up arena for pathname expansion tests (in a temporary
5365 directory).
5366 (testit): Don't check word count or word vector if return value is
5367 non-zero.
5368
5369 * posix/wordexp.c (exec_comm): Always chop off terminating
5370 linefeed (just like bash does).
5371 (parse_param): Change lots of occurrences of "if (!*env)" to "if
5372 (!env || !*env)".
5373 (parse_param): For assignment inside parameter expansion, use all
5374 expanded words in assignment rather than just the first.
5375 (parse_param): Corrected return value for parameter expansion of
5376 an unset variable when WRDE_UNDEF is in effect.
5377 (parse_dollars): Don't field-split if quoted.
5378 (wordexp): Opening brace character isn't allowed unquoted.
5379
53801998-03-12 Ulrich Drepper <drepper@cygnus.com>
5381
5382 * elf/dlerror.c: Fix concurrency problems with error string and
5383 number.
5384
5385 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
5386 filter/auxiliary are being loaded.
5387
53881998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
5389
5390 * elf/dlerror.c (last_object_name): Removed.
5391 (dlerror): Don't use last_object_name.
5392 (_dl_error_run): Omit second argument to _dl_catch_error.
5393 * elf/dl-error.c (struct catch): Remove objname member.
5394 (_dl_signal_error): Construct string including objname when given.
5395 (_dl_catch_error): Remove objname handling.
5396 * elf/link.h (_dl_catch_error): Fix prototype and comment.
5397 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
5398 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
5399 * nss/nsswitch.c (nss_dlerror_run): Likewise.
5400 * iconv/gconv_dl.c (dlerror_run): Likewise.
5401 [Corrects PR libc/501].
5402
eb13b9a0
UD
54031998-03-12 Matthias Urlichs <smurf@noris.de>
5404
5405 * nscd/nscd.c: Ignore SIGPIPE.
5406
54071998-03-12 Ulrich Drepper <drepper@cygnus.com>
5408
5409 * nscd/nscd_getgr_r.c: Use __ protected names.
5410 * nscd/nscd_getpw_r.c: Likewise.
5411
54121998-03-12 Matthias Urlichs <smurf@noris.de>
5413
5414 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
5415 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
5416 null bytes are not transmitted.
5417
54181998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5419
5420 * powerpc/syscalls.list: Correct typo.
5421 * alpha/syscalls.list: Likewise.
5422 * mips/syscalls.list: Likewise.
5423
54241998-03-12 Ulrich Drepper <drepper@cygnus.com>
5425
5426 * socket/sys/socket.h: Add prototype for __socket.
5427
441e4132
UD
54281998-03-10 Ulrich Drepper <drepper@cygnus.com>
5429
5430 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
5431
5432 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
5433 constants.
5434
5435 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
5436 definition here.
5437 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
5438 definition here.
5439
5440 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
5441 AF_* and PF_* constants.
5442
5443 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
5444
2bcf29ba
UD
54451998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
5446
5447 * elf/rtld.c: Update help message.
5448 Install link maps for preloaded objects using main_map as loader.
5449
5450 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
5451 * elf/dl-profile.c: Likewise.
5452
5453 * elf/dlsym.c: Little optimization.
5454 * elf/dlvsym.c: Likewise.
5455
54561998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
5457
5458 * posix/wordexp-test.c: Move test for parameter list at the very
5459 beginning.
5460
54611998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
5462
5463 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
5464 WRDE_REUSE flag is set.
5465 (parse_param): Allow `*', `@', and numbers in parameter names.
5466 (parse_dollars): Differentiate between arithmetic expansion and a
5467 command substitution that starts immediately with a sub-shell
5468 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
5469 (parse_param): Memory allocated with __alloca in a block was
5470 referenced outside that block. Adjusted to use malloc/free.
5471 (parse_param): Adjusted field-splitting algorithm so that there is
5472 not necessarily a field split at the end of a parameter expansion.
5473
54741998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
5475
5476 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
5477 don't free words that have already been allocated.
5478 (parse_param): A dollar sign on its own will never have a pattern
5479 associated with it (like "${HOME%%/}" has), so don't try to free it.
5480 (parse_glob): Attempt to glob when an unquoted `[' is found
5481 (rather than an unquoted '{' (!)). Also for unquoted '?'.
5482 (parse_glob): Sorted out quoting in a glob-able word.
5483 (parse_param): Added $* and $@ handling.
5484
3d76e778
UD
54851998-03-11 Ulrich Drepper <drepper@cygnus.com>
5486
5487 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
5488 parsing it.
5489
bc526b60
UD
54901998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5491
5492 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5493 _dl_debug_message.
5494
54951998-03-12 Matthias Urlichs <smurf@noris.de>
5496
5497 * elf/dl-misc.c: Default for debug output should be stderr.
5498 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
5499 * elf/dl-lookup.c: reference_name may be NULL or empty.
5500
55011998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5502
5503 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
5504
55051998-03-11 Ulrich Drepper <drepper@cygnus.com>
5506
5507 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
5508
5509 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
5510
55111998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5512
5513 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
5514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5515
55161998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
c637edea
AS
5517
5518 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
5519 init stuff.
5520
fe848e93
UD
55211998-03-10 Ulrich Drepper <drepper@cygnus.com>
5522
5523 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
5524 flag.
5525
5526 * misc/syslog.c (vsyslog): Don't try to send if not connected to
5527 syslog daemon.
5528 (closelog_internal): Don't do anything if not connected.
5529
8193034b
UD
55301998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
5531
5532 * libc.map: Add _dl_debug_message.
5533 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
5534 before every line.
5535 * elf/fini.c: Correctly use new _dl_debug_message function.
5536 * elf/init.c: Likewise.
5537 * elf/dl-lookup.c: Likewise.
5538 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5539 * elf/dl-load.c: Likewise. Add more debugging prints.
5540 * elf/dl-reloc.c: Likewise.
5541 * elf/dl-version.c: Likewise.
5542 * elf/dl-support.c: Add variables for debugging.
5543 * elf/rtld.c: Likewise. Recognize new debug options.
5544 * elf/link.h: Declare new variables.
5545
5546 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
5547
db0b91a9
UD
55481998-03-10 Ulrich Drepper <drepper@cygnus.com>
5549
8193034b
UD
5550 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
5551 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
5552
55531998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
5554
5555 * posix/wordexp-test.c (command_line_test): New function to allow
5556 testing of specific cases from the command-line.
5557
55581998-03-10 Ulrich Drepper <drepper@cygnus.com>
5559
5560 * elf/dl-init.c (_dl_init_next): Print nicer messages.
5561 * elf/dl-fini.c (_dl_fini): Likewise.
5562 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
5563
db0b91a9
UD
5564 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
5565 symbol in debug message.
5566 (_dl_lookup_versioned_symbol_skip): Likewise.
5567
c063ba61
UD
55681998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
5569
db0b91a9 5570 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
c063ba61 5571 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
db0b91a9 5572 * manual/filesys/texi: Document this.
c063ba61 5573
54fce91d
UD
55741998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
5575
5576 * manual/filesys.texi: Document the change below.
5577
6a440665
UD
55781998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5579
77aba05b
UD
5580 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
5581 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6a440665 5582
de100ca7
UD
55831998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
5584
5585 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
5586 instead scope. If debugging display information about symbol
5587 resolving.
5588 (_dl_lookup_symbol): Call do_lookup with correct parameters.
5589 (_dl_lookup_symbol_skip): Likewise.
5590 (_dl_lookup_versioned_symbol): Likewise.
5591 (_dl_lookup_versioned_symbol_skip): Likewise.
5592 * elf/dl-support.c: Define _dl_debug_symbols.
5593 * elf/link.h: Add declaration for _dl_debug_symbols.
5594 * elf/rtld.c: Define _dl_debug_symbols.
5595 (process_dl_debug): Recognize symbols option.
5596
1393c745
UD
55971998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
5598
5599 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
5600 in correct format.
5601 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
5602 with correct parameters.
5603 [!PIC]: Initialize __libc_multiple_libcs.
5604
0c367d92
UD
56051998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
5606
5607 * elf/dl-support.c (_dl_debug_bindings): Add definition.
5608 * elf/rtld.c (_dl_debug_bindings): Add definition.
5609 (process_dl_debug): Recognize bindings option. Update help message.
5610 * elf/link.h (struct link_map): Add l_versyms member.
5611 (_dl_debug_bindings): Add declaration.
5612 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
5613 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
5614 and l_reloc_result.
5615 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
5616 (sym_val): Remove a member, add m as link_map.
5617 (do_lookup): Return result appropriately.
5618 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
5619 Call do_lookup correctly.
5620 (_dl_lookup_symbol_skip): Likewise.
5621 (_dl_lookup_versioned_symbol): Likewise.
5622 (_dl_lookup_versioned_symbol_skip): Likewise.
5623
19212f87
UD
56241998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
5625
5626 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
5627 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
5628
5629 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
5630 * libc.map: Add chown to GLIBC_2.1.
5631 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
5632 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
5633
56341998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5635
5636 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
5637 weak alias.
5638 * sysdeps/alpha/ffs.c: Likewise.
5639 * sysdeps/am29k/ffs.c: Likewise.
5640 * sysdeps/i386/ffs.c: Likewise.
5641 * sysdeps/i960/ffs.c: Likewise.
5642 * sysdeps/m68k/ffs.c: Likewise.
5643 * sysdeps/m88k/ffs.c: Likewise.
5644 * sysdeps/powerpc/ffs.c: Likewise.
5645 * sysdeps/rs6000/ffs.c: Likewise.
5646 * sysdeps/vax/ffs.s: Likewise.
5647 * string/string.h: Declare __ffs.
5648 * libc.map: Export it.
5649 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
5650 __builtin_ffs, which is not guaranteed to be namespace clean.
5651
56521998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5653
5654 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
5655 table, which is much more likely to exist than debugging symbols.
5656 (printsym): Remove const.
5657 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
5658 header table.
5659
5660 * libc.map: Export __profile_frequency, used by elf/sprof, to
5661 avoid infinite recursion during startup.
5662
56631998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2bc91a73
AS
5664
5665 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
5666 Readd lost negate.
5667
5668 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
5669
267e3696
UD
56701998-03-09 Ulrich Drepper <drepper@cygnus.com>
5671
5672 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
5673
120b4c49
UD
56741998-03-08 Ulrich Drepper <drepper@cygnus.com>
5675
5676 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
5677 LD_PRELOAD, and LD_VERBOSE.
5678 (dl_main): Use global variables set by process_envvars instead of
5679 calling getenv.
5680 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
5681 LD_LIBRARY_PATH value, this comes with the parameter.
b4debac9
UD
5682 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
5683 ("LD_LIBRARY_PATH") to _dl_init_paths.
120b4c49 5684
97a51d8a
UD
56851998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
5686
5687 * elf/rtld.c (dl_main): Delay initialization of path structure if
5688 the dynamically linker is invoked implicitly until we read the
5689 dynamic section.
5690
d9165158
UD
56911998-03-08 Ulrich Drepper <drepper@cygnus.com>
5692
5693 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
5694
1581459f
UD
56951998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5696
5697 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
5698 Linux 2.0 and 2.1.
5699
5700 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
5701
3db52d94
UD
57021998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
5703
5704 * Makeconfig (nisobjdir): Set to path to nis directory.
5705 (rpath-link): Add nisobjdir.
5706 Patch by Sven Verdoolaege <skimo@kotnet.org>.
5707
5708 * elf/Makefile: Pretty print.
5709 * elf/dl-lookup.c: Include unistd.h.
5710 * elf/dl-runtime.c: Likewise.
5711
5712 * localedata/Makefile (test-srcs): Add tst-rpmatch.
5713 (distribute): Add tst-rpmatch.sh.
5714 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
5715
5716 New tests for rpmatch function by
5717 Jochen Hein <jochen.hein@delphi.central.de>.
5718 * localedata/tst-rpmatch.c: New file.
5719 * localedata/tst-rpmatch.sh: New file.
5720
5721 * localedata/locales/de_DE: Correct yesexpr and noexpr.
5722 * localedata/locales/de_AT: Likewise.
5723
5724 * posix/getopt.c: Update contact address.
5725 * posix/getopt1.c: Pretty print.
5726
5727 * sysdeps/generic/libc-start.c: Do most of the initialization now
5728 here instead of in start.S.
5729 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5730 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
5731
5732 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
5733 profil_counter to be public.
5734
57351998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
5736
5737 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
5738 (parse_param): Coded parameter length expansion (${#var}).
5739 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
5740 (parse_param): Cleaned up (fixed) error handling.
5741
5742 * posix/wordexp-test.c: IFS now includes non-whitespace character
5743 (comma). Added more tests.
5744
a78de796
UD
57451998-03-07 Ulrich Drepper <drepper@cygnus.com>
5746
5747 * elf/link.h: Fix typos.
5748 Reported by Andreas Jaeger.
5749
5750 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
5751 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
5752
b7296fd4
UD
57531998-03-06 Ulrich Drepper <drepper@cygnus.com>
5754
5755 * argp/argp-help.c: Remove last bits of using gettext instead of
5756 dgettext.
5757
7dea968e
UD
57581998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
5759
5760 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
5761 __libc_start_main.
5762 * csu/Makefile (routines): Add libc-start.
5763 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
5764 * elf/dl-lookup.c: Likewise.
5765 * elf/dl-version.c: Likewise.
5766 * sysdeps/i386/dl-machine.h: Likewise.
5767 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
5768 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
5769 _dl_sysdep_message macros which use _dl_sysdep_output.
5770 * elf/dl-fini.c: Write out which destructor is called while debugging.
5771 * elf/dl-init.c: Likewise for constructor.
5772 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
5773 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
5774 _dl_sysdep_message. Add _dl_sysdep_output.
5775 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
5776 this file can be opened.
5777 For LD_DEBUG=libs also set _dl_debug_impcalls.
5778 * sysdeps/generic/dl-cache.c: Include unistd.h.
5779 * sysdeps/generic/libc-start.c: New file.
7dea968e 5780 * sysdeps/unix/sysv/linux/libc-start.c: New file.
a78de796 5781 * sysdeps/i386/elf/start.S: Don't call main directly, call
7dea968e
UD
5782 __libc_start_main instead.
5783
5784 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
5785
4b7814cf
UD
57861998-03-06 Ulrich Drepper <drepper@cygnus.com>
5787
5788 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
5789
9184d3db
UD
57901998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
5791
5792 * argp/argp.h (struct argp): Add new field domain.
5793 * argp/argp-help.c: Change all gettext calls to dgettext and use
5794 domain field from appropriate argp in call.
5795 * argp/argp-parse.c: Likewise.
5796
ac16e905
UD
57971998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
5798
5799 * posix/wordexp-test.c: Change testsuite so that it can run even
5800 for ~root != /root.
5801
58021998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5803
5804 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
5805
58061998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5807
5808 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5809 Don't store into global errno if we already store through
5810 __errno_location.
5811 * sysdeps/unix/i386/sysdep.S: Likewise.
5812 * sysdeps/unix/alpha/sysdep.S: Likewise.
5813 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5814 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
5816 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
5817 PIC).
5818
58191998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5820
5821 * sysdeps/generic/sysdep.h (L): Remove definition.
5822 * sysdeps/i386/sysdep.h (L): Define it here instead.
5823
36a8586d
UD
58241998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5825
a78de796 5826 * nis/nis_call.c (__do_niscall): Safe and reset errno.
36a8586d 5827
a78de796 5828 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
36a8586d 5829
b3c06869
UD
58301998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5831
5832 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
5833 declaration style to avoid warnings.
5834
08b511e6
UD
58351998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
5836
5837 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
5838 "LD_DEBUG".
5839
7c57c32d
UD
58401998-03-05 Ulrich Drepper <drepper@cygnus.com>
5841
5842 * posix/Makefile (tests): Add wordexp-test.
5843 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
5844 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
5845
58461998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
5847
5848 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
5849 dependencies.
5850
5851 * elf/link.h (struct r_search_path_elem): Add two new field for
5852 lib path debugging.
5853 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
5854 variable accordingly.
5855 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
5856 is considered next along with information about load paths.
5857 * sysdeps/generic/dl-cache.c: Likewise.
5858 * elf/dl-support.c: Define _dl_debug_libs.
5859 * elf/genrtldtbl.awk: Add initializers for two new field in
5860 struct r_search_path_elem.
5861
58621998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9f2990db
AS
5863
5864 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
5865 * sysdeps/m68k/lshift.S: Likewise.
5866 * sysdeps/m68k/rshift.S: Likewise.
5867 * sysdeps/m68k/sub_n.S: Likewise.
5868 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
5869 * sysdeps/m68k/m68020/mul_1.S: Likewise.
5870 * sysdeps/m68k/m68020/submul_1.S: Likewise.
5871
5872 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
5873 [_LIBC_REENTRANT]: Don't store into global errno.
5874
5875 * sysdeps/m68k/sysdep.h: New file.
5876 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
5877 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
5878 (DO_CALL): Change to expect syscall name as argument.
5879 (PSEUDO): Pass syscall_name to DO_CALL.
5880 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
5881 errno.
5882
ea278354
UD
58831998-03-05 Ulrich Drepper <drepper@cygnus.com>
5884
5885 * elf/rtld.c: Speed up processing of environment variables. Do
5886 only one run on the environment by avoiding to call getenv.
5887 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
5888 function. Used by patch above.
5889
ac16e905 58901998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
ea278354 5891
ac16e905
UD
5892 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
5893 running nscd.
5894 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
5895 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
5896 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
ea278354
UD
5897
58981998-03-05 Ulrich Drepper <drepper@cygnus.com>
5899
5900 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
5901 module cannot be found. Reported by Andreas Jaeger.
5902
59031998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5904
5905 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
5906 on platforms which default to unsigned chars.
5907 * nscd/nscd_getpw_r.c: Likewise.
5908 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
5909 defining it.
5910
59111998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5912
5913 * elf/Makefile (install-bin): Change = to += for sprof to install
5914 ldd also.
5915
2eb45444
UD
59161998-03-04 16:12 H.J. Lu <hjl@gnu.org>
5917
5918 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
5919
59201998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
5921
5922 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
5923
59241998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5925
5926 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
5927 that a failure to connect to nscd doesn't change errno.
5928
59291998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5930
5931 * manual/maint.texi (Reporting Bugs): Change
5932 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
5933
5934 * locale/iso-4217.def: Likewise
5935
59361998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
5937
5938 * manual/texinfo.tex: Updated.
5939
59401998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5941
5942 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
5943 value.
5944 * sysdeps/posix/pathconf.c: Likewise.
5945 * posix/getconf.c: Print `undefined' if pathconf returns -1
5946 without setting errno.
5947
59481998-03-04 Ulrich Drepper <drepper@cygnus.com>
5949
5950 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
5951 problem.
5952 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
5953 Patches by Elliot Lee <sopwith@cuc.edu>.
5954
ea7eb7e3
UD
59551998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
5956
5957 * elf/link.h (struct link_map): Add new field l_reloc_result.
5958 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
5959 of relocation for the object to be profiled.
5960 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
5961 to NULL.
5962 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
5963 array here.
5964 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
5965 contains a result from a previous run use this instead of computing
5966 the value again.
5967 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
5968
59691998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
afdecda0
AS
5970
5971 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
5972 offsets into the GOT.
5973 (RTLD_START): Likewise.
5974
8fb3e007
UD
59751998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
5976
5977 * elf/sprof.c: Cleanup a bit.
5978
59791998-03-03 08:01 H.J. Lu <hjl@gnu.org>
5980
5981 * sysdeps/generic/sysdep.h (L): New. Define.
5982
5983 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
5984
5985 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
5986
5987 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
5988 to have only one exit point for functions.
5989 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5990 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
5991 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
5992 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5993 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5994
59951998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5996
5997 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
5998 reset errno so that errno isn't set to ENOSYS in the first call.
5999 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6000 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6001 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6002 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6003
ae828bc6
UD
60041998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
6005
6006 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6007 * sysdeps/i386/addmul_1.S: Likewise.
6008 * sysdeps/i386/lshift.S: Likewise.
6009 * sysdeps/i386/mul_1.S: Likewise.
6010 * sysdeps/i386/rshift.S: Likewise.
6011 * sysdeps/i386/sub_n.S: Likewise.
6012 * sysdeps/i386/submul_1.S: Likewise.
6013 * sysdeps/i386/i586/add_n.S: Likewise.
6014 * sysdeps/i386/i586/addmul_1.S: Likewise.
6015 * sysdeps/i386/i586/lshift.S: Likewise.
6016 * sysdeps/i386/i586/mul_1.S: Likewise.
6017 * sysdeps/i386/i586/rshift.S: Likewise.
6018 * sysdeps/i386/i586/sub_n.S: Likewise.
6019 * sysdeps/i386/i586/submul_1.S: Likewise.
6020
6021 * sysdeps/i386/sysdep.h: Extend last change.
6022
6023 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6024 to have only one exit point for functions.
6025
60261998-03-02 Ulrich Drepper <drepper@cygnus.com>
6027
6028 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
6029 search.
6030
60311998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
6032
6033 * Makerules: Generate libc.so with absolute paths for the used
6034 shared objects.
6035
6036 * config.make.in: Add MAKEINFO definition.
6037
60381998-03-02 Ulrich Drepper <drepper@cygnus.com>
6039
6040 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6041 (ENTRY): Use STABS_FUN.
6042 (END): Use STABS_FUN_END.
6043 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6044
6045 * elf/Makefile: Add rules to build sprof program.
6046 * elf/sprof.c: New file.
6047
60481998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6049
6050 * misc/syslog.c (openlog_internal): Insert missing closing brace.
6051
60521998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6053
6054 * configure.in: Check for working msgfmt version (from GNU gettext
6055 0.10 or later).
6056
60571998-03-02 Ulrich Drepper <drepper@cygnus.com>
6058
6059 * configure.in: Avoid //s in sysdirs.
6060 Patch by Roland McGrath.
6061
6062 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6063
60641998-03-02 07:17 H.J. Lu <hjl@gnu.org>
6065
6066 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6067 setting _dl_global_scope for RTLD_GLOBAL.
6068
60691998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6070
6071 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6072 possible lists of object-suffixes are taken care of.
6073
60741998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
6075
6076 * timezone/private.h: Update from tzcode1998c.
6077 * timezone/zic.c: Likewise.
6078 * timezone/antarctica: Updated from tzdata1998c.
6079 * timezone/asia: Likewise.
6080 * timezone/australasia: Likewise.
6081 * timezone/europe: Likewise.
6082 * timezone/southamerica: Likewise.
6083
60841998-03-02 Ulrich Drepper <drepper@cygnus.com>
6085
6086 * posix/glob.c (glob_in_dir): Add support for cases insensitive
6087 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6088
c2e3af6e
RH
60891998-03-01 19:05 H.J. Lu (hjl@gnu.org)
6090
6091 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6092 Changed type of TWO43, TWO52 from float to double.
6093 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6094 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6095 Changed type of TWO43 from float to double.
6096 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6097 Use __isinff.
6098
6356e131
RH
60991998-03-01 18:52 H.J. Lu (hjl@gnu.org)
6100
6101 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6102 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6103 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6104
489b7d4b
RH
61051998-03-01 09:11 Richard Henderson <rth@cygnus.com>
6106
6107 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6108 kernel_termios.h.
6109 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6110 Clean up random whitespace.
6111 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6112 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6114 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6115
61161998-03-01 08:31 Richard Henderson <rth@cygnus.com>
41df5ed4
RH
6117
6118 * shlib-versions: Match alpha*.
6119 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6120 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6121
6122 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6123 Implement copysign* with and without __ prefix.
6124 Likewise for fabs; use builtin for gcc 2.8.
6125 (floor*): New.
6126 (fdim*): New.
6127
6128 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6129 (R_SPARC*): Match current v9 ABI.
6130
6131 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6132
6133 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6134 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6135 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6136 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6137 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6138 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6139 * sysdeps/unix/grantpt.c (argv): Fix consts.
6140 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6141 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6142
f024c196
UD
61431998-02-27 Ulrich Drepper <drepper@cygnus.com>
6144
6145 * misc/syslog.c: Change to allow user the interpretation of the
6146 outcome even with syslog having no return value.
6147
61481998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
6149
6150 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6151 that the number of program headers is >0 (which is wrong for the
6152 loader itself).
6153
227d9931
UD
61541998-02-27 Ulrich Drepper <drepper@cygnus.com>
6155
6156 * Makefile (distribute): Add README.libm.
6157
61581998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6159
6160 * time/clocktest.c (main): Correct typo: "--" -> "==".
6161
61621998-02-25 20:53 H.J. Lu <hjl@gnu.org>
6163
6164 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6165 inline function.
6166 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6167 inline functions.
6168
6169 * math/libm.map (__atan2): Added.
6170
a7f804d8
UD
61711998-02-27 Ulrich Drepper <drepper@cygnus.com>
6172
b8ce6e3e
UD
6173 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
6174