]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
490a9ab7
AJ
12000-04-13 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
4 versioning.
5
382e7b29
AJ
62000-04-13 Andreas Jaeger <aj@suse.de>
7
44a202c0 8 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 9
382e7b29
AJ
10 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
11 default.
12
13 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
14 with some applications.
15 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
16
17 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
18 * sysdeps/mips/bsd-_setjmp.S: Likewise.
19 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
20
21 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
382e7b29 22
3737ff12
UD
232000-04-13 Ulrich Drepper <drepper@redhat.com>
24
25 * posix/globtest.sh: Work around inconsistency with expanding ~/
26 in shell (PR libc/1690). Reported by patsmith@pobox.com.
27
aee46704
UD
282000-04-12 Ulrich Drepper <drepper@redhat.com>
29
b3ae0650
UD
30 * posix/getconf.c: Add support for many more POSIX options.
31 * sysdeps/posix/sysconf.c: Likewise.
32 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
33 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
34 _POSIX_SHELL.
35 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
36 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
37 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
38 CLOCK_THREAD_CPUTIME_ID.
39 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
40 CLOCK_PROCESS_CPUTIME_ID.
41 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
42 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
43 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
44 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
45
aa780bab
UD
46 * malloc/Makefile (tests): Add tst-calloc.
47 * malloc/tst-calloc.c: New file.
48
c49b2a4e
UD
49 * sysdeps/arm/libm-test-ulps: New file.
50
13f536d4
UD
51 * malloc/malloc.c: Undo all of today's changes.
52
92d2e18f
UD
53 * locale/programs/locale.c (show_info): Don't try to look into
54 data for LC_ALL (there is none).
55
3ea1b82e
UD
56 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
57 avoid writing over boundary.
58 Patch by Greg McGary <gkm@eng.ascend.com>.
59
aee46704
UD
60 * sysdeps/arm/memprof.h: New file.
61
4a199526
UD
622000-04-12 Andreas Jaeger <aj@suse.de>
63
64 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
65
66 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
67 for memmem declaration.
68
da240c6b
UD
692000-04-12 Ulrich Drepper <drepper@redhat.com>
70
4a199526
UD
71 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
72 to -1.
73 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
74
a4dec43d
UD
75 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
76 mode is invalid.
77 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
78 Patch by Bart Veer <bartv@redhat.com>.
79
da240c6b
UD
80 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
81 function interface.
82
bfe42f05
AJ
832000-04-11 Andreas Jaeger <aj@suse.de>
84
85 * sysdeps/mips/dl-machine.h: Update some comments.
86 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
87
e7c036b3
UD
882000-04-11 Ulrich Drepper <drepper@redhat.com>
89
8a31d742
UD
90 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
91 _POSIX_SHARED_MEMORY_OBJECTS.
92
ca99b8a0
UD
93 * rt/Makefile (tests): Add tst-shm.
94 Add rules to generate tst-shm.
95 * rt/tst-shm.c: New file.
96
fb125e0c
UD
97 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
98 for descriptor.
99
a63be9f7
UD
100 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
101 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
102 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
103 * sysdeps/generic/shm_open.c: New file.
104 * sysdeps/generic/shm_unlink.c: New file.
105 * sysdeps/unix/sysv/linux/shm_open.c: New file.
106 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
107 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
108 __endmntent, __getmntent_r, __setmntent, and __statfs.
109
25728f03
UD
110 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
111 fragmentation by allocating new memory at the end instead of
112 reallocating.
113
e7c036b3
UD
114 * posix/globtest.sh: Fix last change.
115
1162000-04-10 Philip Blundell <philb@gnu.org>
117
118 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
119 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
120 IPV6_DROP_MEMBERSHIP.
121 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
122 Likewise.
123
1242000-04-11 Ulrich Drepper <drepper@redhat.com>
125
126 * elf/readlib (process_file): Close streams in case of an error.
127
1282000-04-09 Andreas Jaeger <aj@suse.de>
129
130 * elf/readlib.c (process_file): Check if file is big enough to
131 contain aout and ELF headers.
132 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
133
1342000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
135
136 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
137
1382000-04-11 Ulrich Drepper <drepper@redhat.com>
139
140 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
141 stream unbuffered.
142 * rt/Makefile (tests): Add tst-clock.
143 Add rules to build tst-clock.
144 * rt/tst-clock.c: New file.
145 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
146 about initialization of nsec.
147 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
148 about initialization of freq. Set retval to zero if successful.
149 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
150
6689a188
UD
1512000-04-10 Ulrich Drepper <drepper@redhat.com>
152
153 * Versions.def (librt): Add GLIBC_2.2.
154 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
155 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
156 timer_getoverr, timer_gettime, and timer_settime.
157 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
158 clock_settime, timer_create, timer_delete, timer_getoverrun,
159 timer_gettime, and timer_settime.
160 * sysdeps/generic/clock_getcpuclockid.c: New file.
161 * sysdeps/generic/get_clockfreq.c: New file.
162 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
163 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
164 * sysdeps/mach/hurd/i386/bits/time.h: New file.
165 * sysdeps/unix/i386/i586/clock_getres.c: New file.
166 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
167 * sysdeps/unix/i386/i686/Implies: New file.
168 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
169 * time/Makefile (routines): Move clock_getres, clock_gettime,
170 clock_settime, timer_create, timer_delete, timer_getoverr,
171 timer_gettime, and timer_settime to rt/Makefile.
172 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
173 clock_settime, timer_create, timer_delete, timer_getoverrun,
174 timer_gettime, and timer_settime.
094f72c6 175 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
176
177 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
178 and not const as attribute name.
179
25ee87d6
UD
1802000-04-10 Thorsten Kukuk <kukuk@suse.de>
181
182 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
183
3b690639
UD
1842000-04-10 Andreas Schwab <schwab@suse.de>
185
186 * posix/globtest.sh: Skip tests that depend on unreadable
187 directories if run as root.
188
e79af11c
UD
1892000-04-10 Ulrich Drepper <drepper@redhat.com>
190
191 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
192 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
193
8956ac9e
UD
1942000-04-09 Ulrich Drepper <drepper@redhat.com>
195
13fa3676
UD
196 * sysdeps/unix/clock_gettime.c: New file.
197 * sysdeps/unix/clock_settime.c: New file.
198 * sysdeps/posix/clock_getres.c: New file.
199
1a8de3e4
UD
200 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
201
4186c9f4
UD
202 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
203 lseek call be passing in a buffer which never allow a successful
204 first getdents syscall if not at leas the initial entry can be
205 stored in the user buffer.
206
8956ac9e
UD
207 * localedata/Makefile: Add rules to clean up directories created by
208 new strfmon tests.
209
2102000-04-09 Geoff Clare <gwc@unisoft.com>
211
212 * localedata/tst-fmon.data: Added new tests for strfmon()
213 using test locales with all combinations of cs_precedes,
214 sign_posn and sep_by_space.
215 * localedata/tst-fmon.sh: Updated to support the new tests.
216 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
217 the localedef source for the new strfmon() test locale.
218 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
219 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
220 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
221 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
222 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
223 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
224 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
225 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
226 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
227 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
228 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
229 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
230 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
231 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
232
233 * stdlib/strfmon.c: Correct problems with missing or extra
234 spaces for unusual combinations of sign_posn and sep_by_space.
235 Improved left-precision alignment code.
236
fe9d16a5
UD
2372000-04-07 Andreas Jaeger <aj@suse.de>
238
239 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
240
ddf0c536
AJ
2412000-04-10 Andreas Jaeger <aj@suse.de>
242
243 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
244
fd1b5c0f
UD
2452000-04-09 Ulrich Drepper <drepper@redhat.com>
246
247 Implement handling of restartable conversion functions according to
248 ISO C.
249 * iconv/gconv.h (__gconv_fct): Add additional parameter.
250 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
251 * iconv/gconv.c: Pass additional parameter to conversion function.
252 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
253 (internal_ucs4le_loop_single): New function.
254 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
255 (__gconv_transform_internal_ascii): Likewise.
256 (__gconv_transform_internal_utf8): Likewise.
257 (__gconv_transform_utf8_internal): Likewise.
258 (__gconv_transform_ucs2_internal): Likewise.
259 (__gconv_transform_internal_ucs2): Likewise.
260 (__gconv_transform_ucs2reverse_internal): Likewise.
261 (__gconv_transform_internal_ucs2reverse): Likewise.
262 (internal_ucs4le_loop_unaligned): Before return
263 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
264 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
265 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
266 * iconv/loop.c: Fit in definition of function to convert one character
267 for processing of left-over bytes from the state object.
268 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
269 inend to match names in loop functions.
270 (RESET_INPUT_BUFFER): Change apprpriately.
271 (gconv): If needed, call function to process bytes from the state
272 object. Similar at the end: store left over bytes if input is
273 incomplete.
274 Take extra argument and add new argument to all calls of the
275 conversion function.
276 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
277 information in the state object to not conflict with length count.
278 * iconvdata/iso-2022-jp.c: Likewise.
279 * iconvdata/iso-2022-kr.c: Likewise.
280 * iconvdata/unicode.c: Adjust for change change in parameters of
281 skeleton function.
282 * iconvdata/utf-16.c: Likewise.
283 * libio/iofwide.c: Add new parameter to all calls of conversion
284 function.
285 * wcsmbs/btowc.c: Likewise.
286 * wcsmbs/mbrtowc.c: Likewise.
287 * wcsmbs/mbsnrtowcs.c: Likewise.
288 * wcsmbs/mbsrtowcs.c: Likewise.
289 * wcsmbs/wcrtomb.c: Likewise.
290 * wcsmbs/wcsnrtombs.c: Likewise.
291 * wcsmbs/wcsrtombs.c: Likewise.
292 * wcsmbs/wctob.c: Likewise.
293
294 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
295 MAX_NEEDED_INPUT.
296
22804455
AJ
2972000-04-07 Andreas Jaeger <aj@suse.de>
298
299 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
300 newer kernels.
301
aa831d6d
UD
3022000-04-07 Ulrich Drepper <drepper@redhat.com>
303
304 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
305 element a union to allow byte access.
306 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
307 mbstate_t.
308 * iconvdata/iso-2022-jp.c: Likewise.
309 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
310 * wcsmbs/mbsinit.c: Likewise.
311 * stdlib/mblen.c: Likewise.
b837918e 312 * stdio-common/printf-parse.h: Likewise.
aa831d6d 313
a0dc5206
UD
3142000-04-06 Ulrich Drepper <drepper@redhat.com>
315
f11b9da6
UD
316 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
317 kernel does not allow relative seeks on descriptors associated
318 with directories. Go back to get the position in the directory
319 every time we enter the function. Return -1 and set errno if one
320 entry could be read from the kernel but does not fit into the
321 buffer passed in by the user.
322
a0dc5206
UD
323 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
324 Support ..(2).. ellipsis.
325 (parse_charmap): Recognize ..(2).. etc and pass step down.
326 Correctly generate names for UCS4 characters.
327
328 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
329 (ctype_finish): We know the wide character value for <SP>,
330 don't search.
331 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
332 (charclass_ucs4_ellipsis): Likewise.
333 (read_translit_ignore_entry): Store ellipsis step.
334 (ctype_read): Recognize ..(2).. etc and pass step down.
335
336 * locale/programs/linereader.c (lr_token): When seeing comment
337 character ignore only rest of line in sources but stop at escaped
338 newline.
339 Recognize ..(2).. and ....(2).....
340
341 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
342 and tok_ellipsis4_2.
343
372f94ba
UD
3442000-04-06 Andreas Jaeger <aj@suse.de>
345
346 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
347 removed, remove it here also.
348 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
349 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
350 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
351 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
352
3532000-04-06 Jakub Jelinek <jakub@redhat.com>
354
355 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
356 include bits/sigcontext.h.
357 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
358
723faa38
UD
3592000-04-06 Ulrich Drepper <drepper@redhat.com>
360
5943f0bc
UD
361 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
362 collation symbol definition. Value in quivalence definition must
363 be defined, don't check that it is not.
364
723faa38
UD
365 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
366 values as character names.
367
368 * locale/programs/ld-ctype.c (get_character): Handle missing
369 repertoire map correctly.
370
a1303dc8
UD
3712000-04-05 Cristian Gafton <gafton@redhat.com>
372
373 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
374 because it is used in generic code.
375 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
376 * wcsmbs/wcwidth.h: Declare __ctype32_b.
377 * intl/gettext.c: Include <locale.h>.
378 * intl/ngettext.c: Likewise.
379
3802000-04-05 Jakub Jelinek <jakub@redhat.com>
381
382 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
383 socklen_t type for size.
384 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
385 init function interface.
386 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
387 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
388 sys/ucontext.h.
389 (__jmp_buf): Declare the whole type structure here, don't use
390 ucontext.
391
2a0ff6ff
UD
3922000-04-05 Ulrich Drepper <drepper@redhat.com>
393
a1303dc8
UD
394 * iconv/skeleton.c (put16u): Fix typo.
395 Reported by Bruno Haible <haible@ilog.fr>.
396
2a0ff6ff
UD
397 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
398 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
399 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
401 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
402 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
403
404 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
405 * Makefile (distribute): Add abi-versions.awk and
406 firstversions.awk.
407 Patches by Torsten Duwe <duwe@caldera.de>.
408
5560eac7
UD
4092000-04-05 Andreas Schwab <schwab@suse.de>
410
411 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
412
a6dd65cd
AS
4132000-04-05 Andreas Schwab <schwab@suse.de>
414
415 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
416 entry point, used on Hurd.
417
7d4de961
UD
4182000-04-04 Andreas Jaeger <aj@suse.de>
419
420 * intl/Makefile: Only run the gettext test with shared libraries.
421
f0d872e9
UD
4222000-03-16 Mark Kettenis <kettenis@gnu.org>
423
424 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
425 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
426
7499a22a
RM
4272000-04-05 Roland McGrath <roland@baalperazim.frob.com>
428
429 * Makeconfig: Undo last change.
430 * configure.in: If --disable-shared was given, don't set VERSIONING,
431 don't define DO_VERSIONING, and don't give scare warning for no
432 versioning.
433 * configure: Regenerated.
434
2c57ff21
RM
4352000-04-04 Roland McGrath <roland@baalperazim.frob.com>
436
437 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
438
09847c8d
UD
4392000-04-04 Andreas Jaeger <aj@suse.de>
440
441 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
442
3aaad0b6
UD
4432000-04-04 Ulrich Drepper <drepper@redhat.com>
444
736d0841
UD
445 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
446 STV_HIDDEN and STV_INTERNAL during lookup.
447 (profile_fixup): Likewise.
448 * elf/dl-reloc.c (RESOLVE): Likewise.
449
3aaad0b6
UD
450 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
451 unaligned so that it compiles for system which need unaligned
452 access handling.
453
0b7219cc
UD
4542000-04-04 Andreas Schwab <schwab@suse.de>
455
456 * elf/cache.c (print_entry): Only look at the type field when
457 printing the type.
458
4592000-04-04 Andreas Schwab <schwab@suse.de>
460
461 * iconvdata/big5.c (BODY): Fix typo.
462
658943b9
AS
4632000-04-04 Andreas Schwab <schwab@suse.de>
464
465 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
466 function interface. Remove unused _dl_start_user entry point.
467
bd457114
UD
4682000-04-03 Andreas Jaeger <aj@suse.de>
469
470 * include/arpa/inet.h (__inet_aton): Add protoype.
471
41aefe41
UD
4722000-04-01 Andreas Jaeger <aj@suse.de>
473
474 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
475
476 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
477 * sysdeps/mach/mips/thread_state.h: Likewise.
478
479 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
480 * sysdeps/generic/fegetenv.c: Likewise.
481 * sysdeps/generic/fesetenv.c: Likewise.
482 * sysdeps/generic/feupdateenv.c: Likewise.
483 * sysdeps/generic/fraiseexcpt.c: Likewise.
484 * sysdeps/generic/fsetexcptflg.c: Likewise.
485 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
486 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
487 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
488 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
489
4902000-04-02 H.J. Lu <hjl@gnu.org>
491
492 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
493
ad085e8a
UD
4942000-04-03 Ulrich Drepper <drepper@redhat.com>
495
839be784
UD
496 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
497 (add_name_to_object): Add cast in malloc call.
498 (fillin_rpath): Optimize loop to initialize ->status a bit.
499
f9b798ba
UD
500 * sysdeps/i386/dl-machine.h: Undo last change.
501 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
502 Restore %edx register after call here.
503
ad085e8a
UD
504 * sysdeps/arm/atomicity.h: New file.
505 Contributed by Jesper Skov <jskov@redhat.com>.
506
c6d80202
RM
5072000-04-03 Roland McGrath <roland@baalperazim.frob.com>
508
ca5becb0
RM
509 * Makeconfig (preprocess-versions): Undo last change.
510 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
511
c6d80202
RM
512 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
513 here, before we might move the stack.
514 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
515 (init1): And not here.
516
517 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
518 change, to restore argc value in call-clobbered register after
519 RTLD_START_SPECIAL_INIT, which will contain a call.
520
521 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
522 allocating and initializing L->l_initfini.
523
524 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
525
152e7964
UD
5262000-04-03 Ulrich Drepper <drepper@redhat.com>
527
528 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
529 RUNPATH, RPATH, and LD_LIBRARY_PATH.
530 (open_path): Change type of fourth parameter. Make pointer to array
531 of pointers. Create variable dirs with original type.
532 Track whether any directory for the object exists and if not,
533 change *DIRSP to (void*) -1 to signal there is no such search path.
534 (_dl_map_object): Change all calls of open_path.
535 Rewrite decompose_rpath calls.
536
42ba2c11
UD
5372000-03-31 Andreas Schwab <schwab@suse.de>
538
539 * string/strfry.c: Declare STATE as array of char instead of int
540 and do not initialize it (done by initstate_r). Pass correct
541 size.
542
0a63529d
UD
5432000-04-03 Ulrich Drepper <drepper@redhat.com>
544
42ba2c11
UD
545 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
546
0a63529d
UD
547 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
548 instruction out of the code.
549
cf197e41
UD
5502000-04-02 Ulrich Drepper <drepper@redhat.com>
551
552 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
553 element at this position.
554
555 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
556 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
557 l_reldeps elements.
558 * elf/dl-lookup.c (add_dependency): New function.
559 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
560 dynamically loaded object.
561 (_dl_lookup_symbol_skip): Likewise.
562 (_dl_lookup_versioned_symbol): Likewise.
563 (_dl_lookup_versioned_symbol_skip): Likewise.
564 * elf/dl-open.c: Don't define _dl_load_lock here...
565 * elf/rtld.c: ...but here...
566 * elf/dl-support.c: ...and here.
567 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
568 through relocation.
569 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
570 relocations.
571 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
572 anymore.
573 * dlfcn/glrefmain.c: Add one more debug message.
574
575 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
576 command line.
577 * Makerules (sysd-versions): Use ( ) instead of { }.
578
579 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
580 optimize for the non-debugging case.
581 * elf/dl-lookup.c: Likewise.
582 * sysdeps/generic/libc-start.c: Likewise.
583
e1724cd7
RM
5842000-04-02 Roland McGrath <roland@baalperazim.frob.com>
585
5879ee9f
RM
586 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
587 (init1): Don't initialize __environ here, since init already does it.
588 (first_init): New function, broken out of _init.
589 (_hurd_stack_setup): Use it.
590 [SHARED] (_dl_init_first): New function, renamed from old _init.
591 (init1) [SHARED]: Don't call posixland_init here.
592 (posixland_init): Take ENVP arg, so signature is usual for initializer.
593 [SHARED] (_init): Define as alias for posixland_init.
594 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
595 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
596 RTLD_START_SPECIAL_INIT before calling initializers.
597 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
598 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
599 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
600 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
601
e1724cd7
RM
602 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
603 since we define the function with the name `tmpfile'.
604
605 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
606 * hurd/Versions: Likewise.
607
e10b8512
UD
6082000-04-02 Ulrich Drepper <drepper@redhat.com>
609
e1724cd7 610 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 611
e1724cd7 612 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
613 socklen_t.
614 * inet/getnameinfo.c: Likewise.
615
0adb8e47
UD
6162000-04-01 Ulrich Drepper <drepper@redhat.com>
617
750f9af6
UD
618 * posix/unistd.h (socklen_t): Define if it has not yet happened.
619 (gethostname): Change type of second parameter to socklen_t.
620 * include/unistd.h (__gethostname): Change type of second
621 parameter to socklen_t.
622 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
623 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
624 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
625 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
626 Likewise.
627 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
628 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
629 Allow definition elsewhere.
630 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
631 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
632 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
633 * sysdeps/generic/bits/types.h: Define __socklen_t.
634 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
635 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
636 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
637 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
638 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
640 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
641
ad483238
UD
642 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
643 (inet_lnaof): Likewise.
644 (inet_netof): Likewise.
645 (inet_network): Likewise.
646 (inet_aton): Likewise.
647 (inet_makeaddr): Change parameter types to in_addr_t.
648 (inet_neta): Likewise.
649 (inet_ntop): Change type of last parameter to socklen_t.
650 (inet_aton): Only make available if __USE_MISC.
651 (inet_neta): Likewise.
652 (inet_net_ntop): Likewise.
653 (inet_net_pton): Likewise.
654 (inet_nsap_ntoa): Likewise.
655
656 * inet/in.h: Define in_port_t type.
657 Define in_addr_t type.
658 (struct in_addr): Use in_addr_t in definition.
659 (IN_CLASSA): Use cast to in_addr_t.
660 (IN_CLASSB): Likewise.
661 (IN_CLASSC): Likewise.
662 (IN_CLASSD): Likewise.
663 (IN_EXPERIMENTAL): Likewise.
664 (IN_BADCLASS): Likewise.
665 (INADDR_ANY): Likewise.
666 (INADDR_BROADCAST): Likewise.
667 (INADDR_NONE): Likewise.
668 (INADDR_LOOPBACK): Likewise.
669 (INADDR_UNSPEC_GROUP): Likewise.
670 (INADDR_ALLHOSTS_GROUP): Likewise.
671 (INADDR_ALLRTRS_GROUP): Likewise.
672 (INADDR_MAX_LOCAL_GROUP): Likewise.
673 (struct sockaddr_in): Use in_port_t for sin_port element.
674 (struct sockaddr_in6): Use in_port_t for sin6_port element.
675 Use uint8_t instead of u_int8_t.
676
677 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
678 Call __inet_aton instead of inet_aton.
679 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
680
681 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
682 (innetgr): Likewise.
683 (struct addrinfo): Use socklen_t for ai_addrlen element.
684
685 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
686 IPV6_RECVERR): New defines.
687
9b48fa9b
UD
688 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
689 * inet/getnetbyad.c: Likewise.
690 * inet/getnetbyad_r.c: Likewise.
691 * nis/nss_nis/nis-network.c: Likewise.
692 * nis/nssplus_nis/nisplus-network.c: Likewise.
693 * nss/nss_files/files-network.c: Likewise.
694 * resolv/netdb.h: Define uint32_t if not already happened.
695 Include bits/netdb.h. Remove definition of struct netent.
696 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
697 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
698 * sysdeps/generic/bits/netdb.h: New file.
699 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
700
4380ef5e
UD
701 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
702 (tests): Add glrefmain.
703 Add rules to build modules and run tests. Ignore result of glrefmain
704 for now since it fails.
705 * dlfcn/glrefmain.c: New file.
706 * dlfcn/glreflib1.c: New file.
707 * dlfcn/glreflib2.c: New file.
708
709 * test-skeleton.c: Include <string.h> for strsignal prototype.
710
289e8e7e
UD
711 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
712 to be missing.
713
0adb8e47
UD
714 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
715 former init-first.h. Initialize __libc_multiple_libcs.
716
c0c2af07
UD
7172000-03-31 Ulrich Drepper <drepper@redhat.com>
718
c1db8b0d
UD
719 * iconv/skeleton.c: Define access macros with u suffix. Adjust
720 #if expression for use of unaligned function to the one used in
721 the definition of these functions.
6674e127 722 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
723 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
724 (internal_ucs4le_loop_unaligned): New function.
725
c0c2af07
UD
726 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
727 (tests): Add order.
728 (module-names): Add dep1, dep2, dep3, and dep4.
729 Add dependencies for dep* modules and order.
730 Define rule for order.out which checks the result.
731 * elf/dep1.c: New file.
732 * elf/dep2.c: New file.
733 * elf/dep3.c: New file.
734 * elf/dep4.c: New file.
735 * elf/order.c: New file.
736
e1724cd7 737 * elf/dl-init.c: Fix typo in comment.
c0c2af07 738
ad08a5b6
AJ
7392000-03-31 Andreas Jaeger <aj@suse.de>
740
741 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
742 init function interface.
743 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
744
e7960df5
AJ
7452000-03-31 Andreas Jaeger <aj@suse.de>
746
36d04330
AJ
747 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
748 * sysdeps/mips/fpu/fegetenv.c: Likewise.
749 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
750 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
751 * sysdeps/mips/fpu/fesetenv.c: Likewise.
752
88fdf42f 753 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 754 anymore, update comment.
88fdf42f 755
e7960df5
AJ
756 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
757
758 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
759 SHLIB_COMPAT - the struct is always needed.
760
9ad04ff7
UD
7612000-03-31 Ulrich Drepper <drepper@redhat.com>
762
763 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
764 * elf/dl-support.c: Define _dl_starting_up.
765
924c3f59
UD
7662000-03-30 Ulrich Drepper <drepper@redhat.com>
767
9ad04ff7 768 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
769 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
770
9ad04ff7 771 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 772
d7926ed9
UD
773 * elf/Makefile (dl-routines): Remove preinit.
774 * elf/Versions: Remove _dl_preinit.
775 * elf/dl-preinit.c: Removed. Move content into...
776 * elf/dl-init.c: ...here.
758cb061 777 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 778
924c3f59 779 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 780 elements.
924c3f59 781
9e9e0532
UD
7822000-03-29 Geoff Clare <gwc@unisoft.com>
783
784 * stdlib/strfmon.c: Corrected problems with the code that
785 sets default values for [np]_sep_by_space and
786 [np]_sign_posn; also the new positive/negative alignment
787 code from the previous patch was not quite right for
788 [np]_sign_posn = 0.
789
790 * localedata/tst-fmon.data: Changes corresponding to the
791 two sets of fixes made to stdlib/strfmon.c.
792
b5567b2a
UD
7932000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
794
795 * malloc/malloc.c: Declare bit flags UL so that they will not
796 default to int size when being inverted.
797
7982000-03-29 Andreas Jaeger <aj@suse.de>
799
800 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
801 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
802
8032000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 804 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
805
806 * Makeconfig: Introduce new variable SHARED to mark code used in
807 the shared library.
808 * elf/dl-close.c: Use it instead of PIC.
809 * elf/dl-load.c: Likewise.
810 * elf/dl-open.c: Likewise.
811 * hurd/geteuids.c: Likewise.
812 * include/libc-symbols.h: Likewise.
813 * include/shlib-compat.h: Likewise.
814 * libio/freopen.c: Likewise.
815 * linuxthreads/cancel.c: Likewise.
816 * linuxthreads/pthread.c: Likewise.
817 * linuxthreads/wrapsyscall.c: Likewise.
818 * nss/nsswitch.c: Likewise.
819 * stdio-common/vfprintf.c: Likewise.
820 * sysdeps/arm/init-first.c: Likewise.
821 * sysdeps/i386/init-first.c: Likewise
822 * sysdeps/generic/init-first.c: Likewise.
823 * sysdeps/generic/libc-start.c: Likewise.
824 * sysdeps/mips/init-first.c: Likewise.
825 * sysdeps/powerpc/elf/libc-start.c: Likewise.
826 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
827 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
828 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
829 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
830
831 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
832
b86120ed
UD
8332000-03-29 Andreas Jaeger <aj@suse.de>
834
835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
836 Use D_PTR to access relocated entries in l_info.
837 (elf_machine_rela): Likewise.
838
839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
840 Likewise.
841 (elf_machine_rela): Likewise.
842
843 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
844 Likewise.
845 (__elf_machine_fixup_plt): Likewise.
846 (__process_machine_rela): Likewise.
847
848 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
849 (elf_machine_rela): Likewise.
850
851 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
852 (elf_machine_rel): Likewise.
853
854 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
855 (elf_machine_fixup_plt): Likewise.
856 (elf_machine_rela): Likewise.
857
8582000-03-29 Andreas Jaeger <aj@suse.de>
859
860 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
861 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
862 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
863 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
864 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
865 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
866 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
867 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
868 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
869 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
870 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
871 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
872 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
873 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
875
876 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
877 macros, remove K&R prototypes.
878
05c54d4c
UD
8792000-03-30 Ulrich Drepper <drepper@redhat.com>
880
881 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
882 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
883 (PR libc/1677).
884
7f4e0e58
UD
8852000-03-30 Andreas Jaeger <aj@suse.de>
886
887 * misc/sys/cdefs.h: Remove K&R support.
888
fdf64555
UD
8892000-03-30 Ulrich Drepper <drepper@redhat.com>
890
891 * iconv/skeleton.c: Avoid compiling unaligned versions in some
892 with size of dynamic sectionmore cases.
893 * iconv/loop.c: Likewise.
894
99a7e065
UD
8952000-03-29 Bruno Haible <haible@clisp.cons.org>
896
897 * iconv/loop.c (put16): Remove __const. Fix access index.
898 (put32): Remove __const. Use uint32_t instead of uint16_t.
899 * iconv/skeleton.c: Likewise.
900
9a95cd1c
RM
9012000-03-30 Roland McGrath <roland@baalperazim.frob.com>
902
903 * mach/Versions (libc: GLIBC_2.0)
904 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
905 __vm_allocate on this.
906 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
907 mutex- and spinlock-related symbols on this.
908 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
909 New version set. Lock-related symbols go here instead in this case.
910 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
911 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
912 cthread_getspecific, cthread_setspecific, __libc_getspecific.
913 * hurd/Versions
914 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
915 Put them here instead.
916 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
917 New version set. Those cthreads symbols go here instead in this case.
918 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
919
dacc8ffa
UD
9202000-03-30 Ulrich Drepper <drepper@redhat.com>
921
841288ec
UD
922 * elf/dl-init.c (_dl_init): We don't need to call constructors
923 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
924
dacc8ffa
UD
925 Implement dynamic determination of constructor/destructor order in
926 the dynamic linker.
927 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
928 (GLIBC_2.2): Add _dl_init.
929 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
930 r_duplist is not anymore allocated separately. l_initfini is and
931 therefore free it if necessary.
932 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
933 malloc block. Otherwise allocate l_initfini list only.
934 Put dependencies for the object in l_initfini list.
935 Sort dependencies for the object to be loaded topologically.
936 * elf/dl-fini.c: Before running the destructors sort the topologically.
937 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
938 call constructors instead of iterating over the pointers. Get list of
939 objects for which to run constructors from l_initfini element. Accept
940 argc, argv, and env as parameters and pass them to the constructors.
941 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
942 with size of dynamic section.
943 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
944 _dl_init_next and calling constructors ourself.
945 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
946 Take argc, argv, and env as parameters and pass them to the
947 constructors. Rewrite to call all constructors and not iterate over
948 the pointers.
949 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
950 precompute l_initcount and l_preinitcount.
951 * elf/link.h (struct link_map): Add l_ldnum member.
952 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
953 l_initcount, and l_preinitcount. Add l_initfini.
954 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
955 one for _dl_init.
956 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
957 function interface.
958 * sysdeps/unix/sysv/linux/init-first.h: Removed.
959 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
960 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
961 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
962 conventions now match.
963
964 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
965 effect for shared objects. Don't emit message and call only for
966 static library.
967
38e986ec
UD
9682000-03-29 Ulrich Drepper <drepper@redhat.com>
969
970 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
971 CSA_Z243.4-1985-1..UCS2.
972 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
973 ISO-8859-10..UCS2.
974
689993b2
AJ
9752000-03-29 Andreas Jaeger <aj@suse.de>
976
dab715b9
AJ
977 * include/unistd.h: Remove duplicate entry for __rmdir.
978 Remove declaration of __mkdir since __mkdir is declared in
979 sys/stat.h.
980
56fbd811
AJ
981 * manual/creature.texi (Feature Test Macros): Fix typo, reported
982 by Michael Deutschmann <michael@talamasca.ocis.net>.
983
689993b2
AJ
984 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
985 * sysdeps/mips/fpu/fegetenv.c: Likewise.
986 * sysdeps/mips/fpu/fesetenv.c: Likewise.
987 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
988 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
989
300583a7
UD
9902000-03-28 Andreas Jaeger <aj@suse.de>
991
992 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
993 declaration, the prototype is defined via bits/mathcalls.h.
994 (__sincosf): Likewise.
995 (__sincosl): Likewise.
996 (ldexp): Likewise.
997 (ldexpf): Likewise.
998 (ldexpl): Likewise.
999 (__finite): Likewise.
10685cd0 1000 (__inline_mathcodeNP): New macro without prototype
300583a7 1001 declarations.
10685cd0
AJ
1002 (__inline_mathcodeNP2): Likewise.
1003 (__inline_mathcodeNP3): Likewise.
1004 (__inline_mathcodeNP_): Likewise.
1005 (__inline_mathcodeNP2_): Likewise.
1006 (__inline_mathcodeNP3_): Likewise.
1007 (__inline_mathopNP): Likewise.
1008 (__inline_mathop_declNP): Likewise.
1009 (__inline_mathop_declNP_): Likewise.
300583a7
UD
1010 (__inline_mathcode_): Use __inline_mathcodeNP_.
1011 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
1012 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
1013 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
1014 (__expm1l): Don't define prototype, the prototype is defined via
1015 bits/mathcalls.h.
1016 (exp): Likewise.
1017 (__expl): Likewise.
1018 (tan): Likewise.
1019 (atan2): Likewise.
1020 (__atan2l): Likewise.
1021 (fmod): Likewise.
1022 (pow): Likewise.
10685cd0
AJ
1023 (fabsf): Likewise.
1024 (fabsl): Likewise.
1025 (__fabsl): Likewise.
300583a7
UD
1026 (asin): Likewise.
1027 (acos): Likewise.
1028 (sinh): Likewise.
1029 (cosh): Likewise.
1030 (tanh): Likewise.
1031 (floor): Likewise.
1032 (ceil): Likewise.
1033 (expm1): Likewise.
1034 (log1p): Likewise.
1035 (asinh): Likewise.
1036 (acosh): Likewise.
1037 (atanh): Likewise.
1038 (hypot): Likewise.
1039 (logb): Likewise.
1040 (fma): Likewise.
1041 (drem): Likewise.
1042 (sqrt): Likewise.
1043 (__sqrtl): Likewise.
1044 (sin): Likewise.
1045 (cos): Likewise.
1046 (atan): Likewise.
1047 (log): Likewise.
1048 (log10): Likewise.
1049 (asinh): Likewise.
1050 (log2): Likewise.
1051 (rint): Likewise.
1052
77e1d15a
UD
10532000-03-28 Ulrich Drepper <drepper@redhat.com>
1054
d2b9a50e
UD
1055 * Makerules: If make variable md5 is defined to yes after
1056 generating dependencies generate MD5 sum for the object.
1057
9dfa9a5a
UD
1058 * iconv/gconv_builtin.h: Fix length in transformation definition
1059 for UNICODEBIG.
1060
77e1d15a
UD
1061 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
1062
1063 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
1064 allow as well reading from/writing to unaligned addresses on machines
1065 which don't support this in hardware. Use FCTNAME macro to define
1066 function name. Include the file a second time for platforms which
1067 need special unaligned handling.
1068 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
1069 to access potentially unaligned addresses. These macros are intended
1070 to be used only outside the loops.
1071 (unaligned): New definition. In case the machine can handle unaligned
1072 access define as zero. Otherwise as a variable which is initialized
1073 as nonzero in case the buffer passed in at runtime is unaligned with
1074 respect to the character set encoding involved.
1075 Call aligned or unaligned looop functions according to unaligned
1076 variable.
1077 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
1078 of direct casting pointer to potentially handle unaligned memory
1079 accesses.
1080 * iconvdata/8bit-generic.c: Likewise.
1081 * iconvdata/ansi_x3.110.c: Likewise.
1082 * iconvdata/big5.c: Likewise.
1083 * iconvdata/euc-cn.c: Likewise.
1084 * iconvdata/euc-jp.c: Likewise.
1085 * iconvdata/euc-kr.c: Likewise.
1086 * iconvdata/euc-tw.c: Likewise.
1087 * iconvdata/gbk.c: Likewise.
1088 * iconvdata/iso-2022-cn.c: Likewise.
1089 * iconvdata/iso-2022-jp.c: Likewise.
1090 * iconvdata/iso-2022-kr.c: Likewise.
1091 * iconvdata/iso646.c: Likewise.
1092 * iconvdata/iso_6937-2.c: Likewise.
1093 * iconvdata/iso_6937.c: Likewise.
1094 * iconvdata/johab.c: Likewise.
1095 * iconvdata/sjis.c: Likewise.
1096 * iconvdata/t.61.c: Likewise.
1097 * iconvdata/uhc.c: Likewise.
1098 * iconvdata/unicode.c: Likewise.
1099 * iconvdata/utf-16.c: Likewise.
1100
1101 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
1102 prototypes.
1103
1104 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
1105 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
1106 public.
1107 * malloc/mcheck.h (mcheck_check_all): Declare.
1108
1109 * stdio-common/Makefile (tests): Add tst-obprintf.
1110
26c400e6
RM
11112000-03-28 Roland McGrath <roland@baalperazim.frob.com>
1112
1113 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
1114 Declare pthread_sigmask.
1115
1116 * csu/version.c: Add 2000 to copyright years.
1117 Remove Emacs local variables section.
1118
428bcea4
UD
11192000-03-23 Bruno Haible <haible@clisp.cons.org>
1120
1121 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
1122 __gconv_transform_internal_ucs2little): Remove declarations.
1123 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
1124 __gconv_transform_internal_ucs2): Never need to bswap_16.
1125 (__gconv_transform_ucs2reverse_internal,
1126 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
1127
58dc1d49
RM
11282000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1129
65b4f10b
RM
1130 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
1131 obsoleting version not being defined at all, in which case the
1132 result is always true.
1133
58dc1d49
RM
1134 * Makeconfig (preprocess-versions): New canned sequence for running
1135 cpp on shlib-versions and the like.
1136 (soversions.i): Use it.
1137 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
1138 Versions.def and Versions files.
1139
670066c3
UD
11402000-03-27 Ulrich Drepper <drepper@redhat.com>
1141
22d5fbfe
UD
1142 * stdio-common/tst-obprintf.c (main): Add another check to see
1143 obstack_printf handling all possible beginnings of the block
1144 inside an obstack chunk.
1145
670066c3
UD
1146 * locale/programs/localedef.c: Use __malloc_initialize_hook to
1147 install mcheck handler.
1148
1149 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
1150 handling problem.
22d5fbfe 1151
3e5155f8
RM
11522000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1153
9010d7f8
RM
1154 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
1155
3e5155f8
RM
1156 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
1157 on [HAVE_ELF && DO_VERSIONING].
1158
0c04b91e
UD
11592000-03-27 Ulrich Drepper <drepper@redhat.com>
1160
1161 * stdio-common/tst-obprintf.c: New file.
1162
8e605e78
UD
11632000-03-26 Ulrich Drepper <drepper@redhat.com>
1164
9202ffe3
UD
1165 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
1166 _IO_OVERFLOW directly instead through __overflow.
1167
30e0f9c3
UD
1168 * locale/programs/localedef.c (construct_output_path): If path
1169 contains a / compute the end of the directory name correctly.
1170
8e605e78
UD
1171 * include/features.h: Undef and document __USE_XOPEN2K.
1172
1173 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
1174 whenever a function is called. Initiated by calling mcheck_pedantic
1175 instead of mcheck.
1176 * malloc/mcheck.h: Declare mcheck_pedantic.
1177 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
1178 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
1179 for now.
1180
4c63ebaa
UD
11812000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1182
16710d58
RM
1183 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
1184 * dlfcn/dlopenold.c: Likewise.
1185 * nss/getXXbyYY_r.c: Likewise.
1186 * nss/getXXent_r.c: Likewise.
1187 * hurd/hurdinit.c: Likewise.
1188 * hurd/compat-20.c: Likewise.
1189 * libio/oldiofopen.c: Likewise.
1190 * libio/oldiofclose.c: Likewise.
1191 * libio/oldiofdopen.c: Likewise.
1192 * libio/oldfileops.c: Likewise.
1193 * libio/oldstdfiles.c: Likewise.
1194 * libio/oldiofsetpos.c: Likewise.
1195 * libio/oldiofgetpos.c: Likewise.
1196 * libio/oldiofgetpos64.c: Likewise.
1197 * libio/oldiofsetpos64.c: Likewise.
1198 * libio/oldiopopen.c: Likewise.
1199 * libio/oldpclose.c: Likewise.
1200 * libio/oldtmpfile.c: Likewise.
1201 * libio/freopen.c (freopen): Likewise.
1202 * libio/iofclose.c (_IO_new_fclose): Likewise.
1203
54f6cbb3
RM
1204 * sysdeps/mach/sys/reboot.h: Include <features.h>.
1205 (reboot): Declare it.
1206
1c479f72
RM
1207 * libio/Makefile (headers): Add bits/stdio-lock.h here.
1208
1209 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
1210
a7ca88b8
RM
1211 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
1212
4c63ebaa
UD
1213 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
1214 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
1215 We need this for the sbrk decl, which can be included without Unix98.
1216
c7e41631
UD
12172000-03-20 Richard Henderson <rth@cygnus.com>
1218
1219 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
1220 argument to yperr2nss is an int, not size_t.
1221 * posix/regex.c (print_partial_compiled_pattern): Cast all
1222 ptrdiff_t to long for printing.
1223 (print_compiled_pattern): Use Z for printing size_t.
1224 * posix/testfnm.c (tests): Avoid trigraphs.
1225 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1226 Use a C comment, not an assembly comment.
1227
1228 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
1229 of __ASSUME_32BITUIDS.
1230
6d2e234a
UD
12312000-03-26 Ulrich Drepper <drepper@redhat.com>
1232
1233 * libio/iofopncook.c: Remove K&R prototypes.
1234
2e6f096f
RM
12352000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1236
1237 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
1238 an initial value of 1024 instead of RLIM_INFINITY.
1239
1240 * Versions.def (libmachuser, libhurduser): Remove these sections,
1241 since these libraries do not presently use symbol versions.
1242
1243 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
1244 is RLIM_INFINITY, return -1 instead.
1245
4fcddf8e
UD
12462000-03-24 Andreas Jaeger <aj@suse.de>
1247
1248 * Makefile (postclean): Added soversions.i.
1249
12502000-03-24 Scott Bambrough <scottb@netwinder.org>
1251
1252 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
1253 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
1254 and _FPU_IEEE. Change _FPU_RESERVED.
1255
12562000-03-24 Scott Bambrough <scottb@netwinder.org>
1257
1258 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
1259
12602000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1261
1262 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
1263 (gaih_inet): Remove unused duplicate variable.
1264
1265 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
1266 Don't use __libc_sa_len, which only exists for Linux. Just handle
1267 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
1268 only flavors supported by this function anyway.
1269
12702000-03-24 Geoff Clare <gwc@unisoft.com>
1271
1272 * stdlib/strfmon.c: corrected problems with missing signs and
1273 missing or extra spaces; allow for sign strings longer than
1274 one character; add padding to ensure positive and negative
1275 formats are aligned when a left precision is used.
1276
12772000-03-26 Ulrich Drepper <drepper@redhat.com>
1278
1279 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
1280 Patch by John Mizel <John.Mizel@msdw.com>.
1281
0efadcd9
UD
12822000-03-25 Ulrich Drepper <drepper@redhat.com>
1283
1284 * manual/install.texi: Remove references to crypt add-on.
1285
9e3438be
RM
12862000-03-25 Roland McGrath <roland@baalperazim.frob.com>
1287
1288 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
1289 section while taking the _hurd_rlimit_lock.
1290 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1291
4f173e2c
RM
12922000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1293
6a08db09
RM
1294 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
1295 using $(LN_S).
1296
4f173e2c
RM
1297 * sysdeps/mach/hurd/if_index.c: New file.
1298
1299 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
1300 * sysdeps/gnu/net/if.h: here.
1301 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
1302 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
1303 * sysdeps/generic/net/if.h: New file. Declares just the standard
1304 functions and `struct if_nameindex' type.
1305 * socket/Makefile (headers): Add net/if.h here.
1306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
1307 * sysdeps/mach/hurd/Dist: Remove it here.
1308 * sysdeps/unix/sysv/linux/Dist: And here.
1309 * sysdeps/generic/if_index.c: Include <net/if.h>.
1310
e63721a4
AJ
13112000-03-24 Andreas Jaeger <aj@suse.de>
1312
1313 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
1314 access relocated entries in l_info.
1315 (elf_machine_got_rel): Likewise.
1316 (elf_machine_runtime_setup): Likewise.
1317 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
1318 (elf_machine_runtime_setup): Likewise.
1319 (__dl_runtime_resolve): Likewise.
1320
383052e9
UD
13212000-03-23 Ulrich Drepper <drepper@redhat.com>
1322
1323 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
1324 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
1325 according to RFC 2553.
1326 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
1327 * inet/getnameinfo.c: Likewise.
1328 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1329
c0bc5f7b
UD
13302000-03-23 Bruno Haible <haible@clisp.cons.org>
1331
1332 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
1333 Remove no-op pointer increment.
1334
7392ce9b
UD
13352000-03-23 Andreas Jaeger <aj@suse.de>
1336
1337 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
1338 follow change for libio.h from 2000-03-10.
1339
a42195db
UD
13402000-03-23 Andreas Jaeger <aj@suse.de>
1341
1342 * elf/dl-addr.c: Adjust include paths for ldsodefs location
1343 change.
1344 * elf/dl-debug.c: Likewise.
1345 * elf/dl-deps.c: Likewise.
1346 * elf/dl-error.c: Likewise.
1347 * elf/dl-fini.c: Likewise.
1348 * elf/dl-init.c: Likewise.
1349 * elf/dl-load.c: Likewise.
1350 * elf/dl-lookup.c: Likewise.
1351 * elf/dl-minimal.c: Likewise.
1352 * elf/dl-object.c: Likewise.
1353 * elf/dl-open.c: Likewise.
1354 * elf/dl-preinit.c: Likewise.
1355 * elf/dl-profile.c: Likewise.
1356 * elf/dl-profstub.c: Likewise.
1357 * elf/dl-reloc.c: Likewise.
1358 * elf/dl-runtime.c: Likewise.
1359 * elf/dl-support.c: Likewise.
1360 * elf/dl-symbol.c: Likewise.
1361 * elf/dl-version.c: Likewise.
1362 * elf/rtld.c: Likewise.
1363 * elf/sprof.c: Likewise.
1364 * sysdeps/generic/dl-cache.c: Likewise.
1365 * sysdeps/generic/dl-origin.c: Likewise.
1366 * sysdeps/generic/dl-sysdep.c: Likewise.
1367 * sysdeps/generic/elf/backtracesyms.c: Likewise.
1368 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1369 * sysdeps/generic/libc-start.c: Likewise.
1370 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1371 * sysdeps/powerpc/dl-machine.c: Likewise.
1372 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1373 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1374 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1375 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1376
1377 * elf/ldsodefs.h: Move file to ...
1378 * sysdeps/generic/ldsodefs.h: ... here.
1379
1380 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 1381
a42195db
UD
1382 * sysdeps/mips/elf/ldsodefs.h: New file.
1383
1384 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
1385 entries in l_info.
1386 (_dl_check_map_versions): Likewise.
1387 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1388 * elf/dl-load.c (_dl_init_paths): Likewise.
1389 (_dl_map_object): Likewise.
1390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
1391 (elf_get_dynamic_info): Likewise.
1392 * elf/do-lookup.h (FCT): Likewise.
1393 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1394 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1395 * elf/dl-addr.c (_dl_addr): Likewise.
1396 * elf/dl-runtime.c (profile_fixup): Likewise.
1397 (fixup): Likewise.
1398 * elf/dl-init.c (_dl_init_next): Likewise.
1399 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
1400 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1401 (DISTINGUISH_LIB_VERSIONS): Likewise.
1402 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
1403 (elf_machine_rel): Likewise.
1404
1405 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
1406 for writable dynamic section.
1407
922809a2
UD
14082000-03-22 Ulrich Drepper <drepper@redhat.com>
1409
1410 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
1411 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1412
14132000-03-22 Andreas Jaeger <aj@suse.de>
1414
1415 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
1416 from latest Linux kernel.
1417
0ddd06d1
AJ
14182000-03-21 Andreas Jaeger <aj@suse.de>
1419
1420 * Versions.def: Add version 2.1.4.
1421
1ab1ea76
UD
14222000-03-21 Ulrich Drepper <drepper@redhat.com>
1423
1424 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
1425 * libio/oldiofopen.c: Likewise.
1426 * libio/oldiofclose.c: Likewise.
ef7dddd0 1427 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 1428
42f76b6b
RM
14292000-03-22 Roland McGrath <roland@baalperazim.frob.com>
1430
1431 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
1432 indicating the first version set to obsolete the conditionalized code.
2ae13e20 1433 (compat_symbol): New macro.
42f76b6b
RM
1434 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
1435 rhs be the ABI_* macro for the subsuming version. Assign increasing
1436 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
1437 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
1438 compat_symbol macro.
42f76b6b 1439
cb162e13
UD
14402000-03-21 Ulrich Drepper <drepper@redhat.com>
1441
101edd3f
UD
1442 * nscd/connections.c (nscd_run): Pretty print.
1443 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
1444
bafb8ee9
UD
1445 * manual/charset.texi: Fix typos. Rephrase.
1446 * manual/process.texi: Likewise.
1447 * manual/signal.texi: Likewise.
1448 Patches by Mike Coleman <mkc@kc.net>.
1449
fd091d3f
UD
1450 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
1451 versions.
1452 * libio/iofdopen.c: Likewise.
1453 * libio/iofgetpos.c: Likewise.
1454 * libio/iofgetpos64.c: Likewise.
1455 * libio/iofopen.c: Likewise.
1456 * libio/iofsetpos.c: Likewise.
1457 * libio/iofsetpos64.c: Likewise.
1458 * libio/iopopen.c: Likewise.
1459 * libio/oldiofopen.c: Likewise.
1460 * libio/pclose.c: Likewise.
1461 * sysdeps/gnu/siglist.c: Likewise.
1462 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1463
cb162e13
UD
1464 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
1465 chance to expand VERSION_##lib##_##version.
1466
0bf98029
UD
1467 * libio/fileops.c: Use new macros from shlib-compat.h to define
1468 versions.
1469 * libio/iofclose.c: Likewise.
1470 * libio/oldiofclose.c: Likewise.
75836bc8 1471 Patch by Roland McGrath <roland@frob.com>.
0bf98029 1472
54021487
UD
14732000-03-21 Jakub Jelinek <jakub@redhat.com>
1474
1475 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
1476 Lay out struct sigcontext according to what really gets passed on
1477 the stack.
1478 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
1479 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
1480 (prgregset_t, prfpregset_t): Define to elf_* types.
1481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
1482 Define to correct value.
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
1484 sigcontext.
1485 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1486
39c57122
RM
14872000-03-21 Roland McGrath <roland@baalperazim.frob.com>
1488
1489 * scripts/firstversions.awk: Allow multiple version sets in the
1490 "earliest version" specification, meaning that version sets in the
1491 gaps between listed versions should be folded into the earliest later
1492 version that is explicitly listed.
1493 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
1494 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
1495
bc4831b9
UD
14962000-03-21 Ulrich Drepper <drepper@redhat.com>
1497
8d617a71
UD
1498 * iconv/gconv_builtin.c: Include <endian.h>.
1499 * iconv/gconv_builtin.h: Add UCS-BE aliases.
1500 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
1501 according to current platform.
1502 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
1503 __gconv_transform_internal_ucs2reverse, and
1504 __gconv_transform_internal_ucs4le.
1505 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
1506 __gconv_transform_ucs2reverse_internal and
1507 __gconv_transform_internal_ucs2reverse.
1508 * iconvdata/Makefile (modules): Add UNICODE.
1509 (distribute): Add unicode.c.
1510 * iconvdata/gconv-modules: Add definitions for UNICODE module.
1511 * iconvdata/unicode.c: New file.
1512
1513 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
1514 determine byte order of input and convert accordingly.
1515
bc4831b9
UD
1516 * iconvdata/utf-16.c (gconv_init): Fix typo.
1517
7e836977
UD
15182000-03-20 Ulrich Drepper <drepper@redhat.com>
1519
6abcde8e
UD
1520 * iconvdata/gconv-modules: Fix typo.
1521
b0c766dd 1522 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
1523 more messages.
1524
7e836977
UD
1525 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
1526
db840914
UD
15272000-03-16 Thorsten Kukuk <kukuk@suse.de>
1528
1529 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
1530
4159e387
UD
15312000-03-20 Ulrich Drepper <drepper@redhat.com>
1532
1533 * misc/Makefile (routines): Add mincore.
1534
15352000-03-20 Andreas Jaeger <aj@suse.de>
1536
1537 * sysdeps/generic/mincore.c: New stub file.
1538
1539 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
1540 from latest Linux kernel.
1541
db766e12
UD
15422000-03-20 Ulrich Drepper <drepper@redhat.com>
1543
1544 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
1545 _SC_GETPW_R_SIZE_MAX.
1546
cf9e0cbc
RH
15472000-03-20 Richard Henderson <rth@cygnus.com>
1548
db766e12 1549 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
1550 in GLIBC_2.1.4.
1551
c069bb98
RH
15522000-03-20 Richard Henderson <rth@cygnus.com>
1553
b7434f82
RH
1554 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
1555 of arithmetic instructions.
1556
1557 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
1558 with the fpcr. Protect from INV exception.
1559 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1560 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
1561 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1562
1563 * sysdeps/alpha/fpu/s_copysign.c: New.
1564 * sysdeps/alpha/fpu/s_copysignf.c: New.
1565 * sysdeps/alpha/fpu/s_fabs.c: New.
1566 * sysdeps/alpha/fpu/s_fabsf.c: New.
1567 * sysdeps/alpha/fpu/s_rint.c: New.
1568 * sysdeps/alpha/fpu/s_rintf.c: New.
1569
45159f00
RH
1570 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
1571
c069bb98
RH
1572 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1573 Kill sethae.
1574 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
1575 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
1576 Use physical addresses not KSEG addresses.
1577 (io_system): Add PYXIS.
1578 (io): Remove hae.reg, sys, hae_shift.
1579 (stb_mb, stw_mb, stl_mb, __sethae): New.
1580 (inline_outb, inline_outw, inline_outl): Don't set hae.
1581 (inline_inb, inline_inw, inline_inl): Likewise.
1582 (dense_sethae): New null function.
1583 (struct cpuinfo_data): New.
1584 (process_cpuinfo): Use local and stack variables, not static.
1585 Move readlink check here from init_iosys.
1586 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
1587 (_iopl): Simplify.
1588 (_hae_shift): Calculate it here.
1589 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
1590 add pciconfig_iobase.
1591
d3564d01
RM
15922000-03-20 Roland McGrath <roland@baalperazim.frob.com>
1593
5d431a3e
RM
1594 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
1595 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
1596
d3564d01
RM
1597 * scripts/versions.awk: Fixed version renaming code to distinguish
1598 libraries properly.
1599
41a173e1
UD
16002000-03-19 Ulrich Drepper <drepper@redhat.com>
1601
a6a478e9
UD
1602 * include/stdlib.h: Add prototype for __cxa_atexit.
1603
41a173e1
UD
1604 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
1605 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
1606
16072000-03-17 Cristian Gafton <gafton@redhat.com>
1608
1609 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
1610 existing rtld-installed-name.
1611 ($(rtld-installed-name)): Request libc-$(version) be installed too.
1612 replace existing rtld-installed-name using $(symbolic-link-prog).
1613
16142000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1615
1616 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
1617 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
1618 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
1619 but not the former.
1620
16212000-03-19 Ulrich Drepper <drepper@redhat.com>
1622
1623 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
1624 glob64. Since there is no glob64 in the LFS proposal applications
1625 can assume that glob handles LFS situations. glob64 is only needed
1626 if alternative filesystem functions are used.
1627
16282000-03-19 Geoff Clare <gwc@unisoft.com>
1629
1630 * sysdeps/generic/glob.c: Correct gl_pathc value returned
1631 when GLOB_DOOFFS is set; correct handling of patterns
1632 containing escaped wildcards (and no unescaped ones);
1633 GLOB_ERR flag was being ignored in some situations.
1634
1635 * posix/globtest.c, posix/globtest.sh: Updated to include
1636 tests for the problems fixed by the above changes to glob.c.
1637
1638 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
1639
361742ed
RM
16402000-03-19 Roland McGrath <roland@baalperazim.frob.com>
1641
af260314
RM
1642 * Makeconfig (soversion.i): Use only first match for each lib.
1643
0ecdeb26
RM
1644 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
1645
c95527a1
RM
1646 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
1647 rather than $(sysd-dirs-done) to protect these rules.
1648
3c132532
RM
1649 * Makerules (version-renames.def): Target removed.
1650 (Versions.all): Depend on soversions.i directly and parse it.
1651
ba7e89ec
RM
1652 * Makeconfig (soversions.i): New target, input-reading parts of
1653 soversions.mk generation moved here; result is a canonicalized
1654 list "LIB VERSION [SET]" for this configuration.
1655 (soversions.mk): Use that as input. Don't emit map-firstversions.
1656 * Makerules (version-renames.def): New target, generated from
1657 soversions.i with contents that was in $(map-firstversions).
1658 (Versions.all): Don't depend on soversions.mk, depend on
1659 version-renames.def instead; just cat it into the input.
1660
6b3c3a35
RM
1661 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
1662 for $(map-firstversions), which better handles it being empty.
1663
361742ed
RM
1664 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
1665 supported version for libc 0.2.90.libio to GLIBC_2.2.
1666
1667 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
1668 and use it to emit new variable `map-firstversions'.
1669 * scripts/firstversions.awk: New file.
1670 * Makerules (Versions.all): Use scripts/firstversions.awk and
1671 the $(map-firstversions) value to generate a modified versions list
1672 that includes renames in "A = B" syntax for each version set earlier
1673 than the "earliest symbol version" named in shlib-versions.
1674 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
1675 rename version set A to B in the output to the intermediate file.
1676 * scripts/abi-versions.awk: New file.
1677 * Makerules (abi-versions.h): New target, generated by that script.
1678 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
1679 * include/shlib-compat.h: New file, uses that generated header.
1680
a5733c28
RM
16812000-03-18 Roland McGrath <roland@baalperazim.frob.com>
1682
88268852
RM
1683 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
1684 after stripping # comments, and then run it through cpp.
1685 This allows things like "%ifdef FOO" based on config.h settings.
1686 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
1687
a5733c28
RM
1688 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
1689 and other errors that indicate a pseudo-receive happened, grok through
1690 the message buffer for port rights that need references fixed up.
1691
f5ef7558
UD
16922000-03-16 Andreas Jaeger <aj@suse.de>
1693
1694 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
1695
1696 * sysdeps/unix/sysv/linux/madvise.c: Remove.
1697
1698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
1699 from latest Linux kernel.
1700 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
1701
4ede8b06
UD
1702 * misc/sys/mman.h: Add prototype for mincore.
1703
b9b178ac
UD
17042000-03-17 Ulrich Drepper <drepper@redhat.com>
1705
1706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
1707 entry for GLIBC_2.0 version of setrlimit.
1708 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1709
3b965a7d
UD
17102000-03-16 Thorsten Kukuk <kukuk@suse.de>
1711
1712 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
1713 * nis/nss_compat/compat-initgroups.c: Likewise.
1714 * nis/nss_nis/nis-initgroups.c: Likewise.
1715 * nis/nss_nis/nis-netgrp.c: Likewise.
1716 * nis/nss_nis/nis-proto.c: Likewise.
1717 * nis/nss_nis/nis-rpc.c: Likewise.
1718 * nis/nss_nis/nis-service.c: Likewise.
1719 * nis/ypclnt.c: Likewise.
a5733c28 1720
96888079
UD
17212000-03-16 Andreas Jaeger <aj@suse.de>
1722
1723 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 1724 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 1725
5c7b0fb2
UD
17262000-03-16 Thorsten Kukuk <kukuk@suse.de>
1727
1728 * nscd/hstcache.c: Restore correct UID.
1729 * nscd/pwdcache.c: Likewise.
1730 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
1731
da28fa2a
RM
17322000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1733
4ae18693
RM
1734 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
1735 macros for register names, in line with 2000-03-14 linux change.
1736
da28fa2a
RM
1737 * sysdeps/mach/sched_yield.c: New file.
1738
17392000-03-13 Roland McGrath <roland@baalperazim.frob.com>
1740
1741 * sysdeps/generic/lockfile.c: Include <stdio.h>
1742 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
1743 case <libio.h> defined them.
1744 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
1745 from __internal_*.
1746 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
1747 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
1748
1749 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
1750 for more pleasing parse error.
1751
19cf43be
UD
17522000-03-16 Ulrich Drepper <drepper@redhat.com>
1753
0db0e149
UD
1754 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
1755 memory for eras.
1756 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1757
da28fa2a 1758 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
1759 * elf/constload1.c: New file.
1760 * elf/constload2.c: New file.
1761 * elf/constload3.c: New file.
1762
a96206f4
UD
17632000-03-15 Ulrich Drepper <drepper@redhat.com>
1764
1765 * sysdeps/posix/open64.c: Make __open64 weak alias.
1766 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
1767 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1768 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1769 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1770 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1771 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
1772 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1773 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1774 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1776
04366d5f
UD
17772000-03-14 Ulrich Drepper <drepper@redhat.com>
1778
1779 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
1780 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
1781
f0d872e9
UD
17822000-03-16 Mark Kettenis <kettenis@gnu.org>
1783
1784 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
1785 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
1786
5d141597
UD
17872000-03-08 Andreas Jaeger <aj@suse.de>
1788
1789 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
1790
9658516a
UD
17912000-03-14 Ulrich Drepper <drepper@redhat.com>
1792
5d141597
UD
1793 * timezone/africa: Update from tzdata2000d.
1794 * timezone/asia: Likewise.
1795 * timezone/australasia: Likewise.
1796 * timezone/europe: Likewise.
1797 * timezone/northamerica: Likewise.
1798 * timezone/southamerica: Likewise.
1799
1800 * po/fr.po: Update from translation team.
1801 * po/de.po: Likewise.
1802
d9cb1a7d
UD
1803 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
1804 last parameter. Move code to add map to global scope from here...
1805 * elf/dl-open.c (dl_open_worker): ...here.
1806 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
1807 * elf/rtld.c: Adjust call to _dl_map_object_deps.
1808
36388ac4
UD
1809 * locale/programs/ld-collate.c (collate_read): Fix warning.
1810
6213a055
UD
1811 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
1812 values and macros for register names.
1813
9658516a
UD
1814 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
1815 returned by seek cookie function is -1.
1816
f1a53402
UD
18172000-03-14 Andreas Jaeger <aj@suse.de>
1818
1819 * locale/localeconv.c (localeconv): Fix typo.
1820 Reported by Andre Charbonneau <andrec@corel.com>.
1821
0aece08d
UD
18222000-03-14 Ulrich Drepper <drepper@redhat.com>
1823
1824 * iconv/skeleton.c: Increment __invocation_counter in inner loop
1825 since modules depend on it counting the number of times the conversion
1826 function got called.
1827
1828 * iconv/gconv_open.c: Optimize loop to setup step data structure.
1829
1830 * iconv/gconv.h: Pretty print.
1831
18322000-03-04 Ulrich Drepper <drepper@redhat.com>
1833
1834 * posix/wordexp-test.c: Correct one of the tests added in the last
1835 change. Really get the root passwd entry to check again ~root.
1836
d1d62b53
AJ
18372000-03-10 Andreas Jaeger <aj@suse.de>
1838
1839 * manual/filesys.texi (Working Directory): Fix last patch.
1840 Patch by Martin Buchholz <martin@xemacs.org>.
1841
0aa9fad6
AJ
18422000-03-10 Andreas Jaeger <aj@suse.de>
1843
1844 * manual/creature.texi (Feature Test Macros): Fix language.
1845
b4e54243
RM
18462000-03-10 Roland McGrath <roland@baalperazim.frob.com>
1847
1848 * mach/devstream.c (devstream_write, devstream_read): New functions.
1849 (input, output): Functions removed.
1850 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
1851 using only the vanilla fopencookie interface.
1852
1853 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
1854 as macro for __io_functions.
1855 (funcsio): Use cookie_io_functions_t type name.
1856 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
1857
1858 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
1859 fopencookie.
1860 (fopencookie): Use it.
1861 * libio/libio.h: Declare _IO_cookie_init.
1862 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
1863 _IO_cookie_init.
1864
1865 * libio/libio.h (__io_seek_fn): Fix second argument type
1866 to be a pointer, in line with the manual and the old stdio.
1867 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
1868
1869 * sysdeps/generic/bits/stdio-lock.h: New file.
1870 This is a stub with #error, but that's better than no file at all.
1871
d10c8b66
AJ
18722000-03-09 Martin Buchholz <martin@xemacs.org>
1873
b4e54243
RM
1874 * sysdeps/unix/sysv/linux/alpha/syscall.S:
1875 * manual/message.texi (Using gettextized software):
d10c8b66 1876 * manual/message.texi (Message Translation): Doc Fixes.
b4e54243
RM
1877 * manual/filesys.texi (File Size):
1878 * manual/charset.texi (glibc iconv Implementation):
1879 * locale/programs/ld-collate.c (collate_output):
d10c8b66
AJ
1880 * iconv/gconv_db.c (find_derivation):
1881 * manual/install.texi:
1882 * manual/search.texi (Hash Search Function):
b4e54243 1883 * manual/stdio.texi (Output Conversion Syntax):
d10c8b66
AJ
1884 * FAQ.in:
1885 * config.h.in:
1886 * sysdeps/generic/dl-sysdep.c:
1887 Doc Fixes. `allows to' is not correct English.
1888
1889 * elf/rtld.c: Doc fixes.
1890 * manual/creature.texi (Feature Test Macros): Doc fixes.
1891 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
1892
1893 * manual/filesys.texi (Working Directory): Check for ERANGE to
1894 avoid infloop.
1895
f25da8d0
RM
18962000-02-23 Roland McGrath <roland@baalperazim.frob.com>
1897
1898 * string/argz-stringify.c (__argz_stringify): Fix loop termination
1899 conditions so as not to clobber the final '\0' when there is only one
1900 element in the vector.
1901
07760b35
RM
19022000-03-09 Roland McGrath <roland@baalperazim.frob.com>
1903
1904 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
1905 broken by 2000-02-27 change.
1906
1907 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
1908
224a12bc
RM
19092000-02-23 Roland McGrath <roland@baalperazim.frob.com>
1910
1911 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
1912 argument type, for 2000-02-22 change in signal/signal.h declaration.
1913
9ab47461
RM
19142000-03-09 Roland McGrath <roland@baalperazim.frob.com>
1915
224a12bc
RM
1916 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
1917 to getdirentries64 (no __), since the Linux implementation
1918 has no __ name, and there is no declaration for the __ name.
1919
1920 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
1921
1922 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
1923 sed regexp so as not to break directory names including /../ within.
1924
1925 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
1926 The sysdeps/generic file is right for BSD. This file was in fact the
1927 Hurd file, but the only difference was the WNOREAP flag that was never
1928 actually implemented or used anywhere.
1929
9ab47461
RM
1930 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
1931 since AC_PATH_PROG already does it for us.
1932 (PERL): Rewrite check added in 2000-02-29 change for syntactic
1933 correctness and sh portability. I replaced the broken check
1934 with a more sensible implementation of the apparently intended
1935 semantics, which might still be questionable. Using expr causes
1936 a non-numeric value for `perl -V:apiversion` to be accepted,
1937 refusing to use only a perl that reports a number less than 5;
1938 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
1939 * configure: Regenerated.
1940
93773779
AJ
19412000-03-08 Andreas Jaeger <aj@suse.de>
1942
1943 * manual/crypt.texi: Fix paths.
1944
d92c02e8
AJ
19452000-03-07 Andreas Jaeger <aj@suse.de>
1946
1947 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
1948 were swapped.
1949 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
1950 libc/1636.
1951
8f95ad1c
AJ
19522000-03-06 Andreas Jaeger <aj@suse.de>
1953
5d141597
UD
1954 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
1955 in __sgn1l, otherwise g++ fails to parse this.
1956 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 1957
8ed1e7d5
GK
19582000-03-03 Geoff Keating <geoffk@cygnus.com>
1959
1960 * configure.in: Compute sizeof-long-double.
1961 * configure: Regenerated.
1962 * config.make.in: Make sizeof-long-double available to sub-makes.
1963
706546ff
UD
19642000-03-03 Ulrich Drepper <drepper@cygnus.com>
1965
1966 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
1967 call.
1968
b11f5954
GK
19692000-03-03 Geoff Keating <geoffk@cygnus.com>
1970
1971 * Makeconfig (rpath-dirs): Add crypt.
1972 (all-subdirs): Remove md5crypt.
1973 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
1974 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
1975 * sysdeps/generic/crypt-entry.c: Delete.
1976 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
1977 * sysdeps/generic/crypt.h: Delete.
1978 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
1979 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
1980 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
1981 * sysdeps/generic/des_impl.c: Delete.
1982 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
1983 * crypt/sysdeps: Delete.
1984 * crypt/crypt_util.c: Don't use `patchlevel.h'.
1985 * md5-crypt/Versions: Move to crypt/.
1986 * md5-crypt/md5-crypt.c: Move to crypt/.
1987 * md5-crypt/md5.c: Move to crypt/.
1988 * md5-crypt/md5c-test.c: Move to crypt/.
1989 * md5-crypt/md5test.c: Move to crypt/.
1990 * md5-crypt: Delete.
1991 * crypt/Makefile: Adjust for new structure.
1992
e3d53b06
UD
19932000-03-03 Paul Eggert <eggert@twinsun.com>
1994
1995 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
1996 define to 1 if not defined.
1997
c88c8399
UD
19982000-03-03 Andreas Jaeger <aj@suse.de>
1999
2000 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
2001
20022000-03-03 Andreas Jaeger <aj@suse.de>
2003
2004 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
2005 cases.
2006 (xdr_int64_t): Correctly handle lower half.
2007 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
2008
bdd5fccd
UD
20092000-03-03 Ulrich Drepper <drepper@cygnus.com>
2010
2011 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
2012 call.
2013
2f1afc88
UD
20142000-03-02 Andreas Jaeger <aj@suse.de>
2015
2016 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
2017 2.3.43.
2018
6500dff6
UD
20192000-03-02 Andreas Jaeger <aj@suse.de>
2020
2021 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
2022
fc304e02
UD
20232000-03-01 Andreas Jaeger <aj@suse.de>
2024
2025 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
2026 (tests): Added tst-getdate.
2027
2028 * time/tst-getdate.c: New file.
2029
2030 * time/datemsk: New file, needed for tst-getdate.
2031
ecb06196
UD
20322000-02-29 Cristian Gafton <gafton@redhat.com>
2033
2034 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
2035
3fd759d1
UD
20362000-02-17 H.J. Lu <hjl@gnu.org>
2037
2038 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
2039
2040 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
2041 available.
2042 (svcudp_recv): Set up message with the new "xp_pad" field for
2043 IP_PKTINFO.
2044 (svcudp_reply): Support IP_PKTINFO if available.
2045
06b54322
AJ
20462000-03-01 Andreas Jaeger <aj@suse.de>
2047
2048 * time/getdate.c (check_mday): Fix check for february.
2049 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
2050 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
2051
901a5bd7
AJ
20522000-03-02 Andreas Jaeger <aj@suse.de>
2053
2054 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
2055 g++ fails to parse this.
2056 Reported by Sean Chen <sean.chen@turbolinux.com>.
2057
07e0f7ad
UD
20582000-02-28 Ulrich Drepper <drepper@redhat.com>
2059
6df9984c
UD
2060 * io/creat.c: Moved to...
2061 * sysdeps/generic/creat.c: ...here.
2062 * io/creat64.c: Moved to...
2063 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
2064 * io/lockf.c: Moved to...
2065 * sysdeps/generic/lockf.c: ...here.
6df9984c 2066
6d7496e8 2067 * crypt/crypt.texi: Moved to...
07e0f7ad 2068 * manual/crypt.texi: ...here.
6d7496e8
UD
2069 * crypt/examples/genpass.c: Moved to...
2070 * manual/examples/genpass.c: ...here.
2071 * crypt/examples/mygenpass.c: Moved to...
2072 * manual/examples/mygenpass.c: ...here.
2073 * crypt/examples/testpass.c: Moved to...
2074 * manual/examples/testpass.c: ...here.
2075
2076 * manual/Makefile (chapters): Add crypt.
2077 * manual/conf.texi: Add usual header for not-last chapter.
2078 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 2079
63f791d3
GK
20802000-02-28 Geoff Keating <geoffk@cygnus.com>
2081
2082 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
2083 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
2084 complain if there is no crypt add-on.
2085 * crypt/configure: Removed.
6d7496e8 2086
63f791d3
GK
2087 * crypt/crypt.texi: Update documentation of US export restrictions
2088 to match the 14 Jan 2000 regulations.
2089
20902000-02-28 Geoff Keating <geoffk@cygnus.com>
2091
2092 * crypt: New subdirectory, merged in from the crypt add-on.
2093
a808d541
UD
20942000-02-28 Ulrich Drepper <drepper@redhat.com>
2095
108c6efa 2096 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 2097
d59e49d8 2098
108c6efa 2099See ChangeLog.10 for earlier changes.
This page took 0.259508 seconds and 5 git commands to generate.