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