]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
5d47ceca
UD
11998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2
3 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
4 size_t is defined. Some reordering of defenitions to make
5 maintaining this file in parallel with the linux-specific file easier.
6
bd31edf2
UD
71998-09-13 Ulrich Drepper <drepper@cygnus.com>
8
9 * io/pwd.c (main): Add call to mtrace.
10
11 * malloc/mtrace.pl: Quote @ in string.
12
33c3e20e
UD
131998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
14
15 * posix/wordexp.c (parse_arith): Fix memory leaks.
16 (exec_comm): Likewise.
17 (parse_param): Likewise.
18 (wordexp): Likewise.
19 (exec_comm): Reduce number of function return points.
20 (parse_param): Likewise.
21 (wordexp): Likewise.
22
1720f4d0
UD
231998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
24
25 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
26 yield three fields, not two. Test both parameter expansion and
27 command substitution for correct field-splitting behaviour.
28
29 * posix/wordexp.c (w_emptyword): New function.
30 (parse_param): Use it.
31 (exec_comm): Likewise, for consistency with the way parse_param
32 splits fields.
33 (parse_param): Fix some memory leaks.
34
2d09b95d
UD
351998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
36
37 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
38 Don't mark asm `volatile'.
39 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
40 from the data cache too. Assume it isn't in the instruction cache yet.
41 (__elf_machine_fixup_plt): Clear the modified address from the caches.
42
b39c6f8b
UD
431998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
44
45 * sysdeps/generic/segfault.c (install_handler): Install signal
46 handler with SA_ONSTACK instead of setting the stack flags to
47 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
48 defined.
49
501998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
51
52 * signal/signal.h: Fix multiple inclusion guard to cover the
53 entire file.
54 * wcsmbs/wchar.h: Remove prototype of internal function
55 __mbsrtowcs.
56 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
57 arithmetic on `void *'.
58
c06cc21c
UD
591998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
60
61 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
62
63 * posix/wordexp.c (wordexp): Perform word-splitting instead of
64 field-splitting here.
65 (wordexp): If out of memory mid-word, free the word (but still
66 leave pwordexp alone for caller to see).
67 (parse_param): Allow for zero-length fields (smarter checking of
68 memory allocation failure).
69 (w_addword): Convert NULL words to "".
70 (wordexp): Convert left-over IFS characters to blanks (like bash).
71
81e0cb2d
UD
721998-09-11 Ulrich Drepper <drepper@cygnus.com>
73
350eb336
UD
74 * configure.in: Use test -f instead of test -e.
75 Patch by John Tobey <jtobey@banta-im.com>.
76
77 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
78 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
79 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
80 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
81 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
82 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
83 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
84 Patches by John Tobey <jtobey@banta-im.com>.
85
81e0cb2d
UD
86 * time/strftime.c (my_strftime): Delay use of *tp values until
87 latest possible point to allow partly initialized structures
88 (e.g., from strptime).
89
514d9bca
UD
90 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
91 and NATS-SEFI.
92 Define *-routines variables for new modules.
93 (distribute): Add .c files for new modules.
94 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
95 and nats-sefi.h.
96 Add rules for header generation.
97 * iconvdata/gconv-modules: Add entries for new modules.
98 * iconvdata/iso_10367-box.c: New file.
99 * iconvdata/mac-is.c: New file.
100 * iconvdata/nats-dano.c: New file.
101 * iconvdata/nats-sefi.c: New file.
102
81e0cb2d
UD
1031998-04-30 18:20 H.J. Lu <hjl@gnu.org>
104
105 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
106 loader if PIC is not defined.
107
ec04e9ba
UD
1081998-09-11 Ulrich Drepper <drepper@cygnus.com>
109
110 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
111 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
112 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
113 and ISO_5428.
114 Define *-routines variables for new modules.
115 (distribute): Add .c files for new modules.
116 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
117 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
118 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
119 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 120 Add rules for header generation.
ec04e9ba
UD
121 * iconvdata/gconv-modules: Add entries for new modules.
122 * iconvdata/csn_369103.c: New file.
123 * iconvdata/cwi.c: New file.
124 * iconvdata/dec-mcs.c: New file.
125 * iconvdata/ecma-cyrillic.c: New file.
126 * iconvdata/gost_19768-74.c: New file.
127 * iconvdata/greek-ccitt.c: New file.
128 * iconvdata/greek7-old.c: New file.
129 * iconvdata/greek7.c: New file.
130 * iconvdata/inis-8.c: New file.
131 * iconvdata/inis-cyrillic.c: New file.
132 * iconvdata/inis.c: New file.
133 * iconvdata/iso6937-2.c: New file.
134 * iconvdata/iso_2033.c: New file.
135 * iconvdata/iso_5427-ext.c: New file.
136 * iconvdata/iso_5427.c: New file.
137 * iconvdata/iso_5428.c: New file.
138
139 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
140 entries.
141 Convert U02dd correctly.
142
25c849b1
RH
1431998-09-11 20:46 Richard Henderson <rth@cygnus.com>
144
145 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
146 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
147 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
148 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
149
04795ad9
UD
1501998-09-11 Ulrich Drepper <drepper@cygnus.com>
151
152 * resolv/res_init.c (res_init): Handle resolv.conf file with only
153 one nameserver correctly. Patch by HJ Lu.
154
155 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
156 and ANSI_X3.110.
157 Define *-routines variables for new modules.
158 (distribute): Add .c files for new modules.
159 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
160 Add rules for hedaer generation.
161 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
162 * iconvdata/ansi_x3.110.c: New file.
163 * iconvdata/asmo_449.c: New file.
164 * iconvdata/baltic.c: New file.
165 * iconvdata/iec_p27-1.c: New file.
166
167 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
168 entries.
169 Convert U02dc correctly.
170
171 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
172 * math/atest-exp2.c: Likewise.
173 * math/atest-sincos.c: Likewise.
174
175 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
176 is defined.
177
1781998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
179
180 * string/strcoll.c: Optimize a few expressions.
181 * string/strxfrm.c: Likewise.
182
5e0889da
UD
1831998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
184
185 * manual/locale.texi: Fix typos.
186
2c86b2bc
UD
1871998-09-10 Ulrich Drepper <drepper@cygnus.com>
188
26afaa63
UD
189 * stdlib/random_r.c (__setstate_r): Allow call with same state
190 array as currently used (PR libc/774).
191
6c79e60c
UD
192 * include/limits.h: Include gcc's header even if this file is
193 found more than once before it (PR libc/778)
194
ec04e9ba
UD
195 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
196 (sysdep_headers): Remove sys/debugreg.h.
197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
198 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
199 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
200 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
201
2c86b2bc
UD
202 * stdio-common/tmpnam.c: Move local static variable buf to
203 toplevel and rename to tmpnam_buffer to ease debugging.
204 Patch by Joe Keane <jgk@jgk.org>.
205 Optimize s == NULL case a bit.
206
8e9f53fc
UD
207 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
208 correction.
209
482a3be2
UD
2101998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
211
212 * resolv/res_init.c (res_init): Initialize _res.nscount and
213 _res.nsaddr.sin_port differently for the can when no loopback
214 is available to allow immediate timeout in non-networking environments.
215 Patch by Cristian Gafton <gafton@redhat.com>.
216
e8238963
UD
2171998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
218
219 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
220 BAR and not EM DASH.
221 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
222 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
223 Fixes PR libc/717.
224
90865aa8
UD
2251998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
226
227 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
228 for test.
229 * timezone/tst-timezone.c (tests): Fix typo in last patch.
230
231 * time/tzfile.c (__tzfile_read): Handle case when there are no
232 transitions. Set __timezone based on computed offset.
233 * time/tzset.c (tzset_internal): Set __timezone before returning.
234
235 * time/tzset.c (tzset_internal): Optimize handling of local string
236 copy.
237
2381998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
239
240 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
241 libc/776).
242
adac8450
UD
2431998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
244
245 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
246 (csqrt_test): Likewise.
90865aa8 247 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 248
8e140239
UD
2491998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
250
251 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
252 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
253 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
254
78acf671
UD
2551998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
256
257 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
258 the special `-1' pointer.
259
6e4c40ba
UD
2601998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
261
262 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
263 inline.
264
2651998-09-07 Paul Eggert <eggert@twinsun.com>
266
267 * time/mktime.c (__EXTENSIONS__): Define if not defined.
268 (_REENTRANT): Remove. It has undesirable consequences in
269 Solaris 2.6 (e.g. it turns off the putc macro). Defining
270 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
271 is what we want.
272 * time/strftime.c: Likewise.
273
2741998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
275
276 * elf/dl-error.c: Fix spelling.
277
2781998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
279
280 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
281 * stdio-common/_itoa.c: Likewise.
282 * stdio-common/printf_fp.c: Likewise.
283 * stdio-common/vfscanf.c: Likewise.
284 * wcsmbs/wcstok.c: Likewise.
285 * sysdeps/generic/glob.c: Likewise.
286 * posix/getopt.c: Likewise.
287 * sysdeps/posix/getaddrinfo.c: Likewise.
288 * posix/wordexp.c: Likewise.
289 * io/ftw.c: Likewise.
290 * io/fts.c: Likewise.
291 * misc/getpass.c: Likewise.
292 * iconv/gconv_conf.c: Likewise.
293 * argp/argp-fmtstream.c: Likewise.
294 * argp/argp-help.c: Likewise.
295 * elf/dl-load.c: Likewise.
296 * locale/programs/stringtrans.c: Likewise.
297 * catgets/gencat.c: Likewise.
298 * posix/getconf.c: Likewise.
299 * iconv/gconv_conf.c: Likewise.
300 * iconv/iconv_prog.c: Likewise.
301
302 * string/strcoll.c: Optimize a few expressions.
303 * string/strxfrm.c: Likewise.
304
3051998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
306
307 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
308 level to avoid uninit variable warning.
309
3101998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 311
769ca810 312 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 313 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 314
2aa236b1
AS
315 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
316 C9x macro.
317
8ea4a95a
UD
3181998-09-08 Ulrich Drepper <drepper@cygnus.com>
319
6e4c40ba 320 Fix compatibility problems introduced in last change.
dc27836e
UD
321 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
322 defined.
323 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
324 -DWEAK_GMON_START to CFLAGS-initfini.s.
325
e4d50917
UD
326 * elf/dl-object.c (_dl_new_object): Store map address in
327 _dl_loaded if _dl_loaded is NULL.
87c812c2 328 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 329
8ea4a95a
UD
330 * sysdeps/generic/setrlimit64.c: Remove stub warning.
331
88c91118
UD
3321998-09-07 Ulrich Drepper <drepper@cygnus.com>
333
334 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
335 quiet.
2c874db2
UD
336 * db2/btree/bt_cursor.c: Likewise.
337 * db2/common/db_region.db_c: Likewise.
338 * db2/common/db_salloc.db_c: Likewise.
339 * db2/db/db.c: Likewise.
340 * db2/db/db_rec.c: Likewise.
341 * db2/hash/hash.c: Likewise.
342 * db2/hash/hash_page.c: Likewise.
343 * db2/hash/hash_rec.c: Likewise.
344 * db2/log/log_findckp.c: Likewise.
345 * db2/log/log_get.c: Likewise.
346 * db2/log/log_put.c: Likewise.
347 * db2/mp/mp_fget.c: Likewise.
348 * db2/mp/mp_fput.c: Likewise.
349 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
350 * stdlib/strtol.c: Likewise.
351 * string/strcoll.c: Likewise.
352 * string/strxfrm.c: Likewise.
94b78bb2
UD
353 * argp/argp-help.c: Likewise.
354 * argp/argp-parse.c: Likewise.
3121cc04 355 * resolv/res_debug.c: Likewise.
88c91118 356
26644e87
UD
3571998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
358
359 * math/tgmath.h (scalb): Only define for __USE_MISC or
360 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
361
2b33e5b0
UD
3621998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
363
364 * libio/stdio.h: Fix comment.
365
366 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
367 __USE_ISOC9X.
368
6796bc80
UD
3691998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
370
371 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
372
373 * elf/dl-open.c: Quiet -Wparentheses warnings.
374 * iconvdata/johab.c: Likewise.
375 * iconvdata/uhc.c: Likewise.
376 * inet/inet_net.c: Likewise.
377 * io/fts.c: Likewise.
378 * locale/newlocale.c: Likewise.
379 * misc/getttyent.c: Likewise.
380 * misc/mntent_r.c: Likewise.
381 * misc/ttyslot.c: Likewise.
382 * nscd/nscd_conf.c: Likewise.
383 * nss/nsswitch.c: Likewise.
384 * resolv/gethnamaddr.c: Likewise.
385 * resolv/nsap_addr.c: Likewise.
386 * resolv/res_debug.c: Likewise.
387 * stdio-common/_itoa.c: Likewise.
388 * stdlib/strtod.c: Likewise.
389 * string/strverscmp.c: Likewise.
390 * sunrpc/svc.c: Likewise.
391 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
392 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
393 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
394 * sysdeps/posix/getaddrinfo.c: Likewise.
395
baa3334a
UD
3961998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
397
398 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
399 for use of global scope.
400 * elf/dlvsym.c (dlvsym_doit): Likewise.
401
4021998-09-02 Paul Eggert <eggert@twinsun.com>
403
404 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
405 copy the redundant bytes at the end of the format as-is; don't
406 just copy their first byte and then rescan, as that might get
407 us an encoding error.
408 Account correctly for the length of multibyte sequences in the
409 format.
410
4111998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
412
413 * posix/wordexp-test.c: Add tests for different IFS values.
414 Change unquoted-newline test so that newline is not in IFS.
415
416 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
417 determining IFS characters. Return WRDE_BADCHAR for unquoted
418 special characters _except_ if they are separators.
419
4201998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
421
422 * include/tgmath.h: New file.
423
424 * libio/stdio.h: Correct reversed #ifs.
425 Patch by Zack Weinberg.
426
427 * manual/creature.texi: Better explain reason for feature select
428 macros.
429 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
430
4311998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
432
433 * include/alloca.h: Add multiple-inclusion guard.
434 * include/db.h: Likewise.
435 * include/db_185.h: Likewise.
6796bc80 436 * include/dlfcn.h: Likewise.
baa3334a
UD
437 * include/fcntl.h: Likewise.
438 * include/grp.h: Likewise.
439 * include/libintl.h: Likewise.
440 * include/mntent.h: Likewise.
441 * include/pwd.h: Likewise.
442 * include/sched.h: Likewise.
443 * include/search.h: Likewise.
444 * include/setjmp.h: Likewise.
445 * include/shadow.h: Likewise.
446 * include/signal.h: Likewise.
447 * include/stdio.h: Likewise.
448 * include/stdlib.h: Likewise.
449 * include/string.h: Likewise.
450 * include/termios.h: Likewise.
451 * include/time.h: Likewise.
452 * include/ulimit.h: Likewise.
453 * include/utmp.h: Likewise.
454 * include/wchar.h: Likewise.
455 * include/sys/file.h: Likewise.
456 * include/sys/gmon.h: Likewise.
457 * include/sys/ioctl.h: Likewise.
458 * include/sys/mman.h: Likewise.
459 * include/sys/resource.h: Likewise.
460 * include/sys/select.h: Likewise.
461 * include/sys/socket.h: Likewise.
462 * include/sys/statfs.h: Likewise.
463 * include/sys/time.h: Likewise.
464 * include/sys/times.h: Likewise.
465 * include/sys/wait.h: Likewise.
466
be935610
UD
4671998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
468
469 * version.h (VERSION): Bump to 2.0.96.
470
471 Rewrite runtime linker to be truly thread-safe. There is now no
472 global variable specifying the scope. We create all needed
473 scopes at the time the link maps are created.
474 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
475 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
476 l_symbolic_searchlist, l_scope, and l_local_scope elements in
477 struct link_map.
478 * elf/dl-close.c: Rewritten accordingly.
479 * elf/dl-deps.c: Likewise.
480 * elf/dl-error.c: Likewise.
481 * elf/dl-init.c: Likewise.
482 * elf/dl-load.c: Likewise.
483 * elf/dl-lookup.c: Likewise.
484 * elf/dl-object.c: Likewise.
485 * elf/dl-open.c: Likewise.
486 * elf/dl-reloc.c: Likewise.
487 * elf/dl-runtime.c: Likewise.
488 * elf/dl-support.c: Likewise.
489 * elf/dl-symbol.c: Likewise.
490 * elf/dl-version.c: Likewise.
be935610
UD
491 * elf/dlsym.c: Likewise.
492 * elf/dlvsym.c: Likewise.
493 * elf/ldsodefs.h: Likewise.
494 * elf/rtld.c: Likewise.
495 * iconv/gconv_dl.c: Likewise.
496 * nss/nsswitch.c: Likewise.
497 * sysdeps/i386/dl-machine.h: Likewise.
498 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
499
6796bc80
UD
500 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
501 Define RTLD_DEFAULT.
502
2b4083dd
RM
5031998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
504
505 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
506 __getopt_clean_environment with __environ instead of envp.
507
a361203e
RM
5081998-09-05 Roland McGrath <roland@baalperazim.frob.com>
509
2b4083dd
RM
510 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
511
531e4bca
RM
512 * string/argz-extract.c (__argz_extract): Add de-consting cast for
513 setting results.
514
62ee0979 515 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 516 * string/argz-next.c (__argz_next): Likewise.
62ee0979 517
59cacc81
RM
518 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
519 Don't add netinet/udp.h, netinet/ip_icmp.h here.
520 * sysdeps/gnu/Makefile: Do it here instead.
521 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
522 * sysdeps/gnu/Dist: ... to here.
523
a361203e
RM
524 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
525 sysdeps/unix/sysv/linux/netinet/tcp.h,
526 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
527
29659dd2
RM
5281998-09-04 Roland McGrath <roland@baalperazim.frob.com>
529
530 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
531 * string/argz-next.c, string/argz-extract.c: Fix defns.
532
1097c603
RM
5331998-09-03 Roland McGrath <roland@baalperazim.frob.com>
534
535 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
536
537 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
538 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
539 * sysdeps/generic/sysd-stdio.c: Likewise.
540
143e2b96
UD
5411998-09-02 Ulrich Drepper <drepper@cygnus.com>
542
543 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
544 (_dl_map_object_from_fd): Make NAME argument const.
545 Remove last parameter in _dl_new_object call.
546 (print_search_path): Correct construction of composed path name.
547 (_dl_map_object): Prevent looking at RPATH of the main map twice.
548 Remove last parameter in _dl_new_object call.
549 * elf/dl-object.c: Remove last parameter. Determine whether create
550 origin entry based on empty realname. Handle file in root directory
551 correctly.
552 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
553 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
554 Remove last parameter in _dl_new_object call.
555 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
556 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
557
fc3597c0
UD
5581998-09-01 Ulrich Drepper <drepper@cygnus.com>
559
4ce636da
UD
560 * elf/dl-close.c (_dl_close): Add more comments and correct some.
561 Free l_searchlist and l_dupsearchlist.
562
fc3597c0
UD
563 * debug/catchsegv.sh: Add one more pair of quotes.
564
76156ea1
UD
5651998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
566
567 * elf/dl-load.c (add_name_to_object): Change return type to void and
568 make NAME parameter const. Allocate room for NAME in same memory
569 block used for l_libname entry.
570 (_dl_map_object_from_fd): Don't free NAME on failure.
571 (map_segment): Pass SONAME to add_name_to_object, not a copy.
572 (_dl_map_object): Don't create copy of NAME. Pass NAME to
573 _dl_map_object_from_fd.
574 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
575 memory block used for l_libname entry.
576 * elf/dl-close.c: Adjust free()ing for this change.
577
a8a1269d
UD
5781998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
579
580 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
581
582 * malloc/mtrace.c: Add bug report address. Update email address.
583 Add more @XXX@ to print correct address size.
584
585 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
586 really initialized.
587
588 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
589 for munmap call instead of examining phdr again.
590 Free all malloc()ed strings and arrays.
591
052b6a6c
UD
5921998-08-09 Geoff Keating <geoffk@ozemail.com.au>
593
594 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
595 dl-machine.h.
596 * sysdeps/powerpc/dl-machine.c: New file.
597 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
598 files. Revise ELF_PREFERRED_ADDRESS to take account of
599 the new mapping information (fixes bug involving huge bloated
600 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
601 * sysdeps/powerpc/dl-start.S: New file.
602
603 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
604 l_map_end.
605 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
606 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
607 others. Call elf_dynamic_do_##reloc only once (to save even more
608 space).
609 * elf/link.h: Add new members l_map_start and l_map_end to keep
610 track of the memory map.
611 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
612 the executable.
613
6141998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
615
616 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
617 Reported by Andreas Jaeger.
618
619 * posix/glob.h: Use __size_t instead of size_t in definitions and
620 make sure this is defined.
621
85c165be
UD
6221998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
623
052b6a6c 624 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
625 and functionality.
626 * manual/arith.texi: Correct reference.
627 * manual/string.texi: Pretty printing.
628
629 * manual/texinfo.tex: Update from last available version.
630
6311998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
632
633 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
634 invalid password.
635 (_nss_nis_getpwuid_r): Likewise.
636 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
637
638 * inet/rcmd.c: Implement netgroup support.
639 Patch by Dick Streefland <dick_streefland@tasking.com>.
640
7afab53d
UD
6411998-08-31 Ulrich Drepper <drepper@cygnus.com>
642
643 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
644 object on the list is removed. Don't use this code for PIC.
645 Reported by HJ Lu [PR libc/770].
646
bfce746a
UD
6471998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
648
649 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
650
651 * include/stdio.h: Add __vsscanf.
652
653 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
654 __USE_ISOC9X.
655 Remove __vsscanf declaration.
656 Always declare fgetpos and fsetpos.
657
658 * math/math.h: Define isinf as macro.
659 * math/bits/mathcalls.h: Change to declare __isinf all the time.
660 Don't declare scalb for ISO C 9x.
661
662 * math/tgmath.h: Define fma. Rewrite the underlying macros.
663
664 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
665
666 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
667 sys/ucontext.h.
668
669 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
670 macros.
671
6721998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
673
674 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
675 Reported by jreising@frequentis.com [PR libc/767].
676
6771998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
678
679 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
680 fl.l_start at beginning of function.
681 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
682
ac72fbb1
UD
6831998-08-31 Ulrich Drepper <drepper@cygnus.com>
684
685 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
686 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
687
688 * nscd/nscd.init: Make it work in RedHat systems.
689 Patch by Christian Gafton.
690
6911998-08-29 Philip Blundell <philb@gnu.org>
692
693 * catgets/Makefile: Don't try to run test programs when
694 cross-compiling.
695
6961998-08-31 Ulrich Drepper <drepper@cygnus.com>
697
698 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
699 Reported by Zack Weinberg.
700
7011998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
702
703 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
704 * elf/Makefile (distribute): Remove ldd.sh.in.
705
7061998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
707
708 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
709 variable.
710
e0d46614
UD
7111998-08-29 Ulrich Drepper <drepper@cygnus.com>
712
713 * sysdeps/i386/register-dump.h: Move to ...
714 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
715
b0cf070b
UD
7161998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
717
718 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
719 with load address, not map address.
720 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
721 parameter and use this value.
722 * sysdeps/arm/dl-machine.h: Likewise.
723 * sysdeps/i386/dl-machine.h: Likewise.
724 * sysdeps/m68k/dl-machine.h: Likewise.
725 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
726 parameter.
727 * sysdeps/powerpc/dl-machine.h: Likewise
728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
729 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
730
997a4165
UD
7311998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
732
733 * elf/rtld.c (process_envvars): Fix copy&paste error.
734
735 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
736 memalign hook.
737 (realloc_hook_ini): Don't overwrite memalign hook.
738 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
739 Reported by Philippe Troin <phil@fifi.org>.
740
741 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
742 Patch by Philippe Troin <phil@fifi.org>.
743
7441998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
745
746 * sysdeps/generic/segfault.c (install_handler): Protect the
747 non-POSIX signals with #ifdef.
748 (catch_segfault): Add missing mode parameter for open.
749 * debug/catchsegv.sh: Avoid termination message from shell. Allow
750 other termination signals.
751
7521998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
753
754 * debug/Makefile (distribute): Add register-dump.h.
755
7561998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
757
758 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
759
f787edde
UD
7601998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
761
762 * elf/Makefile (distribute): Add dl-origin.h.
763 * sysdeps/generic/dl-origin.h: New file.
764 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
765 * elf/link.h (struct link_map): Add l_origin field.
766 * elf/dl-load.c (expand_dynamic_string_token): New function.
767 (decompose_path): Remove WHERE argument, take link map pointer instead.
768 Call expand_dynamic_string_token instead of local_strdup to make copy
769 of rpath.
770 (_dl_init_paths): Call decompose_path with correct argument.
771 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
772 not defined.
773 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 774 Call _dl_new_object with extra argument.
f787edde
UD
775 (_dl_map_object): Call decompose_path with correct argument.
776 Call expand_dynamic_string_token instead of local_strdup to also
777 expand DST.
5f623941 778 Call _dl_new_object with extra argument.
f787edde 779 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
780 but the main one if new argument is nonzero.
781 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
782 * elf/dl-support.c: Define _dl_origin_path.
783 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 784 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
785
786 * elf/dl-close (_dl_close): Free l_name and l_origin.
787
788 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
789 modifier in asm, not c.
790
791 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
792 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
793
6075607b
UD
7941998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
795
796 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
797 variable so that map can be freed.
798 Reported by Philippe Troin <phil@fifi.org>.
799
800 * elf/dl-open.c (dl_open_worker): Correct test for extending global
801 scope array.
802 Patch by Philippe Troin <phil@fifi.org>.
803
8041998-08-26 Geoff Keating <geoffk@ozemail.com.au>
805
806 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
807 Don't call writev() with a 100-element vector.
808 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
809 return address.
810
811 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
812 In particular, set __libc_stack_end.
813 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
814 undefined. Fix copyright notice.
815
8161998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
817
818 * math/Makefile (gmp-objs): New variable.
819 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
820 Depend on it.
821 (tests): Add atest-exp atest-sincos atest-exp2.
822 (tests-static): Remove atest-exp atest-sincos atest-exp2.
823
08cac4ac
UD
8241998-08-25 Ulrich Drepper <drepper@cygnus.com>
825
826 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
827 to toplevel.
828 (_dl_unload_cache): New function.
829 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
830 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 831 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
832
833 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
834 Correct comment for O_LARGEFILE.
835 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
836 Change O_LARGEFILE to correct value.
837
8381998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
839
840 * libio/iogetline.c (_IO_getline_info): Don't read anything for
841 N == 0. Patch by HJ Lu.
842
6dbb7062
UD
8431998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
844
845 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
846
8471998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
848
849 * argp/argp.h: Use __inline__ not inline.
850
851 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
852 an input register as being clobbered.
853 * sysdeps/i386/memset.c (memset): Likewise.
854 * sysdeps/i386/bzero.c (__bzero): Likewise.
855 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
856
8571998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
858
859 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
860 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
861
ed1ac6a2
UD
8621998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
863
864 * debug/catchsegv.sh: Handle text preceding backtrace better.
865 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
866 to be installed for other signals than SIGSEGV.
867 * sysdeps/generic/register-dump.h: New file.
868 * sysdeps/i386/register-dump.h: New file.
869 * sysdeps/powerpc/register-dump.h: New file.
870
871 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
872 sigcontextinfo.h.
873 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
874
8751998-08-24 Geoff Keating <geoffk@ozemail.com.au>
876
877 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
878
8791998-08-09 Geoff Keating <geoffk@ozemail.com.au>
880
881 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
882 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
883 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
884 getresuid, getresgid.
885
8861998-08-16 Geoff Keating <geoffk@ozemail.com.au>
887
888 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
889 pointer in userland.
890
8911998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
892
893 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
894 and fix value.
895
8961998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
897
898 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
899 over arguments Bourne shell compatible. Don't exit unsuccessfully
900 if nonelf returns successfully. Avoid duplicating most of the
901 script.
902 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
903 around $file.
904
9051998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
906
907 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
908 sys/reg.h.
909 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
910 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
911
b259e746
UD
9121998-08-23 Ulrich Drepper <drepper@cygnus.com>
913
914 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
915 __modify_ldt and modify_ldt.
916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
917
918 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
919 Use orl $-1 instead of movl $-1 to save two bytes.
920 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
921 Likewise.
922
9231998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
924
925 * libio/Versions (_IO_do_write, _IO_file_attach,
926 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
927 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
928 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
929 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
930
931 * libio/fileops.c (_IO_do_write, _IO_file_attach,
932 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
933 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
934 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
935 _IO_file_write, _IO_file_xsputn): Change the prefix to
936 "_IO_new_". Added to GLIBC_2.1.
937
938 * libio/libioP.h (_IO_do_write, _IO_file_attach,
939 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
940 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
941 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
942 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
943 "_IO_new_".
944
945 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
946 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
947 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
948 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
949 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
950
b259e746
UD
9511998-08-23 Richard Henderson <rth@cygnus.com>
952
953 * Makeconfig (LDFLAGS): Remove.
954
ed1ac6a2 955 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 956
ed1ac6a2
UD
957 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
958 (STO_MIPS_*): Rename from STO_*.
959 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
960 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 961
ed1ac6a2
UD
962 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
963 (main): e3s is negative on zero.
964 * math/atest-exp2.c: Likewise.
b259e746
UD
965 * math/atest-sincos.c: Likewise.
966
ed1ac6a2
UD
9671998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
968
969 * Makerules (install): Add comment about absolute paths.
970
b259e746
UD
9711998-08-23 Ulrich Drepper <drepper@cygnus.com>
972
973 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
974 array to NUL to handle maxlen==1 case correctly.
975 Patch by HJ Lu.
976
9771998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
978
979 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
980 * sysdeps/alpha/elf/crtend.S: Likewise.
981 * sysdeps/alpha/elf/start.S: Likewise.
982
983 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
984 non-standard pv usage.
985
986 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
987 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
988 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
989 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
990 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
991 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
992 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
993 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
994 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
995 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
996 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
997
998 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
999 a finite non-denormal, deferring to the full IEEE version otherwise.
1000
1001 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1002 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1003 * sysdeps/alpha/fpu/s_floor.c: New.
1004 * sysdeps/alpha/fpu/s_floorf.c: New.
1005 * sysdeps/alpha/fpu/s_ceil.c: New.
1006 * sysdeps/alpha/fpu/s_ceilf.c: New.
1007
e86e2df1
UD
10081998-08-22 Philip Blundell <philb@gnu.org>
1009
1010 * sysdeps/arm/bits/string.h: New file.
1011
14a44a69
UD
10121998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1013
1014 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1015 document it.
1016
1017 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1018 test for recent Linux 2.1.100+ headers.
1019
e36b0b57
UD
10201998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1021
1022 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1023
5148d49f
UD
10241998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1025
1026 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1027
10281998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1029
1030 * Makefile (elf/ldso_install): Put back. The problem still persists.
1031 * elf/Makefile (ldso_install): Likewise.
1032
10331998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1034
1035 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1036 create weak alias.
1037 * include/db.h: Declare __nss_db_open.
1038 * db2/Versions: Export it.
1039
1040 * db2/makedb.c: Convert to use db2 API.
1041 * nss/nss_db/db-XXX.c: Likewise.
1042 * nss/nss_db/db-netgrp.c: Likewise.
1043 * nss/nss_db/db-alias.c: Likewise.
1044 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1045
10461998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1047
1048 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1049 sys_setresuid, already built automatically (or not).
1050 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1051 instead of __syscall_setresuid and add back setresuid.
1052 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1053 __syscall_setresuid.
1054
10551998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1056
1057 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1058
1ddf537f
UD
10591998-08-20 Ulrich Drepper <drepper@cygnus.com>
1060
1061 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1062 BASH-ONLY marked region.
1063 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1064
10651998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1066
1067 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1068 _IO_SYSSEEK fails.
1069
1070 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1071
4df28840 1072 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
1073 element.
1074
8e48355c
RM
10751998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1076
1077 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1078 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1079 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1080 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1081 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1082 those magic comments, and to use /bin/sh for @BASH@.
1083 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1084 * elf/ldd.sh.in: File removed.
1085
d762684b
UD
10861998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1087
1088 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1089 cast them to unsigned long int.
1090 * pwd/putpwent.c (putpwent): Likewise.
1091 Patch by John Tobey <jtobey@banta-im.com>.
1092
10931998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1094
1095 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1096 _IO_pos_BAD.
1097
10981998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1099
1100 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1101 _IO_SYSSEEK fails.
1102
7934cc16
UD
11031998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1104
1105 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1106 Add umount and umount2.
1107 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1108 * sysdeps/unix/sysv/linux/umount.S: New file.
1109 * sysdeps/unix/sysv/linux/umount2.S: New file.
1110 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1111 Define MNT_FORCE.
1112
d762684b
UD
1113 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1114 Add sys/sendfile.h.
1115 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1116 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1117
1118 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1119
1120 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1121 sendfile.
1122
df777c40
UD
11231998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1124
1125 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1126 * elf/ldd.bash.in: Likewise.
1127
1128 * elf/sln.c: Avoid warning for no main prototype.
1129
1130 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1131 O_WRITE.
1132 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1134
1135 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1136 F_GETSIG.
1137 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1138 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1140
11411998-08-20 Philip Blundell <pb@nexus.co.uk>
1142
1143 * sysdeps/arm/fpu/ieee754.h: Move to...
1144 * sysdeps/arm/ieee754.h: ... here.
1145
1146 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1147 Don't set the condition flags unnecessarily.
1148 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1149 registers correctly.
1150
1151 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1152 (patch from Scott Bambrough).
1153
1154 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1155
1156 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1157 NULL, just call it unconditionally.
1158 (__gmon_start__): Provide stub version as a weak symbol.
1159
11601998-07-30 Philip Blundell <philb@gnu.org>
1161
1162 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1163 by Scott Bambrough)
1164
1165 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1166 like `@' in .type directives.
1167
1168 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1169 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1170
1171 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1172
11731998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1174
1175 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1176 (F_GETOWN): Likewise.
1177
1178 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1179 Linux 2.1.117).
1180
11811998-08-20 Ulrich Drepper <drepper@cygnus.com>
1182
1183 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1184 already defined.
1185
0c6cee5d
UD
11861998-08-18 Ulrich Drepper <drepper@cygnus.com>
1187
1188 * include/features.h: Define __USE_EXTERN_INLINES for recent
1189 enough gcc.
1190 * argp/argp.h: Define extern inline functions only if
1191 __USE_EXTERN_INLINES is defined.
1192 * libio/stdio.h: Likewise.
1193 * math/math.h: Likewise.
1194 * stdlib/stdlib.h: Likewise.
1195 * string/argz.h: Likewise.
1196 * sysdeps/generic/bits/sigset.h: Likewise.
1197 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1198 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1199 * sysdeps/wordsize-32/inttypes.h: Likewise.
1200 * sysdeps/wordsize-64/inttypes.h: Likewise.
1201 * wcsmbs/wchar.h: Likewise.
1202
1203 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1204 to allow compilation without optimization.
1205
df777c40
UD
12061998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1207
1208 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1209 more entries.
1210 * nis/nss_compat/compat-initgroups.c: Likewise.
1211 * nis/nss_compat/compat-pwd.c: Likewise.
1212 * nis/nss_compat/compat-spwd.c: Likewise.
1213 * nis/nss_nis/nis-alias.c: Likewise.
1214 * nis/nss_nis/nis-ethers.c: Likewise.
1215 * nis/nss_nis/nis-grp.c: Likewise.
1216 * nis/nss_nis/nis-hosts.c: Likewise.
1217 * nis/nss_nis/nis-initgroups.c: Likewise.
1218 * nis/nss_nis/nis-network.c: Likewise.
1219 * nis/nss_nis/nis-proto.c: Likewise.
1220 * nis/nss_nis/nis-pwd.c: Likewise.
1221 * nis/nss_nis/nis-rpc.c: Likewise.
1222 * nis/nss_nis/nis-service.c: Likewise.
1223 * nis/nss_nis/nis-spwd.c: Likewise.
1224
1225 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1226
1227 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1228
1229 * nis/yp_xdr.c: Remove 1024 byte limit.
1230 * nis/ypupdate_xdr.c: Likewise.
1231
1232 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1233 wrong data.
1234
c82e6116
RM
12351998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1236
1237 * Rules (binaries-static, binaries-shared static pattern rules):
1238 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1239
1240 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1241 this here, overriding Makeconfig generic value so we link against
1242 the RPC libs.
1243
364ff81f
UD
12441998-08-17 Ulrich Drepper <drepper@cygnus.com>
1245
1246 * posix/tstgetopt.c (options): Add NULL entry at end
1247 Patch by Adrian Miranda <ade@psg.com>.
1248
5d7de7aa
UD
12491998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1250
1251 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1252 to 9.
1253
d610a544
UD
12541998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1255
1256 * elf/elf.h: Add PPC Diab relocations.
1257
1258 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1259
409dfcea
UD
12601998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1261
1262 * manual/texinfo.tex: Update.
1263
12641998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1265
1266 * sysdeps/powerpc/backtrace.c: New file.
1267
12681998-08-14 Philip Blundell <pb@nexus.co.uk>
1269
1270 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1271 sigjmp_save.
1272 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1273
12741998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1275
1276 * Makefile (install-symbolic-link): Fix spelling.
1277
12781998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1279
1280 * elf/elf.h (SHT_HIOS): Fix value.
1281
12821998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1283
1284 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1285 part of the expansion, this is undefined by the standard.
1286
9d141cae
UD
12871998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1288
1289 * posix/getconf.c: Add support for systems with incomplete confname.h.
1290
1291 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1292
1293 * sysdeps/posix/wait3.c: Make it work.
1294
12951998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1296
1297 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1298 (elf/ldso_install): Remove.
1299
1300 * elf/Makefile (distribute): Add sln.c.
1301 (others): Add sln.
1302 (others-static): Add sln.
1303 (install-rootsbin): Add sln.
1304 (others-static): Add sln.
1305 (ldso_install): Remove.
1306
13071998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1308
1309 * Makerules (install-clean-symbolic-link-list): Make phony.
1310 * Makefile (install-symbolic-link): Make phony. Depend on
1311 subdir_install for parallel makes.
1312
1313
13141998-07-22 Ulrich Drepper <drepper@cygnus.com>
1315
1316 * elf/Makefile (distribute): Add sln.c
1317
13181998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1319
1320 * elf/sln.c: New file.
1321
1322 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1323 (install-clean-symbolic-link-list): New target.
1324 (install): Depend on install-clean-symbolic-link-list.
1325 (make-shlib-link): Changed for $(symbolic-link-list).
1326
1327 * Makefile (install-symbolic-link): New target.
1328 (install): Depend on install-symbolic-link.
1329
1f539fd1
UD
13301998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1331
1332 * include/unistd.h: Protect against multiple inclusion.
1333
1334 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1335 is defined, not is glob is defined.
1336 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1337
13381998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1339
1340 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1341 xdr_string for ut_line, ut_name and ut_host.
1342
13431998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1344
1345 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1346 /var/mail in accordance with FHS 2.0.
1347 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1348
13491998-08-12 Richard Henderson <rth@cygnus.com>
1350
1351 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1352 Update aliases for cancelation.
1353
1354 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1355 playing with symbol versions.
1356
259d930a
RM
13571998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1358
1359 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1360 multiple inclusion protection.
1361 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1362 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1363 define all these to 1.
1364 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1365
d6765f1d
RM
13661998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1367
1368 * sysdeps/mach/usleep.c: Include <unistd.h>.
1369 (usleep): Return void.
1370
13711998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1372
1373 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1374 decl to inhibit warning in if_freenameindex defn.
1375
1376 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1377
1378 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1379
1380 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1381 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1382 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1383 * sysdeps/mach/usleep.c: Likewise.
1384
1385 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1386
1387 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1388 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1389 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1390 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1391 * sysdeps/mach/usleep.c (usleep): Likewise.
1392 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1393 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1394 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1395 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1396
13971998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1398
1399 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1400 (glob64): Fix typo.
1401
1402 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1403 %p arg to fprintf, since `void *' is the right type already.
1404
b5876a19
RM
14051998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1406
1407 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
1408 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1409 for unknown root directories.
b5876a19 1410 (__getcwd): Return NULL when the current root directory could not
1f539fd1 1411 be reached.
b5876a19 1412
f81d98d6 14131998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 1414
f81d98d6 1415 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 1416
a5f4e34a 1417
f81d98d6 1418See ChangeLog.8 for earlier changes.
This page took 0.184347 seconds and 5 git commands to generate.