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